Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-14 23:59:03.936320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-14 23:59:27.530247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 00:00:03.169541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb55159d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.3944013118744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 00:02:22.230269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb5454ab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.6914336681366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 00:04:42.759669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb546c7f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.4016077518463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 00:07:03.260557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb5508990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.26279950141907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 00:09:22.374816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb550fa50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.3868887424469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 00:11:42.727869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54fa830>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.27615928649902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 00:14:03.408213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54539b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.9539659023285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 00:16:22.625901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb548faf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.97554922103882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 00:18:42.314150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54ed850>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 138.64984512329102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 00:21:02.573710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb5477950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.51050090789795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 00:23:22.732200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54c3730>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.709538936615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 00:25:41.911620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54797b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.77240371704102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 00:28:03.391659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54e99d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.6536796092987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 00:30:22.476535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb552bad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.80514860153198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 00:32:42.166201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb5449830>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.35776042938232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 00:35:03.251849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54c5a10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.63218235969543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 00:37:22.521142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54d06f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.60075044631958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 00:39:42.439937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54ad550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 139.60553121566772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 00:42:03.428130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 00:42:22.872140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb558cb50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.32959365844727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 00:44:42.660627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb54d9550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.7831482887268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 00:47:03.083717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb547a970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.59786891937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 00:49:22.037618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 00:49:42.111810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb545e810>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.2921781539917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 00:52:02.396678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 0xb55159f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.36742234230042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 00:54:22.510602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f9190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f9190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f9190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 00:59:03.344857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54661b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54661b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54661b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:01:22.180222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a54f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a54f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a54f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:03:42.040118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545d4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545d4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545d4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:06:03.191321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ec190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ec190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ec190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:08:22.470740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5449570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:10:42.119475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b31d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b31d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b31d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:13:03.028123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d6290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d6290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d6290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:15:24.238565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541e590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541e590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541e590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:17:41.915360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fb570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fb570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fb570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:20:02.364581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a7530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a7530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a7530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:22:22.748358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545a1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:24:42.287527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54214d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54214d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54214d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:27:02.435275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53df230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53df230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53df230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:29:23.276539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541a250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541a250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541a250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:31:42.019068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f44f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f44f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f44f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:34:02.808540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548f5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548f5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548f5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:36:22.179488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542a5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542a5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542a5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:38:41.822033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5494230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5494230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5494230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:41:03.238749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540f190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540f190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540f190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:43:22.522069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c7230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c7230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c7230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:45:42.063832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5486250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5486250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5486250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:48:02.925512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5453210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5453210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5453210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:50:22.561000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546b570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:52:42.321980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54571d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54571d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54571d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:55:02.938659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542e610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542e610>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542e610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 01:59:03.140806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ef590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:01:23.066185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547e210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547e210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547e210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:03:42.265403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fb2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fb2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fb2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:06:02.692510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5493530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:08:21.875201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5454570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5454570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5454570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:10:42.624012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5430570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5430570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5430570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 02:13:02.958037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:13:25.621021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c5290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c5290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c5290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:15:42.029453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fa1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fa1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fa1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:18:03.295427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54484f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54484f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54484f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:20:22.657432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a65b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a65b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a65b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:22:42.271136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5442610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5442610>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5442610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:25:03.355597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5493570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:27:22.384961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b75d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b75d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b75d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:29:41.969468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5443250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 02:32:01.411672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:32:20.941963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54342d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54342d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54342d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:34:41.982473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a5510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a5510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a5510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:37:02.871815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f1490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f1490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f1490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:39:21.993677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e8570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e8570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e8570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:41:41.846277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54af2f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af2f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af2f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:44:02.710613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54691f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54691f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54691f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:46:22.204411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d2530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d2530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d2530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:48:41.877847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c72d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c72d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c72d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:51:03.183564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bb2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bb2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bb2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:53:22.725197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54852d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54852d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54852d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:55:42.842596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d1150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d1150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d1150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 02:59:03.437733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54d01b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d01b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d01b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:01:22.790408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f72b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f72b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f72b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:03:42.817887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54731f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54731f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54731f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:06:02.401725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cd550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cd550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cd550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:08:42.429775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543e550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:11:03.118115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5493530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:13:24.380357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a3550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a3550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a3550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:15:42.084003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54581d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54581d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54581d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:18:02.948833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542c510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:20:22.394386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548d4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548d4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548d4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:22:42.278434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bc1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bc1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bc1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:25:02.638816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54685b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54685b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54685b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:27:22.400456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f6590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f6590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f6590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:29:42.142355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e82d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e82d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e82d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:32:02.688040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a92b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a92b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a92b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:34:21.999033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5490210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5490210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5490210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:36:41.868650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54701d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54701d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54701d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 03:39:04.683030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:39:22.431447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549b230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549b230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549b230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:41:42.831049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546b530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:44:22.237460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f0570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f0570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f0570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:46:42.473220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541f1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541f1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541f1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 03:49:03.788337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:49:22.792557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54225b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54225b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54225b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:51:46.228463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5493230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:54:03.205823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ca270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:56:22.620311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547d510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 03:59:02.918273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540a570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540a570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540a570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:01:22.804679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549d510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:03:41.868008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54745d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54745d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54745d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:06:03.256371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e1590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e1590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e1590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:08:22.454610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a3590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a3590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a3590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:10:42.636258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542f270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542f270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542f270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:13:03.261232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54451b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54451b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54451b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:15:23.985698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54321d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54321d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54321d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:17:42.026828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54aa550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54aa550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54aa550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:20:03.114942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546a550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546a550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546a550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:22:22.496062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541c250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541c250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541c250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:24:42.360526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54464f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54464f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54464f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:27:03.065983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53db190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53db190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53db190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:29:22.298036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54651b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54651b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54651b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:31:42.245274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5408590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5408590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5408590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:34:03.119636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5492250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5492250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5492250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:36:22.701482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f3590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f3590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f3590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:38:42.757054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54531f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54531f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54531f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:41:03.055948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bd4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bd4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bd4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:43:21.940593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544c270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544c270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544c270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:45:41.897093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ee1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ee1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ee1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:48:02.523102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542c4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:50:22.400281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b3590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b3590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b3590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:52:42.460324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5423530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5423530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5423530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:55:03.003416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54754b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54754b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54754b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 04:59:03.332699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548c510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:01:22.069846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54635b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54635b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54635b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:03:45.222109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54751d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54751d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54751d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:06:22.215321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5475610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5475610>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5475610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:08:41.898167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b8210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b8210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b8210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:11:02.563198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540f1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540f1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540f1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:13:22.184556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54115d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54115d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54115d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:15:42.308241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c4530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c4530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c4530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 05:18:03.454028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:18:22.867637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547f570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:20:42.424207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e3590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e3590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e3590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:23:02.777115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5411550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5411550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5411550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:25:22.176921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ec1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ec1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ec1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:27:41.988658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54834f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54834f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54834f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 05:30:11.157105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:30:25.280316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d8550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:32:42.540387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542f530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542f530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542f530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:35:03.394040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e94f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e94f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e94f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:37:22.378353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543e1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:39:42.031991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5472590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5472590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5472590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:42:02.729444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54961b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54961b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54961b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:44:22.165366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e65b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e65b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e65b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:46:41.958984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546e210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546e210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546e210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:49:03.427504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c4230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c4230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c4230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:51:22.504884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d8210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:53:42.824571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542c530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:56:02.403471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546b210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 05:59:03.791877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b71f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b71f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b71f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:01:22.821807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549e4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549e4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549e4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:03:42.441042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d7190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d7190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d7190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:06:03.239787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5401530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5401530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5401530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:08:26.333609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542b290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542b290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542b290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:10:41.781666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54291f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54291f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54291f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:13:03.569061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544c1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544c1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544c1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:15:21.761101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f75b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f75b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f75b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:17:42.400935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53eb4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53eb4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53eb4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:20:02.392803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543b230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543b230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543b230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:22:21.952444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb6556f90>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb6556f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb6556f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:24:42.471743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b1490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b1490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b1490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:27:03.374988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f4250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f4250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f4250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:29:22.485231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ef190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:31:42.451318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540b210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540b210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540b210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 06:34:03.212720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 06:34:22.321420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:34:42.259384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5475510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5475510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5475510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:37:03.031813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d7590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d7590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d7590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:39:22.544618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542a570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542a570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542a570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:41:42.747797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f5550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f5550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f5550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:44:03.550152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f5590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f5590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f5590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:46:22.831922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f65d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f65d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f65d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:48:44.517303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ac510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:51:03.366991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5492570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5492570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5492570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:53:22.434478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545a590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:55:42.474002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5483570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 06:59:03.513301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543f510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543f510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543f510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:01:22.680173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f02b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f02b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f02b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:03:42.005800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5481570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5481570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5481570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:06:02.582657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5426550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5426550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5426550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:08:22.483789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5407570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5407570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5407570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:10:42.319670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5443550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:13:03.162671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54215b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54215b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54215b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:15:22.588197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545d510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:17:42.298367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544f550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544f550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544f550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:20:03.287481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5403230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5403230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5403230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:22:22.069592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53dc4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dc4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dc4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:24:42.191036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53da5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53da5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53da5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:27:03.019518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e5510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e5510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e5510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:29:22.742214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546a1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546a1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546a1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:31:42.586861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54671d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54671d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54671d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:34:03.183451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5443530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:36:22.294540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53df350>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53df350>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53df350>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:38:42.608512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54751b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54751b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54751b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:41:02.743021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54224f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54224f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54224f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:43:22.688915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5427530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5427530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5427530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:45:42.639648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545a530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:48:03.366357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a0170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a0170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a0170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:50:21.855605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a9590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a9590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a9590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:52:42.724806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e8270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e8270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e8270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:55:02.835835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54474f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54474f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54474f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 07:59:03.603788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5440290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5440290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5440290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:01:22.152035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f8530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f8530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f8530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:03:42.732338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549a230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549a230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549a230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:06:02.529548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f55d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f55d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f55d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:08:22.796370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d8550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:10:43.569529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54161f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54161f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54161f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:13:03.082095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548e170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548e170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548e170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:15:22.471355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f8550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f8550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f8550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:17:41.995339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545a4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:20:02.995179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541e4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541e4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541e4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:22:22.168719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f95b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f95b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f95b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:24:42.613557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fd570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fd570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fd570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:27:02.860343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54411d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54411d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54411d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:29:22.242990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53eb530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53eb530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53eb530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:31:42.752372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546b1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:34:03.118287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c3510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c3510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c3510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:36:22.399072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54935f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54935f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54935f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:38:42.112659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547f250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:41:02.996031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548a250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548a250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548a250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:43:21.890689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c4250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c4250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c4250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:45:42.390091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a1590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a1590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a1590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:48:02.310810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5462530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5462530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5462530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:50:22.439476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53dc210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dc210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dc210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:52:42.198408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5470210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5470210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5470210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:55:03.337032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5458210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5458210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5458210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 08:59:03.274872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54641f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54641f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54641f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:01:22.240303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a3270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a3270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a3270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:03:41.867059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54be590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54be590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54be590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:06:03.256404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ca230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:08:22.517388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544f5f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544f5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544f5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:10:42.499959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53de1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53de1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53de1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:13:02.719154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542d550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542d550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542d550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:15:22.007304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547c510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547c510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547c510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:17:42.491305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5496390>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5496390>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5496390>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:20:02.977068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54af510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:22:22.625059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547f270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:24:42.738259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a5570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a5570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a5570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-15 09:27:03.297387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_15042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d1210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d1210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d1210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:29:22.164713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 22024892, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1744702222000}
4219
2720885
4219
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/00/48/image_15042025_00_48_08_2716.jpg', '/home/pi/Desktop/images/15042025/00/54/image_15042025_00_54_44_2674.jpg', '/home/pi/Desktop/images/15042025/00/56/image_15042025_00_56_14_2712.jpg', '/home/pi/Desktop/images/15042025/01/03/image_15042025_01_03_32_3750.jpg', '/home/pi/Desktop/images/15042025/01/07/image_15042025_01_07_37_2795.jpg', '/home/pi/Desktop/images/15042025/01/09/image_15042025_01_09_30_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/00/48/image_15042025_00_48_08_2716.jpg
/home/pi/Desktop/images/15042025/00/54/image_15042025_00_54_44_2674.jpg
/home/pi/Desktop/images/15042025/00/56/image_15042025_00_56_14_2712.jpg
/home/pi/Desktop/images/15042025/01/03/image_15042025_01_03_32_3750.jpg
/home/pi/Desktop/images/15042025/01/07/image_15042025_01_07_37_2795.jpg
/home/pi/Desktop/images/15042025/01/09/image_15042025_01_09_30_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349822827","1349822835","1349822831","1349822840","1349822851","1349822845"],"photo_ids_order":["1349822827","1349822831","1349822835","1349822840","1349822845","1349822851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c12baf2b95c438c696fc43bf6ca0c45d.jpg","text":"TemporaryFile(/tmp/multipartBody457888512382938970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702223842,"filename":"image_15042025_00_48_08_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30ff5650d67e662f171c4202d7078e64.jpg","text":"TemporaryFile(/tmp/multipartBody2834836125920872456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702223842,"filename":"image_15042025_00_56_14_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d62a334f01aca66ee6bcb7bb9e52eba8.jpg","text":"TemporaryFile(/tmp/multipartBody5314350487670716702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702223842,"filename":"image_15042025_00_54_44_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f78998046bdfc8fc0cc39b39be45ad13.jpg","text":"TemporaryFile(/tmp/multipartBody7203514418809403028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702223842,"filename":"image_15042025_01_03_32_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58ca4ac32c850c0a88989abac8295d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7678977875197546687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702223842,"filename":"image_15042025_01_09_30_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4fe234bb9c6c2e4f5cca00eeaa34036.jpg","text":"TemporaryFile(/tmp/multipartBody8329354760136646693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702223842,"filename":"image_15042025_01_07_37_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349822835","file1":"1349822831","file0":"1349822827","file4":"1349822845","file5":"1349822851","file3":"1349822840"},"map_files_photo_id_array":[{"photo_id":"1349822851","filename":"file5"},{"photo_id":"1349822835","filename":"file2"},{"photo_id":"1349822845","filename":"file4"},{"photo_id":"1349822831","filename":"file1"},{"photo_id":"1349822827","filename":"file0"},{"photo_id":"1349822840","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349822827":["hashtag1","hashtag2"]},{"1349822835":["hashtag1","hashtag2"]},{"1349822831":["hashtag1","hashtag2"]},{"1349822840":["hashtag1","hashtag2"]},{"1349822851":["hashtag1","hashtag2"]},{"1349822845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349822827, 1349822835, 1349822831, 1349822840, 1349822851, 1349822845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11327123641968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:30:03.163567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/01/18/image_15042025_01_18_18_3794.jpg', '/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_48_3586.jpg', '/home/pi/Desktop/images/15042025/01/23/image_15042025_01_23_41_2699.jpg', '/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_26_3723.jpg', '/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_54_2631.jpg', '/home/pi/Desktop/images/15042025/01/47/image_15042025_01_47_34_3004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/01/18/image_15042025_01_18_18_3794.jpg
/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_48_3586.jpg
/home/pi/Desktop/images/15042025/01/23/image_15042025_01_23_41_2699.jpg
/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_26_3723.jpg
/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_54_2631.jpg
/home/pi/Desktop/images/15042025/01/47/image_15042025_01_47_34_3004.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7789013385772705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:30:22.595182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/01/18/image_15042025_01_18_18_3794.jpg', '/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_48_3586.jpg', '/home/pi/Desktop/images/15042025/01/23/image_15042025_01_23_41_2699.jpg', '/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_26_3723.jpg', '/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_54_2631.jpg', '/home/pi/Desktop/images/15042025/01/47/image_15042025_01_47_34_3004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/01/18/image_15042025_01_18_18_3794.jpg
/home/pi/Desktop/images/15042025/01/22/image_15042025_01_22_48_3586.jpg
/home/pi/Desktop/images/15042025/01/23/image_15042025_01_23_41_2699.jpg
/home/pi/Desktop/images/15042025/01/27/image_15042025_01_27_26_3723.jpg
/home/pi/Desktop/images/15042025/01/43/image_15042025_01_43_54_2631.jpg
/home/pi/Desktop/images/15042025/01/47/image_15042025_01_47_34_3004.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349822895","1349822934","1349822888","1349822912","1349822899","1349822923"],"photo_ids_order":["1349822888","1349822895","1349822899","1349822912","1349822923","1349822934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5244d168b458d2e77514e664b2c2a430.jpg","text":"TemporaryFile(/tmp/multipartBody1462618362424023265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702283363,"filename":"image_15042025_01_22_48_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e2d94f8bc4d41ed1b521aa6e61d49cf.jpg","text":"TemporaryFile(/tmp/multipartBody8898610788526972322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702283363,"filename":"image_15042025_01_47_34_3004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e69e5c9d28f440de0d550a5ed16355e.jpg","text":"TemporaryFile(/tmp/multipartBody1687687455785021273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702283363,"filename":"image_15042025_01_18_18_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ade41dfb5cf6ee03200b5b884ef7afe5.jpg","text":"TemporaryFile(/tmp/multipartBody5779874400481519486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702283363,"filename":"image_15042025_01_27_26_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47363c0f160fbf5995dee4bd86e5ec9c.jpg","text":"TemporaryFile(/tmp/multipartBody3547952191783360098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702283363,"filename":"image_15042025_01_23_41_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c8e64b511f8ab48b90f20c6d077f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody4536971440483542992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702283363,"filename":"image_15042025_01_43_54_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349822899","file1":"1349822895","file0":"1349822888","file4":"1349822923","file5":"1349822934","file3":"1349822912"},"map_files_photo_id_array":[{"photo_id":"1349822934","filename":"file5"},{"photo_id":"1349822899","filename":"file2"},{"photo_id":"1349822923","filename":"file4"},{"photo_id":"1349822895","filename":"file1"},{"photo_id":"1349822888","filename":"file0"},{"photo_id":"1349822912","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349822895":["hashtag1","hashtag2"]},{"1349822934":["hashtag1","hashtag2"]},{"1349822888":["hashtag1","hashtag2"]},{"1349822912":["hashtag1","hashtag2"]},{"1349822899":["hashtag1","hashtag2"]},{"1349822923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349822895, 1349822934, 1349822888, 1349822912, 1349822899, 1349822923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55240297317505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:31:03.480370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/02/03/image_15042025_02_03_49_2722.jpg', '/home/pi/Desktop/images/15042025/02/42/image_15042025_02_42_15_2662.jpg', '/home/pi/Desktop/images/15042025/03/00/image_15042025_03_00_34_2611.jpg', '/home/pi/Desktop/images/15042025/03/34/image_15042025_03_34_40_2693.jpg', '/home/pi/Desktop/images/15042025/04/34/image_15042025_04_34_01_2704.jpg', '/home/pi/Desktop/images/15042025/05/22/image_15042025_05_22_30_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/02/03/image_15042025_02_03_49_2722.jpg
/home/pi/Desktop/images/15042025/02/42/image_15042025_02_42_15_2662.jpg
/home/pi/Desktop/images/15042025/03/00/image_15042025_03_00_34_2611.jpg
/home/pi/Desktop/images/15042025/03/34/image_15042025_03_34_40_2693.jpg
/home/pi/Desktop/images/15042025/04/34/image_15042025_04_34_01_2704.jpg
/home/pi/Desktop/images/15042025/05/22/image_15042025_05_22_30_3720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823009","1349822999","1349822963","1349822957","1349823020","1349822969"],"photo_ids_order":["1349822957","1349822963","1349822969","1349822999","1349823009","1349823020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6524413584117e463981e7c6add99c6.jpg","text":"TemporaryFile(/tmp/multipartBody8495085869036041582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702324407,"filename":"image_15042025_04_34_01_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92dd056984a0325e548f5a0fb0a81618.jpg","text":"TemporaryFile(/tmp/multipartBody7709369866155814960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702324407,"filename":"image_15042025_03_34_40_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8526021aaddfdf81afe62565f363ae30.jpg","text":"TemporaryFile(/tmp/multipartBody4012272109846084654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702324407,"filename":"image_15042025_02_42_15_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ca773e09272d988d8a3d78dd3f15a88.jpg","text":"TemporaryFile(/tmp/multipartBody8704946700854046116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702324407,"filename":"image_15042025_02_03_49_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a810c8378e8269c67834326f1fb704e.jpg","text":"TemporaryFile(/tmp/multipartBody1955338770442718796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702324407,"filename":"image_15042025_05_22_30_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fea8f7a5eeaaf4d80a896eb5b17dbb8a.jpg","text":"TemporaryFile(/tmp/multipartBody754614322261512357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702324407,"filename":"image_15042025_03_00_34_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349822969","file1":"1349822963","file0":"1349822957","file4":"1349823009","file5":"1349823020","file3":"1349822999"},"map_files_photo_id_array":[{"photo_id":"1349823020","filename":"file5"},{"photo_id":"1349822969","filename":"file2"},{"photo_id":"1349823009","filename":"file4"},{"photo_id":"1349822963","filename":"file1"},{"photo_id":"1349822957","filename":"file0"},{"photo_id":"1349822999","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823009":["hashtag1","hashtag2"]},{"1349822999":["hashtag1","hashtag2"]},{"1349822963":["hashtag1","hashtag2"]},{"1349822957":["hashtag1","hashtag2"]},{"1349823020":["hashtag1","hashtag2"]},{"1349822969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823009, 1349822999, 1349822963, 1349822957, 1349823020, 1349822969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.970426082611084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:32:02.304417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/06/25/image_15042025_06_25_41_2691.jpg', '/home/pi/Desktop/images/15042025/07/02/image_15042025_07_02_25_3570.jpg', '/home/pi/Desktop/images/15042025/07/15/image_15042025_07_15_18_3624.jpg', '/home/pi/Desktop/images/15042025/07/16/image_15042025_07_16_15_2621.jpg', '/home/pi/Desktop/images/15042025/07/17/image_15042025_07_17_39_2658.jpg', '/home/pi/Desktop/images/15042025/07/18/image_15042025_07_18_21_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/06/25/image_15042025_06_25_41_2691.jpg
/home/pi/Desktop/images/15042025/07/02/image_15042025_07_02_25_3570.jpg
/home/pi/Desktop/images/15042025/07/15/image_15042025_07_15_18_3624.jpg
/home/pi/Desktop/images/15042025/07/16/image_15042025_07_16_15_2621.jpg
/home/pi/Desktop/images/15042025/07/17/image_15042025_07_17_39_2658.jpg
/home/pi/Desktop/images/15042025/07/18/image_15042025_07_18_21_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823066","1349823056","1349823059","1349823053","1349823061","1349823049"],"photo_ids_order":["1349823049","1349823053","1349823056","1349823059","1349823061","1349823066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a10b09a10e27a43150a150721f90083b.jpg","text":"TemporaryFile(/tmp/multipartBody7848901471896984995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702383118,"filename":"image_15042025_07_18_21_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b095de56a1b148e397bb551794a4382.jpg","text":"TemporaryFile(/tmp/multipartBody4785166287529603236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702383118,"filename":"image_15042025_07_15_18_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/202ede5fa498d8b0eeccf87fb9909138.jpg","text":"TemporaryFile(/tmp/multipartBody2323615026814921584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702383118,"filename":"image_15042025_07_16_15_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ca6edaa97b23eef584cf33ae6f50d98.jpg","text":"TemporaryFile(/tmp/multipartBody834715860322321247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702383118,"filename":"image_15042025_07_02_25_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72074bb3df04b44250a170a24efb044a.jpg","text":"TemporaryFile(/tmp/multipartBody4336493586478234544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702383118,"filename":"image_15042025_07_17_39_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85bd43fe35f5a30247b7be9c34af91d9.jpg","text":"TemporaryFile(/tmp/multipartBody4913250215480066293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702383118,"filename":"image_15042025_06_25_41_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823056","file1":"1349823053","file0":"1349823049","file4":"1349823061","file5":"1349823066","file3":"1349823059"},"map_files_photo_id_array":[{"photo_id":"1349823066","filename":"file5"},{"photo_id":"1349823056","filename":"file2"},{"photo_id":"1349823061","filename":"file4"},{"photo_id":"1349823053","filename":"file1"},{"photo_id":"1349823049","filename":"file0"},{"photo_id":"1349823059","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823066":["hashtag1","hashtag2"]},{"1349823056":["hashtag1","hashtag2"]},{"1349823059":["hashtag1","hashtag2"]},{"1349823053":["hashtag1","hashtag2"]},{"1349823061":["hashtag1","hashtag2"]},{"1349823049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823066, 1349823056, 1349823059, 1349823053, 1349823061, 1349823049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40501570701599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:32:42.017815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/19/image_15042025_07_19_35_2609.jpg', '/home/pi/Desktop/images/15042025/07/20/image_15042025_07_20_36_3704.jpg', '/home/pi/Desktop/images/15042025/07/20/image_15042025_07_21_00_3790.jpg', '/home/pi/Desktop/images/15042025/07/21/image_15042025_07_21_12_2794.jpg', '/home/pi/Desktop/images/15042025/07/21/image_15042025_07_21_35_3623.jpg', '/home/pi/Desktop/images/15042025/07/21/image_15042025_07_21_41_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/19/image_15042025_07_19_35_2609.jpg
/home/pi/Desktop/images/15042025/07/20/image_15042025_07_20_36_3704.jpg
/home/pi/Desktop/images/15042025/07/20/image_15042025_07_21_00_3790.jpg
/home/pi/Desktop/images/15042025/07/21/image_15042025_07_21_12_2794.jpg
/home/pi/Desktop/images/15042025/07/21/image_15042025_07_21_35_3623.jpg
/home/pi/Desktop/images/15042025/07/21/image_15042025_07_21_41_2675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823100","1349823135","1349823110","1349823154","1349823121","1349823130"],"photo_ids_order":["1349823100","1349823110","1349823121","1349823130","1349823135","1349823154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2e10ab1e0c66c88b9d98410b1297f96.jpg","text":"TemporaryFile(/tmp/multipartBody9101161148859669225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702422722,"filename":"image_15042025_07_19_35_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6ab9565cf47c96fd2876c8b09331d44.jpg","text":"TemporaryFile(/tmp/multipartBody4798359214644929043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702422722,"filename":"image_15042025_07_21_35_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e0fd7459dfde7bde4f544213637262e.jpg","text":"TemporaryFile(/tmp/multipartBody244238635899067980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702422722,"filename":"image_15042025_07_20_36_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e00e8fff7cf56380ab586ab681148d3.jpg","text":"TemporaryFile(/tmp/multipartBody5179824209894646710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702422722,"filename":"image_15042025_07_21_41_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fde74428ace8a5cfbda1fb183230082.jpg","text":"TemporaryFile(/tmp/multipartBody4500583816998721130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702422722,"filename":"image_15042025_07_21_00_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a06099606f29e524b9d4ed328e9023de.jpg","text":"TemporaryFile(/tmp/multipartBody1994060664598196940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702422722,"filename":"image_15042025_07_21_12_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823121","file1":"1349823110","file0":"1349823100","file4":"1349823135","file5":"1349823154","file3":"1349823130"},"map_files_photo_id_array":[{"photo_id":"1349823154","filename":"file5"},{"photo_id":"1349823121","filename":"file2"},{"photo_id":"1349823135","filename":"file4"},{"photo_id":"1349823110","filename":"file1"},{"photo_id":"1349823100","filename":"file0"},{"photo_id":"1349823130","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823100":["hashtag1","hashtag2"]},{"1349823135":["hashtag1","hashtag2"]},{"1349823110":["hashtag1","hashtag2"]},{"1349823154":["hashtag1","hashtag2"]},{"1349823121":["hashtag1","hashtag2"]},{"1349823130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823100, 1349823135, 1349823110, 1349823154, 1349823121, 1349823130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.111351013183594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:33:42.149812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_02_3700.jpg', '/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_59_2787.jpg', '/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_32_3542.jpg', '/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_11_2609.jpg', '/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_26_3735.jpg', '/home/pi/Desktop/images/15042025/07/28/image_15042025_07_28_23_3496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_02_3700.jpg
/home/pi/Desktop/images/15042025/07/23/image_15042025_07_23_59_2787.jpg
/home/pi/Desktop/images/15042025/07/24/image_15042025_07_24_32_3542.jpg
/home/pi/Desktop/images/15042025/07/26/image_15042025_07_26_11_2609.jpg
/home/pi/Desktop/images/15042025/07/27/image_15042025_07_27_26_3735.jpg
/home/pi/Desktop/images/15042025/07/28/image_15042025_07_28_23_3496.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823207","1349823188","1349823199","1349823220","1349823214","1349823226"],"photo_ids_order":["1349823188","1349823199","1349823207","1349823214","1349823220","1349823226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/945c51f2b43e069bc78d2fd675d6afeb.jpg","text":"TemporaryFile(/tmp/multipartBody6599331336300865510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702482863,"filename":"image_15042025_07_24_32_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d36fdcea0816e747ccc51baa66a6d9f1.jpg","text":"TemporaryFile(/tmp/multipartBody5479129011811513234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702482863,"filename":"image_15042025_07_23_02_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3de43914f829b0c6fd3e592918ddffc5.jpg","text":"TemporaryFile(/tmp/multipartBody7369668381333704332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702482863,"filename":"image_15042025_07_23_59_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61341b7e01ef95353fb0427abe15bd36.jpg","text":"TemporaryFile(/tmp/multipartBody6345855014272872534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702482863,"filename":"image_15042025_07_27_26_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bc708b0e335c7dea80c8dc441427eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2469317070100670066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702482863,"filename":"image_15042025_07_26_11_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0ea091c7724ed61e5aa5ed085253399.jpg","text":"TemporaryFile(/tmp/multipartBody5378717704083371509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702482863,"filename":"image_15042025_07_28_23_3496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823207","file1":"1349823199","file0":"1349823188","file4":"1349823220","file5":"1349823226","file3":"1349823214"},"map_files_photo_id_array":[{"photo_id":"1349823226","filename":"file5"},{"photo_id":"1349823207","filename":"file2"},{"photo_id":"1349823220","filename":"file4"},{"photo_id":"1349823199","filename":"file1"},{"photo_id":"1349823188","filename":"file0"},{"photo_id":"1349823214","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823207":["hashtag1","hashtag2"]},{"1349823188":["hashtag1","hashtag2"]},{"1349823199":["hashtag1","hashtag2"]},{"1349823220":["hashtag1","hashtag2"]},{"1349823214":["hashtag1","hashtag2"]},{"1349823226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823207, 1349823188, 1349823199, 1349823220, 1349823214, 1349823226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77911639213562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:34:22.359435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/30/image_15042025_07_30_31_2723.jpg', '/home/pi/Desktop/images/15042025/07/34/image_15042025_07_34_55_3658.jpg', '/home/pi/Desktop/images/15042025/07/40/image_15042025_07_40_52_3602.jpg', '/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_03_3612.jpg', '/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_07_3097.jpg', '/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_12_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/30/image_15042025_07_30_31_2723.jpg
/home/pi/Desktop/images/15042025/07/34/image_15042025_07_34_55_3658.jpg
/home/pi/Desktop/images/15042025/07/40/image_15042025_07_40_52_3602.jpg
/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_03_3612.jpg
/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_07_3097.jpg
/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_12_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823249","1349823281","1349823269","1349823263","1349823305","1349823292"],"photo_ids_order":["1349823249","1349823263","1349823269","1349823281","1349823292","1349823305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b3fb6d72ff332900ad31b85bda4346a.jpg","text":"TemporaryFile(/tmp/multipartBody7063228552354523734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702523022,"filename":"image_15042025_07_30_31_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/675e4d740ffb257b12ff1a3dc8f71559.jpg","text":"TemporaryFile(/tmp/multipartBody9141909283700800643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702523022,"filename":"image_15042025_07_41_03_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/235af71b87e25000c288196c43ad5315.jpg","text":"TemporaryFile(/tmp/multipartBody6052080746759549952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702523022,"filename":"image_15042025_07_40_52_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3b950ca06bdc2d7df6179833d793670.jpg","text":"TemporaryFile(/tmp/multipartBody3835849741659279621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702523022,"filename":"image_15042025_07_34_55_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8e25db4f72606e3cde10aecc0c0c94d.jpg","text":"TemporaryFile(/tmp/multipartBody7020617589621744890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702523022,"filename":"image_15042025_07_41_12_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85818a850056cec094dcab345a3af90a.jpg","text":"TemporaryFile(/tmp/multipartBody3978853456963693153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702523022,"filename":"image_15042025_07_41_07_3097.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823269","file1":"1349823263","file0":"1349823249","file4":"1349823292","file5":"1349823305","file3":"1349823281"},"map_files_photo_id_array":[{"photo_id":"1349823305","filename":"file5"},{"photo_id":"1349823269","filename":"file2"},{"photo_id":"1349823292","filename":"file4"},{"photo_id":"1349823263","filename":"file1"},{"photo_id":"1349823249","filename":"file0"},{"photo_id":"1349823281","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823249":["hashtag1","hashtag2"]},{"1349823281":["hashtag1","hashtag2"]},{"1349823269":["hashtag1","hashtag2"]},{"1349823263":["hashtag1","hashtag2"]},{"1349823305":["hashtag1","hashtag2"]},{"1349823292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823249, 1349823281, 1349823269, 1349823263, 1349823305, 1349823292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56750249862671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:35:03.385770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_16_3652.jpg', '/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_18_2677.jpg', '/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_21_2584.jpg', '/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_25_3774.jpg', '/home/pi/Desktop/images/15042025/07/42/image_15042025_07_42_54_2745.jpg', '/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_18_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_16_3652.jpg
/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_18_2677.jpg
/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_21_2584.jpg
/home/pi/Desktop/images/15042025/07/41/image_15042025_07_41_25_3774.jpg
/home/pi/Desktop/images/15042025/07/42/image_15042025_07_42_54_2745.jpg
/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_18_2775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823392","1349823428","1349823344","1349823358","1349823352","1349823337"],"photo_ids_order":["1349823337","1349823344","1349823352","1349823358","1349823392","1349823428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd9e412a21ba9767d6bef82b141bf054.jpg","text":"TemporaryFile(/tmp/multipartBody6960789062872650792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702564190,"filename":"image_15042025_07_42_54_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2938bfcc0e223771e6fac57d2c55c9d.jpg","text":"TemporaryFile(/tmp/multipartBody1931601169154375847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702564190,"filename":"image_15042025_07_43_18_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ed127834d151145176b85d7df433327.jpg","text":"TemporaryFile(/tmp/multipartBody7384291615593217662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702564190,"filename":"image_15042025_07_41_18_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df28514e37b1b01d0ee23ea84b6cdd29.jpg","text":"TemporaryFile(/tmp/multipartBody7962116433775207244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702564190,"filename":"image_15042025_07_41_25_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cb1dad37d52ab2de3c79f6f804b97eb.jpg","text":"TemporaryFile(/tmp/multipartBody8561088985791234750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702564190,"filename":"image_15042025_07_41_21_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc869ead2a523ae3ac15c4b543939e04.jpg","text":"TemporaryFile(/tmp/multipartBody6315088290796210143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702564190,"filename":"image_15042025_07_41_16_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823352","file1":"1349823344","file0":"1349823337","file4":"1349823392","file5":"1349823428","file3":"1349823358"},"map_files_photo_id_array":[{"photo_id":"1349823428","filename":"file5"},{"photo_id":"1349823352","filename":"file2"},{"photo_id":"1349823392","filename":"file4"},{"photo_id":"1349823344","filename":"file1"},{"photo_id":"1349823337","filename":"file0"},{"photo_id":"1349823358","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823392":["hashtag1","hashtag2"]},{"1349823428":["hashtag1","hashtag2"]},{"1349823344":["hashtag1","hashtag2"]},{"1349823358":["hashtag1","hashtag2"]},{"1349823352":["hashtag1","hashtag2"]},{"1349823337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823392, 1349823428, 1349823344, 1349823358, 1349823352, 1349823337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.582688093185425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:35:42.737259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_27_2669.jpg', '/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_49_3739.jpg', '/home/pi/Desktop/images/15042025/07/44/image_15042025_07_44_27_3802.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_06_3421.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_27_2784.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_30_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_27_2669.jpg
/home/pi/Desktop/images/15042025/07/43/image_15042025_07_43_49_3739.jpg
/home/pi/Desktop/images/15042025/07/44/image_15042025_07_44_27_3802.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_06_3421.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_27_2784.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_30_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823543","1349823525","1349823501","1349823551","1349823536","1349823511"],"photo_ids_order":["1349823501","1349823511","1349823525","1349823536","1349823543","1349823551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb726d91beb4b043b43275964a893c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7768619505955379808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702603447,"filename":"image_15042025_07_45_27_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15e1e9b16b2b20840025afa86e507a0a.jpg","text":"TemporaryFile(/tmp/multipartBody4904769823245101671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702603447,"filename":"image_15042025_07_44_27_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ba7cb902c52600877214575e4fcac0b.jpg","text":"TemporaryFile(/tmp/multipartBody2613844876899150528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702603447,"filename":"image_15042025_07_43_27_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc53bf8948bb583325529993e753f341.jpg","text":"TemporaryFile(/tmp/multipartBody6752796380287512788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702603447,"filename":"image_15042025_07_45_30_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bcb6cf4f21bed2b393ba0d51c863fc9.jpg","text":"TemporaryFile(/tmp/multipartBody3349634044877458554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702603447,"filename":"image_15042025_07_45_06_3421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59b6f5fea0c19d2056c94be105cdc0a8.jpg","text":"TemporaryFile(/tmp/multipartBody7142135402083231800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702603447,"filename":"image_15042025_07_43_49_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823525","file1":"1349823511","file0":"1349823501","file4":"1349823543","file5":"1349823551","file3":"1349823536"},"map_files_photo_id_array":[{"photo_id":"1349823551","filename":"file5"},{"photo_id":"1349823525","filename":"file2"},{"photo_id":"1349823543","filename":"file4"},{"photo_id":"1349823511","filename":"file1"},{"photo_id":"1349823501","filename":"file0"},{"photo_id":"1349823536","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823543":["hashtag1","hashtag2"]},{"1349823525":["hashtag1","hashtag2"]},{"1349823501":["hashtag1","hashtag2"]},{"1349823551":["hashtag1","hashtag2"]},{"1349823536":["hashtag1","hashtag2"]},{"1349823511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823543, 1349823525, 1349823501, 1349823551, 1349823536, 1349823511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.635923862457275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:36:22.299391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_33_3780.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_36_2597.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_42_3873.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_45_2552.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_48_2648.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_51_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_33_3780.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_36_2597.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_42_3873.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_45_2552.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_48_2648.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_51_3627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823689","1349823606","1349823598","1349823679","1349823625","1349823613"],"photo_ids_order":["1349823598","1349823606","1349823613","1349823625","1349823679","1349823689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd33458b5760d471d681f34680ebf945.jpg","text":"TemporaryFile(/tmp/multipartBody8707031695153074643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702642947,"filename":"image_15042025_07_45_51_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1840d8d4b3195d7730a921790876849e.jpg","text":"TemporaryFile(/tmp/multipartBody999835106604973263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702642947,"filename":"image_15042025_07_45_36_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/557e0c6886f7ef92f546abe37e82c42f.jpg","text":"TemporaryFile(/tmp/multipartBody8716606076722570633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702642947,"filename":"image_15042025_07_45_33_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bcd76044da5b1dd9ced622bc5851f89.jpg","text":"TemporaryFile(/tmp/multipartBody2012141860327189335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702642947,"filename":"image_15042025_07_45_48_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31b5587deedcdb5e2445ead61e8752fb.jpg","text":"TemporaryFile(/tmp/multipartBody1689138747201589232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702642947,"filename":"image_15042025_07_45_45_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/490071c4eb0b6c647fed0d7f1d94887e.jpg","text":"TemporaryFile(/tmp/multipartBody4553110814787314826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702642947,"filename":"image_15042025_07_45_42_3873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823613","file1":"1349823606","file0":"1349823598","file4":"1349823679","file5":"1349823689","file3":"1349823625"},"map_files_photo_id_array":[{"photo_id":"1349823689","filename":"file5"},{"photo_id":"1349823613","filename":"file2"},{"photo_id":"1349823679","filename":"file4"},{"photo_id":"1349823606","filename":"file1"},{"photo_id":"1349823598","filename":"file0"},{"photo_id":"1349823625","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823689":["hashtag1","hashtag2"]},{"1349823606":["hashtag1","hashtag2"]},{"1349823598":["hashtag1","hashtag2"]},{"1349823679":["hashtag1","hashtag2"]},{"1349823625":["hashtag1","hashtag2"]},{"1349823613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823689, 1349823606, 1349823598, 1349823679, 1349823625, 1349823613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59555196762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:37:02.983096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_54_2568.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_56_2670.jpg', '/home/pi/Desktop/images/15042025/07/45/image_15042025_07_46_00_3662.jpg', '/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_03_2659.jpg', '/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_05_2638.jpg', '/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_09_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_54_2568.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_45_56_2670.jpg
/home/pi/Desktop/images/15042025/07/45/image_15042025_07_46_00_3662.jpg
/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_03_2659.jpg
/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_05_2638.jpg
/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_09_3548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823831","1349823849","1349823810","1349823845","1349823800","1349823775"],"photo_ids_order":["1349823775","1349823800","1349823810","1349823831","1349823845","1349823849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9878852178eb8213a2dc6c0c42d9c1da.jpg","text":"TemporaryFile(/tmp/multipartBody4208224175740199773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702683741,"filename":"image_15042025_07_46_03_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c5312f633ffa9db83bdff395c7f758c.jpg","text":"TemporaryFile(/tmp/multipartBody2908668428322804321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702683741,"filename":"image_15042025_07_46_09_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66e5000c0f951e602efa71964064e099.jpg","text":"TemporaryFile(/tmp/multipartBody6072807940817244796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702683741,"filename":"image_15042025_07_46_00_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34d2447388e5a8f9f207a3148b1bd505.jpg","text":"TemporaryFile(/tmp/multipartBody2281219501663172373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702683741,"filename":"image_15042025_07_46_05_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/013267f0781f3cfbfa1628b0a57900eb.jpg","text":"TemporaryFile(/tmp/multipartBody3817740537878196188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702683741,"filename":"image_15042025_07_45_56_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef77026bd91e5419fbe62b100c9e72e8.jpg","text":"TemporaryFile(/tmp/multipartBody7763907322590064877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702683741,"filename":"image_15042025_07_45_54_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823810","file1":"1349823800","file0":"1349823775","file4":"1349823845","file5":"1349823849","file3":"1349823831"},"map_files_photo_id_array":[{"photo_id":"1349823849","filename":"file5"},{"photo_id":"1349823810","filename":"file2"},{"photo_id":"1349823845","filename":"file4"},{"photo_id":"1349823800","filename":"file1"},{"photo_id":"1349823775","filename":"file0"},{"photo_id":"1349823831","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823831":["hashtag1","hashtag2"]},{"1349823849":["hashtag1","hashtag2"]},{"1349823810":["hashtag1","hashtag2"]},{"1349823845":["hashtag1","hashtag2"]},{"1349823800":["hashtag1","hashtag2"]},{"1349823775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823831, 1349823849, 1349823810, 1349823845, 1349823800, 1349823775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.350757360458374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:37:42.296916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_12_2596.jpg', '/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_15_3573.jpg', '/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_18_2650.jpg', '/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_41_2754.jpg', '/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_45_3678.jpg', '/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_51_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_12_2596.jpg
/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_15_3573.jpg
/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_18_2650.jpg
/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_41_2754.jpg
/home/pi/Desktop/images/15042025/07/46/image_15042025_07_46_45_3678.jpg
/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_51_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349823903","1349823977","1349823926","1349823967","1349823952","1349823916"],"photo_ids_order":["1349823903","1349823916","1349823926","1349823952","1349823967","1349823977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cce1c9a1c3088842a0f6620656c3972a.jpg","text":"TemporaryFile(/tmp/multipartBody8786935504872831156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723034,"filename":"image_15042025_07_46_12_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45194f4d3c21f95bc405de165dab3ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1264610433934944226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723034,"filename":"image_15042025_07_47_51_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80b0688702863f573839ce7d247c6f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3336067412883006761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723034,"filename":"image_15042025_07_46_18_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d5558763985e341c443ac64e27ba619.jpg","text":"TemporaryFile(/tmp/multipartBody3875555563674121571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723034,"filename":"image_15042025_07_46_45_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/556c2aa47e608273b6f34effdf2b2850.jpg","text":"TemporaryFile(/tmp/multipartBody8662249805449651564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723034,"filename":"image_15042025_07_46_41_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dce69212c18c7a37397246aee6ae3285.jpg","text":"TemporaryFile(/tmp/multipartBody8894004664762632117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723034,"filename":"image_15042025_07_46_15_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823926","file1":"1349823916","file0":"1349823903","file4":"1349823967","file5":"1349823977","file3":"1349823952"},"map_files_photo_id_array":[{"photo_id":"1349823977","filename":"file5"},{"photo_id":"1349823926","filename":"file2"},{"photo_id":"1349823967","filename":"file4"},{"photo_id":"1349823916","filename":"file1"},{"photo_id":"1349823903","filename":"file0"},{"photo_id":"1349823952","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349823903":["hashtag1","hashtag2"]},{"1349823977":["hashtag1","hashtag2"]},{"1349823926":["hashtag1","hashtag2"]},{"1349823967":["hashtag1","hashtag2"]},{"1349823952":["hashtag1","hashtag2"]},{"1349823916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349823903, 1349823977, 1349823926, 1349823967, 1349823952, 1349823916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.81172180175781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:38:41.929886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_53_2686.jpg', '/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_57_3648.jpg', '/home/pi/Desktop/images/15042025/07/47/image_15042025_07_48_00_2615.jpg', '/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_02_2622.jpg', '/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_06_3694.jpg', '/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_09_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_53_2686.jpg
/home/pi/Desktop/images/15042025/07/47/image_15042025_07_47_57_3648.jpg
/home/pi/Desktop/images/15042025/07/47/image_15042025_07_48_00_2615.jpg
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_02_2622.jpg
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_06_3694.jpg
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_09_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824017","1349824002","1349824052","1349824058","1349824027","1349824062"],"photo_ids_order":["1349824002","1349824017","1349824027","1349824052","1349824058","1349824062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/780e0aa5b639bbe9eb83b1ce8ceddaaa.jpg","text":"TemporaryFile(/tmp/multipartBody9078725152406847121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702782618,"filename":"image_15042025_07_47_57_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c7cc82e7779f41923dd77a80f4d580b.jpg","text":"TemporaryFile(/tmp/multipartBody3917480060994367693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702782618,"filename":"image_15042025_07_47_53_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ff3a043a41e296d6a6064f01ca9934f.jpg","text":"TemporaryFile(/tmp/multipartBody2528333443843236188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702782618,"filename":"image_15042025_07_48_02_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84000eef8af0f70962a02666039fe8af.jpg","text":"TemporaryFile(/tmp/multipartBody3964023535391852797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702782618,"filename":"image_15042025_07_48_06_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8d9a4429c869361f828784ac37b6f99.jpg","text":"TemporaryFile(/tmp/multipartBody8143516996241970135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702782618,"filename":"image_15042025_07_48_00_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab413d3773952751ee7c18c63a30fe2c.jpg","text":"TemporaryFile(/tmp/multipartBody6688382902421253791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702782618,"filename":"image_15042025_07_48_09_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824027","file1":"1349824017","file0":"1349824002","file4":"1349824058","file5":"1349824062","file3":"1349824052"},"map_files_photo_id_array":[{"photo_id":"1349824062","filename":"file5"},{"photo_id":"1349824027","filename":"file2"},{"photo_id":"1349824058","filename":"file4"},{"photo_id":"1349824017","filename":"file1"},{"photo_id":"1349824002","filename":"file0"},{"photo_id":"1349824052","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824017":["hashtag1","hashtag2"]},{"1349824002":["hashtag1","hashtag2"]},{"1349824052":["hashtag1","hashtag2"]},{"1349824058":["hashtag1","hashtag2"]},{"1349824027":["hashtag1","hashtag2"]},{"1349824062":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824017, 1349824002, 1349824052, 1349824058, 1349824027, 1349824062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98064994812012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:39:21.834934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_11_2725.jpg', '/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_15_3735.jpg', '/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_20_2595.jpg', '/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_24_3556.jpg', '/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_27_2791.jpg', '/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_29_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_11_2725.jpg
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_15_3735.jpg
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_20_2595.jpg
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_24_3556.jpg
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_27_2791.jpg
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_29_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824122","1349824154","1349824096","1349824159","1349824138","1349824197"],"photo_ids_order":["1349824096","1349824122","1349824138","1349824154","1349824159","1349824197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edc73a967a87150ca3a75d53fed7c3b0.jpg","text":"TemporaryFile(/tmp/multipartBody4152022835664722115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702822642,"filename":"image_15042025_07_48_15_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1fd90b4bb761f0f9ee316159c8814f2.jpg","text":"TemporaryFile(/tmp/multipartBody4952326752397636442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702822642,"filename":"image_15042025_07_48_24_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f032fcce5ac7f85d1d4bbddc7f63459.jpg","text":"TemporaryFile(/tmp/multipartBody910436558545403269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702822642,"filename":"image_15042025_07_48_11_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/331163dbc214b33f728b53f648500b65.jpg","text":"TemporaryFile(/tmp/multipartBody3936817396414211417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702822642,"filename":"image_15042025_07_48_27_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60608c36138b5008c94ada1aada470f5.jpg","text":"TemporaryFile(/tmp/multipartBody6318103006429608707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702822642,"filename":"image_15042025_07_48_20_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6499fd6eb5ed95df4882e7c64d8dcf9.jpg","text":"TemporaryFile(/tmp/multipartBody2171060532341844252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702822642,"filename":"image_15042025_07_48_29_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824138","file1":"1349824122","file0":"1349824096","file4":"1349824159","file5":"1349824197","file3":"1349824154"},"map_files_photo_id_array":[{"photo_id":"1349824197","filename":"file5"},{"photo_id":"1349824138","filename":"file2"},{"photo_id":"1349824159","filename":"file4"},{"photo_id":"1349824122","filename":"file1"},{"photo_id":"1349824096","filename":"file0"},{"photo_id":"1349824154","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824122":["hashtag1","hashtag2"]},{"1349824154":["hashtag1","hashtag2"]},{"1349824096":["hashtag1","hashtag2"]},{"1349824159":["hashtag1","hashtag2"]},{"1349824138":["hashtag1","hashtag2"]},{"1349824197":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824122, 1349824154, 1349824096, 1349824159, 1349824138, 1349824197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.876893758773804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:40:03.141255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_48_2615.jpg', '/home/pi/Desktop/images/15042025/07/49/image_15042025_07_49_45_2709.jpg', '/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_03_3655.jpg', '/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_08_2613.jpg', '/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_12_3620.jpg', '/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_15_2915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/48/image_15042025_07_48_48_2615.jpg
/home/pi/Desktop/images/15042025/07/49/image_15042025_07_49_45_2709.jpg
/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_03_3655.jpg
/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_08_2613.jpg
/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_12_3620.jpg
/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_15_2915.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824262","1349824244","1349824267","1349824252","1349824275","1349824257"],"photo_ids_order":["1349824244","1349824252","1349824257","1349824262","1349824267","1349824275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/768fad8441b200be27dbb7068d6386d1.jpg","text":"TemporaryFile(/tmp/multipartBody7937950240304411923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702863915,"filename":"image_15042025_07_50_08_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b454dc183ccd87c655e38c14f7348af7.jpg","text":"TemporaryFile(/tmp/multipartBody2234468867113585011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702863915,"filename":"image_15042025_07_48_48_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84fe00c7914f8f8eadf787dbb8f4e2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7040741420121370144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702863915,"filename":"image_15042025_07_50_12_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14ec6773115fa37f37292dca08de5d29.jpg","text":"TemporaryFile(/tmp/multipartBody7038044009547609877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702863915,"filename":"image_15042025_07_49_45_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58a967b5647f59244388f48682275408.jpg","text":"TemporaryFile(/tmp/multipartBody7833344763765423464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702863915,"filename":"image_15042025_07_50_15_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24d142f70a2f4707a8ed72848bca0111.jpg","text":"TemporaryFile(/tmp/multipartBody223303478979841988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702863915,"filename":"image_15042025_07_50_03_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824257","file1":"1349824252","file0":"1349824244","file4":"1349824267","file5":"1349824275","file3":"1349824262"},"map_files_photo_id_array":[{"photo_id":"1349824275","filename":"file5"},{"photo_id":"1349824257","filename":"file2"},{"photo_id":"1349824267","filename":"file4"},{"photo_id":"1349824252","filename":"file1"},{"photo_id":"1349824244","filename":"file0"},{"photo_id":"1349824262","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824262":["hashtag1","hashtag2"]},{"1349824244":["hashtag1","hashtag2"]},{"1349824267":["hashtag1","hashtag2"]},{"1349824252":["hashtag1","hashtag2"]},{"1349824275":["hashtag1","hashtag2"]},{"1349824257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824262, 1349824244, 1349824267, 1349824252, 1349824275, 1349824257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53296995162964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:40:42.449877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_20_2790.jpg', '/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_33_3723.jpg', '/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_38_2724.jpg', '/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_54_3715.jpg', '/home/pi/Desktop/images/15042025/07/51/image_15042025_07_51_24_3628.jpg', '/home/pi/Desktop/images/15042025/07/53/image_15042025_07_53_14_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_20_2790.jpg
/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_33_3723.jpg
/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_38_2724.jpg
/home/pi/Desktop/images/15042025/07/50/image_15042025_07_50_54_3715.jpg
/home/pi/Desktop/images/15042025/07/51/image_15042025_07_51_24_3628.jpg
/home/pi/Desktop/images/15042025/07/53/image_15042025_07_53_14_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824359","1349824323","1349824317","1349824331","1349824310","1349824297"],"photo_ids_order":["1349824297","1349824310","1349824317","1349824323","1349824331","1349824359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4a4ff88079066f2612d03e97e748f5b.jpg","text":"TemporaryFile(/tmp/multipartBody5854979190999602930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702903222,"filename":"image_15042025_07_53_14_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e58b17852672bb192c4d4cb10972b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7225691104147283425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702903222,"filename":"image_15042025_07_50_54_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5642df0ec821a017a1b469040bbef278.jpg","text":"TemporaryFile(/tmp/multipartBody4881280120322294903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702903222,"filename":"image_15042025_07_50_38_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/127279b46e9bb779079196add407eb64.jpg","text":"TemporaryFile(/tmp/multipartBody7156785197777323691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702903222,"filename":"image_15042025_07_51_24_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eabc1f687ab4e81860b3fc49c721ff20.jpg","text":"TemporaryFile(/tmp/multipartBody4168291845745228175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702903222,"filename":"image_15042025_07_50_33_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bb9f2afe171304f9e2974cfff09a04a.jpg","text":"TemporaryFile(/tmp/multipartBody6199103697255367343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702903222,"filename":"image_15042025_07_50_20_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824317","file1":"1349824310","file0":"1349824297","file4":"1349824331","file5":"1349824359","file3":"1349824323"},"map_files_photo_id_array":[{"photo_id":"1349824359","filename":"file5"},{"photo_id":"1349824317","filename":"file2"},{"photo_id":"1349824331","filename":"file4"},{"photo_id":"1349824310","filename":"file1"},{"photo_id":"1349824297","filename":"file0"},{"photo_id":"1349824323","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824359":["hashtag1","hashtag2"]},{"1349824323":["hashtag1","hashtag2"]},{"1349824317":["hashtag1","hashtag2"]},{"1349824331":["hashtag1","hashtag2"]},{"1349824310":["hashtag1","hashtag2"]},{"1349824297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824359, 1349824323, 1349824317, 1349824331, 1349824310, 1349824297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05398654937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:41:22.664110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/54/image_15042025_07_54_02_3624.jpg', '/home/pi/Desktop/images/15042025/07/58/image_15042025_07_58_20_2605.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_26_3542.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_29_2753.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_31_2739.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_35_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/54/image_15042025_07_54_02_3624.jpg
/home/pi/Desktop/images/15042025/07/58/image_15042025_07_58_20_2605.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_26_3542.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_29_2753.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_31_2739.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_35_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824401","1349824472","1349824459","1349824447","1349824432","1349824440"],"photo_ids_order":["1349824401","1349824432","1349824440","1349824447","1349824459","1349824472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a02c077590055fcd9072951310ef1f5.jpg","text":"TemporaryFile(/tmp/multipartBody1442292401538413849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702943362,"filename":"image_15042025_07_54_02_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56b177f51926dcb331076619129ee64f.jpg","text":"TemporaryFile(/tmp/multipartBody8568193942098409605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702943362,"filename":"image_15042025_07_59_35_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cf161b2e28158c2bb2bdf18c4de7588.jpg","text":"TemporaryFile(/tmp/multipartBody5629916193099089242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702943362,"filename":"image_15042025_07_59_31_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a936665f1b3509bcb72516d7fea7fb9d.jpg","text":"TemporaryFile(/tmp/multipartBody678572669091237646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702943362,"filename":"image_15042025_07_59_29_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/264083f00e01507a8befbc5b42707fc8.jpg","text":"TemporaryFile(/tmp/multipartBody7617788200446944336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702943362,"filename":"image_15042025_07_58_20_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/105660544939379a3ee27b9b781200d1.jpg","text":"TemporaryFile(/tmp/multipartBody5323319175034181102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702943362,"filename":"image_15042025_07_59_26_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824440","file1":"1349824432","file0":"1349824401","file4":"1349824459","file5":"1349824472","file3":"1349824447"},"map_files_photo_id_array":[{"photo_id":"1349824472","filename":"file5"},{"photo_id":"1349824440","filename":"file2"},{"photo_id":"1349824459","filename":"file4"},{"photo_id":"1349824432","filename":"file1"},{"photo_id":"1349824401","filename":"file0"},{"photo_id":"1349824447","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824401":["hashtag1","hashtag2"]},{"1349824472":["hashtag1","hashtag2"]},{"1349824459":["hashtag1","hashtag2"]},{"1349824447":["hashtag1","hashtag2"]},{"1349824432":["hashtag1","hashtag2"]},{"1349824440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824401, 1349824472, 1349824459, 1349824447, 1349824432, 1349824440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0183801651001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:42:02.511931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_38_2571.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_40_2652.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_44_3500.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_46_2595.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_50_3648.jpg', '/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_53_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_38_2571.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_40_2652.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_44_3500.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_46_2595.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_50_3648.jpg
/home/pi/Desktop/images/15042025/07/59/image_15042025_07_59_53_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824521","1349824515","1349824538","1349824507","1349824533","1349824527"],"photo_ids_order":["1349824507","1349824515","1349824521","1349824527","1349824533","1349824538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5aae076705c832ec846d3c3a75bb1ef7.jpg","text":"TemporaryFile(/tmp/multipartBody3331500208420115949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702983244,"filename":"image_15042025_07_59_44_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77999342c5e7b3c3610b4c4941b7745e.jpg","text":"TemporaryFile(/tmp/multipartBody3083878641728513546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702983244,"filename":"image_15042025_07_59_40_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cec89efea514c9be47c5f76af12739ff.jpg","text":"TemporaryFile(/tmp/multipartBody2956165624595062126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702983244,"filename":"image_15042025_07_59_53_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebd966a0a717cdab25668863e98dec65.jpg","text":"TemporaryFile(/tmp/multipartBody943420224642388506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702983244,"filename":"image_15042025_07_59_38_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/694784bf55a87d4b324e5adba0bfd0e0.jpg","text":"TemporaryFile(/tmp/multipartBody8544931563890365242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702983244,"filename":"image_15042025_07_59_50_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b97aa055b4d45a9a4476e74f36a01fc.jpg","text":"TemporaryFile(/tmp/multipartBody277406712325737871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702983244,"filename":"image_15042025_07_59_46_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824521","file1":"1349824515","file0":"1349824507","file4":"1349824533","file5":"1349824538","file3":"1349824527"},"map_files_photo_id_array":[{"photo_id":"1349824538","filename":"file5"},{"photo_id":"1349824521","filename":"file2"},{"photo_id":"1349824533","filename":"file4"},{"photo_id":"1349824515","filename":"file1"},{"photo_id":"1349824507","filename":"file0"},{"photo_id":"1349824527","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824521":["hashtag1","hashtag2"]},{"1349824515":["hashtag1","hashtag2"]},{"1349824538":["hashtag1","hashtag2"]},{"1349824507":["hashtag1","hashtag2"]},{"1349824533":["hashtag1","hashtag2"]},{"1349824527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824521, 1349824515, 1349824538, 1349824507, 1349824533, 1349824527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.371092319488525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:42:41.911028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_14_2694.jpg', '/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_23_2755.jpg', '/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_29_3622.jpg', '/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_44_2545.jpg', '/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_02_2577.jpg', '/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_08_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_14_2694.jpg
/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_23_2755.jpg
/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_29_3622.jpg
/home/pi/Desktop/images/15042025/08/00/image_15042025_08_00_44_2545.jpg
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_02_2577.jpg
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_08_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824687","1349824720","1349824624","1349824711","1349824705","1349824665"],"photo_ids_order":["1349824624","1349824665","1349824687","1349824705","1349824711","1349824720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8e06effe2221a892906839438bfdd4f.jpg","text":"TemporaryFile(/tmp/multipartBody3898402408101704027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703022636,"filename":"image_15042025_08_00_29_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ee18fd0d130de2cdb58b50efcd1ce63.jpg","text":"TemporaryFile(/tmp/multipartBody4397882251928295628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703022636,"filename":"image_15042025_08_01_08_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22c7a8cd5f7516a375323fad32b4013a.jpg","text":"TemporaryFile(/tmp/multipartBody7239573961300526551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703022636,"filename":"image_15042025_08_00_14_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9518402233f3a2d575e358f0799dcc4c.jpg","text":"TemporaryFile(/tmp/multipartBody6458729882488667112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703022636,"filename":"image_15042025_08_01_02_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7272fc0407020e0f9c424e471bdbfa91.jpg","text":"TemporaryFile(/tmp/multipartBody1220432125144855532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703022636,"filename":"image_15042025_08_00_44_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ace7ded7cfb10fccf120f30afd9b3a44.jpg","text":"TemporaryFile(/tmp/multipartBody7366003133126356431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703022636,"filename":"image_15042025_08_00_23_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824687","file1":"1349824665","file0":"1349824624","file4":"1349824711","file5":"1349824720","file3":"1349824705"},"map_files_photo_id_array":[{"photo_id":"1349824720","filename":"file5"},{"photo_id":"1349824687","filename":"file2"},{"photo_id":"1349824711","filename":"file4"},{"photo_id":"1349824665","filename":"file1"},{"photo_id":"1349824624","filename":"file0"},{"photo_id":"1349824705","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824687":["hashtag1","hashtag2"]},{"1349824720":["hashtag1","hashtag2"]},{"1349824624":["hashtag1","hashtag2"]},{"1349824711":["hashtag1","hashtag2"]},{"1349824705":["hashtag1","hashtag2"]},{"1349824665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824687, 1349824720, 1349824624, 1349824711, 1349824705, 1349824665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22897720336914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:43:22.142159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_11_2640.jpg', '/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_14_2904.jpg', '/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_17_2734.jpg', '/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_20_3718.jpg', '/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_23_2671.jpg', '/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_26_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_11_2640.jpg
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_14_2904.jpg
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_17_2734.jpg
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_20_3718.jpg
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_23_2671.jpg
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_26_3531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824734","1349824728","1349824775","1349824754","1349824763","1349824744"],"photo_ids_order":["1349824728","1349824734","1349824744","1349824754","1349824763","1349824775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67b864216350c168a6723e6db58f0f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4341020897743054771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703062812,"filename":"image_15042025_08_01_14_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f6474100a04a12c89b2cb0879494207.jpg","text":"TemporaryFile(/tmp/multipartBody1587351657449080599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703062812,"filename":"image_15042025_08_01_11_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7fd5618d5ce6c9b60b4f1e78036db9b4.jpg","text":"TemporaryFile(/tmp/multipartBody2176288905513810615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703062812,"filename":"image_15042025_08_01_26_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/103371eafe5766bb3378f27e58e57c53.jpg","text":"TemporaryFile(/tmp/multipartBody7759035331809155622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703062812,"filename":"image_15042025_08_01_20_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b363658989205c835650f6085a0e7029.jpg","text":"TemporaryFile(/tmp/multipartBody5066800012843552452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703062812,"filename":"image_15042025_08_01_23_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08c46a5e76b83b566d7e9c6bf3bc1c76.jpg","text":"TemporaryFile(/tmp/multipartBody5984183233595060853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703062812,"filename":"image_15042025_08_01_17_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824744","file1":"1349824734","file0":"1349824728","file4":"1349824763","file5":"1349824775","file3":"1349824754"},"map_files_photo_id_array":[{"photo_id":"1349824775","filename":"file5"},{"photo_id":"1349824744","filename":"file2"},{"photo_id":"1349824763","filename":"file4"},{"photo_id":"1349824734","filename":"file1"},{"photo_id":"1349824728","filename":"file0"},{"photo_id":"1349824754","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824734":["hashtag1","hashtag2"]},{"1349824728":["hashtag1","hashtag2"]},{"1349824775":["hashtag1","hashtag2"]},{"1349824754":["hashtag1","hashtag2"]},{"1349824763":["hashtag1","hashtag2"]},{"1349824744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824734, 1349824728, 1349824775, 1349824754, 1349824763, 1349824744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26352262496948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:44:03.589690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_32_2960.jpg', '/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_53_2799.jpg', '/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_41_2585.jpg', '/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_44_3631.jpg', '/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_47_2740.jpg', '/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_53_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_32_2960.jpg
/home/pi/Desktop/images/15042025/08/01/image_15042025_08_01_53_2799.jpg
/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_41_2585.jpg
/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_44_3631.jpg
/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_47_2740.jpg
/home/pi/Desktop/images/15042025/08/02/image_15042025_08_02_53_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824827","1349824809","1349824799","1349824820","1349824805","1349824814"],"photo_ids_order":["1349824799","1349824805","1349824809","1349824814","1349824820","1349824827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61f8af2bd1058f507ff430d8fedcb8ef.jpg","text":"TemporaryFile(/tmp/multipartBody5461662014804924623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703104464,"filename":"image_15042025_08_02_53_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97fbcd36b5f4f6b2c823f2ebc1f09acf.jpg","text":"TemporaryFile(/tmp/multipartBody3487724251333495809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703104464,"filename":"image_15042025_08_02_41_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c687885039cf8a08d1233226c9e403a.jpg","text":"TemporaryFile(/tmp/multipartBody8832676919238055724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703104464,"filename":"image_15042025_08_01_32_2960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/038624c9eca7d93b630c2b7ec8fb4672.jpg","text":"TemporaryFile(/tmp/multipartBody9080879045533148455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703104464,"filename":"image_15042025_08_02_47_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/beb79a3d5213f3cce3baa8e6fe3ab364.jpg","text":"TemporaryFile(/tmp/multipartBody3607526888290851334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703104464,"filename":"image_15042025_08_01_53_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f20540491450987aa2e63bf735a3ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5611977650212899411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703104464,"filename":"image_15042025_08_02_44_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824809","file1":"1349824805","file0":"1349824799","file4":"1349824820","file5":"1349824827","file3":"1349824814"},"map_files_photo_id_array":[{"photo_id":"1349824827","filename":"file5"},{"photo_id":"1349824809","filename":"file2"},{"photo_id":"1349824820","filename":"file4"},{"photo_id":"1349824805","filename":"file1"},{"photo_id":"1349824799","filename":"file0"},{"photo_id":"1349824814","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824827":["hashtag1","hashtag2"]},{"1349824809":["hashtag1","hashtag2"]},{"1349824799":["hashtag1","hashtag2"]},{"1349824820":["hashtag1","hashtag2"]},{"1349824805":["hashtag1","hashtag2"]},{"1349824814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824827, 1349824809, 1349824799, 1349824820, 1349824805, 1349824814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76811122894287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:44:42.905599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/03/image_15042025_08_03_37_2608.jpg', '/home/pi/Desktop/images/15042025/08/07/image_15042025_08_07_56_3713.jpg', '/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_10_3621.jpg', '/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_13_2509.jpg', '/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_25_3562.jpg', '/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_28_2866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/03/image_15042025_08_03_37_2608.jpg
/home/pi/Desktop/images/15042025/08/07/image_15042025_08_07_56_3713.jpg
/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_10_3621.jpg
/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_13_2509.jpg
/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_25_3562.jpg
/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_28_2866.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824848","1349824895","1349824880","1349824856","1349824870","1349824887"],"photo_ids_order":["1349824848","1349824856","1349824870","1349824880","1349824887","1349824895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/970fa42a9a2667f93ed9ae3daa5f7a03.jpg","text":"TemporaryFile(/tmp/multipartBody6988071387772309003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703143657,"filename":"image_15042025_08_03_37_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acb59287298543332ad5d903ed42a5da.jpg","text":"TemporaryFile(/tmp/multipartBody8371247498510858071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703143657,"filename":"image_15042025_08_11_28_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/816e0d6561e67642f5599935bdb989f9.jpg","text":"TemporaryFile(/tmp/multipartBody7186021390580374287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703143657,"filename":"image_15042025_08_11_13_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5fc70f42c49496716b4439fff86b3824.jpg","text":"TemporaryFile(/tmp/multipartBody2833038053699486757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703143657,"filename":"image_15042025_08_07_56_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6dbecd82bb1aae983408999dde0df37.jpg","text":"TemporaryFile(/tmp/multipartBody5775510516429146038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703143657,"filename":"image_15042025_08_11_10_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/958a3d5de6840fd8bc75adba606ee767.jpg","text":"TemporaryFile(/tmp/multipartBody5474827639634506132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703143657,"filename":"image_15042025_08_11_25_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824870","file1":"1349824856","file0":"1349824848","file4":"1349824887","file5":"1349824895","file3":"1349824880"},"map_files_photo_id_array":[{"photo_id":"1349824895","filename":"file5"},{"photo_id":"1349824870","filename":"file2"},{"photo_id":"1349824887","filename":"file4"},{"photo_id":"1349824856","filename":"file1"},{"photo_id":"1349824848","filename":"file0"},{"photo_id":"1349824880","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824848":["hashtag1","hashtag2"]},{"1349824895":["hashtag1","hashtag2"]},{"1349824880":["hashtag1","hashtag2"]},{"1349824856":["hashtag1","hashtag2"]},{"1349824870":["hashtag1","hashtag2"]},{"1349824887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824848, 1349824895, 1349824880, 1349824856, 1349824870, 1349824887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.362266302108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:45:22.485753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_31_2599.jpg', '/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_34_2774.jpg', '/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_46_2609.jpg', '/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_51_2664.jpg', '/home/pi/Desktop/images/15042025/08/12/image_15042025_08_12_01_2593.jpg', '/home/pi/Desktop/images/15042025/08/13/image_15042025_08_13_19_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_31_2599.jpg
/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_34_2774.jpg
/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_46_2609.jpg
/home/pi/Desktop/images/15042025/08/11/image_15042025_08_11_51_2664.jpg
/home/pi/Desktop/images/15042025/08/12/image_15042025_08_12_01_2593.jpg
/home/pi/Desktop/images/15042025/08/13/image_15042025_08_13_19_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349824955","1349824934","1349824943","1349824925","1349824980","1349824917"],"photo_ids_order":["1349824917","1349824925","1349824934","1349824943","1349824955","1349824980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a16e0a5501586e299e2f10bab01a37ef.jpg","text":"TemporaryFile(/tmp/multipartBody9134956649726365601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703183194,"filename":"image_15042025_08_12_01_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/904a48596c47117a235e0664101148b8.jpg","text":"TemporaryFile(/tmp/multipartBody9105984774441425196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703183194,"filename":"image_15042025_08_11_46_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63c90ebeaad8fd86f4e1b15651598d61.jpg","text":"TemporaryFile(/tmp/multipartBody7647505380417643640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703183194,"filename":"image_15042025_08_11_51_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d64841a8e412b83aa0f84f0e3b764e1d.jpg","text":"TemporaryFile(/tmp/multipartBody9087980262913359164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703183194,"filename":"image_15042025_08_11_34_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/037cfb42e79cc11eaf3294c32038588c.jpg","text":"TemporaryFile(/tmp/multipartBody1570326862551467571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703183194,"filename":"image_15042025_08_13_19_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/420c7e9847363baaf469165e145fdde1.jpg","text":"TemporaryFile(/tmp/multipartBody6314743582642889010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703183194,"filename":"image_15042025_08_11_31_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824934","file1":"1349824925","file0":"1349824917","file4":"1349824955","file5":"1349824980","file3":"1349824943"},"map_files_photo_id_array":[{"photo_id":"1349824980","filename":"file5"},{"photo_id":"1349824934","filename":"file2"},{"photo_id":"1349824955","filename":"file4"},{"photo_id":"1349824925","filename":"file1"},{"photo_id":"1349824917","filename":"file0"},{"photo_id":"1349824943","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349824955":["hashtag1","hashtag2"]},{"1349824934":["hashtag1","hashtag2"]},{"1349824943":["hashtag1","hashtag2"]},{"1349824925":["hashtag1","hashtag2"]},{"1349824980":["hashtag1","hashtag2"]},{"1349824917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349824955, 1349824934, 1349824943, 1349824925, 1349824980, 1349824917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.641862869262695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:46:03.129252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_04_3634.jpg', '/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_21_2767.jpg', '/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_43_3547.jpg', '/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_51_2677.jpg', '/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_54_2595.jpg', '/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_57_2998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/14/image_15042025_08_14_04_3634.jpg
/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_21_2767.jpg
/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_43_3547.jpg
/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_51_2677.jpg
/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_54_2595.jpg
/home/pi/Desktop/images/15042025/08/16/image_15042025_08_16_57_2998.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349825069","1349825092","1349825086","1349825074","1349825082","1349825007"],"photo_ids_order":["1349825007","1349825069","1349825074","1349825082","1349825086","1349825092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccae6756ed76cfd6b81f1dd69981b1e2.jpg","text":"TemporaryFile(/tmp/multipartBody7556385475832240426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703223940,"filename":"image_15042025_08_16_21_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4c8f09ffa767fc91d0b3bbc07636bf2.jpg","text":"TemporaryFile(/tmp/multipartBody8900878591231253157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703223940,"filename":"image_15042025_08_16_57_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef37c45912e2e57277fbd185f8e588ee.jpg","text":"TemporaryFile(/tmp/multipartBody8116145742314792308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703223940,"filename":"image_15042025_08_16_54_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8da4c0ee15d96384723894b4e587c78b.jpg","text":"TemporaryFile(/tmp/multipartBody6055179910225112802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703223940,"filename":"image_15042025_08_16_43_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1eb916466f9abfc1a9028cc8399db38b.jpg","text":"TemporaryFile(/tmp/multipartBody2797378737163548748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703223940,"filename":"image_15042025_08_16_51_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/688b82a515c56ccafd97f0a2ceb5c78a.jpg","text":"TemporaryFile(/tmp/multipartBody144907172661606428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703223940,"filename":"image_15042025_08_14_04_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825074","file1":"1349825069","file0":"1349825007","file4":"1349825086","file5":"1349825092","file3":"1349825082"},"map_files_photo_id_array":[{"photo_id":"1349825092","filename":"file5"},{"photo_id":"1349825074","filename":"file2"},{"photo_id":"1349825086","filename":"file4"},{"photo_id":"1349825069","filename":"file1"},{"photo_id":"1349825007","filename":"file0"},{"photo_id":"1349825082","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349825069":["hashtag1","hashtag2"]},{"1349825092":["hashtag1","hashtag2"]},{"1349825086":["hashtag1","hashtag2"]},{"1349825074":["hashtag1","hashtag2"]},{"1349825082":["hashtag1","hashtag2"]},{"1349825007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349825069, 1349825092, 1349825086, 1349825074, 1349825082, 1349825007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69460439682007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:46:42.532470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/16/image_15042025_08_17_01_3821.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_03_2663.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_07_3926.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_15_2731.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_18_2602.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_22_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/16/image_15042025_08_17_01_3821.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_03_2663.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_07_3926.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_15_2731.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_18_2602.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_22_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349825153","1349825123","1349825158","1349825146","1349825136","1349825127"],"photo_ids_order":["1349825123","1349825127","1349825136","1349825146","1349825153","1349825158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c281d3ecb93d2848fe3587594b602de.jpg","text":"TemporaryFile(/tmp/multipartBody4606572366840325393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703263185,"filename":"image_15042025_08_17_18_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ca683691ab913078d090fcc8362b4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7536353704049941101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703263185,"filename":"image_15042025_08_17_01_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e4f1f55a51b06b0cafed718088fbc35.jpg","text":"TemporaryFile(/tmp/multipartBody4819717829869473376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703263185,"filename":"image_15042025_08_17_22_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f4b508c59b3438e0263e2d5e4e35a63.jpg","text":"TemporaryFile(/tmp/multipartBody3466294695612417061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703263185,"filename":"image_15042025_08_17_15_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a982e896309c7e5c68239d8edbb5ee1.jpg","text":"TemporaryFile(/tmp/multipartBody4146592339489588599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703263185,"filename":"image_15042025_08_17_07_3926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f58551885481ed1001c1927a9a351af5.jpg","text":"TemporaryFile(/tmp/multipartBody6696947855605897401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703263185,"filename":"image_15042025_08_17_03_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825136","file1":"1349825127","file0":"1349825123","file4":"1349825153","file5":"1349825158","file3":"1349825146"},"map_files_photo_id_array":[{"photo_id":"1349825158","filename":"file5"},{"photo_id":"1349825136","filename":"file2"},{"photo_id":"1349825153","filename":"file4"},{"photo_id":"1349825127","filename":"file1"},{"photo_id":"1349825123","filename":"file0"},{"photo_id":"1349825146","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349825153":["hashtag1","hashtag2"]},{"1349825123":["hashtag1","hashtag2"]},{"1349825158":["hashtag1","hashtag2"]},{"1349825146":["hashtag1","hashtag2"]},{"1349825136":["hashtag1","hashtag2"]},{"1349825127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349825153, 1349825123, 1349825158, 1349825146, 1349825136, 1349825127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34923577308655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:47:21.813303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_24_2637.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_27_2578.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_30_3511.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_33_2575.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_37_3537.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_39_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_24_2637.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_27_2578.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_30_3511.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_33_2575.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_37_3537.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_39_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349825186","1349825191","1349825194","1349825179","1349825200","1349825211"],"photo_ids_order":["1349825179","1349825186","1349825191","1349825194","1349825200","1349825211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdf7fbfeff8c3d7c61233ecc7588f1ea.jpg","text":"TemporaryFile(/tmp/multipartBody1399525747899890278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703302498,"filename":"image_15042025_08_17_27_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/094b67e6dd2288c253e411caf481b7f2.jpg","text":"TemporaryFile(/tmp/multipartBody4367032941999876753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703302498,"filename":"image_15042025_08_17_30_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/089273150130f075cc83c7ba606f49a2.jpg","text":"TemporaryFile(/tmp/multipartBody6149561797838585195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703302498,"filename":"image_15042025_08_17_33_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/932caa1a4bbcbeeadd27b968dd5796e0.jpg","text":"TemporaryFile(/tmp/multipartBody1308497412567330019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703302498,"filename":"image_15042025_08_17_24_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98772dbe83123a49965301777779203e.jpg","text":"TemporaryFile(/tmp/multipartBody4082222154143470144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703302498,"filename":"image_15042025_08_17_37_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd9e0b275881fc1f37400c977f3c9f04.jpg","text":"TemporaryFile(/tmp/multipartBody6957361753819225719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703302498,"filename":"image_15042025_08_17_39_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825191","file1":"1349825186","file0":"1349825179","file4":"1349825200","file5":"1349825211","file3":"1349825194"},"map_files_photo_id_array":[{"photo_id":"1349825211","filename":"file5"},{"photo_id":"1349825191","filename":"file2"},{"photo_id":"1349825200","filename":"file4"},{"photo_id":"1349825186","filename":"file1"},{"photo_id":"1349825179","filename":"file0"},{"photo_id":"1349825194","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349825186":["hashtag1","hashtag2"]},{"1349825191":["hashtag1","hashtag2"]},{"1349825194":["hashtag1","hashtag2"]},{"1349825179":["hashtag1","hashtag2"]},{"1349825200":["hashtag1","hashtag2"]},{"1349825211":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349825186, 1349825191, 1349825194, 1349825179, 1349825200, 1349825211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.137747049331665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:48:02.498751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_42_2874.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_46_3678.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_48_2636.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_51_2642.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_55_3673.jpg', '/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_57_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_42_2874.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_46_3678.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_48_2636.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_51_2642.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_55_3673.jpg
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_17_57_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349825345","1349825318","1349825338","1349825323","1349825328","1349825304"],"photo_ids_order":["1349825304","1349825318","1349825323","1349825328","1349825338","1349825345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4dd47cd8820c05a94fac8d4774eb061f.jpg","text":"TemporaryFile(/tmp/multipartBody5326237112465727016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703343213,"filename":"image_15042025_08_17_57_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf5655a2c68f02fb0549acbe5c79a6eb.jpg","text":"TemporaryFile(/tmp/multipartBody3323429718636494221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703343213,"filename":"image_15042025_08_17_46_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17091aeda9c0d2c2fd1f0935461fbb7d.jpg","text":"TemporaryFile(/tmp/multipartBody4552315966212814277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703343213,"filename":"image_15042025_08_17_55_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b5eb2b5b5eb65e77ed5c409c84841c0.jpg","text":"TemporaryFile(/tmp/multipartBody4370735290936567934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703343213,"filename":"image_15042025_08_17_48_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d54997d42d80a77e51d4863c35dabdb.jpg","text":"TemporaryFile(/tmp/multipartBody2607210367663452848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703343213,"filename":"image_15042025_08_17_51_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e66d3eedde19c8c3f8637ebcd1cabeb0.jpg","text":"TemporaryFile(/tmp/multipartBody6651295705670391763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703343213,"filename":"image_15042025_08_17_42_2874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825323","file1":"1349825318","file0":"1349825304","file4":"1349825338","file5":"1349825345","file3":"1349825328"},"map_files_photo_id_array":[{"photo_id":"1349825345","filename":"file5"},{"photo_id":"1349825323","filename":"file2"},{"photo_id":"1349825338","filename":"file4"},{"photo_id":"1349825318","filename":"file1"},{"photo_id":"1349825304","filename":"file0"},{"photo_id":"1349825328","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349825345":["hashtag1","hashtag2"]},{"1349825318":["hashtag1","hashtag2"]},{"1349825338":["hashtag1","hashtag2"]},{"1349825323":["hashtag1","hashtag2"]},{"1349825328":["hashtag1","hashtag2"]},{"1349825304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349825345, 1349825318, 1349825338, 1349825323, 1349825328, 1349825304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78936576843262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:48:41.835967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/17/image_15042025_08_18_00_2785.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_04_3579.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_07_2800.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_09_2652.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_12_2690.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_15_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/17/image_15042025_08_18_00_2785.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_04_3579.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_07_2800.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_09_2652.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_12_2690.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_15_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349825468","1349825543","1349825537","1349825519","1349825548","1349825481"],"photo_ids_order":["1349825468","1349825481","1349825519","1349825537","1349825543","1349825548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3e8bb468c174e4c3c0bcd03ce960f75.jpg","text":"TemporaryFile(/tmp/multipartBody3378375572601987515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703382423,"filename":"image_15042025_08_18_00_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/412047c167639d596205f83d72e507a1.jpg","text":"TemporaryFile(/tmp/multipartBody8190654395388011408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703382423,"filename":"image_15042025_08_18_12_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0848512225438965788eff41399b4f0.jpg","text":"TemporaryFile(/tmp/multipartBody3802678715226981156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703382423,"filename":"image_15042025_08_18_09_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66add0eb439d12c6c39d4c5cd26be12c.jpg","text":"TemporaryFile(/tmp/multipartBody5583811120329224312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703382423,"filename":"image_15042025_08_18_07_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52d2fafea57969ac868083189ec6146c.jpg","text":"TemporaryFile(/tmp/multipartBody7158414981262131882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703382423,"filename":"image_15042025_08_18_15_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6fca151343ef4da2bd94367914f6534.jpg","text":"TemporaryFile(/tmp/multipartBody5140414068782383969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703382423,"filename":"image_15042025_08_18_04_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825519","file1":"1349825481","file0":"1349825468","file4":"1349825543","file5":"1349825548","file3":"1349825537"},"map_files_photo_id_array":[{"photo_id":"1349825548","filename":"file5"},{"photo_id":"1349825519","filename":"file2"},{"photo_id":"1349825543","filename":"file4"},{"photo_id":"1349825481","filename":"file1"},{"photo_id":"1349825468","filename":"file0"},{"photo_id":"1349825537","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349825468":["hashtag1","hashtag2"]},{"1349825543":["hashtag1","hashtag2"]},{"1349825537":["hashtag1","hashtag2"]},{"1349825519":["hashtag1","hashtag2"]},{"1349825548":["hashtag1","hashtag2"]},{"1349825481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349825468, 1349825543, 1349825537, 1349825519, 1349825548, 1349825481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.467121601104736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:49:22.199221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_18_2941.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_21_2599.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_25_4318.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_27_1512.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_30_3638.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_33_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_18_2941.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_21_2599.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_25_4318.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_27_1512.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_30_3638.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_33_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349825768","1349825813","1349825837","1349825872","1349825793","1349825916"],"photo_ids_order":["1349825768","1349825793","1349825813","1349825837","1349825872","1349825916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0ae60bf6cc60047fc35b52b4b70687a.jpg","text":"TemporaryFile(/tmp/multipartBody2964873854792916436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703422824,"filename":"image_15042025_08_18_18_2941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51b51f07e16bf3e5d9b46cc580e6a949.jpg","text":"TemporaryFile(/tmp/multipartBody1697441660323069789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703422824,"filename":"image_15042025_08_18_25_4318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1012e99709372f8fcb84b1ada2b20d2.jpg","text":"TemporaryFile(/tmp/multipartBody8302706913082469157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703422824,"filename":"image_15042025_08_18_27_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63750ec4411b58c4a04d024e18cc5bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2969220889392468842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703422824,"filename":"image_15042025_08_18_30_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9801999e64606e0aa78df4e8de3591ce.jpg","text":"TemporaryFile(/tmp/multipartBody7162507539721788343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703422824,"filename":"image_15042025_08_18_21_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2e4be0787e1a20c5368845a798ccf1c.jpg","text":"TemporaryFile(/tmp/multipartBody3286990920434805488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703422824,"filename":"image_15042025_08_18_33_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825813","file1":"1349825793","file0":"1349825768","file4":"1349825872","file5":"1349825916","file3":"1349825837"},"map_files_photo_id_array":[{"photo_id":"1349825916","filename":"file5"},{"photo_id":"1349825813","filename":"file2"},{"photo_id":"1349825872","filename":"file4"},{"photo_id":"1349825793","filename":"file1"},{"photo_id":"1349825768","filename":"file0"},{"photo_id":"1349825837","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349825768":["hashtag1","hashtag2"]},{"1349825813":["hashtag1","hashtag2"]},{"1349825837":["hashtag1","hashtag2"]},{"1349825872":["hashtag1","hashtag2"]},{"1349825793":["hashtag1","hashtag2"]},{"1349825916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349825768, 1349825813, 1349825837, 1349825872, 1349825793, 1349825916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81805443763733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:50:03.153802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_37_3581.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_39_2672.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_42_2624.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_45_2765.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_49_3961.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_51_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_37_3581.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_39_2672.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_42_2624.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_45_2765.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_49_3961.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_51_2598.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6877946853637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:50:22.589849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_37_3581.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_39_2672.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_42_2624.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_45_2765.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_49_3961.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_51_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_37_3581.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_39_2672.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_42_2624.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_45_2765.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_49_3961.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_51_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349826251","1349826184","1349826286","1349826373","1349826217","1349826324"],"photo_ids_order":["1349826184","1349826217","1349826251","1349826286","1349826324","1349826373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b569b7e473f3c189ca7b6ebc38a3d508.jpg","text":"TemporaryFile(/tmp/multipartBody2475531189610834716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703483255,"filename":"image_15042025_08_18_42_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2f0fddf95baf89dfce4284bbdeabef9.jpg","text":"TemporaryFile(/tmp/multipartBody5068495821674227799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703483255,"filename":"image_15042025_08_18_37_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09e1dc3da2232a39590e626d1d064461.jpg","text":"TemporaryFile(/tmp/multipartBody2077103911467113348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703483255,"filename":"image_15042025_08_18_45_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/615434a5547fca38aa88cccc95d8a7fb.jpg","text":"TemporaryFile(/tmp/multipartBody6040208313094460550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703483255,"filename":"image_15042025_08_18_51_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df3a4cb14c0ea93518c77c8b33d5e76f.jpg","text":"TemporaryFile(/tmp/multipartBody1011440780563672334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703483255,"filename":"image_15042025_08_18_39_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/883e697e439b332c390605fac9b88600.jpg","text":"TemporaryFile(/tmp/multipartBody6748219618386050227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703483255,"filename":"image_15042025_08_18_49_3961.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826251","file1":"1349826217","file0":"1349826184","file4":"1349826324","file5":"1349826373","file3":"1349826286"},"map_files_photo_id_array":[{"photo_id":"1349826373","filename":"file5"},{"photo_id":"1349826251","filename":"file2"},{"photo_id":"1349826324","filename":"file4"},{"photo_id":"1349826217","filename":"file1"},{"photo_id":"1349826184","filename":"file0"},{"photo_id":"1349826286","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349826251":["hashtag1","hashtag2"]},{"1349826184":["hashtag1","hashtag2"]},{"1349826286":["hashtag1","hashtag2"]},{"1349826373":["hashtag1","hashtag2"]},{"1349826217":["hashtag1","hashtag2"]},{"1349826324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349826251, 1349826184, 1349826286, 1349826373, 1349826217, 1349826324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55938959121704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:51:03.735195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_54_2787.jpg', '/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_58_3614.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_01_2898.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_03_2649.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_10_3626.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_15_5553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_54_2787.jpg
/home/pi/Desktop/images/15042025/08/18/image_15042025_08_18_58_3614.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_01_2898.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_03_2649.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_10_3626.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_15_5553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349826669","1349826702","1349826593","1349826501","1349826632","1349826554"],"photo_ids_order":["1349826501","1349826554","1349826593","1349826632","1349826669","1349826702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c02d53fe6ad6aab940d1a71870ed439.jpg","text":"TemporaryFile(/tmp/multipartBody4875944854910470824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703524538,"filename":"image_15042025_08_19_10_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a7ff0000af17d1f144389e467b31b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1256519165860287663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703524538,"filename":"image_15042025_08_19_15_5553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41651ee4bb26396ae5b63423ee1cb2d8.jpg","text":"TemporaryFile(/tmp/multipartBody2872046142756508955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703524538,"filename":"image_15042025_08_19_01_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ad6b8b67c5b58beeaf8db766d78d66d.jpg","text":"TemporaryFile(/tmp/multipartBody4872494862029672550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703524538,"filename":"image_15042025_08_18_54_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38dc9e8624e7b6749886422818d944d0.jpg","text":"TemporaryFile(/tmp/multipartBody8723807729018521879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703524538,"filename":"image_15042025_08_19_03_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed532f099982d9bcfeb0c2e3d7a83d22.jpg","text":"TemporaryFile(/tmp/multipartBody4183403356967049310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703524538,"filename":"image_15042025_08_18_58_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826593","file1":"1349826554","file0":"1349826501","file4":"1349826669","file5":"1349826702","file3":"1349826632"},"map_files_photo_id_array":[{"photo_id":"1349826702","filename":"file5"},{"photo_id":"1349826593","filename":"file2"},{"photo_id":"1349826669","filename":"file4"},{"photo_id":"1349826554","filename":"file1"},{"photo_id":"1349826501","filename":"file0"},{"photo_id":"1349826632","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349826669":["hashtag1","hashtag2"]},{"1349826702":["hashtag1","hashtag2"]},{"1349826593":["hashtag1","hashtag2"]},{"1349826501":["hashtag1","hashtag2"]},{"1349826632":["hashtag1","hashtag2"]},{"1349826554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349826669, 1349826702, 1349826593, 1349826501, 1349826632, 1349826554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93037271499634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:51:42.805468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_17_1697.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_19_1714.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_21_2708.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_24_2687.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_28_3719.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_30_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_17_1697.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_19_1714.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_21_2708.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_24_2687.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_28_3719.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_30_2772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349826749","1349826769","1349826742","1349826756","1349826761","1349826764"],"photo_ids_order":["1349826742","1349826749","1349826756","1349826761","1349826764","1349826769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/850f63a13404346de855f575a99b5e19.jpg","text":"TemporaryFile(/tmp/multipartBody3025918241131044756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703563476,"filename":"image_15042025_08_19_19_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e27428ba423d88abd26168843125caf.jpg","text":"TemporaryFile(/tmp/multipartBody4022891405235959491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703563476,"filename":"image_15042025_08_19_30_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ea434258359192d4fb67f3fa59101f3.jpg","text":"TemporaryFile(/tmp/multipartBody2177715656085936800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703563476,"filename":"image_15042025_08_19_17_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3a4622ced2db5b7da8c9033c94a2812.jpg","text":"TemporaryFile(/tmp/multipartBody5860692986538604943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703563476,"filename":"image_15042025_08_19_21_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b6e2001ad3df236d35209fa3bec427a.jpg","text":"TemporaryFile(/tmp/multipartBody4613374687462206296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703563476,"filename":"image_15042025_08_19_24_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24391614c59e16169b9b91cbb6eec43d.jpg","text":"TemporaryFile(/tmp/multipartBody5392453000732547865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703563476,"filename":"image_15042025_08_19_28_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826756","file1":"1349826749","file0":"1349826742","file4":"1349826764","file5":"1349826769","file3":"1349826761"},"map_files_photo_id_array":[{"photo_id":"1349826769","filename":"file5"},{"photo_id":"1349826756","filename":"file2"},{"photo_id":"1349826764","filename":"file4"},{"photo_id":"1349826749","filename":"file1"},{"photo_id":"1349826742","filename":"file0"},{"photo_id":"1349826761","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349826749":["hashtag1","hashtag2"]},{"1349826769":["hashtag1","hashtag2"]},{"1349826742":["hashtag1","hashtag2"]},{"1349826756":["hashtag1","hashtag2"]},{"1349826761":["hashtag1","hashtag2"]},{"1349826764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349826749, 1349826769, 1349826742, 1349826756, 1349826761, 1349826764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.029916286468506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:52:42.117071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_33_2740.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_36_2828.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_40_3652.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_42_2588.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_45_2818.jpg', '/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_49_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_33_2740.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_36_2828.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_40_3652.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_42_2588.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_45_2818.jpg
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_49_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349826796","1349826886","1349826817","1349826802","1349826810","1349826851"],"photo_ids_order":["1349826796","1349826802","1349826810","1349826817","1349826851","1349826886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4c457d21ad753684c29ccdfadaeaa0d.jpg","text":"TemporaryFile(/tmp/multipartBody1077930410613597413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703622795,"filename":"image_15042025_08_19_33_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1086666ec671633d32c1abb696c0f985.jpg","text":"TemporaryFile(/tmp/multipartBody6119530602354096332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703622795,"filename":"image_15042025_08_19_49_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b740daa2fbc6ce6f9b5070bb69d4f3f7.jpg","text":"TemporaryFile(/tmp/multipartBody8754956070881348454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703622795,"filename":"image_15042025_08_19_42_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20e835e26a63e97a7287b9452bb663ce.jpg","text":"TemporaryFile(/tmp/multipartBody1022941209787864581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703622795,"filename":"image_15042025_08_19_36_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c54a7aec1c8ab299d946b29dd5babaa2.jpg","text":"TemporaryFile(/tmp/multipartBody6116400936387828028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703622795,"filename":"image_15042025_08_19_40_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8624a6902271ee3f8771de0568de9a53.jpg","text":"TemporaryFile(/tmp/multipartBody6674463671367713929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703622795,"filename":"image_15042025_08_19_45_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826810","file1":"1349826802","file0":"1349826796","file4":"1349826851","file5":"1349826886","file3":"1349826817"},"map_files_photo_id_array":[{"photo_id":"1349826886","filename":"file5"},{"photo_id":"1349826810","filename":"file2"},{"photo_id":"1349826851","filename":"file4"},{"photo_id":"1349826802","filename":"file1"},{"photo_id":"1349826796","filename":"file0"},{"photo_id":"1349826817","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349826796":["hashtag1","hashtag2"]},{"1349826886":["hashtag1","hashtag2"]},{"1349826817":["hashtag1","hashtag2"]},{"1349826802":["hashtag1","hashtag2"]},{"1349826810":["hashtag1","hashtag2"]},{"1349826851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349826796, 1349826886, 1349826817, 1349826802, 1349826810, 1349826851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.955957651138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:53:21.904450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_58_3702.jpg', '/home/pi/Desktop/images/15042025/08/20/image_15042025_08_20_27_3607.jpg', '/home/pi/Desktop/images/15042025/08/21/image_15042025_08_22_00_3686.jpg', '/home/pi/Desktop/images/15042025/08/22/image_15042025_08_22_48_3644.jpg', '/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_03_2576.jpg', '/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_27_3798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/19/image_15042025_08_19_58_3702.jpg
/home/pi/Desktop/images/15042025/08/20/image_15042025_08_20_27_3607.jpg
/home/pi/Desktop/images/15042025/08/21/image_15042025_08_22_00_3686.jpg
/home/pi/Desktop/images/15042025/08/22/image_15042025_08_22_48_3644.jpg
/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_03_2576.jpg
/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_27_3798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349827045","1349827191","1349827086","1349827152","1349827119","1349827010"],"photo_ids_order":["1349827010","1349827045","1349827086","1349827119","1349827152","1349827191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a02a982ce7bb78c4d43de84c0ebe04d.jpg","text":"TemporaryFile(/tmp/multipartBody5935953071333835438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703662588,"filename":"image_15042025_08_20_27_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7367b26e206a5bfd19ca1acbfb2c1a23.jpg","text":"TemporaryFile(/tmp/multipartBody4970157566981225156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703662588,"filename":"image_15042025_08_23_27_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41d29db8f9505bc975efe59f4389ea29.jpg","text":"TemporaryFile(/tmp/multipartBody970942511387471881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703662588,"filename":"image_15042025_08_22_00_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1346f83d8c7e388e0e50883f74377d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5575905918483963747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703662588,"filename":"image_15042025_08_23_03_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28c689b3daf23d9d0c39458018257cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2757523707069171260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703662588,"filename":"image_15042025_08_22_48_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21dc253ba1721ad3b3806ae94966a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody1622096457958116792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703662588,"filename":"image_15042025_08_19_58_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349827086","file1":"1349827045","file0":"1349827010","file4":"1349827152","file5":"1349827191","file3":"1349827119"},"map_files_photo_id_array":[{"photo_id":"1349827191","filename":"file5"},{"photo_id":"1349827086","filename":"file2"},{"photo_id":"1349827152","filename":"file4"},{"photo_id":"1349827045","filename":"file1"},{"photo_id":"1349827010","filename":"file0"},{"photo_id":"1349827119","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349827045":["hashtag1","hashtag2"]},{"1349827191":["hashtag1","hashtag2"]},{"1349827086":["hashtag1","hashtag2"]},{"1349827152":["hashtag1","hashtag2"]},{"1349827119":["hashtag1","hashtag2"]},{"1349827010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349827045, 1349827191, 1349827086, 1349827152, 1349827119, 1349827010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91898274421692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:54:02.827732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_30_2596.jpg', '/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_45_3751.jpg', '/home/pi/Desktop/images/15042025/08/24/image_15042025_08_24_18_2679.jpg', '/home/pi/Desktop/images/15042025/08/25/image_15042025_08_25_18_3631.jpg', '/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_12_3828.jpg', '/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_53_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_30_2596.jpg
/home/pi/Desktop/images/15042025/08/23/image_15042025_08_23_45_3751.jpg
/home/pi/Desktop/images/15042025/08/24/image_15042025_08_24_18_2679.jpg
/home/pi/Desktop/images/15042025/08/25/image_15042025_08_25_18_3631.jpg
/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_12_3828.jpg
/home/pi/Desktop/images/15042025/08/27/image_15042025_08_27_53_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349827420","1349827434","1349827416","1349827424","1349827406","1349827387"],"photo_ids_order":["1349827387","1349827406","1349827416","1349827420","1349827424","1349827434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55f5706cbc82accb563d7e2f7e9586fc.jpg","text":"TemporaryFile(/tmp/multipartBody7328074802112271390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703703657,"filename":"image_15042025_08_25_18_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/253d899e0e9940ab3806d7eb1e960acc.jpg","text":"TemporaryFile(/tmp/multipartBody4438832788002083483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703703657,"filename":"image_15042025_08_27_53_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89dc0580a3c25ece2d159bda2935979a.jpg","text":"TemporaryFile(/tmp/multipartBody2740413385212810811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703703657,"filename":"image_15042025_08_24_18_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70e580de142a5c4efb23166087e6e5fd.jpg","text":"TemporaryFile(/tmp/multipartBody3649401519608640363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703703657,"filename":"image_15042025_08_27_12_3828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3318b30f2aadd630d1b9e1854f7b5d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1485729178258934371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703703657,"filename":"image_15042025_08_23_45_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcf6bc63459f4eae84420a11741a5958.jpg","text":"TemporaryFile(/tmp/multipartBody461826419102187026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703703657,"filename":"image_15042025_08_23_30_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349827416","file1":"1349827406","file0":"1349827387","file4":"1349827424","file5":"1349827434","file3":"1349827420"},"map_files_photo_id_array":[{"photo_id":"1349827434","filename":"file5"},{"photo_id":"1349827416","filename":"file2"},{"photo_id":"1349827424","filename":"file4"},{"photo_id":"1349827406","filename":"file1"},{"photo_id":"1349827387","filename":"file0"},{"photo_id":"1349827420","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349827420":["hashtag1","hashtag2"]},{"1349827434":["hashtag1","hashtag2"]},{"1349827416":["hashtag1","hashtag2"]},{"1349827424":["hashtag1","hashtag2"]},{"1349827406":["hashtag1","hashtag2"]},{"1349827387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349827420, 1349827434, 1349827416, 1349827424, 1349827406, 1349827387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87210822105408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:55:02.968554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/29/image_15042025_08_29_21_3836.jpg', '/home/pi/Desktop/images/15042025/08/32/image_15042025_08_32_02_3587.jpg', '/home/pi/Desktop/images/15042025/08/39/image_15042025_08_39_34_3699.jpg', '/home/pi/Desktop/images/15042025/08/39/image_15042025_08_39_42_2744.jpg', '/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_49_3583.jpg', '/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_54_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/29/image_15042025_08_29_21_3836.jpg
/home/pi/Desktop/images/15042025/08/32/image_15042025_08_32_02_3587.jpg
/home/pi/Desktop/images/15042025/08/39/image_15042025_08_39_34_3699.jpg
/home/pi/Desktop/images/15042025/08/39/image_15042025_08_39_42_2744.jpg
/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_49_3583.jpg
/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_54_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349827729","1349827884","1349827614","1349827694","1349827661","1349827585"],"photo_ids_order":["1349827585","1349827614","1349827661","1349827694","1349827729","1349827884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b96c9ffc486af55bda24840e1339b6b3.jpg","text":"TemporaryFile(/tmp/multipartBody5391204220112199775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703763918,"filename":"image_15042025_08_40_49_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c27aafaf942da03d7dc04173429043f5.jpg","text":"TemporaryFile(/tmp/multipartBody4037120869166196082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703763918,"filename":"image_15042025_08_40_54_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbc43f2b362d64402be1514453254bff.jpg","text":"TemporaryFile(/tmp/multipartBody5736405393052407425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703763918,"filename":"image_15042025_08_32_02_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a87b7b86c577ee30c09445ffafd1d5b8.jpg","text":"TemporaryFile(/tmp/multipartBody773029385196713058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703763918,"filename":"image_15042025_08_39_42_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b026ef43f132f8be8c247c05c9bc9e1.jpg","text":"TemporaryFile(/tmp/multipartBody5311261430178021228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703763918,"filename":"image_15042025_08_39_34_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b6ec830c7a3e3cdf6bb70d96bf8217a.jpg","text":"TemporaryFile(/tmp/multipartBody2763145458226381963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703763918,"filename":"image_15042025_08_29_21_3836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349827661","file1":"1349827614","file0":"1349827585","file4":"1349827729","file5":"1349827884","file3":"1349827694"},"map_files_photo_id_array":[{"photo_id":"1349827884","filename":"file5"},{"photo_id":"1349827661","filename":"file2"},{"photo_id":"1349827729","filename":"file4"},{"photo_id":"1349827614","filename":"file1"},{"photo_id":"1349827585","filename":"file0"},{"photo_id":"1349827694","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349827729":["hashtag1","hashtag2"]},{"1349827884":["hashtag1","hashtag2"]},{"1349827614":["hashtag1","hashtag2"]},{"1349827694":["hashtag1","hashtag2"]},{"1349827661":["hashtag1","hashtag2"]},{"1349827585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349827729, 1349827884, 1349827614, 1349827694, 1349827661, 1349827585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.880696535110474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:56:03.051828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_58_3753.jpg', '/home/pi/Desktop/images/15042025/08/41/image_15042025_08_41_18_2547.jpg', '/home/pi/Desktop/images/15042025/08/41/image_15042025_08_41_58_3803.jpg', '/home/pi/Desktop/images/15042025/08/42/image_15042025_08_42_19_2950.jpg', '/home/pi/Desktop/images/15042025/08/42/image_15042025_08_42_37_3693.jpg', '/home/pi/Desktop/images/15042025/08/42/image_15042025_08_42_51_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/40/image_15042025_08_40_58_3753.jpg
/home/pi/Desktop/images/15042025/08/41/image_15042025_08_41_18_2547.jpg
/home/pi/Desktop/images/15042025/08/41/image_15042025_08_41_58_3803.jpg
/home/pi/Desktop/images/15042025/08/42/image_15042025_08_42_19_2950.jpg
/home/pi/Desktop/images/15042025/08/42/image_15042025_08_42_37_3693.jpg
/home/pi/Desktop/images/15042025/08/42/image_15042025_08_42_51_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349828093","1349828195","1349828165","1349828231","1349828126","1349828056"],"photo_ids_order":["1349828056","1349828093","1349828126","1349828165","1349828195","1349828231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69143cffa4553f7012668f58ef089b0f.jpg","text":"TemporaryFile(/tmp/multipartBody7541005683674977961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703823822,"filename":"image_15042025_08_41_18_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e650662f31d200906513d7228f76b72.jpg","text":"TemporaryFile(/tmp/multipartBody9193077528053924741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703823822,"filename":"image_15042025_08_42_37_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96e1bc0d1bebe21001e76983d6c0edfd.jpg","text":"TemporaryFile(/tmp/multipartBody3464927612175218080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703823822,"filename":"image_15042025_08_42_19_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/820e7deff36e62ddaee72e6a31a8a268.jpg","text":"TemporaryFile(/tmp/multipartBody1514087172326695717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703823822,"filename":"image_15042025_08_42_51_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e3a88a06a3b442fcc25a177de53fc8a.jpg","text":"TemporaryFile(/tmp/multipartBody5859023013429179606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703823822,"filename":"image_15042025_08_41_58_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/742b78089acacf0514103cf0eee753b1.jpg","text":"TemporaryFile(/tmp/multipartBody2769008712026384692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703823822,"filename":"image_15042025_08_40_58_3753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349828126","file1":"1349828093","file0":"1349828056","file4":"1349828195","file5":"1349828231","file3":"1349828165"},"map_files_photo_id_array":[{"photo_id":"1349828231","filename":"file5"},{"photo_id":"1349828126","filename":"file2"},{"photo_id":"1349828195","filename":"file4"},{"photo_id":"1349828093","filename":"file1"},{"photo_id":"1349828056","filename":"file0"},{"photo_id":"1349828165","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349828093":["hashtag1","hashtag2"]},{"1349828195":["hashtag1","hashtag2"]},{"1349828165":["hashtag1","hashtag2"]},{"1349828231":["hashtag1","hashtag2"]},{"1349828126":["hashtag1","hashtag2"]},{"1349828056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349828093, 1349828195, 1349828165, 1349828231, 1349828126, 1349828056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89976954460144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:56:42.440620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/42/image_15042025_08_43_00_2685.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_04_3634.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_06_2546.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_13_3713.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_15_2747.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_18_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/42/image_15042025_08_43_00_2685.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_04_3634.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_06_2546.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_13_3713.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_15_2747.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_18_2829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349828697","1349828364","1349828433","1349828495","1349828621","1349828662"],"photo_ids_order":["1349828364","1349828433","1349828495","1349828621","1349828662","1349828697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d36404da963d460f8bc517ab9c2af0ad.jpg","text":"TemporaryFile(/tmp/multipartBody6009585638077766945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703863154,"filename":"image_15042025_08_43_18_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0dbce4e0be0e90b37d89013e124385ce.jpg","text":"TemporaryFile(/tmp/multipartBody7200587143143939257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703863154,"filename":"image_15042025_08_43_00_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/804a2d5c7442df3fc656fdf6348a98ea.jpg","text":"TemporaryFile(/tmp/multipartBody3931113064153094052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703863154,"filename":"image_15042025_08_43_04_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f517eb0c89dfd1f18ba5b4fd5f235f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7473054489080722777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703863154,"filename":"image_15042025_08_43_06_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65cf1fa8e9d229fd5cb08e6daaf625b8.jpg","text":"TemporaryFile(/tmp/multipartBody2864253616126819896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703863154,"filename":"image_15042025_08_43_13_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ed762229e1d4be6b424c0fe247ed2b8.jpg","text":"TemporaryFile(/tmp/multipartBody294829409396471395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703863154,"filename":"image_15042025_08_43_15_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349828495","file1":"1349828433","file0":"1349828364","file4":"1349828662","file5":"1349828697","file3":"1349828621"},"map_files_photo_id_array":[{"photo_id":"1349828697","filename":"file5"},{"photo_id":"1349828495","filename":"file2"},{"photo_id":"1349828662","filename":"file4"},{"photo_id":"1349828433","filename":"file1"},{"photo_id":"1349828364","filename":"file0"},{"photo_id":"1349828621","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349828697":["hashtag1","hashtag2"]},{"1349828364":["hashtag1","hashtag2"]},{"1349828433":["hashtag1","hashtag2"]},{"1349828495":["hashtag1","hashtag2"]},{"1349828621":["hashtag1","hashtag2"]},{"1349828662":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349828697, 1349828364, 1349828433, 1349828495, 1349828621, 1349828662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.821120738983154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 09:57:22.349424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_21_2646.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_25_3886.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_27_2679.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_33_2723.jpg', '/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_37_3786.jpg', '/home/pi/Desktop/images/15042025/08/44/image_15042025_08_44_09_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_21_2646.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_25_3886.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_27_2679.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_33_2723.jpg
/home/pi/Desktop/images/15042025/08/43/image_15042025_08_43_37_3786.jpg
/home/pi/Desktop/images/15042025/08/44/image_15042025_08_44_09_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349829261","1349829194","1349828916","1349829302","1349829119","1349829016"],"photo_ids_order":["1349828916","1349829016","1349829119","1349829194","1349829261","1349829302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb68108ef2f94dceea7f5b2ebce06edf.jpg","text":"TemporaryFile(/tmp/multipartBody2272746772881800577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703903040,"filename":"image_15042025_08_43_37_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36cf7b63ef36e04ee8263a8adb8fbf5b.jpg","text":"TemporaryFile(/tmp/multipartBody3159006975147611655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703903040,"filename":"image_15042025_08_43_33_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cfe90c066a5e2ebb68b340477717027d.jpg","text":"TemporaryFile(/tmp/multipartBody6753469586224150207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703903040,"filename":"image_15042025_08_43_21_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec29ec7efaa42b2000832022ca77399a.jpg","text":"TemporaryFile(/tmp/multipartBody129899141621085465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703903040,"filename":"image_15042025_08_44_09_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/906a0dd5218169e9cc14dc6d1c7465c8.jpg","text":"TemporaryFile(/tmp/multipartBody9051368924748922774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703903040,"filename":"image_15042025_08_43_27_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ea9977270d3f09d4d1cb2e4941e7289.jpg","text":"TemporaryFile(/tmp/multipartBody183294385727202066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703903040,"filename":"image_15042025_08_43_25_3886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349829119","file1":"1349829016","file0":"1349828916","file4":"1349829261","file5":"1349829302","file3":"1349829194"},"map_files_photo_id_array":[{"photo_id":"1349829302","filename":"file5"},{"photo_id":"1349829119","filename":"file2"},{"photo_id":"1349829261","filename":"file4"},{"photo_id":"1349829016","filename":"file1"},{"photo_id":"1349828916","filename":"file0"},{"photo_id":"1349829194","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349829261":["hashtag1","hashtag2"]},{"1349829194":["hashtag1","hashtag2"]},{"1349828916":["hashtag1","hashtag2"]},{"1349829302":["hashtag1","hashtag2"]},{"1349829119":["hashtag1","hashtag2"]},{"1349829016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349829261, 1349829194, 1349828916, 1349829302, 1349829119, 1349829016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54133129119873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 09:59:03.919452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_09_2872.jpg', '/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_13_3135.jpg', '/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_16_2989.jpg', '/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_21_2754.jpg', '/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_27_2531.jpg', '/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_33_3230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_09_2872.jpg
/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_13_3135.jpg
/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_16_2989.jpg
/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_21_2754.jpg
/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_27_2531.jpg
/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_33_3230.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349829729","1349829900","1349829848","1349829748","1349829937","1349829792"],"photo_ids_order":["1349829729","1349829748","1349829792","1349829848","1349829900","1349829937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7aaf18c7e753d2b2e0ba4e4096b2f5ee.jpg","text":"TemporaryFile(/tmp/multipartBody6272858845458723270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004988,"filename":"image_15042025_08_45_09_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c179715c4944a788d23fe1b5aa81766.jpg","text":"TemporaryFile(/tmp/multipartBody7965142885549973674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004988,"filename":"image_15042025_08_45_27_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c405e83092050e8b27bb00bfc56f232e.jpg","text":"TemporaryFile(/tmp/multipartBody6341041430067856556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004988,"filename":"image_15042025_08_45_21_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5df7b8d2e7e311526791abbf0968fa35.jpg","text":"TemporaryFile(/tmp/multipartBody6465683569395996027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004988,"filename":"image_15042025_08_45_13_3135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35113bbfe61a2cb2ff33788202694385.jpg","text":"TemporaryFile(/tmp/multipartBody8145826935909836369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004988,"filename":"image_15042025_08_45_33_3230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e73450d9b91eaf099c915bb555e5af2f.jpg","text":"TemporaryFile(/tmp/multipartBody1668972980635489666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004988,"filename":"image_15042025_08_45_16_2989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349829792","file1":"1349829748","file0":"1349829729","file4":"1349829900","file5":"1349829937","file3":"1349829848"},"map_files_photo_id_array":[{"photo_id":"1349829937","filename":"file5"},{"photo_id":"1349829792","filename":"file2"},{"photo_id":"1349829900","filename":"file4"},{"photo_id":"1349829748","filename":"file1"},{"photo_id":"1349829729","filename":"file0"},{"photo_id":"1349829848","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349829729":["hashtag1","hashtag2"]},{"1349829900":["hashtag1","hashtag2"]},{"1349829848":["hashtag1","hashtag2"]},{"1349829748":["hashtag1","hashtag2"]},{"1349829937":["hashtag1","hashtag2"]},{"1349829792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349829729, 1349829900, 1349829848, 1349829748, 1349829937, 1349829792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90160417556763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 09:59:42.929502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_36_2775.jpg', '/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_45_2674.jpg', '/home/pi/Desktop/images/15042025/08/46/image_15042025_08_46_39_3659.jpg', '/home/pi/Desktop/images/15042025/08/46/image_15042025_08_46_57_3612.jpg', '/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_14_2686.jpg', '/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_30_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_36_2775.jpg
/home/pi/Desktop/images/15042025/08/45/image_15042025_08_45_45_2674.jpg
/home/pi/Desktop/images/15042025/08/46/image_15042025_08_46_39_3659.jpg
/home/pi/Desktop/images/15042025/08/46/image_15042025_08_46_57_3612.jpg
/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_14_2686.jpg
/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_30_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349830197","1349830050","1349830146","1349830226","1349830217","1349830100"],"photo_ids_order":["1349830050","1349830100","1349830146","1349830197","1349830217","1349830226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fae4cb354f5668c3b9241a439ad91cde.jpg","text":"TemporaryFile(/tmp/multipartBody6471152227384446097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043678,"filename":"image_15042025_08_46_57_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9d2b01379658fef3be2931813bcd2ec.jpg","text":"TemporaryFile(/tmp/multipartBody4162501083077355201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043678,"filename":"image_15042025_08_45_36_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a80b044b1bf0ee889e031bc9126a64e.jpg","text":"TemporaryFile(/tmp/multipartBody6204607924468648354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043678,"filename":"image_15042025_08_46_39_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bce9294c82a7465e33ada5c7d465f68.jpg","text":"TemporaryFile(/tmp/multipartBody5032692311339789419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043678,"filename":"image_15042025_08_47_30_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88f310b0db3fb91ba1fdea82d9a54a4d.jpg","text":"TemporaryFile(/tmp/multipartBody8053437156445231238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043678,"filename":"image_15042025_08_47_14_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37836d4189960ed154556aec5138653f.jpg","text":"TemporaryFile(/tmp/multipartBody6984101666425013420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043678,"filename":"image_15042025_08_45_45_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349830146","file1":"1349830100","file0":"1349830050","file4":"1349830217","file5":"1349830226","file3":"1349830197"},"map_files_photo_id_array":[{"photo_id":"1349830226","filename":"file5"},{"photo_id":"1349830146","filename":"file2"},{"photo_id":"1349830217","filename":"file4"},{"photo_id":"1349830100","filename":"file1"},{"photo_id":"1349830050","filename":"file0"},{"photo_id":"1349830197","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349830197":["hashtag1","hashtag2"]},{"1349830050":["hashtag1","hashtag2"]},{"1349830146":["hashtag1","hashtag2"]},{"1349830226":["hashtag1","hashtag2"]},{"1349830217":["hashtag1","hashtag2"]},{"1349830100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349830197, 1349830050, 1349830146, 1349830226, 1349830217, 1349830100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.417699575424194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:00:22.669860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_51_3661.jpg', '/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_09_2665.jpg', '/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_24_3690.jpg', '/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_39_2733.jpg', '/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_50_2778.jpg', '/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_20_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/47/image_15042025_08_47_51_3661.jpg
/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_09_2665.jpg
/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_24_3690.jpg
/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_39_2733.jpg
/home/pi/Desktop/images/15042025/08/48/image_15042025_08_48_50_2778.jpg
/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_20_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349830365","1349830335","1349830394","1349830289","1349830261","1349830357"],"photo_ids_order":["1349830261","1349830289","1349830335","1349830357","1349830365","1349830394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50a7eb3d792e8a6a60fa539b128cb14f.jpg","text":"TemporaryFile(/tmp/multipartBody1598010212775671704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083384,"filename":"image_15042025_08_48_50_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13ef0f05333fe4e7b2200b63cf21237d.jpg","text":"TemporaryFile(/tmp/multipartBody4109556008913833999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083384,"filename":"image_15042025_08_48_24_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88e2891fe8d48a46ed4f23c61206b1c3.jpg","text":"TemporaryFile(/tmp/multipartBody4417227113612355668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083384,"filename":"image_15042025_08_49_20_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6c8c2f8c7c692a90cf7d61b2692e4af.jpg","text":"TemporaryFile(/tmp/multipartBody8165950271168390799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083384,"filename":"image_15042025_08_48_09_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71cfb96be5505401cd56f460ab4ec5bb.jpg","text":"TemporaryFile(/tmp/multipartBody7405096208427192923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083384,"filename":"image_15042025_08_47_51_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d2cf120b234ab69ba89459c3644311e.jpg","text":"TemporaryFile(/tmp/multipartBody6121788516546281935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083384,"filename":"image_15042025_08_48_39_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349830335","file1":"1349830289","file0":"1349830261","file4":"1349830365","file5":"1349830394","file3":"1349830357"},"map_files_photo_id_array":[{"photo_id":"1349830394","filename":"file5"},{"photo_id":"1349830335","filename":"file2"},{"photo_id":"1349830365","filename":"file4"},{"photo_id":"1349830289","filename":"file1"},{"photo_id":"1349830261","filename":"file0"},{"photo_id":"1349830357","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349830365":["hashtag1","hashtag2"]},{"1349830335":["hashtag1","hashtag2"]},{"1349830394":["hashtag1","hashtag2"]},{"1349830289":["hashtag1","hashtag2"]},{"1349830261":["hashtag1","hashtag2"]},{"1349830357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349830365, 1349830335, 1349830394, 1349830289, 1349830261, 1349830357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45611238479614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:01:02.756183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_24_3600.jpg', '/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_29_2647.jpg', '/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_17_2692.jpg', '/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_33_3581.jpg', '/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_38_2619.jpg', '/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_42_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_24_3600.jpg
/home/pi/Desktop/images/15042025/08/49/image_15042025_08_49_29_2647.jpg
/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_17_2692.jpg
/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_33_3581.jpg
/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_38_2619.jpg
/home/pi/Desktop/images/15042025/08/50/image_15042025_08_50_42_3650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349830782","1349830818","1349830611","1349830679","1349830687","1349830567"],"photo_ids_order":["1349830567","1349830611","1349830679","1349830687","1349830782","1349830818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c370134e7e6bbe3e3f725ae2917eb1f8.jpg","text":"TemporaryFile(/tmp/multipartBody1937161998025237596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704123660,"filename":"image_15042025_08_50_38_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a67ff781a2d1c516a0ae99be1906e83d.jpg","text":"TemporaryFile(/tmp/multipartBody387518805421422203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704123660,"filename":"image_15042025_08_50_42_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b7a67aac134f707e7d4afd055adcc91.jpg","text":"TemporaryFile(/tmp/multipartBody5658387150377502666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704123660,"filename":"image_15042025_08_49_29_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7482637e51bd7f61d6d46244685d1f78.jpg","text":"TemporaryFile(/tmp/multipartBody2141415335503760226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704123660,"filename":"image_15042025_08_50_17_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/281bf10f310b5edb8d2328269344df1d.jpg","text":"TemporaryFile(/tmp/multipartBody2055331963639149957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704123660,"filename":"image_15042025_08_50_33_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09aa257ff830f511900f2fcd25c8ac16.jpg","text":"TemporaryFile(/tmp/multipartBody1479083547637226322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704123660,"filename":"image_15042025_08_49_24_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349830679","file1":"1349830611","file0":"1349830567","file4":"1349830782","file5":"1349830818","file3":"1349830687"},"map_files_photo_id_array":[{"photo_id":"1349830818","filename":"file5"},{"photo_id":"1349830679","filename":"file2"},{"photo_id":"1349830782","filename":"file4"},{"photo_id":"1349830611","filename":"file1"},{"photo_id":"1349830567","filename":"file0"},{"photo_id":"1349830687","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349830782":["hashtag1","hashtag2"]},{"1349830818":["hashtag1","hashtag2"]},{"1349830611":["hashtag1","hashtag2"]},{"1349830679":["hashtag1","hashtag2"]},{"1349830687":["hashtag1","hashtag2"]},{"1349830567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349830782, 1349830818, 1349830611, 1349830679, 1349830687, 1349830567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.903409481048584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:02:02.950121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/50/image_15042025_08_51_00_2701.jpg', '/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_14_2892.jpg', '/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_26_2659.jpg', '/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_35_2657.jpg', '/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_53_2757.jpg', '/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_59_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/50/image_15042025_08_51_00_2701.jpg
/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_14_2892.jpg
/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_26_2659.jpg
/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_35_2657.jpg
/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_53_2757.jpg
/home/pi/Desktop/images/15042025/08/51/image_15042025_08_51_59_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349831016","1349831041","1349831059","1349831038","1349830981","1349830948"],"photo_ids_order":["1349830948","1349830981","1349831016","1349831038","1349831041","1349831059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04666f3adf9add0dc5202a1b42342831.jpg","text":"TemporaryFile(/tmp/multipartBody266351417732553797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704183735,"filename":"image_15042025_08_51_26_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa36a1f4e7355e77acbc25a00d5a0829.jpg","text":"TemporaryFile(/tmp/multipartBody7046190858036255508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704183735,"filename":"image_15042025_08_51_53_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5053a510fe27fe488252ee984e43f871.jpg","text":"TemporaryFile(/tmp/multipartBody5392279771838877749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704183735,"filename":"image_15042025_08_51_59_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bc1b73a486e5b61e9717eae317ddfd5.jpg","text":"TemporaryFile(/tmp/multipartBody6728499744929277469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704183735,"filename":"image_15042025_08_51_35_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae3209f74d4787cbbfc7cd756de9b5c6.jpg","text":"TemporaryFile(/tmp/multipartBody4614062696815334171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704183735,"filename":"image_15042025_08_51_14_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2ab1db96e79be856a80244843aa5ab3.jpg","text":"TemporaryFile(/tmp/multipartBody6344544702878929490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704183735,"filename":"image_15042025_08_51_00_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349831016","file1":"1349830981","file0":"1349830948","file4":"1349831041","file5":"1349831059","file3":"1349831038"},"map_files_photo_id_array":[{"photo_id":"1349831059","filename":"file5"},{"photo_id":"1349831016","filename":"file2"},{"photo_id":"1349831041","filename":"file4"},{"photo_id":"1349830981","filename":"file1"},{"photo_id":"1349830948","filename":"file0"},{"photo_id":"1349831038","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349831016":["hashtag1","hashtag2"]},{"1349831041":["hashtag1","hashtag2"]},{"1349831059":["hashtag1","hashtag2"]},{"1349831038":["hashtag1","hashtag2"]},{"1349830981":["hashtag1","hashtag2"]},{"1349830948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349831016, 1349831041, 1349831059, 1349831038, 1349830981, 1349830948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.234617471694946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:02:42.506314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_08_2563.jpg', '/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_12_3791.jpg', '/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_14_2675.jpg', '/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_17_2701.jpg', '/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_21_3717.jpg', '/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_26_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_08_2563.jpg
/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_12_3791.jpg
/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_14_2675.jpg
/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_17_2701.jpg
/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_21_3717.jpg
/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_26_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349831334","1349831261","1349831177","1349831168","1349831234","1349831277"],"photo_ids_order":["1349831168","1349831177","1349831234","1349831261","1349831277","1349831334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a415eb5183c8dfba72405d1933911e87.jpg","text":"TemporaryFile(/tmp/multipartBody1813365292344486297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704223202,"filename":"image_15042025_08_52_26_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9fa9e360c0ef1167afc4b48b604cd35.jpg","text":"TemporaryFile(/tmp/multipartBody7592164440250279121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704223202,"filename":"image_15042025_08_52_17_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5767b51d6f3d05b6a0ff1bbc6a028afb.jpg","text":"TemporaryFile(/tmp/multipartBody490743565550853776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704223202,"filename":"image_15042025_08_52_12_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d51c7100fc276e030ee1f98c253c8da.jpg","text":"TemporaryFile(/tmp/multipartBody3144917118826118623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704223202,"filename":"image_15042025_08_52_08_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bccb1e9ff97573eda6eaf362694f897a.jpg","text":"TemporaryFile(/tmp/multipartBody3601606879880785190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704223202,"filename":"image_15042025_08_52_14_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad6614d78bd4d405952ba2dfa0796aee.jpg","text":"TemporaryFile(/tmp/multipartBody2294463594230885166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704223202,"filename":"image_15042025_08_52_21_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349831234","file1":"1349831177","file0":"1349831168","file4":"1349831277","file5":"1349831334","file3":"1349831261"},"map_files_photo_id_array":[{"photo_id":"1349831334","filename":"file5"},{"photo_id":"1349831234","filename":"file2"},{"photo_id":"1349831277","filename":"file4"},{"photo_id":"1349831177","filename":"file1"},{"photo_id":"1349831168","filename":"file0"},{"photo_id":"1349831261","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349831334":["hashtag1","hashtag2"]},{"1349831261":["hashtag1","hashtag2"]},{"1349831177":["hashtag1","hashtag2"]},{"1349831168":["hashtag1","hashtag2"]},{"1349831234":["hashtag1","hashtag2"]},{"1349831277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349831334, 1349831261, 1349831177, 1349831168, 1349831234, 1349831277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43375325202942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:03:22.674158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_53_2556.jpg', '/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_20_2980.jpg', '/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_29_2747.jpg', '/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_32_2785.jpg', '/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_51_3817.jpg', '/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_53_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/52/image_15042025_08_52_53_2556.jpg
/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_20_2980.jpg
/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_29_2747.jpg
/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_32_2785.jpg
/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_51_3817.jpg
/home/pi/Desktop/images/15042025/08/53/image_15042025_08_53_53_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349831451","1349831408","1349831539","1349831413","1349831493","1349831419"],"photo_ids_order":["1349831408","1349831413","1349831419","1349831451","1349831493","1349831539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c804d0f22c93c44036ca663c29ee2d5.jpg","text":"TemporaryFile(/tmp/multipartBody7940592504201616191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704263344,"filename":"image_15042025_08_53_32_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce3c640d11be4c2a54d32f0c2f3d3cc0.jpg","text":"TemporaryFile(/tmp/multipartBody1040571741882414556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704263344,"filename":"image_15042025_08_52_53_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd2c41124b3c6e1e5c17f296e2d7478e.jpg","text":"TemporaryFile(/tmp/multipartBody7871295284902241206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704263344,"filename":"image_15042025_08_53_53_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26392b227f763e94ca817aa08da833c2.jpg","text":"TemporaryFile(/tmp/multipartBody6947692098312955305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704263344,"filename":"image_15042025_08_53_20_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d29292007416034e53a8292afce55a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5764113460768695217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704263344,"filename":"image_15042025_08_53_51_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c93660d374021f5e8a42ad43fbef8b8e.jpg","text":"TemporaryFile(/tmp/multipartBody8625706262905633117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704263344,"filename":"image_15042025_08_53_29_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349831419","file1":"1349831413","file0":"1349831408","file4":"1349831493","file5":"1349831539","file3":"1349831451"},"map_files_photo_id_array":[{"photo_id":"1349831539","filename":"file5"},{"photo_id":"1349831419","filename":"file2"},{"photo_id":"1349831493","filename":"file4"},{"photo_id":"1349831413","filename":"file1"},{"photo_id":"1349831408","filename":"file0"},{"photo_id":"1349831451","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349831451":["hashtag1","hashtag2"]},{"1349831408":["hashtag1","hashtag2"]},{"1349831539":["hashtag1","hashtag2"]},{"1349831413":["hashtag1","hashtag2"]},{"1349831493":["hashtag1","hashtag2"]},{"1349831419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349831451, 1349831408, 1349831539, 1349831413, 1349831493, 1349831419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84575033187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:04:02.816508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/54/image_15042025_08_54_47_3570.jpg', '/home/pi/Desktop/images/15042025/08/55/image_15042025_08_55_44_2663.jpg', '/home/pi/Desktop/images/15042025/08/56/image_15042025_08_56_08_2644.jpg', '/home/pi/Desktop/images/15042025/08/56/image_15042025_08_56_47_2731.jpg', '/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_02_3651.jpg', '/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_14_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/54/image_15042025_08_54_47_3570.jpg
/home/pi/Desktop/images/15042025/08/55/image_15042025_08_55_44_2663.jpg
/home/pi/Desktop/images/15042025/08/56/image_15042025_08_56_08_2644.jpg
/home/pi/Desktop/images/15042025/08/56/image_15042025_08_56_47_2731.jpg
/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_02_3651.jpg
/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_14_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349831916","1349831823","1349831762","1349831872","1349831713","1349831673"],"photo_ids_order":["1349831673","1349831713","1349831762","1349831823","1349831872","1349831916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e44b1862f913c3b5044efb85dd4aeb43.jpg","text":"TemporaryFile(/tmp/multipartBody2439739458099154902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704303692,"filename":"image_15042025_08_57_14_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dd0c16b45a686fee903f97387be678b.jpg","text":"TemporaryFile(/tmp/multipartBody6453011074474212654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704303692,"filename":"image_15042025_08_56_47_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4770a41bfb395603799717ab61d06944.jpg","text":"TemporaryFile(/tmp/multipartBody7348290592326020647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704303692,"filename":"image_15042025_08_56_08_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd521330651e8167adf0859433f0c2f6.jpg","text":"TemporaryFile(/tmp/multipartBody6577314887191651207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704303692,"filename":"image_15042025_08_57_02_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a100416e87e19ac02098fd8ce8b7d79.jpg","text":"TemporaryFile(/tmp/multipartBody2342022323249594067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704303692,"filename":"image_15042025_08_55_44_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17983482e236e9bfa4a9102848a2e551.jpg","text":"TemporaryFile(/tmp/multipartBody3225662374326351330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704303692,"filename":"image_15042025_08_54_47_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349831762","file1":"1349831713","file0":"1349831673","file4":"1349831872","file5":"1349831916","file3":"1349831823"},"map_files_photo_id_array":[{"photo_id":"1349831916","filename":"file5"},{"photo_id":"1349831762","filename":"file2"},{"photo_id":"1349831872","filename":"file4"},{"photo_id":"1349831713","filename":"file1"},{"photo_id":"1349831673","filename":"file0"},{"photo_id":"1349831823","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349831916":["hashtag1","hashtag2"]},{"1349831823":["hashtag1","hashtag2"]},{"1349831762":["hashtag1","hashtag2"]},{"1349831872":["hashtag1","hashtag2"]},{"1349831713":["hashtag1","hashtag2"]},{"1349831673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349831916, 1349831823, 1349831762, 1349831872, 1349831713, 1349831673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74840307235718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:04:42.045062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_41_2739.jpg', '/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_47_2652.jpg', '/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_05_3667.jpg', '/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_08_2691.jpg', '/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_14_3792.jpg', '/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_53_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_41_2739.jpg
/home/pi/Desktop/images/15042025/08/57/image_15042025_08_57_47_2652.jpg
/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_05_3667.jpg
/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_08_2691.jpg
/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_14_3792.jpg
/home/pi/Desktop/images/15042025/08/58/image_15042025_08_58_53_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349832240","1349832108","1349832149","1349832062","1349832028","1349831991"],"photo_ids_order":["1349831991","1349832028","1349832062","1349832108","1349832149","1349832240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8193a0f6e12acb5f56a8d30dbdf27d5.jpg","text":"TemporaryFile(/tmp/multipartBody7051589746332356810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704342754,"filename":"image_15042025_08_58_53_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a40d34a9be3c81d3d9562280fb03502b.jpg","text":"TemporaryFile(/tmp/multipartBody5449675368517186809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704342754,"filename":"image_15042025_08_58_08_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b71cf4873fa9f4052e58b1fb8ea1da7f.jpg","text":"TemporaryFile(/tmp/multipartBody1352620038682058117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704342754,"filename":"image_15042025_08_58_14_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5980fd5694561ca3ec9ac5d41a72b2f9.jpg","text":"TemporaryFile(/tmp/multipartBody7038236866847007712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704342754,"filename":"image_15042025_08_58_05_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f32b2ed53ef13658c5163d12612cb71f.jpg","text":"TemporaryFile(/tmp/multipartBody572934729353532846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704342754,"filename":"image_15042025_08_57_47_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef5978956f88d99dc5b0b491cb15e91e.jpg","text":"TemporaryFile(/tmp/multipartBody8211696065238227432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704342754,"filename":"image_15042025_08_57_41_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349832062","file1":"1349832028","file0":"1349831991","file4":"1349832149","file5":"1349832240","file3":"1349832108"},"map_files_photo_id_array":[{"photo_id":"1349832240","filename":"file5"},{"photo_id":"1349832062","filename":"file2"},{"photo_id":"1349832149","filename":"file4"},{"photo_id":"1349832028","filename":"file1"},{"photo_id":"1349831991","filename":"file0"},{"photo_id":"1349832108","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349832240":["hashtag1","hashtag2"]},{"1349832108":["hashtag1","hashtag2"]},{"1349832149":["hashtag1","hashtag2"]},{"1349832062":["hashtag1","hashtag2"]},{"1349832028":["hashtag1","hashtag2"]},{"1349831991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349832240, 1349832108, 1349832149, 1349832062, 1349832028, 1349831991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.93168783187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:05:42.529595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_07_2564.jpg', '/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_11_3676.jpg', '/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_16_2694.jpg', '/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_32_3578.jpg', '/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_53_3681.jpg', '/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_20_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_07_2564.jpg
/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_11_3676.jpg
/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_16_2694.jpg
/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_32_3578.jpg
/home/pi/Desktop/images/15042025/08/59/image_15042025_08_59_53_3681.jpg
/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_20_3737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349832377","1349832512","1349832463","1349832448","1349832415","1349832363"],"photo_ids_order":["1349832363","1349832377","1349832415","1349832448","1349832463","1349832512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e1ceb7b0c5f527b85d8905854b43e0c.jpg","text":"TemporaryFile(/tmp/multipartBody526599143019494263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403231,"filename":"image_15042025_08_59_11_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc8f68cf39d0c9d5985e03a36c27ace7.jpg","text":"TemporaryFile(/tmp/multipartBody3119699108909171827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403231,"filename":"image_15042025_09_00_20_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67841e5a524de7d6dcb8e6d5eca4c36a.jpg","text":"TemporaryFile(/tmp/multipartBody3237975689229818745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403231,"filename":"image_15042025_08_59_53_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebf97108a659af5dd6b0f2af67ad7c20.jpg","text":"TemporaryFile(/tmp/multipartBody9008100133815037836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403231,"filename":"image_15042025_08_59_32_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e117f65de43302f45f265cb904742e1e.jpg","text":"TemporaryFile(/tmp/multipartBody6508429107153151827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403231,"filename":"image_15042025_08_59_16_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d85efde36ae17f7cbc38a117d0cac044.jpg","text":"TemporaryFile(/tmp/multipartBody7412422949877059521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403231,"filename":"image_15042025_08_59_07_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349832415","file1":"1349832377","file0":"1349832363","file4":"1349832463","file5":"1349832512","file3":"1349832448"},"map_files_photo_id_array":[{"photo_id":"1349832512","filename":"file5"},{"photo_id":"1349832415","filename":"file2"},{"photo_id":"1349832463","filename":"file4"},{"photo_id":"1349832377","filename":"file1"},{"photo_id":"1349832363","filename":"file0"},{"photo_id":"1349832448","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349832377":["hashtag1","hashtag2"]},{"1349832512":["hashtag1","hashtag2"]},{"1349832463":["hashtag1","hashtag2"]},{"1349832448":["hashtag1","hashtag2"]},{"1349832415":["hashtag1","hashtag2"]},{"1349832363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349832377, 1349832512, 1349832463, 1349832448, 1349832415, 1349832363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28002643585205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:06:22.296207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_35_2670.jpg', '/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_50_3617.jpg', '/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_53_2781.jpg', '/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_56_2750.jpg', '/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_59_2843.jpg', '/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_02_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_35_2670.jpg
/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_50_3617.jpg
/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_53_2781.jpg
/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_56_2750.jpg
/home/pi/Desktop/images/15042025/09/00/image_15042025_09_00_59_2843.jpg
/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_02_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349832779","1349832734","1349832634","1349832838","1349832753","1349832729"],"photo_ids_order":["1349832634","1349832729","1349832734","1349832753","1349832779","1349832838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bd04f848873fb59639a87c3e8c74d73.jpg","text":"TemporaryFile(/tmp/multipartBody243104458016098920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443002,"filename":"image_15042025_09_00_59_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/835530c3cb449098560caafc39c5d1a6.jpg","text":"TemporaryFile(/tmp/multipartBody1246544810180194582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443002,"filename":"image_15042025_09_00_53_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd554bfbab2c9e4d8c47095a0992260e.jpg","text":"TemporaryFile(/tmp/multipartBody1958361335761478370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443002,"filename":"image_15042025_09_00_35_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd069761a7a141d4c49f93c5ec97a253.jpg","text":"TemporaryFile(/tmp/multipartBody6872799495201119039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443002,"filename":"image_15042025_09_01_02_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e58b84da670e2929207505775b0191c6.jpg","text":"TemporaryFile(/tmp/multipartBody2499931012323389059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443002,"filename":"image_15042025_09_00_56_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a5d0f2a925eb6eabe5b0f167f6876d2.jpg","text":"TemporaryFile(/tmp/multipartBody6724311503281613589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443002,"filename":"image_15042025_09_00_50_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349832734","file1":"1349832729","file0":"1349832634","file4":"1349832779","file5":"1349832838","file3":"1349832753"},"map_files_photo_id_array":[{"photo_id":"1349832838","filename":"file5"},{"photo_id":"1349832734","filename":"file2"},{"photo_id":"1349832779","filename":"file4"},{"photo_id":"1349832729","filename":"file1"},{"photo_id":"1349832634","filename":"file0"},{"photo_id":"1349832753","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349832779":["hashtag1","hashtag2"]},{"1349832734":["hashtag1","hashtag2"]},{"1349832634":["hashtag1","hashtag2"]},{"1349832838":["hashtag1","hashtag2"]},{"1349832753":["hashtag1","hashtag2"]},{"1349832729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349832779, 1349832734, 1349832634, 1349832838, 1349832753, 1349832729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.351380825042725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:07:03.139196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_05_2653.jpg', '/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_08_3052.jpg', '/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_14_3689.jpg', '/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_17_2909.jpg', '/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_41_3724.jpg', '/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_02_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_05_2653.jpg
/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_08_3052.jpg
/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_14_3689.jpg
/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_17_2909.jpg
/home/pi/Desktop/images/15042025/09/01/image_15042025_09_01_41_3724.jpg
/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_02_2842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349833384","1349833447","1349833242","1349833116","1349833326","1349833289"],"photo_ids_order":["1349833116","1349833242","1349833289","1349833326","1349833384","1349833447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f5ca227055fd16d768b4f3b561600ea.jpg","text":"TemporaryFile(/tmp/multipartBody3863064472375038159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484011,"filename":"image_15042025_09_01_41_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb9da726bba5380bc29a4144a4463013.jpg","text":"TemporaryFile(/tmp/multipartBody10563484854250950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484011,"filename":"image_15042025_09_02_02_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8ef54ab5fa28b4d0e5049fe7dceb196.jpg","text":"TemporaryFile(/tmp/multipartBody7587878898442412280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484011,"filename":"image_15042025_09_01_08_3052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce0fda08a2d70cea7d8d5b5baa3f5bec.jpg","text":"TemporaryFile(/tmp/multipartBody5634840836762578334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484011,"filename":"image_15042025_09_01_05_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0f2a7e0b61ebfc787d0fc94af95540e.jpg","text":"TemporaryFile(/tmp/multipartBody9128852527317898707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484011,"filename":"image_15042025_09_01_17_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa4fdbf23802140b11f71703fd5d02b1.jpg","text":"TemporaryFile(/tmp/multipartBody6725168181796312053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484011,"filename":"image_15042025_09_01_14_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349833289","file1":"1349833242","file0":"1349833116","file4":"1349833384","file5":"1349833447","file3":"1349833326"},"map_files_photo_id_array":[{"photo_id":"1349833447","filename":"file5"},{"photo_id":"1349833289","filename":"file2"},{"photo_id":"1349833384","filename":"file4"},{"photo_id":"1349833242","filename":"file1"},{"photo_id":"1349833116","filename":"file0"},{"photo_id":"1349833326","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349833384":["hashtag1","hashtag2"]},{"1349833447":["hashtag1","hashtag2"]},{"1349833242":["hashtag1","hashtag2"]},{"1349833116":["hashtag1","hashtag2"]},{"1349833326":["hashtag1","hashtag2"]},{"1349833289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349833384, 1349833447, 1349833242, 1349833116, 1349833326, 1349833289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85293674468994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:07:42.290568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_53_2609.jpg', '/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_55_2686.jpg', '/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_17_3042.jpg', '/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_52_2677.jpg', '/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_25_2563.jpg', '/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_28_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_53_2609.jpg
/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_55_2686.jpg
/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_17_3042.jpg
/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_52_2677.jpg
/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_25_2563.jpg
/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_28_2657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6723122596740723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:08:03.353189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_53_2609.jpg', '/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_55_2686.jpg', '/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_17_3042.jpg', '/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_52_2677.jpg', '/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_25_2563.jpg', '/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_28_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_53_2609.jpg
/home/pi/Desktop/images/15042025/09/02/image_15042025_09_02_55_2686.jpg
/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_17_3042.jpg
/home/pi/Desktop/images/15042025/09/03/image_15042025_09_03_52_2677.jpg
/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_25_2563.jpg
/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_28_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349833868","1349833856","1349833909","1349833899","1349833917","1349833895"],"photo_ids_order":["1349833856","1349833868","1349833895","1349833899","1349833909","1349833917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6252a04e767d54d8ce74426c7b514732.jpg","text":"TemporaryFile(/tmp/multipartBody8427619376196345445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704546035,"filename":"image_15042025_09_02_55_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0098b962e7382c32f833d3137d45f2f1.jpg","text":"TemporaryFile(/tmp/multipartBody506941034524497038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704546035,"filename":"image_15042025_09_02_53_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8866be2a3c336181f430cf5dd91b150e.jpg","text":"TemporaryFile(/tmp/multipartBody5914290565623750103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704546035,"filename":"image_15042025_09_04_25_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f519c86214bde465bf0b8bd3b5aed7f.jpg","text":"TemporaryFile(/tmp/multipartBody9055078436954355972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704546035,"filename":"image_15042025_09_03_52_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0482245b1ab3d444a5be2447de033cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1701278519152926770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704546035,"filename":"image_15042025_09_04_28_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b64215afcbad2ae2799629aa4992b44e.jpg","text":"TemporaryFile(/tmp/multipartBody2133162910724600003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704546035,"filename":"image_15042025_09_03_17_3042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349833895","file1":"1349833868","file0":"1349833856","file4":"1349833909","file5":"1349833917","file3":"1349833899"},"map_files_photo_id_array":[{"photo_id":"1349833917","filename":"file5"},{"photo_id":"1349833895","filename":"file2"},{"photo_id":"1349833909","filename":"file4"},{"photo_id":"1349833868","filename":"file1"},{"photo_id":"1349833856","filename":"file0"},{"photo_id":"1349833899","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349833868":["hashtag1","hashtag2"]},{"1349833856":["hashtag1","hashtag2"]},{"1349833909":["hashtag1","hashtag2"]},{"1349833899":["hashtag1","hashtag2"]},{"1349833917":["hashtag1","hashtag2"]},{"1349833895":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349833868, 1349833856, 1349833909, 1349833899, 1349833917, 1349833895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.777183055877686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:08:42.898318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_32_3728.jpg', '/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_52_2674.jpg', '/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_59_3649.jpg', '/home/pi/Desktop/images/15042025/09/19/image_15042025_09_19_21_2820.jpg', '/home/pi/Desktop/images/15042025/09/20/image_15042025_09_20_24_2630.jpg', '/home/pi/Desktop/images/15042025/09/24/image_15042025_09_25_00_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_32_3728.jpg
/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_52_2674.jpg
/home/pi/Desktop/images/15042025/09/04/image_15042025_09_04_59_3649.jpg
/home/pi/Desktop/images/15042025/09/19/image_15042025_09_19_21_2820.jpg
/home/pi/Desktop/images/15042025/09/20/image_15042025_09_20_24_2630.jpg
/home/pi/Desktop/images/15042025/09/24/image_15042025_09_25_00_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349834050","1349834032","1349834181","1349834076","1349834223","1349834118"],"photo_ids_order":["1349834032","1349834050","1349834076","1349834118","1349834181","1349834223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43e95f403c83fc9f7dceaabdf96be35a.jpg","text":"TemporaryFile(/tmp/multipartBody5374605748262243708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704583688,"filename":"image_15042025_09_04_52_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19a65395490c0d281b0583ec32a6f1ad.jpg","text":"TemporaryFile(/tmp/multipartBody4248972700428272246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704583688,"filename":"image_15042025_09_04_32_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6223a73099159a4282562e1ba751cd23.jpg","text":"TemporaryFile(/tmp/multipartBody3411745423912084236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704583688,"filename":"image_15042025_09_20_24_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/494dcaf67c2d95bb6630d8b2f172a489.jpg","text":"TemporaryFile(/tmp/multipartBody2799156052087034144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704583688,"filename":"image_15042025_09_04_59_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/951bc055b9d847300e1f50c262244f52.jpg","text":"TemporaryFile(/tmp/multipartBody7333431850507853857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704583688,"filename":"image_15042025_09_25_00_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e702df791deb45256dd387d2fd99be80.jpg","text":"TemporaryFile(/tmp/multipartBody7432826943338388044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704583688,"filename":"image_15042025_09_19_21_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834076","file1":"1349834050","file0":"1349834032","file4":"1349834181","file5":"1349834223","file3":"1349834118"},"map_files_photo_id_array":[{"photo_id":"1349834223","filename":"file5"},{"photo_id":"1349834076","filename":"file2"},{"photo_id":"1349834181","filename":"file4"},{"photo_id":"1349834050","filename":"file1"},{"photo_id":"1349834032","filename":"file0"},{"photo_id":"1349834118","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349834050":["hashtag1","hashtag2"]},{"1349834032":["hashtag1","hashtag2"]},{"1349834181":["hashtag1","hashtag2"]},{"1349834076":["hashtag1","hashtag2"]},{"1349834223":["hashtag1","hashtag2"]},{"1349834118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349834050, 1349834032, 1349834181, 1349834076, 1349834223, 1349834118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.150477170944214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:09:22.408988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_03_3020.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_06_2754.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_08_2684.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_11_2769.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_15_3592.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_17_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_03_3020.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_06_2754.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_08_2684.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_11_2769.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_15_3592.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_17_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349834395","1349834428","1349834436","1349834451","1349834421","1349834400"],"photo_ids_order":["1349834395","1349834400","1349834421","1349834428","1349834436","1349834451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c493402cccfa8e0a5eaa541ef745387.jpg","text":"TemporaryFile(/tmp/multipartBody8661574027222155589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704623104,"filename":"image_15042025_09_25_03_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3626fc4e5121c6f3220772e5482616d2.jpg","text":"TemporaryFile(/tmp/multipartBody6453362180274239132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704623104,"filename":"image_15042025_09_25_11_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8bbde2c9a6be28c036b6d691b44f9160.jpg","text":"TemporaryFile(/tmp/multipartBody6452056612549671401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704623104,"filename":"image_15042025_09_25_15_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ffec50667b55405bf53dc61161ecc65.jpg","text":"TemporaryFile(/tmp/multipartBody753316002957850235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704623104,"filename":"image_15042025_09_25_17_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8f10139a3bbe100dce3f3175db69fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6478304793658876280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704623104,"filename":"image_15042025_09_25_08_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/980ab7f93d471b3527d09e96565ed466.jpg","text":"TemporaryFile(/tmp/multipartBody291161005440819870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704623104,"filename":"image_15042025_09_25_06_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834421","file1":"1349834400","file0":"1349834395","file4":"1349834436","file5":"1349834451","file3":"1349834428"},"map_files_photo_id_array":[{"photo_id":"1349834451","filename":"file5"},{"photo_id":"1349834421","filename":"file2"},{"photo_id":"1349834436","filename":"file4"},{"photo_id":"1349834400","filename":"file1"},{"photo_id":"1349834395","filename":"file0"},{"photo_id":"1349834428","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349834395":["hashtag1","hashtag2"]},{"1349834428":["hashtag1","hashtag2"]},{"1349834436":["hashtag1","hashtag2"]},{"1349834451":["hashtag1","hashtag2"]},{"1349834421":["hashtag1","hashtag2"]},{"1349834400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349834395, 1349834428, 1349834436, 1349834451, 1349834421, 1349834400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.548192501068115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:10:22.671977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_21_3673.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_24_2615.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_26_2811.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_29_2643.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_33_3592.jpg', '/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_38_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_21_3673.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_24_2615.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_26_2811.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_29_2643.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_33_3592.jpg
/home/pi/Desktop/images/15042025/09/25/image_15042025_09_25_38_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349834578","1349834598","1349834592","1349834585","1349834570","1349834564"],"photo_ids_order":["1349834564","1349834570","1349834578","1349834585","1349834592","1349834598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b38cb625bc8e7ce14525e5297f0e36a.jpg","text":"TemporaryFile(/tmp/multipartBody2393373152303820456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704683396,"filename":"image_15042025_09_25_26_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16da64a5e7957e84e685db3d6dfbf0a9.jpg","text":"TemporaryFile(/tmp/multipartBody4377409135516714032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704683396,"filename":"image_15042025_09_25_38_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5cc22b219e848212b5a8e7e05b64ead.jpg","text":"TemporaryFile(/tmp/multipartBody8785793692215497038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704683396,"filename":"image_15042025_09_25_33_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a60a7f393bdee6618660fb37d3a1b9c.jpg","text":"TemporaryFile(/tmp/multipartBody3982842888179037466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704683396,"filename":"image_15042025_09_25_29_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3378ea09f6cb974768de64efe1092553.jpg","text":"TemporaryFile(/tmp/multipartBody7396545249577312529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704683396,"filename":"image_15042025_09_25_24_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/813f0ccefe615f8b9fe83017cf967641.jpg","text":"TemporaryFile(/tmp/multipartBody3087769977135022947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704683396,"filename":"image_15042025_09_25_21_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834578","file1":"1349834570","file0":"1349834564","file4":"1349834592","file5":"1349834598","file3":"1349834585"},"map_files_photo_id_array":[{"photo_id":"1349834598","filename":"file5"},{"photo_id":"1349834578","filename":"file2"},{"photo_id":"1349834592","filename":"file4"},{"photo_id":"1349834570","filename":"file1"},{"photo_id":"1349834564","filename":"file0"},{"photo_id":"1349834585","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349834578":["hashtag1","hashtag2"]},{"1349834598":["hashtag1","hashtag2"]},{"1349834592":["hashtag1","hashtag2"]},{"1349834585":["hashtag1","hashtag2"]},{"1349834570":["hashtag1","hashtag2"]},{"1349834564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349834578, 1349834598, 1349834592, 1349834585, 1349834570, 1349834564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.674015522003174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:11:02.670542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/26/image_15042025_09_26_53_2815.jpg', '/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_21_2710.jpg', '/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_38_2728.jpg', '/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_41_3599.jpg', '/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_44_2640.jpg', '/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_47_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/26/image_15042025_09_26_53_2815.jpg
/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_21_2710.jpg
/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_38_2728.jpg
/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_41_3599.jpg
/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_44_2640.jpg
/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_47_2837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349834647","1349834611","1349834655","1349834637","1349834628","1349834621"],"photo_ids_order":["1349834611","1349834621","1349834628","1349834637","1349834647","1349834655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c1ce0c54fb6c97c7eb657a7a7f8ab96.jpg","text":"TemporaryFile(/tmp/multipartBody6341628523413309392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704723546,"filename":"image_15042025_09_27_44_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9762cbb7af6fd0d6a8dd8689d7c271a.jpg","text":"TemporaryFile(/tmp/multipartBody6011770797152369411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704723546,"filename":"image_15042025_09_26_53_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d960fbe6d294017a971e74f526cfaac.jpg","text":"TemporaryFile(/tmp/multipartBody2873016441187755778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704723546,"filename":"image_15042025_09_27_47_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9deee7e6625566012b700540a872e9a1.jpg","text":"TemporaryFile(/tmp/multipartBody1855184131927730897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704723546,"filename":"image_15042025_09_27_41_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e29413644725b038f1934dc07235fde1.jpg","text":"TemporaryFile(/tmp/multipartBody7963067449626338815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704723546,"filename":"image_15042025_09_27_38_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d65e3dcbb345dcaded00a56340dbe4a0.jpg","text":"TemporaryFile(/tmp/multipartBody8315722134326581796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704723546,"filename":"image_15042025_09_27_21_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834628","file1":"1349834621","file0":"1349834611","file4":"1349834647","file5":"1349834655","file3":"1349834637"},"map_files_photo_id_array":[{"photo_id":"1349834655","filename":"file5"},{"photo_id":"1349834628","filename":"file2"},{"photo_id":"1349834647","filename":"file4"},{"photo_id":"1349834621","filename":"file1"},{"photo_id":"1349834611","filename":"file0"},{"photo_id":"1349834637","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349834647":["hashtag1","hashtag2"]},{"1349834611":["hashtag1","hashtag2"]},{"1349834655":["hashtag1","hashtag2"]},{"1349834637":["hashtag1","hashtag2"]},{"1349834628":["hashtag1","hashtag2"]},{"1349834621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349834647, 1349834611, 1349834655, 1349834637, 1349834628, 1349834621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10026836395264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:11:42.001938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_50_3563.jpg', '/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_57_3656.jpg', '/home/pi/Desktop/images/15042025/09/28/image_15042025_09_28_06_3750.jpg', '/home/pi/Desktop/images/15042025/09/28/image_15042025_09_28_42_3691.jpg', '/home/pi/Desktop/images/15042025/09/29/image_15042025_09_29_51_3646.jpg', '/home/pi/Desktop/images/15042025/09/29/image_15042025_09_29_53_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_50_3563.jpg
/home/pi/Desktop/images/15042025/09/27/image_15042025_09_27_57_3656.jpg
/home/pi/Desktop/images/15042025/09/28/image_15042025_09_28_06_3750.jpg
/home/pi/Desktop/images/15042025/09/28/image_15042025_09_28_42_3691.jpg
/home/pi/Desktop/images/15042025/09/29/image_15042025_09_29_51_3646.jpg
/home/pi/Desktop/images/15042025/09/29/image_15042025_09_29_53_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349834671","1349834710","1349834679","1349834694","1349834688","1349834699"],"photo_ids_order":["1349834671","1349834679","1349834688","1349834694","1349834699","1349834710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8bac36f89dc627cda5e7feb078fecb05.jpg","text":"TemporaryFile(/tmp/multipartBody5808994829761980894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704762763,"filename":"image_15042025_09_27_50_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f177da102533d7635d57299236bce3f3.jpg","text":"TemporaryFile(/tmp/multipartBody2944902311938374341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704762763,"filename":"image_15042025_09_29_53_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ea7aad07718f99d3351929a3fd85e9a.jpg","text":"TemporaryFile(/tmp/multipartBody2498393706089764148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704762763,"filename":"image_15042025_09_27_57_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e9218af8688739bc116172fbe1b8128.jpg","text":"TemporaryFile(/tmp/multipartBody5079126206564321892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704762763,"filename":"image_15042025_09_28_42_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49fbb3b6c2ae098018f22cf63d724cca.jpg","text":"TemporaryFile(/tmp/multipartBody1332148372222507510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704762763,"filename":"image_15042025_09_28_06_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5f2e2271fe25945dbdf24ca746b773d.jpg","text":"TemporaryFile(/tmp/multipartBody7622801836025070044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704762763,"filename":"image_15042025_09_29_51_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834688","file1":"1349834679","file0":"1349834671","file4":"1349834699","file5":"1349834710","file3":"1349834694"},"map_files_photo_id_array":[{"photo_id":"1349834710","filename":"file5"},{"photo_id":"1349834688","filename":"file2"},{"photo_id":"1349834699","filename":"file4"},{"photo_id":"1349834679","filename":"file1"},{"photo_id":"1349834671","filename":"file0"},{"photo_id":"1349834694","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349834671":["hashtag1","hashtag2"]},{"1349834710":["hashtag1","hashtag2"]},{"1349834679":["hashtag1","hashtag2"]},{"1349834694":["hashtag1","hashtag2"]},{"1349834688":["hashtag1","hashtag2"]},{"1349834699":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349834671, 1349834710, 1349834679, 1349834694, 1349834688, 1349834699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.728578090667725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:12:22.858061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_14_2569.jpg', '/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_44_3641.jpg', '/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_49_2661.jpg', '/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_53_3592.jpg', '/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_56_2685.jpg', '/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_59_2956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_14_2569.jpg
/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_44_3641.jpg
/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_49_2661.jpg
/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_53_3592.jpg
/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_56_2685.jpg
/home/pi/Desktop/images/15042025/09/31/image_15042025_09_31_59_2956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349835057","1349834769","1349834757","1349835074","1349834774","1349834765"],"photo_ids_order":["1349834757","1349834765","1349834769","1349834774","1349835057","1349835074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7eed0131c519dd6b8c6dd8cd51288f9b.jpg","text":"TemporaryFile(/tmp/multipartBody8514262369016623720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704803591,"filename":"image_15042025_09_31_56_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f9b9fb66259069e9dca9fe667495378.jpg","text":"TemporaryFile(/tmp/multipartBody5399107773942334979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704803591,"filename":"image_15042025_09_31_49_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d9466445c89433854682b527fc365bd.jpg","text":"TemporaryFile(/tmp/multipartBody6900370911351120594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704803591,"filename":"image_15042025_09_31_14_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebecde82150b520b4b3efa55098d400f.jpg","text":"TemporaryFile(/tmp/multipartBody8340745909034186548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704803591,"filename":"image_15042025_09_31_59_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5dbac78193641564c8ba04679c90d5c1.jpg","text":"TemporaryFile(/tmp/multipartBody6993940027292493220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704803591,"filename":"image_15042025_09_31_53_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22fddf1638ec686dc387dea812fa91aa.jpg","text":"TemporaryFile(/tmp/multipartBody4827141423235264187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704803591,"filename":"image_15042025_09_31_44_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834769","file1":"1349834765","file0":"1349834757","file4":"1349835057","file5":"1349835074","file3":"1349834774"},"map_files_photo_id_array":[{"photo_id":"1349835074","filename":"file5"},{"photo_id":"1349834769","filename":"file2"},{"photo_id":"1349835057","filename":"file4"},{"photo_id":"1349834765","filename":"file1"},{"photo_id":"1349834757","filename":"file0"},{"photo_id":"1349834774","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349835057":["hashtag1","hashtag2"]},{"1349834769":["hashtag1","hashtag2"]},{"1349834757":["hashtag1","hashtag2"]},{"1349835074":["hashtag1","hashtag2"]},{"1349834774":["hashtag1","hashtag2"]},{"1349834765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349835057, 1349834769, 1349834757, 1349835074, 1349834774, 1349834765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.293455839157104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:13:22.528636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/32/image_15042025_09_32_43_2821.jpg', '/home/pi/Desktop/images/15042025/09/32/image_15042025_09_32_50_3587.jpg', '/home/pi/Desktop/images/15042025/09/34/image_15042025_09_34_02_3595.jpg', '/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_07_2620.jpg', '/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_10_2662.jpg', '/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_34_3120.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/32/image_15042025_09_32_43_2821.jpg
/home/pi/Desktop/images/15042025/09/32/image_15042025_09_32_50_3587.jpg
/home/pi/Desktop/images/15042025/09/34/image_15042025_09_34_02_3595.jpg
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_07_2620.jpg
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_10_2662.jpg
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_34_3120.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349835279","1349835267","1349835284","1349835248","1349835308","1349835212"],"photo_ids_order":["1349835212","1349835248","1349835267","1349835279","1349835284","1349835308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53ce15ff40538bbb74e65805fbcd86ea.jpg","text":"TemporaryFile(/tmp/multipartBody5576414731202904509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704863252,"filename":"image_15042025_09_36_07_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6808a1eb9c7d50b3cb3cbe07ba34df25.jpg","text":"TemporaryFile(/tmp/multipartBody5647742384565483555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704863252,"filename":"image_15042025_09_34_02_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/279b003af02bc208659735855cb045d7.jpg","text":"TemporaryFile(/tmp/multipartBody677246418916523798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704863252,"filename":"image_15042025_09_36_10_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04d00667d515d0d6c04095cb9b6e733c.jpg","text":"TemporaryFile(/tmp/multipartBody7985367454456858388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704863252,"filename":"image_15042025_09_32_50_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d663eb5e0a8225e0ff8b4fa2f0f095e0.jpg","text":"TemporaryFile(/tmp/multipartBody5706574928204750255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704863252,"filename":"image_15042025_09_36_34_3120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c62cea3d99d93073aba2e8a5fb51a73.jpg","text":"TemporaryFile(/tmp/multipartBody8690521151740050985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704863252,"filename":"image_15042025_09_32_43_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835267","file1":"1349835248","file0":"1349835212","file4":"1349835284","file5":"1349835308","file3":"1349835279"},"map_files_photo_id_array":[{"photo_id":"1349835308","filename":"file5"},{"photo_id":"1349835267","filename":"file2"},{"photo_id":"1349835284","filename":"file4"},{"photo_id":"1349835248","filename":"file1"},{"photo_id":"1349835212","filename":"file0"},{"photo_id":"1349835279","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349835279":["hashtag1","hashtag2"]},{"1349835267":["hashtag1","hashtag2"]},{"1349835284":["hashtag1","hashtag2"]},{"1349835248":["hashtag1","hashtag2"]},{"1349835308":["hashtag1","hashtag2"]},{"1349835212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349835279, 1349835267, 1349835284, 1349835248, 1349835308, 1349835212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3391535282135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:14:03.292888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_37_2127.jpg', '/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_40_3710.jpg', '/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_43_2605.jpg', '/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_46_2895.jpg', '/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_49_2785.jpg', '/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_52_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_37_2127.jpg
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_40_3710.jpg
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_43_2605.jpg
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_46_2895.jpg
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_49_2785.jpg
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_52_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349835511","1349835505","1349835390","1349835428","1349835499","1349835487"],"photo_ids_order":["1349835390","1349835428","1349835487","1349835499","1349835505","1349835511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e463ef87e69aae42f21558fe32a154a5.jpg","text":"TemporaryFile(/tmp/multipartBody7772568097114652183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904078,"filename":"image_15042025_09_36_52_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67b2fd474ab6bcb3cf7fa5db937663f5.jpg","text":"TemporaryFile(/tmp/multipartBody603619469785679830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904078,"filename":"image_15042025_09_36_49_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec5f7a8ebc25e09b003ea3f0d77e4ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2858629954444378684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904078,"filename":"image_15042025_09_36_37_2127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d26a8381110cf33e43f6d9dacc29f4d5.jpg","text":"TemporaryFile(/tmp/multipartBody8699731808990647525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904078,"filename":"image_15042025_09_36_40_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac40c588d0d4858312bba22c31dcf4ed.jpg","text":"TemporaryFile(/tmp/multipartBody4409694125674484909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904078,"filename":"image_15042025_09_36_46_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e344050543497bebb3ca3170c79e443.jpg","text":"TemporaryFile(/tmp/multipartBody796019981668762252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904078,"filename":"image_15042025_09_36_43_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835487","file1":"1349835428","file0":"1349835390","file4":"1349835505","file5":"1349835511","file3":"1349835499"},"map_files_photo_id_array":[{"photo_id":"1349835511","filename":"file5"},{"photo_id":"1349835487","filename":"file2"},{"photo_id":"1349835505","filename":"file4"},{"photo_id":"1349835428","filename":"file1"},{"photo_id":"1349835390","filename":"file0"},{"photo_id":"1349835499","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349835511":["hashtag1","hashtag2"]},{"1349835505":["hashtag1","hashtag2"]},{"1349835390":["hashtag1","hashtag2"]},{"1349835428":["hashtag1","hashtag2"]},{"1349835499":["hashtag1","hashtag2"]},{"1349835487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349835511, 1349835505, 1349835390, 1349835428, 1349835499, 1349835487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26544904708862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:14:42.734186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_55_2749.jpg', '/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_58_2714.jpg', '/home/pi/Desktop/images/15042025/09/37/image_15042025_09_37_01_2774.jpg', '/home/pi/Desktop/images/15042025/09/37/image_15042025_09_37_04_3919.jpg', '/home/pi/Desktop/images/15042025/09/37/image_15042025_09_37_25_3706.jpg', '/home/pi/Desktop/images/15042025/09/38/image_15042025_09_38_34_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_55_2749.jpg
/home/pi/Desktop/images/15042025/09/36/image_15042025_09_36_58_2714.jpg
/home/pi/Desktop/images/15042025/09/37/image_15042025_09_37_01_2774.jpg
/home/pi/Desktop/images/15042025/09/37/image_15042025_09_37_04_3919.jpg
/home/pi/Desktop/images/15042025/09/37/image_15042025_09_37_25_3706.jpg
/home/pi/Desktop/images/15042025/09/38/image_15042025_09_38_34_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349835577","1349835591","1349835570","1349835627","1349835537","1349835554"],"photo_ids_order":["1349835537","1349835554","1349835570","1349835577","1349835591","1349835627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0e1437bd6c62f08a3aeb15e6150b761.jpg","text":"TemporaryFile(/tmp/multipartBody2715663625845025308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943457,"filename":"image_15042025_09_37_04_3919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa3b6d40b3084a43e74244b6f1d66f20.jpg","text":"TemporaryFile(/tmp/multipartBody1032261578371605439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943457,"filename":"image_15042025_09_37_25_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31a1f2555879f7215c1208002f1231bc.jpg","text":"TemporaryFile(/tmp/multipartBody674747833028472645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943457,"filename":"image_15042025_09_37_01_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67c6f4874682a3e595d8d2c06e3f8643.jpg","text":"TemporaryFile(/tmp/multipartBody2955552188235691480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943457,"filename":"image_15042025_09_38_34_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c225c7e33fdcac5a1cfd46bf68194c1.jpg","text":"TemporaryFile(/tmp/multipartBody5508784817023240416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943457,"filename":"image_15042025_09_36_55_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11d1674c45c380f5da9c1876140bca21.jpg","text":"TemporaryFile(/tmp/multipartBody1660477466618124612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943457,"filename":"image_15042025_09_36_58_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835570","file1":"1349835554","file0":"1349835537","file4":"1349835591","file5":"1349835627","file3":"1349835577"},"map_files_photo_id_array":[{"photo_id":"1349835627","filename":"file5"},{"photo_id":"1349835570","filename":"file2"},{"photo_id":"1349835591","filename":"file4"},{"photo_id":"1349835554","filename":"file1"},{"photo_id":"1349835537","filename":"file0"},{"photo_id":"1349835577","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349835577":["hashtag1","hashtag2"]},{"1349835591":["hashtag1","hashtag2"]},{"1349835570":["hashtag1","hashtag2"]},{"1349835627":["hashtag1","hashtag2"]},{"1349835537":["hashtag1","hashtag2"]},{"1349835554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349835577, 1349835591, 1349835570, 1349835627, 1349835537, 1349835554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74370336532593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:15:22.093261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/39/image_15042025_09_39_01_2885.jpg', '/home/pi/Desktop/images/15042025/09/39/image_15042025_09_39_28_3693.jpg', '/home/pi/Desktop/images/15042025/09/39/image_15042025_09_39_52_2577.jpg', '/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_22_2737.jpg', '/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_37_3126.jpg', '/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_40_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/39/image_15042025_09_39_01_2885.jpg
/home/pi/Desktop/images/15042025/09/39/image_15042025_09_39_28_3693.jpg
/home/pi/Desktop/images/15042025/09/39/image_15042025_09_39_52_2577.jpg
/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_22_2737.jpg
/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_37_3126.jpg
/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_40_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349835702","1349835695","1349835749","1349835842","1349835902","1349835793"],"photo_ids_order":["1349835695","1349835702","1349835749","1349835793","1349835842","1349835902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b811e14baacd623c19895157bf613058.jpg","text":"TemporaryFile(/tmp/multipartBody4390438111197889926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704982842,"filename":"image_15042025_09_39_28_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/062c9b60b197546abb41ff7fb572b44c.jpg","text":"TemporaryFile(/tmp/multipartBody4401593868205561441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704982842,"filename":"image_15042025_09_39_01_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de42cda687f0e0cedce2a1ed5271ead3.jpg","text":"TemporaryFile(/tmp/multipartBody4579543150725773549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704982842,"filename":"image_15042025_09_39_52_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26f1901152c2fb7e29ed4bbae2d7a413.jpg","text":"TemporaryFile(/tmp/multipartBody4124386720488806248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704982842,"filename":"image_15042025_09_40_37_3126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50ed3f6ff8aab5ba0b2f296c0811d0f1.jpg","text":"TemporaryFile(/tmp/multipartBody549501033167456863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704982842,"filename":"image_15042025_09_40_40_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c16e26f0df637a068977089b9046907c.jpg","text":"TemporaryFile(/tmp/multipartBody5860849026683452372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704982842,"filename":"image_15042025_09_40_22_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835749","file1":"1349835702","file0":"1349835695","file4":"1349835842","file5":"1349835902","file3":"1349835793"},"map_files_photo_id_array":[{"photo_id":"1349835902","filename":"file5"},{"photo_id":"1349835749","filename":"file2"},{"photo_id":"1349835842","filename":"file4"},{"photo_id":"1349835702","filename":"file1"},{"photo_id":"1349835695","filename":"file0"},{"photo_id":"1349835793","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349835702":["hashtag1","hashtag2"]},{"1349835695":["hashtag1","hashtag2"]},{"1349835749":["hashtag1","hashtag2"]},{"1349835842":["hashtag1","hashtag2"]},{"1349835902":["hashtag1","hashtag2"]},{"1349835793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349835702, 1349835695, 1349835749, 1349835842, 1349835902, 1349835793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27799892425537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:16:02.912317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_42_2626.jpg', '/home/pi/Desktop/images/15042025/09/41/image_15042025_09_41_45_2675.jpg', '/home/pi/Desktop/images/15042025/09/41/image_15042025_09_41_51_2591.jpg', '/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_18_2610.jpg', '/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_22_3677.jpg', '/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_40_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/40/image_15042025_09_40_42_2626.jpg
/home/pi/Desktop/images/15042025/09/41/image_15042025_09_41_45_2675.jpg
/home/pi/Desktop/images/15042025/09/41/image_15042025_09_41_51_2591.jpg
/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_18_2610.jpg
/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_22_3677.jpg
/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_40_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349836021","1349836029","1349835996","1349836283","1349836087","1349836048"],"photo_ids_order":["1349835996","1349836021","1349836029","1349836048","1349836087","1349836283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/faabafa968dd74e9dfd03582a9d5b152.jpg","text":"TemporaryFile(/tmp/multipartBody1996458385882814082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705023724,"filename":"image_15042025_09_41_45_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c1ee9e6dd4495e35498c25d14745ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3845519330927023438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705023724,"filename":"image_15042025_09_41_51_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81a1fbae2ec5c110e43a115c51be57d3.jpg","text":"TemporaryFile(/tmp/multipartBody992478949447194191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705023724,"filename":"image_15042025_09_40_42_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc789920d9e1c6a6b4f70f275851521f.jpg","text":"TemporaryFile(/tmp/multipartBody5226562261288003700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705023724,"filename":"image_15042025_09_42_40_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94c904811783c277a9e5e9c0c9d308a2.jpg","text":"TemporaryFile(/tmp/multipartBody6807514838375761589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705023724,"filename":"image_15042025_09_42_22_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c20fb14b32a62f6dac27471c14ec330c.jpg","text":"TemporaryFile(/tmp/multipartBody1332374487967689680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705023724,"filename":"image_15042025_09_42_18_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836029","file1":"1349836021","file0":"1349835996","file4":"1349836087","file5":"1349836283","file3":"1349836048"},"map_files_photo_id_array":[{"photo_id":"1349836283","filename":"file5"},{"photo_id":"1349836029","filename":"file2"},{"photo_id":"1349836087","filename":"file4"},{"photo_id":"1349836021","filename":"file1"},{"photo_id":"1349835996","filename":"file0"},{"photo_id":"1349836048","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349836021":["hashtag1","hashtag2"]},{"1349836029":["hashtag1","hashtag2"]},{"1349835996":["hashtag1","hashtag2"]},{"1349836283":["hashtag1","hashtag2"]},{"1349836087":["hashtag1","hashtag2"]},{"1349836048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349836021, 1349836029, 1349835996, 1349836283, 1349836087, 1349836048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.547393560409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:17:02.813044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_43_2848.jpg', '/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_45_2661.jpg', '/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_48_2971.jpg', '/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_58_3726.jpg', '/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_01_2919.jpg', '/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_03_2495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_43_2848.jpg
/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_45_2661.jpg
/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_48_2971.jpg
/home/pi/Desktop/images/15042025/09/42/image_15042025_09_42_58_3726.jpg
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_01_2919.jpg
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_03_2495.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349836344","1349836466","1349836358","1349836433","1349836390","1349836351"],"photo_ids_order":["1349836344","1349836351","1349836358","1349836390","1349836433","1349836466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c5adc4d2d77331b8a58fb588c5864d7.jpg","text":"TemporaryFile(/tmp/multipartBody722205251790899110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705083693,"filename":"image_15042025_09_42_43_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c40e05013de5324c00af8aab03c94a6.jpg","text":"TemporaryFile(/tmp/multipartBody4893917295582737059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705083693,"filename":"image_15042025_09_43_03_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b459a7b76e886310f5fb64bbf540ee0b.jpg","text":"TemporaryFile(/tmp/multipartBody3846412334459633908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705083693,"filename":"image_15042025_09_42_48_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eaf3754a64175a8cc0d029b22183f0bf.jpg","text":"TemporaryFile(/tmp/multipartBody8452937216749981310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705083693,"filename":"image_15042025_09_43_01_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba75dbc1feccac0fb5d6a05233ebd28a.jpg","text":"TemporaryFile(/tmp/multipartBody5899815742383154145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705083693,"filename":"image_15042025_09_42_58_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea509aed4f176da7bd55bc42394b638a.jpg","text":"TemporaryFile(/tmp/multipartBody5392523292254735767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705083693,"filename":"image_15042025_09_42_45_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836358","file1":"1349836351","file0":"1349836344","file4":"1349836433","file5":"1349836466","file3":"1349836390"},"map_files_photo_id_array":[{"photo_id":"1349836466","filename":"file5"},{"photo_id":"1349836358","filename":"file2"},{"photo_id":"1349836433","filename":"file4"},{"photo_id":"1349836351","filename":"file1"},{"photo_id":"1349836344","filename":"file0"},{"photo_id":"1349836390","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349836344":["hashtag1","hashtag2"]},{"1349836466":["hashtag1","hashtag2"]},{"1349836358":["hashtag1","hashtag2"]},{"1349836433":["hashtag1","hashtag2"]},{"1349836390":["hashtag1","hashtag2"]},{"1349836351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349836344, 1349836466, 1349836358, 1349836433, 1349836390, 1349836351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20553112030029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:17:42.056886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_06_2745.jpg', '/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_10_3670.jpg', '/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_12_2725.jpg', '/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_15_2702.jpg', '/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_21_2760.jpg', '/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_36_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_06_2745.jpg
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_10_3670.jpg
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_12_2725.jpg
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_15_2702.jpg
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_21_2760.jpg
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_43_36_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349836569","1349836551","1349836562","1349836637","1349836483","1349836621"],"photo_ids_order":["1349836483","1349836551","1349836562","1349836569","1349836621","1349836637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9626587c3f51f99908e75710ed56a6ba.jpg","text":"TemporaryFile(/tmp/multipartBody3423957909263739021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705122799,"filename":"image_15042025_09_43_15_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86ada5b5ff0658511b94ba98bbfe541e.jpg","text":"TemporaryFile(/tmp/multipartBody4028881296884025740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705122799,"filename":"image_15042025_09_43_10_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d72ef3434cfa1bb49e06c496e9454319.jpg","text":"TemporaryFile(/tmp/multipartBody8244519586475616701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705122799,"filename":"image_15042025_09_43_12_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae82cf2ff024f60760f53434ddcb7aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5190651874140724011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705122799,"filename":"image_15042025_09_43_36_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b67bf64316c8f730790dfb925e256cec.jpg","text":"TemporaryFile(/tmp/multipartBody7485737924572730348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705122799,"filename":"image_15042025_09_43_06_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71bc4f0c32b21a0907b42adda916f68a.jpg","text":"TemporaryFile(/tmp/multipartBody5641455274272530786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705122799,"filename":"image_15042025_09_43_21_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836562","file1":"1349836551","file0":"1349836483","file4":"1349836621","file5":"1349836637","file3":"1349836569"},"map_files_photo_id_array":[{"photo_id":"1349836637","filename":"file5"},{"photo_id":"1349836562","filename":"file2"},{"photo_id":"1349836621","filename":"file4"},{"photo_id":"1349836551","filename":"file1"},{"photo_id":"1349836483","filename":"file0"},{"photo_id":"1349836569","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349836569":["hashtag1","hashtag2"]},{"1349836551":["hashtag1","hashtag2"]},{"1349836562":["hashtag1","hashtag2"]},{"1349836637":["hashtag1","hashtag2"]},{"1349836483":["hashtag1","hashtag2"]},{"1349836621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349836569, 1349836551, 1349836562, 1349836637, 1349836483, 1349836621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92140793800354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:18:22.557579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/43/image_15042025_09_44_01_3720.jpg', '/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_22_3775.jpg', '/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_24_2603.jpg', '/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_27_2794.jpg', '/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_30_2694.jpg', '/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_34_3803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/43/image_15042025_09_44_01_3720.jpg
/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_22_3775.jpg
/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_24_2603.jpg
/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_27_2794.jpg
/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_30_2694.jpg
/home/pi/Desktop/images/15042025/09/44/image_15042025_09_44_34_3803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349836772","1349836673","1349836736","1349836712","1349836765","1349836759"],"photo_ids_order":["1349836673","1349836712","1349836736","1349836759","1349836765","1349836772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f45b0b558afbcfd5009d33f7ef091580.jpg","text":"TemporaryFile(/tmp/multipartBody7211874289944389851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705163293,"filename":"image_15042025_09_44_34_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf3a440bce051d37f0b45e4d1d772fcb.jpg","text":"TemporaryFile(/tmp/multipartBody2370022692262553158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705163293,"filename":"image_15042025_09_44_01_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb28a1ecef108c6a1414f99953e750f6.jpg","text":"TemporaryFile(/tmp/multipartBody5850001893269283997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705163293,"filename":"image_15042025_09_44_24_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93088a9bfe7aec1245f9249bfa9416ec.jpg","text":"TemporaryFile(/tmp/multipartBody5240879445974079083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705163293,"filename":"image_15042025_09_44_22_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19183c4ff6b4ca1557e407032b298814.jpg","text":"TemporaryFile(/tmp/multipartBody2822265728177302788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705163293,"filename":"image_15042025_09_44_30_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd8545cec58736db6c753290902548d8.jpg","text":"TemporaryFile(/tmp/multipartBody3950157898166721324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705163293,"filename":"image_15042025_09_44_27_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836736","file1":"1349836712","file0":"1349836673","file4":"1349836765","file5":"1349836772","file3":"1349836759"},"map_files_photo_id_array":[{"photo_id":"1349836772","filename":"file5"},{"photo_id":"1349836736","filename":"file2"},{"photo_id":"1349836765","filename":"file4"},{"photo_id":"1349836712","filename":"file1"},{"photo_id":"1349836673","filename":"file0"},{"photo_id":"1349836759","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349836772":["hashtag1","hashtag2"]},{"1349836673":["hashtag1","hashtag2"]},{"1349836736":["hashtag1","hashtag2"]},{"1349836712":["hashtag1","hashtag2"]},{"1349836765":["hashtag1","hashtag2"]},{"1349836759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349836772, 1349836673, 1349836736, 1349836712, 1349836765, 1349836759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59184765815735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:19:03.643443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_40_3819.jpg', '/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_45_2589.jpg', '/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_49_3630.jpg', '/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_51_2673.jpg', '/home/pi/Desktop/images/15042025/09/46/image_15042025_09_46_54_2709.jpg', '/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_15_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_40_3819.jpg
/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_45_2589.jpg
/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_49_3630.jpg
/home/pi/Desktop/images/15042025/09/45/image_15042025_09_45_51_2673.jpg
/home/pi/Desktop/images/15042025/09/46/image_15042025_09_46_54_2709.jpg
/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_15_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349836881","1349836898","1349836885","1349836876","1349836864","1349836840"],"photo_ids_order":["1349836840","1349836864","1349836876","1349836881","1349836885","1349836898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b7e6b729ad9f3a89db6ea81cc2dff9b.jpg","text":"TemporaryFile(/tmp/multipartBody2665566751080792171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705204573,"filename":"image_15042025_09_45_51_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/657b3ecd5aec28c4da7a80d68d8dc79d.jpg","text":"TemporaryFile(/tmp/multipartBody7615833059256692289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705204573,"filename":"image_15042025_09_47_15_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/697190c8c628b3766630c9df7d51b220.jpg","text":"TemporaryFile(/tmp/multipartBody8046122877985545109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705204573,"filename":"image_15042025_09_46_54_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20dc53136a53b954a0656cfe69b4b4fb.jpg","text":"TemporaryFile(/tmp/multipartBody2301854921604592555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705204573,"filename":"image_15042025_09_45_49_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f2515d0e5fa8c59b4154f360b0bc51c.jpg","text":"TemporaryFile(/tmp/multipartBody8256534497350896548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705204573,"filename":"image_15042025_09_45_45_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77fc9bd1c0058f5cd671dbd0581452e5.jpg","text":"TemporaryFile(/tmp/multipartBody1741106696018758243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705204573,"filename":"image_15042025_09_45_40_3819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836876","file1":"1349836864","file0":"1349836840","file4":"1349836885","file5":"1349836898","file3":"1349836881"},"map_files_photo_id_array":[{"photo_id":"1349836898","filename":"file5"},{"photo_id":"1349836876","filename":"file2"},{"photo_id":"1349836885","filename":"file4"},{"photo_id":"1349836864","filename":"file1"},{"photo_id":"1349836840","filename":"file0"},{"photo_id":"1349836881","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349836881":["hashtag1","hashtag2"]},{"1349836898":["hashtag1","hashtag2"]},{"1349836885":["hashtag1","hashtag2"]},{"1349836876":["hashtag1","hashtag2"]},{"1349836864":["hashtag1","hashtag2"]},{"1349836840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349836881, 1349836898, 1349836885, 1349836876, 1349836864, 1349836840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40515947341919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:19:42.774959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_18_3633.jpg', '/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_30_2806.jpg', '/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_33_2637.jpg', '/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_36_3724.jpg', '/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_45_2834.jpg', '/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_03_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_18_3633.jpg
/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_30_2806.jpg
/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_33_2637.jpg
/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_36_3724.jpg
/home/pi/Desktop/images/15042025/09/47/image_15042025_09_47_45_2834.jpg
/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_03_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349836992","1349836971","1349837022","1349836997","1349836984","1349836954"],"photo_ids_order":["1349836954","1349836971","1349836984","1349836992","1349836997","1349837022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4764aeb001f9c70562b3bb5ad01b700.jpg","text":"TemporaryFile(/tmp/multipartBody8215305817958288174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705243490,"filename":"image_15042025_09_47_36_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26500b6b747db59912051e92de740321.jpg","text":"TemporaryFile(/tmp/multipartBody2828919003041090285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705243490,"filename":"image_15042025_09_47_30_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc2d64ecb3c0010b3f9a4df54e24d588.jpg","text":"TemporaryFile(/tmp/multipartBody481729701288154860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705243490,"filename":"image_15042025_09_48_03_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0043b07f7c94f03af39dcf082128392.jpg","text":"TemporaryFile(/tmp/multipartBody4648266629947092871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705243490,"filename":"image_15042025_09_47_45_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc2ca6748db94504bfc77bbecc186aec.jpg","text":"TemporaryFile(/tmp/multipartBody4528081006629266176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705243490,"filename":"image_15042025_09_47_33_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d56cb63fe9393563373167958e05f484.jpg","text":"TemporaryFile(/tmp/multipartBody6926363747801357720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705243490,"filename":"image_15042025_09_47_18_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836984","file1":"1349836971","file0":"1349836954","file4":"1349836997","file5":"1349837022","file3":"1349836992"},"map_files_photo_id_array":[{"photo_id":"1349837022","filename":"file5"},{"photo_id":"1349836984","filename":"file2"},{"photo_id":"1349836997","filename":"file4"},{"photo_id":"1349836971","filename":"file1"},{"photo_id":"1349836954","filename":"file0"},{"photo_id":"1349836992","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349836992":["hashtag1","hashtag2"]},{"1349836971":["hashtag1","hashtag2"]},{"1349837022":["hashtag1","hashtag2"]},{"1349836997":["hashtag1","hashtag2"]},{"1349836984":["hashtag1","hashtag2"]},{"1349836954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349836992, 1349836971, 1349837022, 1349836997, 1349836984, 1349836954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.959277629852295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:20:22.476962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_42_2696.jpg', '/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_54_2692.jpg', '/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_57_3645.jpg', '/home/pi/Desktop/images/15042025/09/48/image_15042025_09_49_00_2917.jpg', '/home/pi/Desktop/images/15042025/09/49/image_15042025_09_49_30_3634.jpg', '/home/pi/Desktop/images/15042025/09/49/image_15042025_09_49_51_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_42_2696.jpg
/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_54_2692.jpg
/home/pi/Desktop/images/15042025/09/48/image_15042025_09_48_57_3645.jpg
/home/pi/Desktop/images/15042025/09/48/image_15042025_09_49_00_2917.jpg
/home/pi/Desktop/images/15042025/09/49/image_15042025_09_49_30_3634.jpg
/home/pi/Desktop/images/15042025/09/49/image_15042025_09_49_51_2543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349837145","1349837127","1349837136","1349837114","1349837119","1349837110"],"photo_ids_order":["1349837110","1349837114","1349837119","1349837127","1349837136","1349837145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2380a43e692a75be2c657d2c19b7d4ad.jpg","text":"TemporaryFile(/tmp/multipartBody2210726079916775546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705283198,"filename":"image_15042025_09_49_51_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/763505b155ef61cbab0c6e2cf981235b.jpg","text":"TemporaryFile(/tmp/multipartBody8606203338346262041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705283198,"filename":"image_15042025_09_49_00_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd0a6de9f80094322820900d791a9cff.jpg","text":"TemporaryFile(/tmp/multipartBody1129977457972110759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705283198,"filename":"image_15042025_09_49_30_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/648523633e24fb3ea40a1c182c6a6f41.jpg","text":"TemporaryFile(/tmp/multipartBody7410099518809192257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705283198,"filename":"image_15042025_09_48_54_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99dd0044e046a440f0d6e4e33448daca.jpg","text":"TemporaryFile(/tmp/multipartBody4353549343177045364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705283198,"filename":"image_15042025_09_48_57_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9c7577eb66acdb1b3ae4529d3e18aa8.jpg","text":"TemporaryFile(/tmp/multipartBody6774698863044425454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705283198,"filename":"image_15042025_09_48_42_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837119","file1":"1349837114","file0":"1349837110","file4":"1349837136","file5":"1349837145","file3":"1349837127"},"map_files_photo_id_array":[{"photo_id":"1349837145","filename":"file5"},{"photo_id":"1349837119","filename":"file2"},{"photo_id":"1349837136","filename":"file4"},{"photo_id":"1349837114","filename":"file1"},{"photo_id":"1349837110","filename":"file0"},{"photo_id":"1349837127","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349837145":["hashtag1","hashtag2"]},{"1349837127":["hashtag1","hashtag2"]},{"1349837136":["hashtag1","hashtag2"]},{"1349837114":["hashtag1","hashtag2"]},{"1349837119":["hashtag1","hashtag2"]},{"1349837110":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349837145, 1349837127, 1349837136, 1349837114, 1349837119, 1349837110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77406907081604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:21:02.904283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_18_3622.jpg', '/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_36_3658.jpg', '/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_39_2791.jpg', '/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_41_2706.jpg', '/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_44_2543.jpg', '/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_47_3508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_18_3622.jpg
/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_36_3658.jpg
/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_39_2791.jpg
/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_41_2706.jpg
/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_44_2543.jpg
/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_47_3508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349837226","1349837169","1349837176","1349837230","1349837218","1349837203"],"photo_ids_order":["1349837169","1349837176","1349837203","1349837218","1349837226","1349837230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e1173fb85a4a8518c783154d56f0672.jpg","text":"TemporaryFile(/tmp/multipartBody7330529648446648831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705323740,"filename":"image_15042025_10_01_44_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf1e3a937b38fef874418d840b7e39c2.jpg","text":"TemporaryFile(/tmp/multipartBody2845411997029191761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705323740,"filename":"image_15042025_10_01_18_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/932c49f75e68741157687969f6b8ff54.jpg","text":"TemporaryFile(/tmp/multipartBody5842085990175036891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705323740,"filename":"image_15042025_10_01_36_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19a756f042b333e73dd12e8cab66ac8d.jpg","text":"TemporaryFile(/tmp/multipartBody4337105996259246828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705323740,"filename":"image_15042025_10_01_47_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25b0b8fdde642bc6f38ff4afd3f4bd04.jpg","text":"TemporaryFile(/tmp/multipartBody4366470491756664183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705323740,"filename":"image_15042025_10_01_41_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/747af4e64999acb5ace285bd3cfa9e5d.jpg","text":"TemporaryFile(/tmp/multipartBody7808471840314243167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705323740,"filename":"image_15042025_10_01_39_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837203","file1":"1349837176","file0":"1349837169","file4":"1349837226","file5":"1349837230","file3":"1349837218"},"map_files_photo_id_array":[{"photo_id":"1349837230","filename":"file5"},{"photo_id":"1349837203","filename":"file2"},{"photo_id":"1349837226","filename":"file4"},{"photo_id":"1349837176","filename":"file1"},{"photo_id":"1349837169","filename":"file0"},{"photo_id":"1349837218","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349837226":["hashtag1","hashtag2"]},{"1349837169":["hashtag1","hashtag2"]},{"1349837176":["hashtag1","hashtag2"]},{"1349837230":["hashtag1","hashtag2"]},{"1349837218":["hashtag1","hashtag2"]},{"1349837203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349837226, 1349837169, 1349837176, 1349837230, 1349837218, 1349837203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00320076942444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:21:42.195880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_50_2553.jpg', '/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_54_3626.jpg', '/home/pi/Desktop/images/15042025/10/02/image_15042025_10_02_03_3668.jpg', '/home/pi/Desktop/images/15042025/10/03/image_15042025_10_03_20_2771.jpg', '/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_11_2812.jpg', '/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_15_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_50_2553.jpg
/home/pi/Desktop/images/15042025/10/01/image_15042025_10_01_54_3626.jpg
/home/pi/Desktop/images/15042025/10/02/image_15042025_10_02_03_3668.jpg
/home/pi/Desktop/images/15042025/10/03/image_15042025_10_03_20_2771.jpg
/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_11_2812.jpg
/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_15_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349837370","1349837352","1349837319","1349837363","1349837383","1349837376"],"photo_ids_order":["1349837319","1349837352","1349837363","1349837370","1349837376","1349837383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e76f074604c06e06d8bac6e978a637a.jpg","text":"TemporaryFile(/tmp/multipartBody4939569048435052200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705362971,"filename":"image_15042025_10_03_20_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/310c3fe4cf80a7e1ef24f23ecf352ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8552032670340470610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705362971,"filename":"image_15042025_10_01_54_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2952741d05ee735c7d0ce314e4a2b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6867690105014618266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705362971,"filename":"image_15042025_10_01_50_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3bc9cab4f1734438ddfaf78d08a18f2.jpg","text":"TemporaryFile(/tmp/multipartBody4403824274856479545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705362971,"filename":"image_15042025_10_02_03_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9304409575dddba8334d6c709a2ac40.jpg","text":"TemporaryFile(/tmp/multipartBody1237403894872257015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705362971,"filename":"image_15042025_10_04_15_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86244a7581f84ecd8d174e1d5f7c3904.jpg","text":"TemporaryFile(/tmp/multipartBody8734314591372984527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705362971,"filename":"image_15042025_10_04_11_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837363","file1":"1349837352","file0":"1349837319","file4":"1349837376","file5":"1349837383","file3":"1349837370"},"map_files_photo_id_array":[{"photo_id":"1349837383","filename":"file5"},{"photo_id":"1349837363","filename":"file2"},{"photo_id":"1349837376","filename":"file4"},{"photo_id":"1349837352","filename":"file1"},{"photo_id":"1349837319","filename":"file0"},{"photo_id":"1349837370","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349837370":["hashtag1","hashtag2"]},{"1349837352":["hashtag1","hashtag2"]},{"1349837319":["hashtag1","hashtag2"]},{"1349837363":["hashtag1","hashtag2"]},{"1349837383":["hashtag1","hashtag2"]},{"1349837376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349837370, 1349837352, 1349837319, 1349837363, 1349837383, 1349837376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58776664733887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:22:22.573667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_26_2655.jpg', '/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_38_2656.jpg', '/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_07_3011.jpg', '/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_11_3684.jpg', '/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_19_3612.jpg', '/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_22_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_26_2655.jpg
/home/pi/Desktop/images/15042025/10/04/image_15042025_10_04_38_2656.jpg
/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_07_3011.jpg
/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_11_3684.jpg
/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_19_3612.jpg
/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_22_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349837657","1349837555","1349837857","1349837452","1349837830","1349837793"],"photo_ids_order":["1349837452","1349837555","1349837657","1349837793","1349837830","1349837857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5466fb793b53110a23d3a9eca17c038e.jpg","text":"TemporaryFile(/tmp/multipartBody4605842575557991359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705403324,"filename":"image_15042025_10_05_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a33b663f19ee46bb8787607ab75e2d0b.jpg","text":"TemporaryFile(/tmp/multipartBody408214078753458417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705403324,"filename":"image_15042025_10_04_38_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6efec6c2bcab1fb923ad413fb62d4ed6.jpg","text":"TemporaryFile(/tmp/multipartBody935362107397330053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705403324,"filename":"image_15042025_10_05_22_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3d7cc6f984d84af4736befda107c2d5.jpg","text":"TemporaryFile(/tmp/multipartBody4556477319526630030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705403324,"filename":"image_15042025_10_04_26_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a944086b543c9cf03c43dfa5d9c1b48a.jpg","text":"TemporaryFile(/tmp/multipartBody3899966743894556962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705403324,"filename":"image_15042025_10_05_19_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e74ce3be945a432ca853c6ed309b5aae.jpg","text":"TemporaryFile(/tmp/multipartBody3797003614679113063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705403324,"filename":"image_15042025_10_05_11_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837657","file1":"1349837555","file0":"1349837452","file4":"1349837830","file5":"1349837857","file3":"1349837793"},"map_files_photo_id_array":[{"photo_id":"1349837857","filename":"file5"},{"photo_id":"1349837657","filename":"file2"},{"photo_id":"1349837830","filename":"file4"},{"photo_id":"1349837555","filename":"file1"},{"photo_id":"1349837452","filename":"file0"},{"photo_id":"1349837793","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349837657":["hashtag1","hashtag2"]},{"1349837555":["hashtag1","hashtag2"]},{"1349837857":["hashtag1","hashtag2"]},{"1349837452":["hashtag1","hashtag2"]},{"1349837830":["hashtag1","hashtag2"]},{"1349837793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349837657, 1349837555, 1349837857, 1349837452, 1349837830, 1349837793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.44491243362427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:23:22.570773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_25_2564.jpg', '/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_29_3682.jpg', '/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_31_2636.jpg', '/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_34_2648.jpg', '/home/pi/Desktop/images/15042025/10/06/image_15042025_10_06_13_3096.jpg', '/home/pi/Desktop/images/15042025/10/08/image_15042025_10_08_28_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_25_2564.jpg
/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_29_3682.jpg
/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_31_2636.jpg
/home/pi/Desktop/images/15042025/10/05/image_15042025_10_05_34_2648.jpg
/home/pi/Desktop/images/15042025/10/06/image_15042025_10_06_13_3096.jpg
/home/pi/Desktop/images/15042025/10/08/image_15042025_10_08_28_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349838089","1349838079","1349838064","1349838192","1349838096","1349838126"],"photo_ids_order":["1349838064","1349838079","1349838089","1349838096","1349838126","1349838192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a197e13653774b61e3ad9f1d11aec2e.jpg","text":"TemporaryFile(/tmp/multipartBody5219152548157009626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463328,"filename":"image_15042025_10_05_31_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf95997dec72153af30b39c238ce56e2.jpg","text":"TemporaryFile(/tmp/multipartBody3788240645032087662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463328,"filename":"image_15042025_10_05_29_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b83e10c84a67c088882befe194399ae.jpg","text":"TemporaryFile(/tmp/multipartBody3249577913306793506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463328,"filename":"image_15042025_10_05_25_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3067957705be5c69897fc61429616630.jpg","text":"TemporaryFile(/tmp/multipartBody53343797348573022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463328,"filename":"image_15042025_10_08_28_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21090495624ad802e8c1cee5166b4258.jpg","text":"TemporaryFile(/tmp/multipartBody6047398542607475768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463328,"filename":"image_15042025_10_05_34_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e4b826c8f0785715e6a0591180d8878.jpg","text":"TemporaryFile(/tmp/multipartBody1416315062080010841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463328,"filename":"image_15042025_10_06_13_3096.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838089","file1":"1349838079","file0":"1349838064","file4":"1349838126","file5":"1349838192","file3":"1349838096"},"map_files_photo_id_array":[{"photo_id":"1349838192","filename":"file5"},{"photo_id":"1349838089","filename":"file2"},{"photo_id":"1349838126","filename":"file4"},{"photo_id":"1349838079","filename":"file1"},{"photo_id":"1349838064","filename":"file0"},{"photo_id":"1349838096","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349838089":["hashtag1","hashtag2"]},{"1349838079":["hashtag1","hashtag2"]},{"1349838064":["hashtag1","hashtag2"]},{"1349838192":["hashtag1","hashtag2"]},{"1349838096":["hashtag1","hashtag2"]},{"1349838126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349838089, 1349838079, 1349838064, 1349838192, 1349838096, 1349838126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4668083190918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:24:02.553776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/09/image_15042025_10_09_37_2655.jpg', '/home/pi/Desktop/images/15042025/10/10/image_15042025_10_10_14_2870.jpg', '/home/pi/Desktop/images/15042025/10/11/image_15042025_10_11_23_3592.jpg', '/home/pi/Desktop/images/15042025/10/12/image_15042025_10_12_55_2655.jpg', '/home/pi/Desktop/images/15042025/10/13/image_15042025_10_13_59_3834.jpg', '/home/pi/Desktop/images/15042025/10/14/image_15042025_10_14_23_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/09/image_15042025_10_09_37_2655.jpg
/home/pi/Desktop/images/15042025/10/10/image_15042025_10_10_14_2870.jpg
/home/pi/Desktop/images/15042025/10/11/image_15042025_10_11_23_3592.jpg
/home/pi/Desktop/images/15042025/10/12/image_15042025_10_12_55_2655.jpg
/home/pi/Desktop/images/15042025/10/13/image_15042025_10_13_59_3834.jpg
/home/pi/Desktop/images/15042025/10/14/image_15042025_10_14_23_2817.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349838290","1349838272","1349838323","1349838355","1349838384","1349838279"],"photo_ids_order":["1349838272","1349838279","1349838290","1349838323","1349838355","1349838384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b31d120f79544b43810490031d9df4d.jpg","text":"TemporaryFile(/tmp/multipartBody2108500565161203507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705503441,"filename":"image_15042025_10_11_23_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/908e1e6b776a19d6df212fdd086ce209.jpg","text":"TemporaryFile(/tmp/multipartBody8330955796411998917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705503441,"filename":"image_15042025_10_09_37_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/805fd2d68d112675ba9fd0b070e61791.jpg","text":"TemporaryFile(/tmp/multipartBody805041685052830755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705503441,"filename":"image_15042025_10_12_55_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/378ef963ce09a82f9144e5bc5d607b07.jpg","text":"TemporaryFile(/tmp/multipartBody978531284090313303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705503441,"filename":"image_15042025_10_13_59_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5443965d4c18df3dfb9dad4d66512b6.jpg","text":"TemporaryFile(/tmp/multipartBody4892570575921127752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705503441,"filename":"image_15042025_10_14_23_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92f96bdc3e861e11f00c1e59295e2743.jpg","text":"TemporaryFile(/tmp/multipartBody8046397219680616090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705503441,"filename":"image_15042025_10_10_14_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838290","file1":"1349838279","file0":"1349838272","file4":"1349838355","file5":"1349838384","file3":"1349838323"},"map_files_photo_id_array":[{"photo_id":"1349838384","filename":"file5"},{"photo_id":"1349838290","filename":"file2"},{"photo_id":"1349838355","filename":"file4"},{"photo_id":"1349838279","filename":"file1"},{"photo_id":"1349838272","filename":"file0"},{"photo_id":"1349838323","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349838290":["hashtag1","hashtag2"]},{"1349838272":["hashtag1","hashtag2"]},{"1349838323":["hashtag1","hashtag2"]},{"1349838355":["hashtag1","hashtag2"]},{"1349838384":["hashtag1","hashtag2"]},{"1349838279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349838290, 1349838272, 1349838323, 1349838355, 1349838384, 1349838279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.592862606048584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:24:41.928362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/16/image_15042025_10_16_07_3011.jpg', '/home/pi/Desktop/images/15042025/10/16/image_15042025_10_16_34_2674.jpg', '/home/pi/Desktop/images/15042025/10/16/image_15042025_10_16_55_2658.jpg', '/home/pi/Desktop/images/15042025/10/17/image_15042025_10_17_20_3708.jpg', '/home/pi/Desktop/images/15042025/10/18/image_15042025_10_18_04_2700.jpg', '/home/pi/Desktop/images/15042025/10/18/image_15042025_10_18_31_2905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/16/image_15042025_10_16_07_3011.jpg
/home/pi/Desktop/images/15042025/10/16/image_15042025_10_16_34_2674.jpg
/home/pi/Desktop/images/15042025/10/16/image_15042025_10_16_55_2658.jpg
/home/pi/Desktop/images/15042025/10/17/image_15042025_10_17_20_3708.jpg
/home/pi/Desktop/images/15042025/10/18/image_15042025_10_18_04_2700.jpg
/home/pi/Desktop/images/15042025/10/18/image_15042025_10_18_31_2905.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349838504","1349838584","1349838536","1349838556","1349838463","1349838579"],"photo_ids_order":["1349838463","1349838504","1349838536","1349838556","1349838579","1349838584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3a1c4a0d38909131932100a04625ecd.jpg","text":"TemporaryFile(/tmp/multipartBody5027606895707022418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705542653,"filename":"image_15042025_10_16_34_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e2894e32d4b699c95d0f77bcee0d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody2250800241730246380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705542653,"filename":"image_15042025_10_18_31_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c58b7f666ab7420286a3943983f2049e.jpg","text":"TemporaryFile(/tmp/multipartBody7256171562111772856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705542653,"filename":"image_15042025_10_16_55_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c97955425fc8b14f2ed67bae4d92a30.jpg","text":"TemporaryFile(/tmp/multipartBody3474310870215535238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705542653,"filename":"image_15042025_10_17_20_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbf4127bb2a23bb3c17f2097f1a007c0.jpg","text":"TemporaryFile(/tmp/multipartBody427734227594004039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705542653,"filename":"image_15042025_10_16_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0967467959a3345ecf4be3a3f174e49d.jpg","text":"TemporaryFile(/tmp/multipartBody6585305231595404798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705542653,"filename":"image_15042025_10_18_04_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838536","file1":"1349838504","file0":"1349838463","file4":"1349838579","file5":"1349838584","file3":"1349838556"},"map_files_photo_id_array":[{"photo_id":"1349838584","filename":"file5"},{"photo_id":"1349838536","filename":"file2"},{"photo_id":"1349838579","filename":"file4"},{"photo_id":"1349838504","filename":"file1"},{"photo_id":"1349838463","filename":"file0"},{"photo_id":"1349838556","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349838504":["hashtag1","hashtag2"]},{"1349838584":["hashtag1","hashtag2"]},{"1349838536":["hashtag1","hashtag2"]},{"1349838556":["hashtag1","hashtag2"]},{"1349838463":["hashtag1","hashtag2"]},{"1349838579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349838504, 1349838584, 1349838536, 1349838556, 1349838463, 1349838579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60526204109192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:25:22.155737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_19_2643.jpg', '/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_22_2764.jpg', '/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_43_2611.jpg', '/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_55_2695.jpg', '/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_14_2635.jpg', '/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_32_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_19_2643.jpg
/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_22_2764.jpg
/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_43_2611.jpg
/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_55_2695.jpg
/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_14_2635.jpg
/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_32_2619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6831893920898438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:25:42.117023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_19_2643.jpg', '/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_22_2764.jpg', '/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_43_2611.jpg', '/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_55_2695.jpg', '/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_14_2635.jpg', '/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_32_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_19_2643.jpg
/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_22_2764.jpg
/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_43_2611.jpg
/home/pi/Desktop/images/15042025/10/19/image_15042025_10_19_55_2695.jpg
/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_14_2635.jpg
/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_32_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349838851","1349838827","1349838861","1349838831","1349838813","1349838807"],"photo_ids_order":["1349838807","1349838813","1349838827","1349838831","1349838851","1349838861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75d7517ffc220d383565f927dc10b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody4560169593305266368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705602830,"filename":"image_15042025_10_20_14_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d8f4e995abaca4ac92fb57f0ab7e9c4.jpg","text":"TemporaryFile(/tmp/multipartBody6068723576817229282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705602830,"filename":"image_15042025_10_19_43_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1c53ae90a0693627cacede1a79300e2.jpg","text":"TemporaryFile(/tmp/multipartBody8903462956648221294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705602830,"filename":"image_15042025_10_20_32_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d0e35c48eeea5a8e1517d964e35f426.jpg","text":"TemporaryFile(/tmp/multipartBody8722083494381803153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705602830,"filename":"image_15042025_10_19_55_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ac527b8663e7a3c49d3531e79d6d533.jpg","text":"TemporaryFile(/tmp/multipartBody3214406295849544743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705602830,"filename":"image_15042025_10_19_22_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67af87b4128454d16aa4910d41164003.jpg","text":"TemporaryFile(/tmp/multipartBody6718982524096696701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705602830,"filename":"image_15042025_10_19_19_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838827","file1":"1349838813","file0":"1349838807","file4":"1349838851","file5":"1349838861","file3":"1349838831"},"map_files_photo_id_array":[{"photo_id":"1349838861","filename":"file5"},{"photo_id":"1349838827","filename":"file2"},{"photo_id":"1349838851","filename":"file4"},{"photo_id":"1349838813","filename":"file1"},{"photo_id":"1349838807","filename":"file0"},{"photo_id":"1349838831","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349838851":["hashtag1","hashtag2"]},{"1349838827":["hashtag1","hashtag2"]},{"1349838861":["hashtag1","hashtag2"]},{"1349838831":["hashtag1","hashtag2"]},{"1349838813":["hashtag1","hashtag2"]},{"1349838807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349838851, 1349838827, 1349838861, 1349838831, 1349838813, 1349838807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75186061859131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:26:22.425050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_44_2538.jpg', '/home/pi/Desktop/images/15042025/10/21/image_15042025_10_21_02_2687.jpg', '/home/pi/Desktop/images/15042025/10/21/image_15042025_10_21_09_3767.jpg', '/home/pi/Desktop/images/15042025/10/21/image_15042025_10_21_11_2736.jpg', '/home/pi/Desktop/images/15042025/10/22/image_15042025_10_22_32_2669.jpg', '/home/pi/Desktop/images/15042025/10/24/image_15042025_10_24_11_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/20/image_15042025_10_20_44_2538.jpg
/home/pi/Desktop/images/15042025/10/21/image_15042025_10_21_02_2687.jpg
/home/pi/Desktop/images/15042025/10/21/image_15042025_10_21_09_3767.jpg
/home/pi/Desktop/images/15042025/10/21/image_15042025_10_21_11_2736.jpg
/home/pi/Desktop/images/15042025/10/22/image_15042025_10_22_32_2669.jpg
/home/pi/Desktop/images/15042025/10/24/image_15042025_10_24_11_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349838892","1349838952","1349838931","1349838925","1349838942","1349838936"],"photo_ids_order":["1349838892","1349838925","1349838931","1349838936","1349838942","1349838952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/796c4f89495757bf5ff360c1ef6f0edb.jpg","text":"TemporaryFile(/tmp/multipartBody5905313193344769860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705643155,"filename":"image_15042025_10_20_44_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce0efddd49132dadfc140fc4724aabd3.jpg","text":"TemporaryFile(/tmp/multipartBody4812569280739490776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705643155,"filename":"image_15042025_10_24_11_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d02879bbc0429db7f22b75ff68674b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2327123265765050137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705643155,"filename":"image_15042025_10_21_09_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/378d901810ca26f76658cbcbd70e1349.jpg","text":"TemporaryFile(/tmp/multipartBody4264949185062070670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705643155,"filename":"image_15042025_10_21_02_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0851f96ce93bf8ada796fb31a84586c9.jpg","text":"TemporaryFile(/tmp/multipartBody1630436738680687554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705643155,"filename":"image_15042025_10_22_32_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90095c74bb96f74eae85016a205756ee.jpg","text":"TemporaryFile(/tmp/multipartBody8762845127736992379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705643155,"filename":"image_15042025_10_21_11_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838931","file1":"1349838925","file0":"1349838892","file4":"1349838942","file5":"1349838952","file3":"1349838936"},"map_files_photo_id_array":[{"photo_id":"1349838952","filename":"file5"},{"photo_id":"1349838931","filename":"file2"},{"photo_id":"1349838942","filename":"file4"},{"photo_id":"1349838925","filename":"file1"},{"photo_id":"1349838892","filename":"file0"},{"photo_id":"1349838936","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349838892":["hashtag1","hashtag2"]},{"1349838952":["hashtag1","hashtag2"]},{"1349838931":["hashtag1","hashtag2"]},{"1349838925":["hashtag1","hashtag2"]},{"1349838942":["hashtag1","hashtag2"]},{"1349838936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349838892, 1349838952, 1349838931, 1349838925, 1349838942, 1349838936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54438304901123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:27:02.782022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/26/image_15042025_10_26_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/26/image_15042025_10_26_07_3011.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349838976"],"photo_id":"1349838976","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5c70019b33a2ec24c5d6cca37db0f41.jpg","text":"TemporaryFile(/tmp/multipartBody3656210076132297839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705683404,"filename":"image_15042025_10_26_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349838976"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349838976"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.54249882698059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:27:22.126397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/26/image_15042025_10_26_37_2762.jpg', '/home/pi/Desktop/images/15042025/10/27/image_15042025_10_27_01_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/26/image_15042025_10_26_37_2762.jpg
/home/pi/Desktop/images/15042025/10/27/image_15042025_10_27_01_2789.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349838996","1349838990"],"photo_ids_order":["1349838990","1349838996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/baad9b304f1c94e57dcf8a801967aca2.jpg","text":"TemporaryFile(/tmp/multipartBody8344226978244728208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705702701,"filename":"image_15042025_10_27_01_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58db557db06996df15097ab4009f154f.jpg","text":"TemporaryFile(/tmp/multipartBody4386731132473060372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705702701,"filename":"image_15042025_10_26_37_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349838996","file0":"1349838990"},"map_files_photo_id_array":[{"photo_id":"1349838996","filename":"file1"},{"photo_id":"1349838990","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349838996":["hashtag1","hashtag2"]},{"1349838990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349838996, 1349838990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.630592584609985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:27:42.229319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
  port_id : 22327423
  datou_current_id : 2749847
in upload_from_sqlite, uploading in 22327423
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2749847&datou=0
/home/pi/Desktop/images/13042025/22/23/image_13042025_22_23_36_3592.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839020"],"photo_id":"1349839020","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d714136a0f3dd667f0b3558c17fff8f.jpg","text":"TemporaryFile(/tmp/multipartBody982011891456209413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705723261,"filename":"image_13042025_22_23_36_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349839020"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349839020"}],"hashtags":[],"portfolio_id":"22327423","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.6534903049469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:28:02.716774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/05/06/image_14042025_05_06_04_3634.jpg', '/home/pi/Desktop/images/14042025/05/30/image_14042025_05_30_58_3098.jpg', '/home/pi/Desktop/images/14042025/05/38/image_14042025_05_38_06_3582.jpg', '/home/pi/Desktop/images/14042025/05/43/image_14042025_05_43_38_2628.jpg', '/home/pi/Desktop/images/14042025/05/47/image_14042025_05_47_12_3642.jpg', '/home/pi/Desktop/images/14042025/05/48/image_14042025_05_48_05_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/05/06/image_14042025_05_06_04_3634.jpg
/home/pi/Desktop/images/14042025/05/30/image_14042025_05_30_58_3098.jpg
/home/pi/Desktop/images/14042025/05/38/image_14042025_05_38_06_3582.jpg
/home/pi/Desktop/images/14042025/05/43/image_14042025_05_43_38_2628.jpg
/home/pi/Desktop/images/14042025/05/47/image_14042025_05_47_12_3642.jpg
/home/pi/Desktop/images/14042025/05/48/image_14042025_05_48_05_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839054","1349839051","1349839065","1349839062","1349839070","1349839058"],"photo_ids_order":["1349839051","1349839054","1349839058","1349839062","1349839065","1349839070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b72c6965d4eb2454330163ecad89528b.jpg","text":"TemporaryFile(/tmp/multipartBody8718181760963091191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705745309,"filename":"image_14042025_05_30_58_3098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f557a12e1a3f3c59c41714d9c4796b3.jpg","text":"TemporaryFile(/tmp/multipartBody53761376229104022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705745309,"filename":"image_14042025_05_06_04_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64888119dccbfa8152817411cf66df39.jpg","text":"TemporaryFile(/tmp/multipartBody2433667939560092991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705745309,"filename":"image_14042025_05_47_12_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f14ca0182418c171c53438feca8a721c.jpg","text":"TemporaryFile(/tmp/multipartBody2981127344808011705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705745309,"filename":"image_14042025_05_43_38_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40525a60197d3aea8628d61d2820cb43.jpg","text":"TemporaryFile(/tmp/multipartBody6613824479461788449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705745309,"filename":"image_14042025_05_48_05_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e985f451ba793d5a5d70d25d624e0026.jpg","text":"TemporaryFile(/tmp/multipartBody4275804023127532201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705745309,"filename":"image_14042025_05_38_06_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839058","file1":"1349839054","file0":"1349839051","file4":"1349839065","file5":"1349839070","file3":"1349839062"},"map_files_photo_id_array":[{"photo_id":"1349839070","filename":"file5"},{"photo_id":"1349839058","filename":"file2"},{"photo_id":"1349839065","filename":"file4"},{"photo_id":"1349839054","filename":"file1"},{"photo_id":"1349839051","filename":"file0"},{"photo_id":"1349839062","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349839054":["hashtag1","hashtag2"]},{"1349839051":["hashtag1","hashtag2"]},{"1349839065":["hashtag1","hashtag2"]},{"1349839062":["hashtag1","hashtag2"]},{"1349839070":["hashtag1","hashtag2"]},{"1349839058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349839054, 1349839051, 1349839065, 1349839062, 1349839070, 1349839058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.211737394332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:28:42.148340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/27/image_15042025_10_27_28_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/27/image_15042025_10_27_28_2548.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839114"],"photo_id":"1349839114","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e01cc160ae88817f926b353b99ada1a1.jpg","text":"TemporaryFile(/tmp/multipartBody4961850731729862430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705782706,"filename":"image_15042025_10_27_28_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349839114"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349839114"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.713041305541992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:29:02.977233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/06/05/image_14042025_06_05_16_3589.jpg', '/home/pi/Desktop/images/14042025/06/44/image_14042025_06_44_09_2793.jpg', '/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_06_2695.jpg', '/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_29_2715.jpg', '/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_08_2806.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_11_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/06/05/image_14042025_06_05_16_3589.jpg
/home/pi/Desktop/images/14042025/06/44/image_14042025_06_44_09_2793.jpg
/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_06_2695.jpg
/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_29_2715.jpg
/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_08_2806.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_11_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839244","1349839171","1349839222","1349839251","1349839143","1349839206"],"photo_ids_order":["1349839143","1349839171","1349839206","1349839222","1349839244","1349839251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cfd01f68af2ce0a69993fa0ddf2992d.jpg","text":"TemporaryFile(/tmp/multipartBody2868021591145366656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805748,"filename":"image_14042025_07_19_08_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3aabfbe3f1152288f9f84faded431dbd.jpg","text":"TemporaryFile(/tmp/multipartBody1349375713088218256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805748,"filename":"image_14042025_06_44_09_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1890e483f1f6bdec4ee799fcce0e1041.jpg","text":"TemporaryFile(/tmp/multipartBody5322387269998572671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805748,"filename":"image_14042025_07_16_29_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79a4af0875823b9a38ed6c40c8e58e32.jpg","text":"TemporaryFile(/tmp/multipartBody9188081831067072421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805748,"filename":"image_14042025_07_21_11_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/013fa66e2e65b87e632e7e95d957b1a8.jpg","text":"TemporaryFile(/tmp/multipartBody6992450694021237902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805748,"filename":"image_14042025_06_05_16_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0b42e56b3a58e76ea7d9597d2ba9eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4894488766898653620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805748,"filename":"image_14042025_07_12_06_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839206","file1":"1349839171","file0":"1349839143","file4":"1349839244","file5":"1349839251","file3":"1349839222"},"map_files_photo_id_array":[{"photo_id":"1349839251","filename":"file5"},{"photo_id":"1349839206","filename":"file2"},{"photo_id":"1349839244","filename":"file4"},{"photo_id":"1349839171","filename":"file1"},{"photo_id":"1349839143","filename":"file0"},{"photo_id":"1349839222","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349839244":["hashtag1","hashtag2"]},{"1349839171":["hashtag1","hashtag2"]},{"1349839222":["hashtag1","hashtag2"]},{"1349839251":["hashtag1","hashtag2"]},{"1349839143":["hashtag1","hashtag2"]},{"1349839206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349839244, 1349839171, 1349839222, 1349839251, 1349839143, 1349839206)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.66073536872864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:30:02.800136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/28/image_15042025_10_28_19_3871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/28/image_15042025_10_28_19_3871.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839340"],"photo_id":"1349839340","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10f12aa6688e624ae2c45625b2da0a4c.jpg","text":"TemporaryFile(/tmp/multipartBody5025338612775168591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705863390,"filename":"image_15042025_10_28_19_3871.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349839340"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349839340"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.283527135848999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:30:22.146411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/29/image_15042025_10_29_22_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/29/image_15042025_10_29_22_2648.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839404"],"photo_id":"1349839404","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c717e8129d70e0deadff2a11fa04b29.jpg","text":"TemporaryFile(/tmp/multipartBody4036558615198231541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705882685,"filename":"image_15042025_10_29_22_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349839404"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349839404"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.59816312789917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:30:42.118448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_14_2640.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_17_2621.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_20_3593.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_23_2532.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_26_3583.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_29_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_14_2640.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_17_2621.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_20_3593.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_23_2532.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_26_3583.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_29_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839556","1349839505","1349839522","1349839494","1349839488","1349839481"],"photo_ids_order":["1349839481","1349839488","1349839494","1349839505","1349839522","1349839556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34ddeaa0bf019fa9a4973ebdc6e41522.jpg","text":"TemporaryFile(/tmp/multipartBody5928186254512143655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705903579,"filename":"image_14042025_07_21_29_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b940bfa9a4bc188e2fc0361bde4e523.jpg","text":"TemporaryFile(/tmp/multipartBody2624480412121873751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705903579,"filename":"image_14042025_07_21_23_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/318c06295c5d20c5a4dc98c73956a78b.jpg","text":"TemporaryFile(/tmp/multipartBody6849779661031468562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705903579,"filename":"image_14042025_07_21_26_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f896882f4f0815429e158ddd72c7e319.jpg","text":"TemporaryFile(/tmp/multipartBody5752171376617808213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705903579,"filename":"image_14042025_07_21_20_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3432e09340f0c2115b6f27eaa3abe4a4.jpg","text":"TemporaryFile(/tmp/multipartBody2501521687457162029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705903579,"filename":"image_14042025_07_21_17_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/025cba980fc8e0df4505ee594d82927c.jpg","text":"TemporaryFile(/tmp/multipartBody3729398296853383332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705903579,"filename":"image_14042025_07_21_14_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839494","file1":"1349839488","file0":"1349839481","file4":"1349839522","file5":"1349839556","file3":"1349839505"},"map_files_photo_id_array":[{"photo_id":"1349839556","filename":"file5"},{"photo_id":"1349839494","filename":"file2"},{"photo_id":"1349839522","filename":"file4"},{"photo_id":"1349839488","filename":"file1"},{"photo_id":"1349839481","filename":"file0"},{"photo_id":"1349839505","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349839556":["hashtag1","hashtag2"]},{"1349839505":["hashtag1","hashtag2"]},{"1349839522":["hashtag1","hashtag2"]},{"1349839494":["hashtag1","hashtag2"]},{"1349839488":["hashtag1","hashtag2"]},{"1349839481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349839556, 1349839505, 1349839522, 1349839494, 1349839488, 1349839481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38779020309448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:31:22.259293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/30/image_15042025_10_30_16_2899.jpg', '/home/pi/Desktop/images/15042025/10/31/image_15042025_10_31_08_2788.jpg', '/home/pi/Desktop/images/15042025/10/31/image_15042025_10_31_23_2914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/30/image_15042025_10_30_16_2899.jpg
/home/pi/Desktop/images/15042025/10/31/image_15042025_10_31_08_2788.jpg
/home/pi/Desktop/images/15042025/10/31/image_15042025_10_31_23_2914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839746","1349839761","1349839755"],"photo_ids_order":["1349839746","1349839755","1349839761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df8f783cbc204f708851682e5813ced0.jpg","text":"TemporaryFile(/tmp/multipartBody6277268935936707438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705942874,"filename":"image_15042025_10_30_16_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c966b3540b1e0202807b36c4af159001.jpg","text":"TemporaryFile(/tmp/multipartBody8779530542469636684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705942874,"filename":"image_15042025_10_31_23_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb5257f3d67607fbf7d5bc8fb83dc13c.jpg","text":"TemporaryFile(/tmp/multipartBody2280849594569814386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705942874,"filename":"image_15042025_10_31_08_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839761","file1":"1349839755","file0":"1349839746"},"map_files_photo_id_array":[{"photo_id":"1349839761","filename":"file2"},{"photo_id":"1349839755","filename":"file1"},{"photo_id":"1349839746","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349839746":["hashtag1","hashtag2"]},{"1349839761":["hashtag1","hashtag2"]},{"1349839755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349839746, 1349839761, 1349839755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.048715829849243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:32:03.301916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_32_2587.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_38_2690.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_41_2774.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_43_2753.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_47_3742.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_50_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_32_2587.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_38_2690.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_41_2774.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_43_2753.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_47_3742.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_50_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349839882","1349839843","1349839903","1349839989","1349840107","1349839920"],"photo_ids_order":["1349839843","1349839882","1349839903","1349839920","1349839989","1349840107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52385f39e94a302a637b4afa6d22876b.jpg","text":"TemporaryFile(/tmp/multipartBody7668034104992764359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705985859,"filename":"image_14042025_07_21_38_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9698d642d7c09442a475cc66e7ec5c15.jpg","text":"TemporaryFile(/tmp/multipartBody3002517022722977801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705985859,"filename":"image_14042025_07_21_32_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/feb78252af8f6815c68e11df4c2f1d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4693674465245469599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705985859,"filename":"image_14042025_07_21_41_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b85b4fbb8f2739a07f09439e8fde343b.jpg","text":"TemporaryFile(/tmp/multipartBody6240610793551474326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705985859,"filename":"image_14042025_07_21_47_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cde924826702887d828d73a612f6dd28.jpg","text":"TemporaryFile(/tmp/multipartBody4517055819168935234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705985859,"filename":"image_14042025_07_21_50_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f957a1dd835fa2093cc864009612b7ed.jpg","text":"TemporaryFile(/tmp/multipartBody8658622345259997715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705985859,"filename":"image_14042025_07_21_43_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839903","file1":"1349839882","file0":"1349839843","file4":"1349839989","file5":"1349840107","file3":"1349839920"},"map_files_photo_id_array":[{"photo_id":"1349840107","filename":"file5"},{"photo_id":"1349839903","filename":"file2"},{"photo_id":"1349839989","filename":"file4"},{"photo_id":"1349839882","filename":"file1"},{"photo_id":"1349839843","filename":"file0"},{"photo_id":"1349839920","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349839882":["hashtag1","hashtag2"]},{"1349839843":["hashtag1","hashtag2"]},{"1349839903":["hashtag1","hashtag2"]},{"1349839989":["hashtag1","hashtag2"]},{"1349840107":["hashtag1","hashtag2"]},{"1349839920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349839882, 1349839843, 1349839903, 1349839989, 1349840107, 1349839920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28988003730774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:32:42.761328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/31/image_15042025_10_31_37_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/31/image_15042025_10_31_37_2683.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349840135"],"photo_id":"1349840135","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46046fa7ef1dca3dae8128a1776d4ec4.jpg","text":"TemporaryFile(/tmp/multipartBody5637295366108770326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706023311,"filename":"image_15042025_10_31_37_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349840135"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349840135"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.304311275482178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:33:03.102555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_52_2594.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_56_3819.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_59_2595.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_2582.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_05_3706.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_08_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_52_2594.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_56_3819.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_59_2595.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_01_2582.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_05_3706.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_08_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349840168","1349840254","1349840248","1349840242","1349840175","1349840198"],"photo_ids_order":["1349840168","1349840175","1349840198","1349840242","1349840248","1349840254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1783970efa058e24e7a37a14386b259.jpg","text":"TemporaryFile(/tmp/multipartBody7463712530350246740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706045729,"filename":"image_14042025_07_21_52_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e128ca5cd05671fd8f6deb2c3de98242.jpg","text":"TemporaryFile(/tmp/multipartBody7009256861344193534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706045729,"filename":"image_14042025_07_22_08_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2dc58bfe1bf8e0a3c0b98126290eed3.jpg","text":"TemporaryFile(/tmp/multipartBody7178148727280353331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706045729,"filename":"image_14042025_07_22_05_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa5a555cd87c102173ac6e58d0a804ab.jpg","text":"TemporaryFile(/tmp/multipartBody4192091702505357310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706045729,"filename":"image_14042025_07_22_01_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c93e8b451ae3347fb63973865e4cc41.jpg","text":"TemporaryFile(/tmp/multipartBody253745940286122743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706045729,"filename":"image_14042025_07_21_56_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/606e17cecfa2009e6b9ecb29c2397ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2610890091302998867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706045729,"filename":"image_14042025_07_21_59_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840198","file1":"1349840175","file0":"1349840168","file4":"1349840248","file5":"1349840254","file3":"1349840242"},"map_files_photo_id_array":[{"photo_id":"1349840254","filename":"file5"},{"photo_id":"1349840198","filename":"file2"},{"photo_id":"1349840248","filename":"file4"},{"photo_id":"1349840175","filename":"file1"},{"photo_id":"1349840168","filename":"file0"},{"photo_id":"1349840242","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349840168":["hashtag1","hashtag2"]},{"1349840254":["hashtag1","hashtag2"]},{"1349840248":["hashtag1","hashtag2"]},{"1349840242":["hashtag1","hashtag2"]},{"1349840175":["hashtag1","hashtag2"]},{"1349840198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349840168, 1349840254, 1349840248, 1349840242, 1349840175, 1349840198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77576184272766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:33:42.363530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/32/image_15042025_10_32_26_3885.jpg', '/home/pi/Desktop/images/15042025/10/33/image_15042025_10_33_26_3782.jpg', '/home/pi/Desktop/images/15042025/10/33/image_15042025_10_33_29_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/32/image_15042025_10_32_26_3885.jpg
/home/pi/Desktop/images/15042025/10/33/image_15042025_10_33_26_3782.jpg
/home/pi/Desktop/images/15042025/10/33/image_15042025_10_33_29_2832.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349840299","1349840284","1349840305"],"photo_ids_order":["1349840284","1349840299","1349840305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4cfa672de6405a720399bb6831358ed.jpg","text":"TemporaryFile(/tmp/multipartBody8030170040929586080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706083021,"filename":"image_15042025_10_33_26_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b9b8f60408afd9c3bacee29400bd0d0.jpg","text":"TemporaryFile(/tmp/multipartBody113157409771084969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706083021,"filename":"image_15042025_10_32_26_3885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a04313b0b2e2199f7fd45d2af449fa15.jpg","text":"TemporaryFile(/tmp/multipartBody3307960072183816512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706083021,"filename":"image_15042025_10_33_29_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840305","file1":"1349840299","file0":"1349840284"},"map_files_photo_id_array":[{"photo_id":"1349840305","filename":"file2"},{"photo_id":"1349840299","filename":"file1"},{"photo_id":"1349840284","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349840299":["hashtag1","hashtag2"]},{"1349840284":["hashtag1","hashtag2"]},{"1349840305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349840299, 1349840284, 1349840305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.968369007110596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:34:22.381945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/33/image_15042025_10_33_31_2883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/33/image_15042025_10_33_31_2883.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349840383"],"photo_id":"1349840383","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a04e5099950bced3961e5813eff19f4b.jpg","text":"TemporaryFile(/tmp/multipartBody5158989754509357622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706122928,"filename":"image_15042025_10_33_31_2883.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349840383"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349840383"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.34345817565918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:34:42.437783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_10_2663.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_14_3651.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_17_2627.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_19_2542.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_23_3663.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_26_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_10_2663.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_14_3651.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_17_2627.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_19_2542.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_23_3663.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_26_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349840678","1349840589","1349840637","1349840550","1349840792","1349840505"],"photo_ids_order":["1349840505","1349840550","1349840589","1349840637","1349840678","1349840792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18b27e9596acc6ec17e05c65eae31164.jpg","text":"TemporaryFile(/tmp/multipartBody2673917946019165340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706143918,"filename":"image_14042025_07_22_23_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ade8dede2b4032d1ef30c31f206d7bee.jpg","text":"TemporaryFile(/tmp/multipartBody1028903911924761330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706143918,"filename":"image_14042025_07_22_17_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bbdc1d74fbf6a198fd30cbcb07a9be04.jpg","text":"TemporaryFile(/tmp/multipartBody2182312290787448398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706143918,"filename":"image_14042025_07_22_19_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/604c917c508f53feb592f34d56936580.jpg","text":"TemporaryFile(/tmp/multipartBody4816129519435406961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706143918,"filename":"image_14042025_07_22_14_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1aca847be42880a023d799cb58c51c96.jpg","text":"TemporaryFile(/tmp/multipartBody3702642521995990999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706143918,"filename":"image_14042025_07_22_26_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c8c75bee93c804b2b7f2cfda7344f18.jpg","text":"TemporaryFile(/tmp/multipartBody5908106793041064817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706143918,"filename":"image_14042025_07_22_10_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840589","file1":"1349840550","file0":"1349840505","file4":"1349840678","file5":"1349840792","file3":"1349840637"},"map_files_photo_id_array":[{"photo_id":"1349840792","filename":"file5"},{"photo_id":"1349840589","filename":"file2"},{"photo_id":"1349840678","filename":"file4"},{"photo_id":"1349840550","filename":"file1"},{"photo_id":"1349840505","filename":"file0"},{"photo_id":"1349840637","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349840678":["hashtag1","hashtag2"]},{"1349840589":["hashtag1","hashtag2"]},{"1349840637":["hashtag1","hashtag2"]},{"1349840550":["hashtag1","hashtag2"]},{"1349840792":["hashtag1","hashtag2"]},{"1349840505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349840678, 1349840589, 1349840637, 1349840550, 1349840792, 1349840505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73441505432129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:35:22.669186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_29_3585.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_32_2715.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_35_2687.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_37_2792.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_41_3540.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_44_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_29_3585.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_32_2715.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_35_2687.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_37_2792.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_41_3540.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_44_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349840899","1349840893","1349840920","1349840905","1349840949","1349840913"],"photo_ids_order":["1349840893","1349840899","1349840905","1349840913","1349840920","1349840949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a1eca6edb3285e47d3efd2fd2b4b54d.jpg","text":"TemporaryFile(/tmp/multipartBody1824549412276528419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706185830,"filename":"image_14042025_07_22_32_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6dc0193d8f4fa32fe06814237638077.jpg","text":"TemporaryFile(/tmp/multipartBody7617444374854499872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706185830,"filename":"image_14042025_07_22_29_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/470cf3effe5b6d936d1d2d40f158322e.jpg","text":"TemporaryFile(/tmp/multipartBody8662613419400628601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706185830,"filename":"image_14042025_07_22_41_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/205c5045007a982398f1bcc8b8c46587.jpg","text":"TemporaryFile(/tmp/multipartBody2423424153822537008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706185830,"filename":"image_14042025_07_22_35_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41cd5267224cd55f79becd3f291bddd4.jpg","text":"TemporaryFile(/tmp/multipartBody1446188809565103717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706185830,"filename":"image_14042025_07_22_44_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a20aded70f90516ec597f61f79319ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7035063189728242869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706185830,"filename":"image_14042025_07_22_37_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840905","file1":"1349840899","file0":"1349840893","file4":"1349840920","file5":"1349840949","file3":"1349840913"},"map_files_photo_id_array":[{"photo_id":"1349840949","filename":"file5"},{"photo_id":"1349840905","filename":"file2"},{"photo_id":"1349840920","filename":"file4"},{"photo_id":"1349840899","filename":"file1"},{"photo_id":"1349840893","filename":"file0"},{"photo_id":"1349840913","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349840899":["hashtag1","hashtag2"]},{"1349840893":["hashtag1","hashtag2"]},{"1349840920":["hashtag1","hashtag2"]},{"1349840905":["hashtag1","hashtag2"]},{"1349840949":["hashtag1","hashtag2"]},{"1349840913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349840899, 1349840893, 1349840920, 1349840905, 1349840949, 1349840913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45046925544739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:36:02.542170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_46_2865.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_50_3724.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_53_2980.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_59_2751.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_02_3005.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_04_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_46_2865.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_50_3724.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_53_2980.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_59_2751.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_02_3005.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_04_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349841056","1349841029","1349841101","1349841023","1349841096","1349841074"],"photo_ids_order":["1349841023","1349841029","1349841056","1349841074","1349841096","1349841101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33549ff89256672bb5a1c8131c803eee.jpg","text":"TemporaryFile(/tmp/multipartBody8381762239224399544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225065,"filename":"image_14042025_07_22_53_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/003215214fdd8c502af3a17e032b5860.jpg","text":"TemporaryFile(/tmp/multipartBody703272020552713276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225065,"filename":"image_14042025_07_22_50_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6213b6edf3b06da471dc8c10a2aab058.jpg","text":"TemporaryFile(/tmp/multipartBody881672813731203220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225065,"filename":"image_14042025_07_23_04_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/737ca5d08093e449978771a048706981.jpg","text":"TemporaryFile(/tmp/multipartBody9189543655864697026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225065,"filename":"image_14042025_07_22_46_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a45a045771e874b8d25ecf2b292a2350.jpg","text":"TemporaryFile(/tmp/multipartBody5172239058837611825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225065,"filename":"image_14042025_07_23_02_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/446b55abd6edfbbdd6bee6d6aca4cde4.jpg","text":"TemporaryFile(/tmp/multipartBody1499528608252335358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225065,"filename":"image_14042025_07_22_59_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841056","file1":"1349841029","file0":"1349841023","file4":"1349841096","file5":"1349841101","file3":"1349841074"},"map_files_photo_id_array":[{"photo_id":"1349841101","filename":"file5"},{"photo_id":"1349841056","filename":"file2"},{"photo_id":"1349841096","filename":"file4"},{"photo_id":"1349841029","filename":"file1"},{"photo_id":"1349841023","filename":"file0"},{"photo_id":"1349841074","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349841056":["hashtag1","hashtag2"]},{"1349841029":["hashtag1","hashtag2"]},{"1349841101":["hashtag1","hashtag2"]},{"1349841023":["hashtag1","hashtag2"]},{"1349841096":["hashtag1","hashtag2"]},{"1349841074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349841056, 1349841029, 1349841101, 1349841023, 1349841096, 1349841074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61046075820923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:37:02.680936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_08_3547.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_10_2540.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_14_3675.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_17_2613.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_19_2665.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_23_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_08_3547.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_10_2540.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_14_3675.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_17_2613.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_19_2665.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_23_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349841368","1349841346","1349841396","1349841375","1349841261","1349841303"],"photo_ids_order":["1349841261","1349841303","1349841346","1349841368","1349841375","1349841396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ce1bc7e74d72e273484549e938d692c.jpg","text":"TemporaryFile(/tmp/multipartBody299650021938651813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706285342,"filename":"image_14042025_07_23_17_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d616850f1439847054ac2cd3daa85759.jpg","text":"TemporaryFile(/tmp/multipartBody3166627219931613845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706285342,"filename":"image_14042025_07_23_14_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65cab13aee0bb14a5d9945e0bdef86c4.jpg","text":"TemporaryFile(/tmp/multipartBody6061924213937603398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706285342,"filename":"image_14042025_07_23_23_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ed873fb3367082d271aebd4d39a5956.jpg","text":"TemporaryFile(/tmp/multipartBody934081596385206983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706285342,"filename":"image_14042025_07_23_19_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f08931685317eb4af744d2e36d25c71f.jpg","text":"TemporaryFile(/tmp/multipartBody8638929094087486546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706285342,"filename":"image_14042025_07_23_08_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/497da9613196c8f6b82dac85675360c6.jpg","text":"TemporaryFile(/tmp/multipartBody6749985441540687725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706285342,"filename":"image_14042025_07_23_10_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841346","file1":"1349841303","file0":"1349841261","file4":"1349841375","file5":"1349841396","file3":"1349841368"},"map_files_photo_id_array":[{"photo_id":"1349841396","filename":"file5"},{"photo_id":"1349841346","filename":"file2"},{"photo_id":"1349841375","filename":"file4"},{"photo_id":"1349841303","filename":"file1"},{"photo_id":"1349841261","filename":"file0"},{"photo_id":"1349841368","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349841368":["hashtag1","hashtag2"]},{"1349841346":["hashtag1","hashtag2"]},{"1349841396":["hashtag1","hashtag2"]},{"1349841375":["hashtag1","hashtag2"]},{"1349841261":["hashtag1","hashtag2"]},{"1349841303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349841368, 1349841346, 1349841396, 1349841375, 1349841261, 1349841303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93392491340637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:37:42.044473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/34/image_15042025_10_34_31_3701.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_07_2812.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_10_2850.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_14_3765.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_17_2783.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_19_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/34/image_15042025_10_34_31_3701.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_07_2812.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_10_2850.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_14_3765.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_17_2783.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_19_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349841644","1349841545","1349841499","1349841654","1349841590","1349841458"],"photo_ids_order":["1349841458","1349841499","1349841545","1349841590","1349841644","1349841654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcbd8b84519bba7a4cebc968106108bc.jpg","text":"TemporaryFile(/tmp/multipartBody1320950953670366367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706322846,"filename":"image_15042025_10_37_17_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66713890afa1245a76a0a401373e0a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3950000879097505627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706322846,"filename":"image_15042025_10_37_10_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e955e1b12819fe9c100b9af3aef88be.jpg","text":"TemporaryFile(/tmp/multipartBody6795337458075298424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706322846,"filename":"image_15042025_10_37_07_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d70391bd856b3b389c79b9bca23dd0e.jpg","text":"TemporaryFile(/tmp/multipartBody7583601300625261089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706322846,"filename":"image_15042025_10_37_19_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bf4666a77aae832ae9536771bc6b73c.jpg","text":"TemporaryFile(/tmp/multipartBody1814852912099342051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706322846,"filename":"image_15042025_10_37_14_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/905c1a131d0880863b239fcf089ba76b.jpg","text":"TemporaryFile(/tmp/multipartBody6791787081508219959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706322846,"filename":"image_15042025_10_34_31_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841545","file1":"1349841499","file0":"1349841458","file4":"1349841644","file5":"1349841654","file3":"1349841590"},"map_files_photo_id_array":[{"photo_id":"1349841654","filename":"file5"},{"photo_id":"1349841545","filename":"file2"},{"photo_id":"1349841644","filename":"file4"},{"photo_id":"1349841499","filename":"file1"},{"photo_id":"1349841458","filename":"file0"},{"photo_id":"1349841590","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349841644":["hashtag1","hashtag2"]},{"1349841545":["hashtag1","hashtag2"]},{"1349841499":["hashtag1","hashtag2"]},{"1349841654":["hashtag1","hashtag2"]},{"1349841590":["hashtag1","hashtag2"]},{"1349841458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349841644, 1349841545, 1349841499, 1349841654, 1349841590, 1349841458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28274703025818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:38:41.795157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_23_3712.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_26_2793.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_28_2646.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_31_2683.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_35_3882.jpg', '/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_46_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_23_3712.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_26_2793.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_28_2646.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_31_2683.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_35_3882.jpg
/home/pi/Desktop/images/15042025/10/37/image_15042025_10_37_46_2863.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349841758","1349841766","1349841814","1349841810","1349841785","1349841776"],"photo_ids_order":["1349841758","1349841766","1349841776","1349841785","1349841810","1349841814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f97b365832bfe17975384739bd729a6.jpg","text":"TemporaryFile(/tmp/multipartBody1750005658288958143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706382532,"filename":"image_15042025_10_37_23_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7c0bee64eaafb6b348052baf8977191.jpg","text":"TemporaryFile(/tmp/multipartBody7283063580713871497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706382532,"filename":"image_15042025_10_37_26_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b96766abf214856ee3510df1c0f66003.jpg","text":"TemporaryFile(/tmp/multipartBody2566949375449788637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706382532,"filename":"image_15042025_10_37_46_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85bad640b8bd9605785faa8a9c4f1eb5.jpg","text":"TemporaryFile(/tmp/multipartBody1914935887851598861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706382532,"filename":"image_15042025_10_37_35_3882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac1dea25cc4162b232056b4a93bcccdb.jpg","text":"TemporaryFile(/tmp/multipartBody6398412078655082169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706382532,"filename":"image_15042025_10_37_31_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7c30726b50b268abcb7a00bca93f6b6.jpg","text":"TemporaryFile(/tmp/multipartBody8429669090210570556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706382532,"filename":"image_15042025_10_37_28_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841776","file1":"1349841766","file0":"1349841758","file4":"1349841810","file5":"1349841814","file3":"1349841785"},"map_files_photo_id_array":[{"photo_id":"1349841814","filename":"file5"},{"photo_id":"1349841776","filename":"file2"},{"photo_id":"1349841810","filename":"file4"},{"photo_id":"1349841766","filename":"file1"},{"photo_id":"1349841758","filename":"file0"},{"photo_id":"1349841785","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349841758":["hashtag1","hashtag2"]},{"1349841766":["hashtag1","hashtag2"]},{"1349841814":["hashtag1","hashtag2"]},{"1349841810":["hashtag1","hashtag2"]},{"1349841785":["hashtag1","hashtag2"]},{"1349841776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349841758, 1349841766, 1349841814, 1349841810, 1349841785, 1349841776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71341133117676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:39:21.926742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/38/image_15042025_10_38_19_2746.jpg', '/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_05_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/38/image_15042025_10_38_19_2746.jpg
/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_05_3626.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349841845","1349841834"],"photo_ids_order":["1349841834","1349841845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0f36e21688ac256be2d262931936f4a.jpg","text":"TemporaryFile(/tmp/multipartBody6287539763820204281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706422517,"filename":"image_15042025_10_39_05_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e365b98199d3de96f0d54f1e1d9add7.jpg","text":"TemporaryFile(/tmp/multipartBody3175661532439689263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706422517,"filename":"image_15042025_10_38_19_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349841845","file0":"1349841834"},"map_files_photo_id_array":[{"photo_id":"1349841845","filename":"file1"},{"photo_id":"1349841834","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349841845":["hashtag1","hashtag2"]},{"1349841834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349841845, 1349841834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.10316014289856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:39:42.238739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_26_2635.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_28_2623.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_32_3651.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_34_2596.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_38_3541.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_41_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_26_2635.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_28_2623.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_32_3651.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_34_2596.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_38_3541.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_41_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349841979","1349841937","1349842080","1349841987","1349842038","1349842067"],"photo_ids_order":["1349841937","1349841979","1349841987","1349842038","1349842067","1349842080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39719439d5372f8cd762d8e9897db0e1.jpg","text":"TemporaryFile(/tmp/multipartBody8305478003058554550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443710,"filename":"image_14042025_07_23_28_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffb8b17dc99bb289c9cb0f75876d5656.jpg","text":"TemporaryFile(/tmp/multipartBody666670213103281925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443710,"filename":"image_14042025_07_23_26_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac8573f10bced4189492343407cee5e2.jpg","text":"TemporaryFile(/tmp/multipartBody3049866892346959498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443710,"filename":"image_14042025_07_23_41_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e20b83b80c27adc538a6245a35132c6c.jpg","text":"TemporaryFile(/tmp/multipartBody4504623775948455592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443710,"filename":"image_14042025_07_23_32_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d37177e30c1da52bb7e573f2e73fd306.jpg","text":"TemporaryFile(/tmp/multipartBody6735922140284816162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443710,"filename":"image_14042025_07_23_34_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d1602ec6bca638054ce6353db4c86ff.jpg","text":"TemporaryFile(/tmp/multipartBody2450317158860726389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443710,"filename":"image_14042025_07_23_38_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841987","file1":"1349841979","file0":"1349841937","file4":"1349842067","file5":"1349842080","file3":"1349842038"},"map_files_photo_id_array":[{"photo_id":"1349842080","filename":"file5"},{"photo_id":"1349841987","filename":"file2"},{"photo_id":"1349842067","filename":"file4"},{"photo_id":"1349841979","filename":"file1"},{"photo_id":"1349841937","filename":"file0"},{"photo_id":"1349842038","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349841979":["hashtag1","hashtag2"]},{"1349841937":["hashtag1","hashtag2"]},{"1349842080":["hashtag1","hashtag2"]},{"1349841987":["hashtag1","hashtag2"]},{"1349842038":["hashtag1","hashtag2"]},{"1349842067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349841979, 1349841937, 1349842080, 1349841987, 1349842038, 1349842067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00903797149658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:40:22.553648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_50_3645.jpg', '/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_44_2727.jpg', '/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_55_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/39/image_15042025_10_39_50_3645.jpg
/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_44_2727.jpg
/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_55_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349842123","1349842117","1349842157"],"photo_ids_order":["1349842117","1349842123","1349842157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4903fb38880ca6be1c39299f8707ffc7.jpg","text":"TemporaryFile(/tmp/multipartBody4808492841867632186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706483157,"filename":"image_15042025_10_40_44_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/260fa30caab2fdd1a6b7d22abc483d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5631011019596197264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706483157,"filename":"image_15042025_10_39_50_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b38e36682771a39da88649ef0d8ca8e.jpg","text":"TemporaryFile(/tmp/multipartBody7223266723964374005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706483157,"filename":"image_15042025_10_40_55_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349842157","file1":"1349842123","file0":"1349842117"},"map_files_photo_id_array":[{"photo_id":"1349842157","filename":"file2"},{"photo_id":"1349842123","filename":"file1"},{"photo_id":"1349842117","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349842123":["hashtag1","hashtag2"]},{"1349842117":["hashtag1","hashtag2"]},{"1349842157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349842123, 1349842117, 1349842157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.059396743774414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:41:03.165150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_43_2724.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_47_3641.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_50_2645.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_52_2615.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_59_2766.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_01_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_43_2724.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_47_3641.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_50_2645.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_52_2615.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_59_2766.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_01_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349842390","1349842285","1349842507","1349842309","1349842481","1349842343"],"photo_ids_order":["1349842285","1349842309","1349842343","1349842390","1349842481","1349842507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d972fad48233d589d2fd451f4179df39.jpg","text":"TemporaryFile(/tmp/multipartBody7686298324978137456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706525771,"filename":"image_14042025_07_23_52_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59d209a980f973b0cdaf9876f6b2c502.jpg","text":"TemporaryFile(/tmp/multipartBody1002785930058774884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706525771,"filename":"image_14042025_07_23_43_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19bb7c7460647ce22895b42c8622a940.jpg","text":"TemporaryFile(/tmp/multipartBody2162409421079584295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706525771,"filename":"image_14042025_07_24_01_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/619ded0ebc9076157dcae880d2daaaa8.jpg","text":"TemporaryFile(/tmp/multipartBody3574696129790857000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706525771,"filename":"image_14042025_07_23_47_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fdbdde78e6b1db5aa0a74cbbf29cf404.jpg","text":"TemporaryFile(/tmp/multipartBody4962600834094081506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706525771,"filename":"image_14042025_07_23_59_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec05d24ad0fb8c710aa52344a1d9b9ed.jpg","text":"TemporaryFile(/tmp/multipartBody4899663259801477888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706525771,"filename":"image_14042025_07_23_50_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349842343","file1":"1349842309","file0":"1349842285","file4":"1349842481","file5":"1349842507","file3":"1349842390"},"map_files_photo_id_array":[{"photo_id":"1349842507","filename":"file5"},{"photo_id":"1349842343","filename":"file2"},{"photo_id":"1349842481","filename":"file4"},{"photo_id":"1349842309","filename":"file1"},{"photo_id":"1349842285","filename":"file0"},{"photo_id":"1349842390","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349842390":["hashtag1","hashtag2"]},{"1349842285":["hashtag1","hashtag2"]},{"1349842507":["hashtag1","hashtag2"]},{"1349842309":["hashtag1","hashtag2"]},{"1349842481":["hashtag1","hashtag2"]},{"1349842343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349842390, 1349842285, 1349842507, 1349842309, 1349842481, 1349842343)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.554203271865845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:42:02.772742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_58_2648.jpg', '/home/pi/Desktop/images/15042025/10/41/image_15042025_10_41_11_3529.jpg', '/home/pi/Desktop/images/15042025/10/41/image_15042025_10_41_32_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/40/image_15042025_10_40_58_2648.jpg
/home/pi/Desktop/images/15042025/10/41/image_15042025_10_41_11_3529.jpg
/home/pi/Desktop/images/15042025/10/41/image_15042025_10_41_32_3588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349842779","1349842784","1349842772"],"photo_ids_order":["1349842772","1349842779","1349842784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20d4ac338d9c4f5870040eac46d0a59b.jpg","text":"TemporaryFile(/tmp/multipartBody9045732598781917902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706583437,"filename":"image_15042025_10_41_11_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/265581d9297a9d729853e104f726f9ad.jpg","text":"TemporaryFile(/tmp/multipartBody8788455208450343075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706583437,"filename":"image_15042025_10_41_32_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a32675c88c0de7cc41a5c4c8eec7c4b9.jpg","text":"TemporaryFile(/tmp/multipartBody6429217371368480373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706583437,"filename":"image_15042025_10_40_58_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349842784","file1":"1349842779","file0":"1349842772"},"map_files_photo_id_array":[{"photo_id":"1349842784","filename":"file2"},{"photo_id":"1349842779","filename":"file1"},{"photo_id":"1349842772","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349842779":["hashtag1","hashtag2"]},{"1349842784":["hashtag1","hashtag2"]},{"1349842772":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349842779, 1349842784, 1349842772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.15635848045349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:42:42.228309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/41/image_15042025_10_41_43_2647.jpg', '/home/pi/Desktop/images/15042025/10/42/image_15042025_10_42_40_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/41/image_15042025_10_41_43_2647.jpg
/home/pi/Desktop/images/15042025/10/42/image_15042025_10_42_40_2827.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349843018","1349843047"],"photo_ids_order":["1349843018","1349843047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8e0fecd5f102e5352bebf1b509b8f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4559812913655966852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706622816,"filename":"image_15042025_10_41_43_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e5c3a0efff9702e0349315942988889.jpg","text":"TemporaryFile(/tmp/multipartBody5451731321892310640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706622816,"filename":"image_15042025_10_42_40_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349843047","file0":"1349843018"},"map_files_photo_id_array":[{"photo_id":"1349843047","filename":"file1"},{"photo_id":"1349843018","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349843018":["hashtag1","hashtag2"]},{"1349843047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349843018, 1349843047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.12519884109497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:43:03.133483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_04_2658.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_08_3672.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_10_2594.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_14_3569.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_17_2743.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_19_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_04_2658.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_08_3672.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_10_2594.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_14_3569.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_17_2743.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_19_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349843209","1349843175","1349843107","1349843159","1349843117","1349843132"],"photo_ids_order":["1349843107","1349843117","1349843132","1349843159","1349843175","1349843209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/341a610d66fae7e6ea311a3c2a6411c1.jpg","text":"TemporaryFile(/tmp/multipartBody4458407547425655761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645803,"filename":"image_14042025_07_24_19_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c11b08488e7656b2eca237c9d2986161.jpg","text":"TemporaryFile(/tmp/multipartBody3378736336641790063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645803,"filename":"image_14042025_07_24_17_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f922d22f81f2428cad366b09bf03c13.jpg","text":"TemporaryFile(/tmp/multipartBody6169189380687299051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645803,"filename":"image_14042025_07_24_04_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/462bc0d9ee6500261ca6203dfc02123c.jpg","text":"TemporaryFile(/tmp/multipartBody1483693334044474922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645803,"filename":"image_14042025_07_24_14_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00281ebdaf53de6c4cdfe65981f93286.jpg","text":"TemporaryFile(/tmp/multipartBody5825156072281539833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645803,"filename":"image_14042025_07_24_08_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a19af8bf6bacf1b063b454dffbdb3824.jpg","text":"TemporaryFile(/tmp/multipartBody8801738530650505069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645803,"filename":"image_14042025_07_24_10_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349843132","file1":"1349843117","file0":"1349843107","file4":"1349843175","file5":"1349843209","file3":"1349843159"},"map_files_photo_id_array":[{"photo_id":"1349843209","filename":"file5"},{"photo_id":"1349843132","filename":"file2"},{"photo_id":"1349843175","filename":"file4"},{"photo_id":"1349843117","filename":"file1"},{"photo_id":"1349843107","filename":"file0"},{"photo_id":"1349843159","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349843209":["hashtag1","hashtag2"]},{"1349843175":["hashtag1","hashtag2"]},{"1349843107":["hashtag1","hashtag2"]},{"1349843159":["hashtag1","hashtag2"]},{"1349843117":["hashtag1","hashtag2"]},{"1349843132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349843209, 1349843175, 1349843107, 1349843159, 1349843117, 1349843132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94150757789612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:43:42.516068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/42/image_15042025_10_42_55_2784.jpg', '/home/pi/Desktop/images/15042025/10/43/image_15042025_10_43_08_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/42/image_15042025_10_42_55_2784.jpg
/home/pi/Desktop/images/15042025/10/43/image_15042025_10_43_08_3597.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349843253","1349843263"],"photo_ids_order":["1349843253","1349843263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c55a8d7d68a4fcf033bfea97a702722.jpg","text":"TemporaryFile(/tmp/multipartBody1199378094496919481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706683098,"filename":"image_15042025_10_42_55_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad196e5d835d32c2b454afbdb42a30e3.jpg","text":"TemporaryFile(/tmp/multipartBody5198943342486480857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706683098,"filename":"image_15042025_10_43_08_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349843263","file0":"1349843253"},"map_files_photo_id_array":[{"photo_id":"1349843263","filename":"file1"},{"photo_id":"1349843253","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349843253":["hashtag1","hashtag2"]},{"1349843263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349843253, 1349843263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.800636291503906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:44:03.175295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_26_2718.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_28_2667.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_32_3700.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_35_2769.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_37_2554.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_41_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_26_2718.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_28_2667.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_32_3700.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_35_2769.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_37_2554.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_41_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349843340","1349843444","1349843432","1349843375","1349843438","1349843411"],"photo_ids_order":["1349843340","1349843375","1349843411","1349843432","1349843438","1349843444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4c2385e8137382e5d6744729bde1803.jpg","text":"TemporaryFile(/tmp/multipartBody2533796084416789361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706705830,"filename":"image_14042025_07_24_26_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0857a1be74e906f07601ab17b960123.jpg","text":"TemporaryFile(/tmp/multipartBody5183508733744621200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706705830,"filename":"image_14042025_07_24_41_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f4b26c49b05463f9239705d4ed93848.jpg","text":"TemporaryFile(/tmp/multipartBody5631266510870811150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706705830,"filename":"image_14042025_07_24_35_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c492235fc1cc6efb96dc4546b87345b.jpg","text":"TemporaryFile(/tmp/multipartBody4339379068514871729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706705830,"filename":"image_14042025_07_24_28_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bbd27da9287e7f5b363225e968dee6ca.jpg","text":"TemporaryFile(/tmp/multipartBody4538484879164133962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706705830,"filename":"image_14042025_07_24_37_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09a9f4b245c9fc2b022a763f53256422.jpg","text":"TemporaryFile(/tmp/multipartBody7931685345085258425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706705830,"filename":"image_14042025_07_24_32_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349843411","file1":"1349843375","file0":"1349843340","file4":"1349843438","file5":"1349843444","file3":"1349843432"},"map_files_photo_id_array":[{"photo_id":"1349843444","filename":"file5"},{"photo_id":"1349843411","filename":"file2"},{"photo_id":"1349843438","filename":"file4"},{"photo_id":"1349843375","filename":"file1"},{"photo_id":"1349843340","filename":"file0"},{"photo_id":"1349843432","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349843340":["hashtag1","hashtag2"]},{"1349843444":["hashtag1","hashtag2"]},{"1349843432":["hashtag1","hashtag2"]},{"1349843375":["hashtag1","hashtag2"]},{"1349843438":["hashtag1","hashtag2"]},{"1349843411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349843340, 1349843444, 1349843432, 1349843375, 1349843438, 1349843411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09362554550171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:44:42.425409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/43/image_15042025_10_43_28_2847.jpg', '/home/pi/Desktop/images/15042025/10/44/image_15042025_10_44_16_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/43/image_15042025_10_43_28_2847.jpg
/home/pi/Desktop/images/15042025/10/44/image_15042025_10_44_16_2595.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349843467","1349843460"],"photo_ids_order":["1349843460","1349843467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65d989a14b40f88fb60cc6e64806a7fb.jpg","text":"TemporaryFile(/tmp/multipartBody6698457292968566397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706743018,"filename":"image_15042025_10_44_16_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b16e29cf49471e6963a27454206f2002.jpg","text":"TemporaryFile(/tmp/multipartBody4614455468089136977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706743018,"filename":"image_15042025_10_43_28_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349843467","file0":"1349843460"},"map_files_photo_id_array":[{"photo_id":"1349843467","filename":"file1"},{"photo_id":"1349843460","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349843467":["hashtag1","hashtag2"]},{"1349843460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349843467, 1349843460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.750597953796387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:45:03.142561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_44_2674.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_46_2670.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_50_3754.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_55_2601.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_59_3580.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_01_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_44_2674.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_46_2670.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_50_3754.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_55_2601.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_59_3580.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_01_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349843739","1349843502","1349843492","1349843744","1349843711","1349843683"],"photo_ids_order":["1349843492","1349843502","1349843683","1349843711","1349843739","1349843744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/212d9d77230b4eb5c1deb73177e6cb32.jpg","text":"TemporaryFile(/tmp/multipartBody1212567621400344262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706765806,"filename":"image_14042025_07_24_59_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2f057892854d9dddc6a3f50c3d7cc9a.jpg","text":"TemporaryFile(/tmp/multipartBody6498323638504498528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706765806,"filename":"image_14042025_07_24_46_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4837938f9172b4ea884e34bc2ea76b69.jpg","text":"TemporaryFile(/tmp/multipartBody3328729469859851364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706765806,"filename":"image_14042025_07_24_44_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb2646610b806a645c105a5b6e68cafa.jpg","text":"TemporaryFile(/tmp/multipartBody2759701188865467031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706765806,"filename":"image_14042025_07_25_01_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69e21b7e04a009533d1f569c9e876f4d.jpg","text":"TemporaryFile(/tmp/multipartBody4430480861025385937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706765806,"filename":"image_14042025_07_24_55_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc7fb8dd5bc96ec97a92a31de7c3bfcb.jpg","text":"TemporaryFile(/tmp/multipartBody6315974960530806537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706765806,"filename":"image_14042025_07_24_50_3754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349843683","file1":"1349843502","file0":"1349843492","file4":"1349843739","file5":"1349843744","file3":"1349843711"},"map_files_photo_id_array":[{"photo_id":"1349843744","filename":"file5"},{"photo_id":"1349843683","filename":"file2"},{"photo_id":"1349843739","filename":"file4"},{"photo_id":"1349843502","filename":"file1"},{"photo_id":"1349843492","filename":"file0"},{"photo_id":"1349843711","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349843739":["hashtag1","hashtag2"]},{"1349843502":["hashtag1","hashtag2"]},{"1349843492":["hashtag1","hashtag2"]},{"1349843744":["hashtag1","hashtag2"]},{"1349843711":["hashtag1","hashtag2"]},{"1349843683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349843739, 1349843502, 1349843492, 1349843744, 1349843711, 1349843683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91732144355774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:46:03.360803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/44/image_15042025_10_44_46_2785.jpg', '/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_11_3728.jpg', '/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_14_2555.jpg', '/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_20_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/44/image_15042025_10_44_46_2785.jpg
/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_11_3728.jpg
/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_14_2555.jpg
/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_20_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349843958","1349844011","1349843965","1349844001"],"photo_ids_order":["1349843958","1349843965","1349844001","1349844011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb926db5e7880ff1b82a41fe21c5bab2.jpg","text":"TemporaryFile(/tmp/multipartBody1470216394707568111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706824083,"filename":"image_15042025_10_44_46_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75687623625867b71b3221407168ea5a.jpg","text":"TemporaryFile(/tmp/multipartBody4024753033143696133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706824083,"filename":"image_15042025_10_45_20_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b000c2eeb8bcce13565af64dbea5cf6e.jpg","text":"TemporaryFile(/tmp/multipartBody3317715988890706600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706824083,"filename":"image_15042025_10_45_11_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2bcff97e7fd544be5f81721769a14b88.jpg","text":"TemporaryFile(/tmp/multipartBody3990317371297129803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706824083,"filename":"image_15042025_10_45_14_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844001","file1":"1349843965","file0":"1349843958","file3":"1349844011"},"map_files_photo_id_array":[{"photo_id":"1349844001","filename":"file2"},{"photo_id":"1349843965","filename":"file1"},{"photo_id":"1349843958","filename":"file0"},{"photo_id":"1349844011","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349843958":["hashtag1","hashtag2"]},{"1349844011":["hashtag1","hashtag2"]},{"1349843965":["hashtag1","hashtag2"]},{"1349844001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349843958, 1349844011, 1349843965, 1349844001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.526758193969727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:46:42.953550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_13_2892.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_17_3601.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_19_2585.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_22_2783.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_25_2845.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_29_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_13_2892.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_17_3601.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_19_2585.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_22_2783.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_25_2845.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_29_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349844120","1349844092","1349844125","1349844058","1349844139","1349844115"],"photo_ids_order":["1349844058","1349844092","1349844115","1349844120","1349844125","1349844139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f587bbe0cb997855184409827e5e7e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6999062725592347194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706864564,"filename":"image_14042025_07_25_22_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a3bbff87510308ca3858242c6019aad.jpg","text":"TemporaryFile(/tmp/multipartBody6454741595533140276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706864564,"filename":"image_14042025_07_25_17_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee499a79fa53e8e8ef575ee57b7f51f8.jpg","text":"TemporaryFile(/tmp/multipartBody2214296136754540543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706864564,"filename":"image_14042025_07_25_25_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a804c52f5bcfcf70faa2a1aa26c2e2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7933667986974755869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706864564,"filename":"image_14042025_07_25_13_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5078bded611f851ed28cc8d94c3b279c.jpg","text":"TemporaryFile(/tmp/multipartBody820037250387811727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706864564,"filename":"image_14042025_07_25_29_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/790de430b405fabd0cbb79044ae6296f.jpg","text":"TemporaryFile(/tmp/multipartBody7114038475579587262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706864564,"filename":"image_14042025_07_25_19_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844115","file1":"1349844092","file0":"1349844058","file4":"1349844125","file5":"1349844139","file3":"1349844120"},"map_files_photo_id_array":[{"photo_id":"1349844139","filename":"file5"},{"photo_id":"1349844115","filename":"file2"},{"photo_id":"1349844125","filename":"file4"},{"photo_id":"1349844092","filename":"file1"},{"photo_id":"1349844058","filename":"file0"},{"photo_id":"1349844120","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349844120":["hashtag1","hashtag2"]},{"1349844092":["hashtag1","hashtag2"]},{"1349844125":["hashtag1","hashtag2"]},{"1349844058":["hashtag1","hashtag2"]},{"1349844139":["hashtag1","hashtag2"]},{"1349844115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349844120, 1349844092, 1349844125, 1349844058, 1349844139, 1349844115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64809823036194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:47:22.235272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_23_2789.jpg', '/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_01_2642.jpg', '/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_05_3683.jpg', '/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_08_2908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/45/image_15042025_10_45_23_2789.jpg
/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_01_2642.jpg
/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_05_3683.jpg
/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_08_2908.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349844315","1349844172","1349844205","1349844235"],"photo_ids_order":["1349844172","1349844205","1349844235","1349844315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d8e02a0a2c7f155ba9ece3d80acff14.jpg","text":"TemporaryFile(/tmp/multipartBody2721142226990907547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706902874,"filename":"image_15042025_10_47_08_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cceb2dab8c1d1c0eabbd57af65bbc43.jpg","text":"TemporaryFile(/tmp/multipartBody1985694427248858081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706902874,"filename":"image_15042025_10_45_23_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7d163652c29fcec86f5c181f58540f8.jpg","text":"TemporaryFile(/tmp/multipartBody1118503064909675248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706902874,"filename":"image_15042025_10_47_01_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e367ef4f2c42ff390151bb20f566efe.jpg","text":"TemporaryFile(/tmp/multipartBody3620626718024066645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706902874,"filename":"image_15042025_10_47_05_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844235","file1":"1349844205","file0":"1349844172","file3":"1349844315"},"map_files_photo_id_array":[{"photo_id":"1349844235","filename":"file2"},{"photo_id":"1349844205","filename":"file1"},{"photo_id":"1349844172","filename":"file0"},{"photo_id":"1349844315","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349844315":["hashtag1","hashtag2"]},{"1349844172":["hashtag1","hashtag2"]},{"1349844205":["hashtag1","hashtag2"]},{"1349844235":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349844315, 1349844172, 1349844205, 1349844235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.53861951828003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:48:03.140879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_31_2591.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_35_3613.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_37_2583.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_44_3588.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_46_2589.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_50_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_31_2591.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_35_3613.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_37_2583.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_44_3588.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_46_2589.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_50_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349844582","1349844608","1349844577","1349844602","1349844616","1349844544"],"photo_ids_order":["1349844544","1349844577","1349844582","1349844602","1349844608","1349844616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9c27d882ef33a27909ecfc89d6becf6.jpg","text":"TemporaryFile(/tmp/multipartBody1954883632322013838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706945678,"filename":"image_14042025_07_25_37_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a9b41cb8a8b10fea487e556784b4634.jpg","text":"TemporaryFile(/tmp/multipartBody9199417246667024653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706945678,"filename":"image_14042025_07_25_46_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6acf15a8ca5fdd91f9a88c059d727dd5.jpg","text":"TemporaryFile(/tmp/multipartBody7524889220626206097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706945678,"filename":"image_14042025_07_25_35_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9db3c6e7efe35246751c47f4c3f3458f.jpg","text":"TemporaryFile(/tmp/multipartBody687834728909370617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706945678,"filename":"image_14042025_07_25_44_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cb71270a1818a297758ad34fcf5ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody7302969903146573641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706945678,"filename":"image_14042025_07_25_50_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/339c972e4a843c94b96eb49999af42ad.jpg","text":"TemporaryFile(/tmp/multipartBody1610416394755532148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706945678,"filename":"image_14042025_07_25_31_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844582","file1":"1349844577","file0":"1349844544","file4":"1349844608","file5":"1349844616","file3":"1349844602"},"map_files_photo_id_array":[{"photo_id":"1349844616","filename":"file5"},{"photo_id":"1349844582","filename":"file2"},{"photo_id":"1349844608","filename":"file4"},{"photo_id":"1349844577","filename":"file1"},{"photo_id":"1349844544","filename":"file0"},{"photo_id":"1349844602","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349844582":["hashtag1","hashtag2"]},{"1349844608":["hashtag1","hashtag2"]},{"1349844577":["hashtag1","hashtag2"]},{"1349844602":["hashtag1","hashtag2"]},{"1349844616":["hashtag1","hashtag2"]},{"1349844544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349844582, 1349844608, 1349844577, 1349844602, 1349844616, 1349844544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82941222190857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:48:42.638520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_55_2830.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_02_3598.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_08_3664.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_10_2532.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_13_2613.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_17_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_55_2830.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_02_3598.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_08_3664.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_10_2532.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_13_2613.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_17_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349844747","1349844701","1349844731","1349844710","1349844688","1349844718"],"photo_ids_order":["1349844688","1349844701","1349844710","1349844718","1349844731","1349844747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c33e74dde8810e6a89c38964a5978e5.jpg","text":"TemporaryFile(/tmp/multipartBody1966999046893497606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706984088,"filename":"image_14042025_07_26_17_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e229c1136ede8b499d3aac656e92ddd.jpg","text":"TemporaryFile(/tmp/multipartBody6234891784853080992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706984088,"filename":"image_14042025_07_26_02_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9394b5ef200c5f4dfbb955367c635a85.jpg","text":"TemporaryFile(/tmp/multipartBody5426664252331445537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706984088,"filename":"image_14042025_07_26_13_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e9597600f43aa99a1e4f2749c53f84d.jpg","text":"TemporaryFile(/tmp/multipartBody6957529981898416651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706984088,"filename":"image_14042025_07_26_08_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fcedea191fee1d0e69956285fede7da3.jpg","text":"TemporaryFile(/tmp/multipartBody1773885318102661565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706984088,"filename":"image_14042025_07_25_55_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/802d16787343e762cc6b649ee1a3187b.jpg","text":"TemporaryFile(/tmp/multipartBody8767910828820099882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706984088,"filename":"image_14042025_07_26_10_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844710","file1":"1349844701","file0":"1349844688","file4":"1349844731","file5":"1349844747","file3":"1349844718"},"map_files_photo_id_array":[{"photo_id":"1349844747","filename":"file5"},{"photo_id":"1349844710","filename":"file2"},{"photo_id":"1349844731","filename":"file4"},{"photo_id":"1349844701","filename":"file1"},{"photo_id":"1349844688","filename":"file0"},{"photo_id":"1349844718","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349844747":["hashtag1","hashtag2"]},{"1349844701":["hashtag1","hashtag2"]},{"1349844731":["hashtag1","hashtag2"]},{"1349844710":["hashtag1","hashtag2"]},{"1349844688":["hashtag1","hashtag2"]},{"1349844718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349844747, 1349844701, 1349844731, 1349844710, 1349844688, 1349844718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45825552940369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:49:22.247852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_52_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/47/image_15042025_10_47_52_2664.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349844782"],"photo_id":"1349844782","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e587a94621559e0c50fd43a34959e2c2.jpg","text":"TemporaryFile(/tmp/multipartBody2478565256029029660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707022777,"filename":"image_15042025_10_47_52_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349844782"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349844782"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.948791980743408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:49:42.287085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_19_2691.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_25_2574.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_32_3629.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_34_2648.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_37_2706.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_41_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_19_2691.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_25_2574.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_32_3629.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_34_2648.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_37_2706.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_41_3566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349844927","1349844998","1349844953","1349845004","1349845012","1349844990"],"photo_ids_order":["1349844927","1349844953","1349844990","1349844998","1349845004","1349845012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbde81cca576861b7d697c650b89a40b.jpg","text":"TemporaryFile(/tmp/multipartBody3689178258711076091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707043747,"filename":"image_14042025_07_26_19_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/598401823da17074b0f99fa0bec951af.jpg","text":"TemporaryFile(/tmp/multipartBody5866845090978123193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707043747,"filename":"image_14042025_07_26_34_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0025e797e61ebafe518b44f03b9b277e.jpg","text":"TemporaryFile(/tmp/multipartBody7917751409274648358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707043747,"filename":"image_14042025_07_26_25_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36b2c7a20a9056b4d599a95a0b80f23c.jpg","text":"TemporaryFile(/tmp/multipartBody7615798257905072910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707043747,"filename":"image_14042025_07_26_37_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d3bc459fa2e5ca3cb7d5a3c6d03357b.jpg","text":"TemporaryFile(/tmp/multipartBody1080692297094999536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707043747,"filename":"image_14042025_07_26_41_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88a3e904d6741c862146a1421c7af6b1.jpg","text":"TemporaryFile(/tmp/multipartBody7679156762378049864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707043747,"filename":"image_14042025_07_26_32_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844990","file1":"1349844953","file0":"1349844927","file4":"1349845004","file5":"1349845012","file3":"1349844998"},"map_files_photo_id_array":[{"photo_id":"1349845012","filename":"file5"},{"photo_id":"1349844990","filename":"file2"},{"photo_id":"1349845004","filename":"file4"},{"photo_id":"1349844953","filename":"file1"},{"photo_id":"1349844927","filename":"file0"},{"photo_id":"1349844998","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349844927":["hashtag1","hashtag2"]},{"1349844998":["hashtag1","hashtag2"]},{"1349844953":["hashtag1","hashtag2"]},{"1349845004":["hashtag1","hashtag2"]},{"1349845012":["hashtag1","hashtag2"]},{"1349844990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349844927, 1349844998, 1349844953, 1349845004, 1349845012, 1349844990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92578148841858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:50:21.846906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_43_2619.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_47_3554.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_52_2651.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_01_2541.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_07_2695.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_10_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_43_2619.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_47_3554.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_52_2651.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_01_2541.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_07_2695.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_10_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845056","1349845029","1349845046","1349845037","1349845072","1349845065"],"photo_ids_order":["1349845029","1349845037","1349845046","1349845056","1349845065","1349845072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06ff3cb2e3ecbf73dbd5fcff0fd279e6.jpg","text":"TemporaryFile(/tmp/multipartBody8931107921604444491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707085171,"filename":"image_14042025_07_27_01_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3c1297681957336b8bc18a3c630ed86.jpg","text":"TemporaryFile(/tmp/multipartBody4696113858046599123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707085171,"filename":"image_14042025_07_26_43_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8bf3f80e43eb6da343bf8af8d0b8481f.jpg","text":"TemporaryFile(/tmp/multipartBody8282244847725460048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707085171,"filename":"image_14042025_07_26_52_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/222bd15753262d90977dec91cb136411.jpg","text":"TemporaryFile(/tmp/multipartBody935059876859346607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707085171,"filename":"image_14042025_07_26_47_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba4494cdfb8dd0ac288d2fcb2ff9df42.jpg","text":"TemporaryFile(/tmp/multipartBody8358325904751297776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707085171,"filename":"image_14042025_07_27_10_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6aa4a84531845270a9741b5bc6d81344.jpg","text":"TemporaryFile(/tmp/multipartBody845327004500952346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707085171,"filename":"image_14042025_07_27_07_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845046","file1":"1349845037","file0":"1349845029","file4":"1349845065","file5":"1349845072","file3":"1349845056"},"map_files_photo_id_array":[{"photo_id":"1349845072","filename":"file5"},{"photo_id":"1349845046","filename":"file2"},{"photo_id":"1349845065","filename":"file4"},{"photo_id":"1349845037","filename":"file1"},{"photo_id":"1349845029","filename":"file0"},{"photo_id":"1349845056","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349845056":["hashtag1","hashtag2"]},{"1349845029":["hashtag1","hashtag2"]},{"1349845046":["hashtag1","hashtag2"]},{"1349845037":["hashtag1","hashtag2"]},{"1349845072":["hashtag1","hashtag2"]},{"1349845065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349845056, 1349845029, 1349845046, 1349845037, 1349845072, 1349845065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40886831283569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:51:03.404388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_16_2694.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_19_2703.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_23_3663.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_25_2570.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_34_2527.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_38_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_16_2694.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_19_2703.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_23_3663.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_25_2570.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_34_2527.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_38_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845142","1349845100","1349845147","1349845138","1349845126","1349845152"],"photo_ids_order":["1349845100","1349845126","1349845138","1349845142","1349845147","1349845152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97bb3d1358ab74bc2cc14daa93c6d1fb.jpg","text":"TemporaryFile(/tmp/multipartBody6714676642817053532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707126023,"filename":"image_14042025_07_27_25_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eaeee69bf97963b05c73065dcbfbb56b.jpg","text":"TemporaryFile(/tmp/multipartBody5315509312997599857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707126023,"filename":"image_14042025_07_27_16_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/006dbe9bc792e3c25b0fb26cca3e7ef3.jpg","text":"TemporaryFile(/tmp/multipartBody8302914559769632743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707126023,"filename":"image_14042025_07_27_34_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6df2f3f2416e8f8bffdb796ffad43fa3.jpg","text":"TemporaryFile(/tmp/multipartBody2076592507722562087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707126023,"filename":"image_14042025_07_27_23_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3a38955fcdf53cf868763f28ca3459c.jpg","text":"TemporaryFile(/tmp/multipartBody2580707259905185075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707126023,"filename":"image_14042025_07_27_19_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/12901977071ef93fddb11a58cda429bf.jpg","text":"TemporaryFile(/tmp/multipartBody8182693891418466647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707126023,"filename":"image_14042025_07_27_38_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845138","file1":"1349845126","file0":"1349845100","file4":"1349845147","file5":"1349845152","file3":"1349845142"},"map_files_photo_id_array":[{"photo_id":"1349845152","filename":"file5"},{"photo_id":"1349845138","filename":"file2"},{"photo_id":"1349845147","filename":"file4"},{"photo_id":"1349845126","filename":"file1"},{"photo_id":"1349845100","filename":"file0"},{"photo_id":"1349845142","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349845142":["hashtag1","hashtag2"]},{"1349845100":["hashtag1","hashtag2"]},{"1349845147":["hashtag1","hashtag2"]},{"1349845138":["hashtag1","hashtag2"]},{"1349845126":["hashtag1","hashtag2"]},{"1349845152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349845142, 1349845100, 1349845147, 1349845138, 1349845126, 1349845152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.572311878204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:52:02.917693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_43_3004.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_49_3622.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_55_2646.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_07_3622.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_10_2548.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_13_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_43_3004.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_49_3622.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_55_2646.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_07_3622.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_10_2548.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_13_2783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845317","1349845322","1349845325","1349845301","1349845285","1349845312"],"photo_ids_order":["1349845285","1349845301","1349845312","1349845317","1349845322","1349845325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11b69d346824afdd900f480ff89adf77.jpg","text":"TemporaryFile(/tmp/multipartBody944203882154444536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707185414,"filename":"image_14042025_07_28_07_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c866ba2421729de2bcd37a86cd53eb29.jpg","text":"TemporaryFile(/tmp/multipartBody1919888559066381829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707185414,"filename":"image_14042025_07_28_10_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ee2caca68bcf9954983852ba1a71d86.jpg","text":"TemporaryFile(/tmp/multipartBody5552771815967200141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707185414,"filename":"image_14042025_07_28_13_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77a115e1971469cd2ceb92210d726ac7.jpg","text":"TemporaryFile(/tmp/multipartBody3288829929140621163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707185414,"filename":"image_14042025_07_27_49_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f081309893c2d6573457484ce05e94e5.jpg","text":"TemporaryFile(/tmp/multipartBody1586274032532640624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707185414,"filename":"image_14042025_07_27_43_3004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/798b64b393efb85822243040b4d0b526.jpg","text":"TemporaryFile(/tmp/multipartBody3913795420938124658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707185414,"filename":"image_14042025_07_27_55_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845312","file1":"1349845301","file0":"1349845285","file4":"1349845322","file5":"1349845325","file3":"1349845317"},"map_files_photo_id_array":[{"photo_id":"1349845325","filename":"file5"},{"photo_id":"1349845312","filename":"file2"},{"photo_id":"1349845322","filename":"file4"},{"photo_id":"1349845301","filename":"file1"},{"photo_id":"1349845285","filename":"file0"},{"photo_id":"1349845317","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349845317":["hashtag1","hashtag2"]},{"1349845322":["hashtag1","hashtag2"]},{"1349845325":["hashtag1","hashtag2"]},{"1349845301":["hashtag1","hashtag2"]},{"1349845285":["hashtag1","hashtag2"]},{"1349845312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349845317, 1349845322, 1349845325, 1349845301, 1349845285, 1349845312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46975302696228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:52:42.398295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_16_3615.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_19_2686.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_28_2624.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_34_2811.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_37_3548.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_40_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_16_3615.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_19_2686.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_28_2624.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_34_2811.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_37_3548.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_40_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845347","1349845440","1349845436","1349845372","1349845447","1349845429"],"photo_ids_order":["1349845347","1349845372","1349845429","1349845436","1349845440","1349845447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11f03aa2dfdc532334a2cd12419a8a47.jpg","text":"TemporaryFile(/tmp/multipartBody95733957184369459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223854,"filename":"image_14042025_07_28_16_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a5d1f647eac205d59dc265290824dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2810706637794674411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223854,"filename":"image_14042025_07_28_37_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/772b2e575a02fa9fb8ab8f0d598441e7.jpg","text":"TemporaryFile(/tmp/multipartBody917886018269200434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223854,"filename":"image_14042025_07_28_34_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32909f6dcb32aefdc70af53be3cb1c2d.jpg","text":"TemporaryFile(/tmp/multipartBody4530316406982065609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223854,"filename":"image_14042025_07_28_19_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7226e0c97c225e699986525f6f2f12e4.jpg","text":"TemporaryFile(/tmp/multipartBody2353122526132752839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223854,"filename":"image_14042025_07_28_40_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d150b2e5cd2b549a5d21039054a9001.jpg","text":"TemporaryFile(/tmp/multipartBody3315026948220783332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223854,"filename":"image_14042025_07_28_28_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845429","file1":"1349845372","file0":"1349845347","file4":"1349845440","file5":"1349845447","file3":"1349845436"},"map_files_photo_id_array":[{"photo_id":"1349845447","filename":"file5"},{"photo_id":"1349845429","filename":"file2"},{"photo_id":"1349845440","filename":"file4"},{"photo_id":"1349845372","filename":"file1"},{"photo_id":"1349845347","filename":"file0"},{"photo_id":"1349845436","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349845347":["hashtag1","hashtag2"]},{"1349845440":["hashtag1","hashtag2"]},{"1349845436":["hashtag1","hashtag2"]},{"1349845372":["hashtag1","hashtag2"]},{"1349845447":["hashtag1","hashtag2"]},{"1349845429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349845347, 1349845440, 1349845436, 1349845372, 1349845447, 1349845429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56170320510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:53:22.619528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_43_2700.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_46_3644.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_49_2511.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_52_3624.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_04_2828.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_07_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_43_2700.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_46_3644.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_49_2511.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_52_3624.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_04_2828.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_07_2817.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845503","1349845512","1349845475","1349845494","1349845488","1349845482"],"photo_ids_order":["1349845475","1349845482","1349845488","1349845494","1349845503","1349845512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7355c9883bf3e3da06f7504ee758c532.jpg","text":"TemporaryFile(/tmp/multipartBody6362991174489630550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707265929,"filename":"image_14042025_07_29_04_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89d1bccc4dc8609eced4f410e283791a.jpg","text":"TemporaryFile(/tmp/multipartBody4277639320015556507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707265929,"filename":"image_14042025_07_29_07_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b449eca12b2848131a71e1ef0b78cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7394844926444999976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707265929,"filename":"image_14042025_07_28_43_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88c123234a3d0a445a01afd9a952723e.jpg","text":"TemporaryFile(/tmp/multipartBody2944926225434239890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707265929,"filename":"image_14042025_07_28_52_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10f7833e500c65e800dc482f3c468520.jpg","text":"TemporaryFile(/tmp/multipartBody3647879006070929962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707265929,"filename":"image_14042025_07_28_49_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f9624ee6c0a880dffc8a9c91d3e0f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8294364566028632687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707265929,"filename":"image_14042025_07_28_46_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845488","file1":"1349845482","file0":"1349845475","file4":"1349845503","file5":"1349845512","file3":"1349845494"},"map_files_photo_id_array":[{"photo_id":"1349845512","filename":"file5"},{"photo_id":"1349845488","filename":"file2"},{"photo_id":"1349845503","filename":"file4"},{"photo_id":"1349845482","filename":"file1"},{"photo_id":"1349845475","filename":"file0"},{"photo_id":"1349845494","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349845503":["hashtag1","hashtag2"]},{"1349845512":["hashtag1","hashtag2"]},{"1349845475":["hashtag1","hashtag2"]},{"1349845494":["hashtag1","hashtag2"]},{"1349845488":["hashtag1","hashtag2"]},{"1349845482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349845503, 1349845512, 1349845475, 1349845494, 1349845488, 1349845482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66138672828674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:54:02.905138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_10_2572.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_13_3825.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_16_2773.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_25_3575.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_31_2645.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_34_3518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_10_2572.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_13_3825.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_16_2773.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_25_3575.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_31_2645.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_34_3518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845539","1349845553","1349845547","1349845532","1349845562","1349845570"],"photo_ids_order":["1349845532","1349845539","1349845547","1349845553","1349845562","1349845570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f5df00b43392240700882e1d338d70a.jpg","text":"TemporaryFile(/tmp/multipartBody106627494161902766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707305473,"filename":"image_14042025_07_29_13_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/514fc3d811caf3b92f8409d11dcb94fb.jpg","text":"TemporaryFile(/tmp/multipartBody1182574639231514400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707305473,"filename":"image_14042025_07_29_25_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94c55d1c35943696800aada7f5f0532c.jpg","text":"TemporaryFile(/tmp/multipartBody2399196431546875641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707305473,"filename":"image_14042025_07_29_16_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/949b60620f1b23bee63e7dec5c3ad9f9.jpg","text":"TemporaryFile(/tmp/multipartBody3810398327769103834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707305473,"filename":"image_14042025_07_29_10_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c57a7d776122d5eee65bbc2c654160e0.jpg","text":"TemporaryFile(/tmp/multipartBody7973072839562251570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707305473,"filename":"image_14042025_07_29_31_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92dc6eaf5d05c2f34442dbf39e7fb896.jpg","text":"TemporaryFile(/tmp/multipartBody7852633137398944897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707305473,"filename":"image_14042025_07_29_34_3518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845547","file1":"1349845539","file0":"1349845532","file4":"1349845562","file5":"1349845570","file3":"1349845553"},"map_files_photo_id_array":[{"photo_id":"1349845570","filename":"file5"},{"photo_id":"1349845547","filename":"file2"},{"photo_id":"1349845562","filename":"file4"},{"photo_id":"1349845539","filename":"file1"},{"photo_id":"1349845532","filename":"file0"},{"photo_id":"1349845553","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349845539":["hashtag1","hashtag2"]},{"1349845553":["hashtag1","hashtag2"]},{"1349845547":["hashtag1","hashtag2"]},{"1349845532":["hashtag1","hashtag2"]},{"1349845562":["hashtag1","hashtag2"]},{"1349845570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349845539, 1349845553, 1349845547, 1349845532, 1349845562, 1349845570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80460047721863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:54:42.085484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/49/image_15042025_10_49_43_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/49/image_15042025_10_49_43_2681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845584"],"photo_id":"1349845584","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/855847eb42b50c528bddc81336e2c394.jpg","text":"TemporaryFile(/tmp/multipartBody9206062306909718516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707342634,"filename":"image_15042025_10_49_43_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349845584"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349845584"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.697411298751831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:55:03.531996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_37_2539.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_40_3520.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_46_2846.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_52_2642.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_55_2561.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_58_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_37_2539.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_40_3520.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_46_2846.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_52_2642.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_55_2561.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_58_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845644","1349845617","1349845636","1349845630","1349845624","1349845648"],"photo_ids_order":["1349845617","1349845624","1349845630","1349845636","1349845644","1349845648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb816ff32287a251c13df002999824da.jpg","text":"TemporaryFile(/tmp/multipartBody3814033277082223968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707366176,"filename":"image_14042025_07_29_55_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0c32db8498c69aab762ca6605885d68.jpg","text":"TemporaryFile(/tmp/multipartBody2208328125069611623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707366176,"filename":"image_14042025_07_29_37_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10f259fdedc2579f4be7d24e4602e9d9.jpg","text":"TemporaryFile(/tmp/multipartBody310717188556763709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707366176,"filename":"image_14042025_07_29_52_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6322fc633a0232ca889decfe5108964b.jpg","text":"TemporaryFile(/tmp/multipartBody2990258249173108362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707366176,"filename":"image_14042025_07_29_46_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd13ed81e86e9fb4a4707050b5d52a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3919693966861261330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707366176,"filename":"image_14042025_07_29_40_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9afb6173534fb8d311dab566994aafd7.jpg","text":"TemporaryFile(/tmp/multipartBody4487378312951983712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707366176,"filename":"image_14042025_07_29_58_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845630","file1":"1349845624","file0":"1349845617","file4":"1349845644","file5":"1349845648","file3":"1349845636"},"map_files_photo_id_array":[{"photo_id":"1349845648","filename":"file5"},{"photo_id":"1349845630","filename":"file2"},{"photo_id":"1349845644","filename":"file4"},{"photo_id":"1349845624","filename":"file1"},{"photo_id":"1349845617","filename":"file0"},{"photo_id":"1349845636","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349845644":["hashtag1","hashtag2"]},{"1349845617":["hashtag1","hashtag2"]},{"1349845636":["hashtag1","hashtag2"]},{"1349845630":["hashtag1","hashtag2"]},{"1349845624":["hashtag1","hashtag2"]},{"1349845648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349845644, 1349845617, 1349845636, 1349845630, 1349845624, 1349845648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94997239112854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:55:42.700151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_01_2771.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_07_2745.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_13_2510.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_19_2590.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_22_3593.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_25_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_01_2771.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_07_2745.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_13_2510.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_19_2590.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_22_3593.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_25_2554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349845670","1349845664","1349845706","1349845678","1349845680","1349845674"],"photo_ids_order":["1349845664","1349845670","1349845674","1349845678","1349845680","1349845706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51245a91104b4adb9dc7f08e3ce23a77.jpg","text":"TemporaryFile(/tmp/multipartBody3490675666433335648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707404131,"filename":"image_14042025_07_30_07_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2b3b729d3684e44807eb744ba8ebaa3.jpg","text":"TemporaryFile(/tmp/multipartBody8731874488143079198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707404131,"filename":"image_14042025_07_30_01_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd305390141557716a6199a71065ad50.jpg","text":"TemporaryFile(/tmp/multipartBody78713220266816748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707404131,"filename":"image_14042025_07_30_25_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/322ada91f2cb5be8a5bc2ddd7dfd0c0e.jpg","text":"TemporaryFile(/tmp/multipartBody670913735864130572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707404131,"filename":"image_14042025_07_30_19_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85c649a68150d1c2d38a716ccd3f12da.jpg","text":"TemporaryFile(/tmp/multipartBody7352957177854556438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707404131,"filename":"image_14042025_07_30_22_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1130fc39269c8cc33549cd22a75c81e.jpg","text":"TemporaryFile(/tmp/multipartBody936223257941527308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707404131,"filename":"image_14042025_07_30_13_2510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845674","file1":"1349845670","file0":"1349845664","file4":"1349845680","file5":"1349845706","file3":"1349845678"},"map_files_photo_id_array":[{"photo_id":"1349845706","filename":"file5"},{"photo_id":"1349845674","filename":"file2"},{"photo_id":"1349845680","filename":"file4"},{"photo_id":"1349845670","filename":"file1"},{"photo_id":"1349845664","filename":"file0"},{"photo_id":"1349845678","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349845670":["hashtag1","hashtag2"]},{"1349845664":["hashtag1","hashtag2"]},{"1349845706":["hashtag1","hashtag2"]},{"1349845678":["hashtag1","hashtag2"]},{"1349845680":["hashtag1","hashtag2"]},{"1349845674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349845670, 1349845664, 1349845706, 1349845678, 1349845680, 1349845674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70181059837341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:56:22.079030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_28_2612.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_31_3633.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_34_2610.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_36_2641.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_40_3652.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_43_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_28_2612.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_31_3633.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_34_2610.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_36_2641.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_40_3652.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_43_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349846033","1349845952","1349845990","1349845915","1349845884","1349845851"],"photo_ids_order":["1349845851","1349845884","1349845915","1349845952","1349845990","1349846033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8cb9ec5f654fc651cc745d4410fd244.jpg","text":"TemporaryFile(/tmp/multipartBody2870618943464052545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707445371,"filename":"image_14042025_07_30_43_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e39530c48a0fa49696c2cafef597920.jpg","text":"TemporaryFile(/tmp/multipartBody1491488190623711149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707445371,"filename":"image_14042025_07_30_36_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f27c62c2fb109fae277815c89a032e17.jpg","text":"TemporaryFile(/tmp/multipartBody7557988826041107905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707445371,"filename":"image_14042025_07_30_40_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1c57f95a5ce79a1c04981ff6ef2beb7.jpg","text":"TemporaryFile(/tmp/multipartBody4515212934986861900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707445371,"filename":"image_14042025_07_30_34_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/604df3bb16db4bd5709f1f773d3c0c3f.jpg","text":"TemporaryFile(/tmp/multipartBody2323099770530115117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707445371,"filename":"image_14042025_07_30_31_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/656c3f1bf02a4d1f25bf2074a72af6a5.jpg","text":"TemporaryFile(/tmp/multipartBody1765867858256809013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707445371,"filename":"image_14042025_07_30_28_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845915","file1":"1349845884","file0":"1349845851","file4":"1349845990","file5":"1349846033","file3":"1349845952"},"map_files_photo_id_array":[{"photo_id":"1349846033","filename":"file5"},{"photo_id":"1349845915","filename":"file2"},{"photo_id":"1349845990","filename":"file4"},{"photo_id":"1349845884","filename":"file1"},{"photo_id":"1349845851","filename":"file0"},{"photo_id":"1349845952","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349846033":["hashtag1","hashtag2"]},{"1349845952":["hashtag1","hashtag2"]},{"1349845990":["hashtag1","hashtag2"]},{"1349845915":["hashtag1","hashtag2"]},{"1349845884":["hashtag1","hashtag2"]},{"1349845851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349846033, 1349845952, 1349845990, 1349845915, 1349845884, 1349845851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55893850326538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:57:02.740046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_58_2761.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_31_00_2520.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_04_3657.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_09_2715.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_22_3656.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_28_3501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_58_2761.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_31_00_2520.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_04_3657.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_09_2715.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_22_3656.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_28_3501.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349846498","1349846360","1349846633","1349846428","1349846298","1349846565"],"photo_ids_order":["1349846298","1349846360","1349846428","1349846498","1349846565","1349846633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b7994c171a1e2388b4e4ca0c532d802.jpg","text":"TemporaryFile(/tmp/multipartBody8920607691048933745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707485460,"filename":"image_14042025_07_31_09_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c13cea7efb70c4e9604bcbe03b3a0a1.jpg","text":"TemporaryFile(/tmp/multipartBody2680583521418070142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707485460,"filename":"image_14042025_07_31_00_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cff833bea3db41b644e119e17fe1500.jpg","text":"TemporaryFile(/tmp/multipartBody5716859125956254652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707485460,"filename":"image_14042025_07_31_28_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c060f120822019e4f2443e87035b24c.jpg","text":"TemporaryFile(/tmp/multipartBody9153298310374437888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707485460,"filename":"image_14042025_07_31_04_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29465e20a2e3cd3f613242a5ce38ecab.jpg","text":"TemporaryFile(/tmp/multipartBody140277672751474936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707485460,"filename":"image_14042025_07_30_58_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/baa324287326adf6e6406607bf74a772.jpg","text":"TemporaryFile(/tmp/multipartBody6538894196531312247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707485460,"filename":"image_14042025_07_31_22_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349846428","file1":"1349846360","file0":"1349846298","file4":"1349846565","file5":"1349846633","file3":"1349846498"},"map_files_photo_id_array":[{"photo_id":"1349846633","filename":"file5"},{"photo_id":"1349846428","filename":"file2"},{"photo_id":"1349846565","filename":"file4"},{"photo_id":"1349846360","filename":"file1"},{"photo_id":"1349846298","filename":"file0"},{"photo_id":"1349846498","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349846498":["hashtag1","hashtag2"]},{"1349846360":["hashtag1","hashtag2"]},{"1349846633":["hashtag1","hashtag2"]},{"1349846428":["hashtag1","hashtag2"]},{"1349846298":["hashtag1","hashtag2"]},{"1349846565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349846498, 1349846360, 1349846633, 1349846428, 1349846298, 1349846565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66769552230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 10:57:41.857235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/54/image_15042025_10_54_25_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/54/image_15042025_10_54_25_2553.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349846904"],"photo_id":"1349846904","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa78a333d59dfcd8429faf92218e974b.jpg","text":"TemporaryFile(/tmp/multipartBody5787605941792428948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707522418,"filename":"image_15042025_10_54_25_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349846904"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349846904"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.727968215942383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 10:59:03.806655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/57/image_15042025_10_57_28_2873.jpg', '/home/pi/Desktop/images/15042025/10/58/image_15042025_10_58_55_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/57/image_15042025_10_57_28_2873.jpg
/home/pi/Desktop/images/15042025/10/58/image_15042025_10_58_55_2732.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349847329","1349847371"],"photo_ids_order":["1349847329","1349847371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5f259ecb805273628130813150a71cd.jpg","text":"TemporaryFile(/tmp/multipartBody8816196345062935029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707604697,"filename":"image_15042025_10_57_28_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00267256fe823a1ba85210b6237e0a7b.jpg","text":"TemporaryFile(/tmp/multipartBody7402010894261362164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707604697,"filename":"image_15042025_10_58_55_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349847371","file0":"1349847329"},"map_files_photo_id_array":[{"photo_id":"1349847371","filename":"file1"},{"photo_id":"1349847329","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349847329":["hashtag1","hashtag2"]},{"1349847371":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349847329, 1349847371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.907451629638672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 10:59:22.784030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/58/image_15042025_10_58_58_2806.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_10_3620.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_13_2707.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_16_2760.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_19_2860.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_23_3935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/58/image_15042025_10_58_58_2806.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_10_3620.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_13_2707.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_16_2760.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_19_2860.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_23_3935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349847941","1349847652","1349847847","1349848014","1349847773","1349848090"],"photo_ids_order":["1349847652","1349847773","1349847847","1349847941","1349848014","1349848090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/deb335b00015994838bbf5e0ee2b2442.jpg","text":"TemporaryFile(/tmp/multipartBody1444122975964104411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707623500,"filename":"image_15042025_10_59_16_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4ab655f55db332a38dcb1ce8fb0baf3.jpg","text":"TemporaryFile(/tmp/multipartBody8913061200341606908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707623500,"filename":"image_15042025_10_58_58_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05926d9dca608a961ecfd97ee45375c5.jpg","text":"TemporaryFile(/tmp/multipartBody5680650145304674876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707623500,"filename":"image_15042025_10_59_13_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/445fae8d9b92e53b662a6f445d34f854.jpg","text":"TemporaryFile(/tmp/multipartBody8653074507983073186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707623500,"filename":"image_15042025_10_59_19_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/237e4887496e0ed4f87ce1b6d9a6284e.jpg","text":"TemporaryFile(/tmp/multipartBody3963877849459912844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707623500,"filename":"image_15042025_10_59_10_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ad094f84f2b2a9ef3a5c7f1d9f1b601.jpg","text":"TemporaryFile(/tmp/multipartBody5418725702981678450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707623500,"filename":"image_15042025_10_59_23_3935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349847847","file1":"1349847773","file0":"1349847652","file4":"1349848014","file5":"1349848090","file3":"1349847941"},"map_files_photo_id_array":[{"photo_id":"1349848090","filename":"file5"},{"photo_id":"1349847847","filename":"file2"},{"photo_id":"1349848014","filename":"file4"},{"photo_id":"1349847773","filename":"file1"},{"photo_id":"1349847652","filename":"file0"},{"photo_id":"1349847941","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349847941":["hashtag1","hashtag2"]},{"1349847652":["hashtag1","hashtag2"]},{"1349847847":["hashtag1","hashtag2"]},{"1349848014":["hashtag1","hashtag2"]},{"1349847773":["hashtag1","hashtag2"]},{"1349848090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349847941, 1349847652, 1349847847, 1349848014, 1349847773, 1349848090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.244789123535156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:00:22.654637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_25_2586.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_28_2545.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_32_3798.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_34_2781.jpg', '/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_40_2950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_25_2586.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_28_2545.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_32_3798.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_34_2781.jpg
/home/pi/Desktop/images/15042025/10/59/image_15042025_10_59_40_2950.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349848581","1349848431","1349848472","1349848382","1349848538"],"photo_ids_order":["1349848382","1349848431","1349848472","1349848538","1349848581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3b04f31567b73f4d06d9999d020c9eb.jpg","text":"TemporaryFile(/tmp/multipartBody1151040731942195701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683324,"filename":"image_15042025_10_59_40_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75f0f523be3dff6412ab1cd004790f89.jpg","text":"TemporaryFile(/tmp/multipartBody6455895126827553729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683324,"filename":"image_15042025_10_59_28_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1105fc145b7a4f818164ee52cceaa51f.jpg","text":"TemporaryFile(/tmp/multipartBody867871175864068212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683324,"filename":"image_15042025_10_59_32_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9dfd7a6a494bff09c375d6c8ddae66e.jpg","text":"TemporaryFile(/tmp/multipartBody3284423741287994607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683324,"filename":"image_15042025_10_59_25_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac5f0df79264ebbf00779d36fdd0777c.jpg","text":"TemporaryFile(/tmp/multipartBody3652873180337198996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683324,"filename":"image_15042025_10_59_34_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349848472","file1":"1349848431","file0":"1349848382","file4":"1349848581","file3":"1349848538"},"map_files_photo_id_array":[{"photo_id":"1349848472","filename":"file2"},{"photo_id":"1349848581","filename":"file4"},{"photo_id":"1349848431","filename":"file1"},{"photo_id":"1349848382","filename":"file0"},{"photo_id":"1349848538","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349848581":["hashtag1","hashtag2"]},{"1349848431":["hashtag1","hashtag2"]},{"1349848472":["hashtag1","hashtag2"]},{"1349848382":["hashtag1","hashtag2"]},{"1349848538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349848581, 1349848431, 1349848472, 1349848382, 1349848538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.07590126991272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:01:02.738151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_34_2657.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_40_2634.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_43_2727.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_45_2717.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_49_3677.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_52_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_34_2657.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_40_2634.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_43_2727.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_45_2717.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_49_3677.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_52_2554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349849002","1349848813","1349848923","1349848868","1349848961","1349849050"],"photo_ids_order":["1349848813","1349848868","1349848923","1349848961","1349849002","1349849050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4156efc46340a577c31ac0629eb9b2a6.jpg","text":"TemporaryFile(/tmp/multipartBody2867388721211891478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707725701,"filename":"image_14042025_07_31_49_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9e0e4c647b12ba681c846b2defbe6a7.jpg","text":"TemporaryFile(/tmp/multipartBody545650837499151843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707725701,"filename":"image_14042025_07_31_34_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78b840e1fbb888723b26ba0717de9fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1489110152707858081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707725701,"filename":"image_14042025_07_31_43_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07a7e76d5965bf538d927c4ffcbc3cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2827536063497935283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707725701,"filename":"image_14042025_07_31_40_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f0b1c2c9192f14733c9625b09301a2e.jpg","text":"TemporaryFile(/tmp/multipartBody597584365775107196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707725701,"filename":"image_14042025_07_31_45_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f311849180498fdcc7c1d951b6e164b5.jpg","text":"TemporaryFile(/tmp/multipartBody6879449122447702988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707725701,"filename":"image_14042025_07_31_52_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349848923","file1":"1349848868","file0":"1349848813","file4":"1349849002","file5":"1349849050","file3":"1349848961"},"map_files_photo_id_array":[{"photo_id":"1349849050","filename":"file5"},{"photo_id":"1349848923","filename":"file2"},{"photo_id":"1349849002","filename":"file4"},{"photo_id":"1349848868","filename":"file1"},{"photo_id":"1349848813","filename":"file0"},{"photo_id":"1349848961","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349849002":["hashtag1","hashtag2"]},{"1349848813":["hashtag1","hashtag2"]},{"1349848923":["hashtag1","hashtag2"]},{"1349848868":["hashtag1","hashtag2"]},{"1349848961":["hashtag1","hashtag2"]},{"1349849050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349849002, 1349848813, 1349848923, 1349848868, 1349848961, 1349849050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93388772010803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:01:41.953029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/00/image_15042025_11_00_17_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/00/image_15042025_11_00_17_2690.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349849185"],"photo_id":"1349849185","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62811329958805b158e925d3683f3424.jpg","text":"TemporaryFile(/tmp/multipartBody4514121265754162255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707762509,"filename":"image_15042025_11_00_17_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349849185"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349849185"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.967825889587402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:02:03.393204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_01_2572.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_03_2709.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_07_3637.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_12_2710.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_31_3677.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_34_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_01_2572.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_03_2709.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_07_3637.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_12_2710.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_31_3677.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_34_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349849509","1349849421","1349849540","1349849435","1349849522","1349849470"],"photo_ids_order":["1349849421","1349849435","1349849470","1349849509","1349849522","1349849540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2618b80b6729c1a91883187b4ed0b40.jpg","text":"TemporaryFile(/tmp/multipartBody3878213520723788470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707785919,"filename":"image_14042025_07_32_12_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc351f897c79aa0ac569cd5856269176.jpg","text":"TemporaryFile(/tmp/multipartBody2448172042583894590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707785919,"filename":"image_14042025_07_32_01_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bea9ad7469fe19012087d88bd4ecef47.jpg","text":"TemporaryFile(/tmp/multipartBody44214998248065214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707785919,"filename":"image_14042025_07_32_34_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45ffcf4dcc8ddd320298cca1012f2d27.jpg","text":"TemporaryFile(/tmp/multipartBody2890968617566907326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707785919,"filename":"image_14042025_07_32_03_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f95348455080f3fb6b972a3278891fa.jpg","text":"TemporaryFile(/tmp/multipartBody8745081599044323816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707785919,"filename":"image_14042025_07_32_31_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e356569784e43de690a2a7037043d7fc.jpg","text":"TemporaryFile(/tmp/multipartBody6834472073842260205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707785919,"filename":"image_14042025_07_32_07_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349849470","file1":"1349849435","file0":"1349849421","file4":"1349849522","file5":"1349849540","file3":"1349849509"},"map_files_photo_id_array":[{"photo_id":"1349849540","filename":"file5"},{"photo_id":"1349849470","filename":"file2"},{"photo_id":"1349849522","filename":"file4"},{"photo_id":"1349849435","filename":"file1"},{"photo_id":"1349849421","filename":"file0"},{"photo_id":"1349849509","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349849509":["hashtag1","hashtag2"]},{"1349849421":["hashtag1","hashtag2"]},{"1349849540":["hashtag1","hashtag2"]},{"1349849435":["hashtag1","hashtag2"]},{"1349849522":["hashtag1","hashtag2"]},{"1349849470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349849509, 1349849421, 1349849540, 1349849435, 1349849522, 1349849470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49617671966553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:02:42.745531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/01/image_15042025_11_01_35_2794.jpg', '/home/pi/Desktop/images/15042025/11/02/image_15042025_11_02_35_3020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/01/image_15042025_11_01_35_2794.jpg
/home/pi/Desktop/images/15042025/11/02/image_15042025_11_02_35_3020.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349849689","1349849641"],"photo_ids_order":["1349849641","1349849689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46a64da4a2e9df8759a3c711799c85c6.jpg","text":"TemporaryFile(/tmp/multipartBody5308630370186272615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707823317,"filename":"image_15042025_11_02_35_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c280870825df5cb39835458ee25874b9.jpg","text":"TemporaryFile(/tmp/multipartBody4894447983794292916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707823317,"filename":"image_15042025_11_01_35_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349849689","file0":"1349849641"},"map_files_photo_id_array":[{"photo_id":"1349849689","filename":"file1"},{"photo_id":"1349849641","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349849689":["hashtag1","hashtag2"]},{"1349849641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349849689, 1349849641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.200753211975098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:03:02.915189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_40_3740.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_57_2741.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_12_2664.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_19_2579.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_28_2577.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_30_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_40_3740.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_57_2741.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_12_2664.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_19_2579.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_28_2577.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_30_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349849841","1349849879","1349849942","1349849915","1349849807","1349849749"],"photo_ids_order":["1349849749","1349849807","1349849841","1349849879","1349849915","1349849942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d44e801426c5ad808e921a8155533522.jpg","text":"TemporaryFile(/tmp/multipartBody7607948440780284686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707845618,"filename":"image_14042025_07_33_12_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a0fa500260e497f66659c96c38a80fd.jpg","text":"TemporaryFile(/tmp/multipartBody4366477770375886045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707845618,"filename":"image_14042025_07_33_19_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05a7293f2b5cc28d60144c0f12f48a4c.jpg","text":"TemporaryFile(/tmp/multipartBody8888528106573832966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707845618,"filename":"image_14042025_07_33_30_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8d4bbd2d8de82776499b40f1b670587.jpg","text":"TemporaryFile(/tmp/multipartBody6176701013342411404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707845618,"filename":"image_14042025_07_33_28_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/726ea8863b07953de2369a936c1006ad.jpg","text":"TemporaryFile(/tmp/multipartBody4569914456946806039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707845618,"filename":"image_14042025_07_32_57_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39f9d2fb7b70ebd6c05924fd82b55914.jpg","text":"TemporaryFile(/tmp/multipartBody1971774138257149833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707845618,"filename":"image_14042025_07_32_40_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349849841","file1":"1349849807","file0":"1349849749","file4":"1349849915","file5":"1349849942","file3":"1349849879"},"map_files_photo_id_array":[{"photo_id":"1349849942","filename":"file5"},{"photo_id":"1349849841","filename":"file2"},{"photo_id":"1349849915","filename":"file4"},{"photo_id":"1349849807","filename":"file1"},{"photo_id":"1349849749","filename":"file0"},{"photo_id":"1349849879","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349849841":["hashtag1","hashtag2"]},{"1349849879":["hashtag1","hashtag2"]},{"1349849942":["hashtag1","hashtag2"]},{"1349849915":["hashtag1","hashtag2"]},{"1349849807":["hashtag1","hashtag2"]},{"1349849749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349849841, 1349849879, 1349849942, 1349849915, 1349849807, 1349849749)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.92203164100647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:04:03.029740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/02/image_15042025_11_02_39_3365.jpg', '/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_18_3610.jpg', '/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_35_3582.jpg', '/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_38_2674.jpg', '/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_41_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/02/image_15042025_11_02_39_3365.jpg
/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_18_3610.jpg
/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_35_3582.jpg
/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_38_2674.jpg
/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_41_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349850016","1349850021","1349850039","1349850027","1349850032"],"photo_ids_order":["1349850016","1349850021","1349850027","1349850032","1349850039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1923eeec5cbb091da3c5945db9ff859f.jpg","text":"TemporaryFile(/tmp/multipartBody8273035636864015762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707903894,"filename":"image_15042025_11_02_39_3365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fb0a79e47f7fa51ce669dfcf2cb006e.jpg","text":"TemporaryFile(/tmp/multipartBody919670636335699894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707903894,"filename":"image_15042025_11_03_18_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f8a97056bac23a2cc52622f0ebea51c.jpg","text":"TemporaryFile(/tmp/multipartBody3007455185851887545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707903894,"filename":"image_15042025_11_03_41_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/061ce65966a9cdcbc3ca06504d3feecd.jpg","text":"TemporaryFile(/tmp/multipartBody4503538106278193112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707903894,"filename":"image_15042025_11_03_35_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb3f0867b5ba31ad30bda2382d1b491f.jpg","text":"TemporaryFile(/tmp/multipartBody1248855801454851925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707903894,"filename":"image_15042025_11_03_38_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349850027","file1":"1349850021","file0":"1349850016","file4":"1349850039","file3":"1349850032"},"map_files_photo_id_array":[{"photo_id":"1349850027","filename":"file2"},{"photo_id":"1349850039","filename":"file4"},{"photo_id":"1349850021","filename":"file1"},{"photo_id":"1349850016","filename":"file0"},{"photo_id":"1349850032","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349850016":["hashtag1","hashtag2"]},{"1349850021":["hashtag1","hashtag2"]},{"1349850039":["hashtag1","hashtag2"]},{"1349850027":["hashtag1","hashtag2"]},{"1349850032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349850016, 1349850021, 1349850039, 1349850027, 1349850032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.491475343704224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:04:42.290171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_43_2576.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_49_3600.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_54_2526.jpg', '/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_13_3574.jpg', '/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_24_2827.jpg', '/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_28_3508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_43_2576.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_49_3600.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_54_2526.jpg
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_13_3574.jpg
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_24_2827.jpg
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_28_3508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349850107","1349850130","1349850090","1349850096","1349850102","1349850077"],"photo_ids_order":["1349850077","1349850090","1349850096","1349850102","1349850107","1349850130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6855cc863e6675d0cd240236e4be9eb3.jpg","text":"TemporaryFile(/tmp/multipartBody4881368224717456588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707943729,"filename":"image_14042025_07_34_24_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d6531b4a8ad3f48b4d2bf198a68dccc.jpg","text":"TemporaryFile(/tmp/multipartBody2973501971935432607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707943729,"filename":"image_14042025_07_34_28_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14d8337cd062497a01b179f29412a441.jpg","text":"TemporaryFile(/tmp/multipartBody3516465802483856228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707943729,"filename":"image_14042025_07_33_49_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/828f8c17e9672a66c0e118e15e68b9ed.jpg","text":"TemporaryFile(/tmp/multipartBody6397515910024669894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707943729,"filename":"image_14042025_07_33_54_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66c2d7148d044c7fc1e68ec0123b18cd.jpg","text":"TemporaryFile(/tmp/multipartBody7993688318849841702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707943729,"filename":"image_14042025_07_34_13_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf38f80798fdba459c0acc49ed5ba9ea.jpg","text":"TemporaryFile(/tmp/multipartBody7543846752510869083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707943729,"filename":"image_14042025_07_33_43_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349850096","file1":"1349850090","file0":"1349850077","file4":"1349850107","file5":"1349850130","file3":"1349850102"},"map_files_photo_id_array":[{"photo_id":"1349850130","filename":"file5"},{"photo_id":"1349850096","filename":"file2"},{"photo_id":"1349850107","filename":"file4"},{"photo_id":"1349850090","filename":"file1"},{"photo_id":"1349850077","filename":"file0"},{"photo_id":"1349850102","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349850107":["hashtag1","hashtag2"]},{"1349850130":["hashtag1","hashtag2"]},{"1349850090":["hashtag1","hashtag2"]},{"1349850096":["hashtag1","hashtag2"]},{"1349850102":["hashtag1","hashtag2"]},{"1349850077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349850107, 1349850130, 1349850090, 1349850096, 1349850102, 1349850077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56665515899658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:05:24.309686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_45_3807.jpg', '/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_37_2709.jpg', '/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_44_3608.jpg', '/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_49_2749.jpg', '/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_53_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/03/image_15042025_11_03_45_3807.jpg
/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_37_2709.jpg
/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_44_3608.jpg
/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_49_2749.jpg
/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_53_3595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349850157","1349850372","1349850351","1349850324","1349850306"],"photo_ids_order":["1349850157","1349850306","1349850324","1349850351","1349850372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fae07796bf783582b6a1d32a9dd347c.jpg","text":"TemporaryFile(/tmp/multipartBody2765930530585002756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707985002,"filename":"image_15042025_11_03_45_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4179beca889bb36385e6bb77d7663310.jpg","text":"TemporaryFile(/tmp/multipartBody5080085829777229457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707985002,"filename":"image_15042025_11_05_53_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcc31e28a524e79bade03646f6f0bf2a.jpg","text":"TemporaryFile(/tmp/multipartBody319166463589349362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707985002,"filename":"image_15042025_11_05_49_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f974d619dfede9d07cf88a93baa6dfa.jpg","text":"TemporaryFile(/tmp/multipartBody2393363726296172030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707985002,"filename":"image_15042025_11_05_44_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a0031df91ee0edbdb102f97ead283da.jpg","text":"TemporaryFile(/tmp/multipartBody3261028927326810933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707985002,"filename":"image_15042025_11_05_37_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349850324","file1":"1349850306","file0":"1349850157","file4":"1349850372","file3":"1349850351"},"map_files_photo_id_array":[{"photo_id":"1349850324","filename":"file2"},{"photo_id":"1349850372","filename":"file4"},{"photo_id":"1349850306","filename":"file1"},{"photo_id":"1349850157","filename":"file0"},{"photo_id":"1349850351","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349850157":["hashtag1","hashtag2"]},{"1349850372":["hashtag1","hashtag2"]},{"1349850351":["hashtag1","hashtag2"]},{"1349850324":["hashtag1","hashtag2"]},{"1349850306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349850157, 1349850372, 1349850351, 1349850324, 1349850306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.16137409210205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:06:04.945346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_33_2718.jpg', '/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_51_2689.jpg', '/home/pi/Desktop/images/14042025/07/35/image_14042025_07_36_00_2571.jpg', '/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_22_3652.jpg', '/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_31_3567.jpg', '/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_48_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_33_2718.jpg
/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_51_2689.jpg
/home/pi/Desktop/images/14042025/07/35/image_14042025_07_36_00_2571.jpg
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_22_3652.jpg
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_31_3567.jpg
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_48_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349850919","1349850795","1349850654","1349850936","1349850723","1349850704"],"photo_ids_order":["1349850654","1349850704","1349850723","1349850795","1349850919","1349850936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a24933951c4f23ae1eb7e173c085229b.jpg","text":"TemporaryFile(/tmp/multipartBody6334257474678574856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708027473,"filename":"image_14042025_07_36_31_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b06d42ebd1edebc97fed09c68c11f2a.jpg","text":"TemporaryFile(/tmp/multipartBody2929643729278704354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708027473,"filename":"image_14042025_07_36_22_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa1b5f10fcee92d7011143a91750f017.jpg","text":"TemporaryFile(/tmp/multipartBody6177601699851531025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708027473,"filename":"image_14042025_07_34_33_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78460bcb341e745de0eeb18cebce6471.jpg","text":"TemporaryFile(/tmp/multipartBody8537711820946351705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708027473,"filename":"image_14042025_07_36_48_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7aaf00401341a83b94871c8fae138ef5.jpg","text":"TemporaryFile(/tmp/multipartBody3659314868469244617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708027473,"filename":"image_14042025_07_36_00_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29423e5cc6bec38d7659648157da5bf5.jpg","text":"TemporaryFile(/tmp/multipartBody2598790630557783654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708027473,"filename":"image_14042025_07_35_51_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349850723","file1":"1349850704","file0":"1349850654","file4":"1349850919","file5":"1349850936","file3":"1349850795"},"map_files_photo_id_array":[{"photo_id":"1349850936","filename":"file5"},{"photo_id":"1349850723","filename":"file2"},{"photo_id":"1349850919","filename":"file4"},{"photo_id":"1349850704","filename":"file1"},{"photo_id":"1349850654","filename":"file0"},{"photo_id":"1349850795","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349850919":["hashtag1","hashtag2"]},{"1349850795":["hashtag1","hashtag2"]},{"1349850654":["hashtag1","hashtag2"]},{"1349850936":["hashtag1","hashtag2"]},{"1349850723":["hashtag1","hashtag2"]},{"1349850704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349850919, 1349850795, 1349850654, 1349850936, 1349850723, 1349850704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53221893310547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:06:44.365185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_58_2766.jpg', '/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_19_2714.jpg', '/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_22_2642.jpg', '/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_49_2675.jpg', '/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_53_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/05/image_15042025_11_05_58_2766.jpg
/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_19_2714.jpg
/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_22_2642.jpg
/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_49_2675.jpg
/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_53_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349851126","1349851092","1349851110","1349851026","1349851060"],"photo_ids_order":["1349851026","1349851060","1349851092","1349851110","1349851126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f83735125e20b23d0cfe1f2842d8bf9.jpg","text":"TemporaryFile(/tmp/multipartBody6139344549253680657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708065052,"filename":"image_15042025_11_06_53_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/317a2cffe87d8ed7b7bdf26f15cd1b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8786098381468144513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708065052,"filename":"image_15042025_11_06_22_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92cba3af1a6edfa9c787e34540a5b0c0.jpg","text":"TemporaryFile(/tmp/multipartBody7892947110537884472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708065052,"filename":"image_15042025_11_06_49_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6894bb9f5ecd3767db845b32e56b8a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8706482263550133836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708065052,"filename":"image_15042025_11_05_58_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db62d9bf43decbbfdeca02315250dde9.jpg","text":"TemporaryFile(/tmp/multipartBody7493738233732308292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708065052,"filename":"image_15042025_11_06_19_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349851092","file1":"1349851060","file0":"1349851026","file4":"1349851126","file3":"1349851110"},"map_files_photo_id_array":[{"photo_id":"1349851092","filename":"file2"},{"photo_id":"1349851126","filename":"file4"},{"photo_id":"1349851060","filename":"file1"},{"photo_id":"1349851026","filename":"file0"},{"photo_id":"1349851110","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349851126":["hashtag1","hashtag2"]},{"1349851092":["hashtag1","hashtag2"]},{"1349851110":["hashtag1","hashtag2"]},{"1349851026":["hashtag1","hashtag2"]},{"1349851060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349851126, 1349851092, 1349851110, 1349851026, 1349851060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.846529245376587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:07:22.097691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_51_2626.jpg', '/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_42_2778.jpg', '/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_51_2645.jpg', '/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_51_3723.jpg', '/home/pi/Desktop/images/14042025/07/39/image_14042025_07_40_00_2586.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_03_3802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_51_2626.jpg
/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_42_2778.jpg
/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_51_2645.jpg
/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_51_3723.jpg
/home/pi/Desktop/images/14042025/07/39/image_14042025_07_40_00_2586.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_03_3802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349851230","1349851215","1349851289","1349851256","1349851223","1349851267"],"photo_ids_order":["1349851215","1349851223","1349851230","1349851256","1349851267","1349851289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6934f59489552f1c8cefe1b56cee38d1.jpg","text":"TemporaryFile(/tmp/multipartBody5689258440581407377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708105221,"filename":"image_14042025_07_37_51_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd1aa7a76327af7aabc58efb7a44b8fb.jpg","text":"TemporaryFile(/tmp/multipartBody8813032288855638185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708105221,"filename":"image_14042025_07_36_51_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c30b60880109c241337c210b75e4d4c.jpg","text":"TemporaryFile(/tmp/multipartBody268201414488914708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708105221,"filename":"image_14042025_07_40_03_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/465715c55871feb8525ec5b1047def09.jpg","text":"TemporaryFile(/tmp/multipartBody8449944123356311690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708105221,"filename":"image_14042025_07_39_51_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3f501f5576f7d5f965743a7d2820263.jpg","text":"TemporaryFile(/tmp/multipartBody4442539528536065132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708105221,"filename":"image_14042025_07_37_42_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67701ff54d4d2e35c67b743eb0f95043.jpg","text":"TemporaryFile(/tmp/multipartBody1042347721864654090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708105221,"filename":"image_14042025_07_40_00_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349851230","file1":"1349851223","file0":"1349851215","file4":"1349851267","file5":"1349851289","file3":"1349851256"},"map_files_photo_id_array":[{"photo_id":"1349851289","filename":"file5"},{"photo_id":"1349851230","filename":"file2"},{"photo_id":"1349851267","filename":"file4"},{"photo_id":"1349851223","filename":"file1"},{"photo_id":"1349851215","filename":"file0"},{"photo_id":"1349851256","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349851230":["hashtag1","hashtag2"]},{"1349851215":["hashtag1","hashtag2"]},{"1349851289":["hashtag1","hashtag2"]},{"1349851256":["hashtag1","hashtag2"]},{"1349851223":["hashtag1","hashtag2"]},{"1349851267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349851230, 1349851215, 1349851289, 1349851256, 1349851223, 1349851267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.930230379104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:08:03.226941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_33_2746.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_35_2623.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_42_2583.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_48_2851.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_51_2620.jpg', '/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_06_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_33_2746.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_35_2623.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_42_2583.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_48_2851.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_51_2620.jpg
/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_06_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349851489","1349851462","1349851456","1349851438","1349851468","1349851447"],"photo_ids_order":["1349851438","1349851447","1349851456","1349851462","1349851468","1349851489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9de76a21cd5d831c5175fcfcba13b40.jpg","text":"TemporaryFile(/tmp/multipartBody7602047163800131002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708145875,"filename":"image_14042025_07_41_06_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/715ff51abb40d1aa6ad1a9559c6b1124.jpg","text":"TemporaryFile(/tmp/multipartBody4091278765585429731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708145875,"filename":"image_14042025_07_40_48_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ddf9aaf0b5dddab2a0408cf595cebdb.jpg","text":"TemporaryFile(/tmp/multipartBody7034500089495760737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708145875,"filename":"image_14042025_07_40_42_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de68ee1d7c083d28a1831e914461db7f.jpg","text":"TemporaryFile(/tmp/multipartBody4522063208937339308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708145875,"filename":"image_14042025_07_40_33_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9aba72c512f82324fa33055e37a1556.jpg","text":"TemporaryFile(/tmp/multipartBody7157607133220747713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708145875,"filename":"image_14042025_07_40_51_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/662ea321c3b46e04c6b8530280805790.jpg","text":"TemporaryFile(/tmp/multipartBody2330768573098208772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708145875,"filename":"image_14042025_07_40_35_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349851456","file1":"1349851447","file0":"1349851438","file4":"1349851468","file5":"1349851489","file3":"1349851462"},"map_files_photo_id_array":[{"photo_id":"1349851489","filename":"file5"},{"photo_id":"1349851456","filename":"file2"},{"photo_id":"1349851468","filename":"file4"},{"photo_id":"1349851447","filename":"file1"},{"photo_id":"1349851438","filename":"file0"},{"photo_id":"1349851462","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349851489":["hashtag1","hashtag2"]},{"1349851462":["hashtag1","hashtag2"]},{"1349851456":["hashtag1","hashtag2"]},{"1349851438":["hashtag1","hashtag2"]},{"1349851468":["hashtag1","hashtag2"]},{"1349851447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349851489, 1349851462, 1349851456, 1349851438, 1349851468, 1349851447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.283063650131226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:08:42.744039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_55_2528.jpg', '/home/pi/Desktop/images/15042025/11/08/image_15042025_11_08_34_3678.jpg', '/home/pi/Desktop/images/15042025/11/08/image_15042025_11_08_40_2934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/06/image_15042025_11_06_55_2528.jpg
/home/pi/Desktop/images/15042025/11/08/image_15042025_11_08_34_3678.jpg
/home/pi/Desktop/images/15042025/11/08/image_15042025_11_08_40_2934.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349851699","1349851663","1349851624"],"photo_ids_order":["1349851624","1349851663","1349851699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bbd6beb5bde381c0dac925285029968b.jpg","text":"TemporaryFile(/tmp/multipartBody6997065366903185347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708183348,"filename":"image_15042025_11_08_40_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b99bf27ba17b489b692f8d94c157489.jpg","text":"TemporaryFile(/tmp/multipartBody125566169631765894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708183348,"filename":"image_15042025_11_08_34_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2867ea14c3a884eab6c6361c05c1fb1.jpg","text":"TemporaryFile(/tmp/multipartBody5657202271531616832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708183348,"filename":"image_15042025_11_06_55_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349851699","file1":"1349851663","file0":"1349851624"},"map_files_photo_id_array":[{"photo_id":"1349851699","filename":"file2"},{"photo_id":"1349851663","filename":"file1"},{"photo_id":"1349851624","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349851699":["hashtag1","hashtag2"]},{"1349851663":["hashtag1","hashtag2"]},{"1349851624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349851699, 1349851663, 1349851624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.018444776535034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:09:22.271260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/08/image_15042025_11_08_49_2651.jpg', '/home/pi/Desktop/images/15042025/11/09/image_15042025_11_09_22_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/08/image_15042025_11_08_49_2651.jpg
/home/pi/Desktop/images/15042025/11/09/image_15042025_11_09_22_2698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349852054","1349852095"],"photo_ids_order":["1349852054","1349852095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5be50905b074fd2b0acbd72c5cd15302.jpg","text":"TemporaryFile(/tmp/multipartBody6892281747568603681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708222844,"filename":"image_15042025_11_08_49_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96610025d2038a3af809f08afcde1b6b.jpg","text":"TemporaryFile(/tmp/multipartBody2211587845992560541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708222844,"filename":"image_15042025_11_09_22_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349852095","file0":"1349852054"},"map_files_photo_id_array":[{"photo_id":"1349852095","filename":"file1"},{"photo_id":"1349852054","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349852054":["hashtag1","hashtag2"]},{"1349852095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349852054, 1349852095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.042088747024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:09:42.303357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_12_3636.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_06_3692.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_09_2681.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_14_2888.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_26_2607.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_29_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_12_3636.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_06_3692.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_09_2681.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_14_2888.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_26_2607.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_29_2892.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4127588272094727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:10:02.385887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_12_3636.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_06_3692.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_09_2681.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_14_2888.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_26_2607.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_29_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_12_3636.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_06_3692.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_09_2681.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_14_2888.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_26_2607.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_29_2892.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349852388","1349852631","1349852596","1349852542","1349852464","1349852410"],"photo_ids_order":["1349852388","1349852410","1349852464","1349852542","1349852596","1349852631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62c2fdd23087fcc605bf8b0ce00bbc38.jpg","text":"TemporaryFile(/tmp/multipartBody7121797859527019862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264842,"filename":"image_14042025_07_41_12_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec6187d6e009c2a5a05c41df4a92c1d2.jpg","text":"TemporaryFile(/tmp/multipartBody5639763083733125614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264842,"filename":"image_14042025_07_44_29_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0782125d6c3a028dab4081f969d6d65.jpg","text":"TemporaryFile(/tmp/multipartBody989273195459210505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264842,"filename":"image_14042025_07_44_26_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/864544f7e383e054160481512a4dd893.jpg","text":"TemporaryFile(/tmp/multipartBody478181556581275712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264842,"filename":"image_14042025_07_44_14_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1824aad8581a7a08483ddbcb2b80e3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6642832814919815957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264842,"filename":"image_14042025_07_44_09_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0155b68ce0b92521e511aa2a25d292b8.jpg","text":"TemporaryFile(/tmp/multipartBody232056664342222094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264842,"filename":"image_14042025_07_44_06_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852464","file1":"1349852410","file0":"1349852388","file4":"1349852596","file5":"1349852631","file3":"1349852542"},"map_files_photo_id_array":[{"photo_id":"1349852631","filename":"file5"},{"photo_id":"1349852464","filename":"file2"},{"photo_id":"1349852596","filename":"file4"},{"photo_id":"1349852410","filename":"file1"},{"photo_id":"1349852388","filename":"file0"},{"photo_id":"1349852542","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349852388":["hashtag1","hashtag2"]},{"1349852631":["hashtag1","hashtag2"]},{"1349852596":["hashtag1","hashtag2"]},{"1349852542":["hashtag1","hashtag2"]},{"1349852464":["hashtag1","hashtag2"]},{"1349852410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349852388, 1349852631, 1349852596, 1349852542, 1349852464, 1349852410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54913568496704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:10:41.812455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_32_2748.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_36_3655.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_38_2704.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_41_2611.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_45_3744.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_48_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_32_2748.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_36_3655.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_38_2704.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_41_2611.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_45_3744.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_48_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349852691","1349852727","1349852669","1349852677","1349852793","1349852760"],"photo_ids_order":["1349852669","1349852677","1349852691","1349852727","1349852760","1349852793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9816362da4fd554eb93d4bd8ed85e3f.jpg","text":"TemporaryFile(/tmp/multipartBody4859094576583970134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708303366,"filename":"image_14042025_07_44_38_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5eb7d5d161481df037ac388b66ce284e.jpg","text":"TemporaryFile(/tmp/multipartBody6870147308130751513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708303366,"filename":"image_14042025_07_44_41_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/637fa2a403f1175bf36167840a5d6b47.jpg","text":"TemporaryFile(/tmp/multipartBody3909147200549412806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708303366,"filename":"image_14042025_07_44_32_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cd8075f3e8a4e737534f79cfa32591e.jpg","text":"TemporaryFile(/tmp/multipartBody5560370520734763676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708303366,"filename":"image_14042025_07_44_36_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50a9b45bbf7297b81d34447a45bc40ef.jpg","text":"TemporaryFile(/tmp/multipartBody1394124562082037927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708303366,"filename":"image_14042025_07_44_48_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/142bd6987e50662472e588a11e85adf5.jpg","text":"TemporaryFile(/tmp/multipartBody4601183516893204779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708303366,"filename":"image_14042025_07_44_45_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852691","file1":"1349852677","file0":"1349852669","file4":"1349852760","file5":"1349852793","file3":"1349852727"},"map_files_photo_id_array":[{"photo_id":"1349852793","filename":"file5"},{"photo_id":"1349852691","filename":"file2"},{"photo_id":"1349852760","filename":"file4"},{"photo_id":"1349852677","filename":"file1"},{"photo_id":"1349852669","filename":"file0"},{"photo_id":"1349852727","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349852691":["hashtag1","hashtag2"]},{"1349852727":["hashtag1","hashtag2"]},{"1349852669":["hashtag1","hashtag2"]},{"1349852677":["hashtag1","hashtag2"]},{"1349852793":["hashtag1","hashtag2"]},{"1349852760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349852691, 1349852727, 1349852669, 1349852677, 1349852793, 1349852760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50739908218384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:11:22.000401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/09/image_15042025_11_09_52_2892.jpg', '/home/pi/Desktop/images/15042025/11/11/image_15042025_11_11_06_3011.jpg', '/home/pi/Desktop/images/15042025/11/11/image_15042025_11_11_16_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/09/image_15042025_11_09_52_2892.jpg
/home/pi/Desktop/images/15042025/11/11/image_15042025_11_11_06_3011.jpg
/home/pi/Desktop/images/15042025/11/11/image_15042025_11_11_16_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349852844","1349852838","1349852832"],"photo_ids_order":["1349852832","1349852838","1349852844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0afd0f6a147f143c9912cbcb1d4e0ba.jpg","text":"TemporaryFile(/tmp/multipartBody7282235204228747140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708342626,"filename":"image_15042025_11_11_16_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2045fbc78062ed73c536e84791e0a511.jpg","text":"TemporaryFile(/tmp/multipartBody8654130757102516464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708342626,"filename":"image_15042025_11_11_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0548772572fd44dcbae8454b25f1fe8f.jpg","text":"TemporaryFile(/tmp/multipartBody1505590831136218115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708342626,"filename":"image_15042025_11_09_52_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852844","file1":"1349852838","file0":"1349852832"},"map_files_photo_id_array":[{"photo_id":"1349852844","filename":"file2"},{"photo_id":"1349852838","filename":"file1"},{"photo_id":"1349852832","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349852844":["hashtag1","hashtag2"]},{"1349852838":["hashtag1","hashtag2"]},{"1349852832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349852844, 1349852838, 1349852832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.352214097976685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:12:03.012068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_50_2671.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_02_2689.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_14_2721.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_27_3725.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_30_2826.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_36_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_50_2671.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_02_2689.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_14_2721.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_27_3725.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_30_2826.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_36_3582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349852916","1349852931","1349852910","1349852904","1349852924","1349852941"],"photo_ids_order":["1349852904","1349852910","1349852916","1349852924","1349852931","1349852941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5740ce832f8e04968833b4e9b09af379.jpg","text":"TemporaryFile(/tmp/multipartBody5998695441521970427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385646,"filename":"image_14042025_07_45_14_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92a100f2bb19256f11338e135ee21ca6.jpg","text":"TemporaryFile(/tmp/multipartBody6356292250621981194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385646,"filename":"image_14042025_07_45_30_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/003952795b73102871896047c8961dda.jpg","text":"TemporaryFile(/tmp/multipartBody1501102180526041986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385646,"filename":"image_14042025_07_45_02_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c52af10f041a82f980c8fed29c746703.jpg","text":"TemporaryFile(/tmp/multipartBody7088405169182340860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385646,"filename":"image_14042025_07_44_50_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6b2439ccc0243d7865f5179eb08a3f1.jpg","text":"TemporaryFile(/tmp/multipartBody728688902292345877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385646,"filename":"image_14042025_07_45_27_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cee1df9dc6e26229573a0de6d7245e89.jpg","text":"TemporaryFile(/tmp/multipartBody2178840663329457311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385646,"filename":"image_14042025_07_45_36_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852916","file1":"1349852910","file0":"1349852904","file4":"1349852931","file5":"1349852941","file3":"1349852924"},"map_files_photo_id_array":[{"photo_id":"1349852941","filename":"file5"},{"photo_id":"1349852916","filename":"file2"},{"photo_id":"1349852931","filename":"file4"},{"photo_id":"1349852910","filename":"file1"},{"photo_id":"1349852904","filename":"file0"},{"photo_id":"1349852924","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349852916":["hashtag1","hashtag2"]},{"1349852931":["hashtag1","hashtag2"]},{"1349852910":["hashtag1","hashtag2"]},{"1349852904":["hashtag1","hashtag2"]},{"1349852924":["hashtag1","hashtag2"]},{"1349852941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349852916, 1349852931, 1349852910, 1349852904, 1349852924, 1349852941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.101500511169434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:12:42.385004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/11/image_15042025_11_11_34_2660.jpg', '/home/pi/Desktop/images/15042025/11/12/image_15042025_11_12_01_2631.jpg', '/home/pi/Desktop/images/15042025/11/12/image_15042025_11_12_15_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/11/image_15042025_11_11_34_2660.jpg
/home/pi/Desktop/images/15042025/11/12/image_15042025_11_12_01_2631.jpg
/home/pi/Desktop/images/15042025/11/12/image_15042025_11_12_15_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349852972","1349852977","1349852965"],"photo_ids_order":["1349852965","1349852972","1349852977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b79d877ffc82a142ad027315d00c2625.jpg","text":"TemporaryFile(/tmp/multipartBody7309452315295982376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708422987,"filename":"image_15042025_11_12_01_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc170b5bbeb62bb3c8aa2dcb27781670.jpg","text":"TemporaryFile(/tmp/multipartBody6136259000920705061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708422987,"filename":"image_15042025_11_12_15_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78a59fa31cf58979f55a2af747364bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6754777566346132206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708422987,"filename":"image_15042025_11_11_34_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852977","file1":"1349852972","file0":"1349852965"},"map_files_photo_id_array":[{"photo_id":"1349852977","filename":"file2"},{"photo_id":"1349852972","filename":"file1"},{"photo_id":"1349852965","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349852972":["hashtag1","hashtag2"]},{"1349852977":["hashtag1","hashtag2"]},{"1349852965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349852972, 1349852977, 1349852965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.255094528198242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:13:21.891622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_27_3653.jpg', '/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_38_2662.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_17_2653.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_41_2647.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_45_3611.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_59_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_27_3653.jpg
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_38_2662.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_17_2653.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_41_2647.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_45_3611.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_59_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853111","1349853076","1349853067","1349853046","1349853040","1349853103"],"photo_ids_order":["1349853040","1349853046","1349853067","1349853076","1349853103","1349853111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efa2096cbf86e922bc7b7be3fbc842aa.jpg","text":"TemporaryFile(/tmp/multipartBody1942374477703685996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708465068,"filename":"image_14042025_07_47_59_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2684dbb99f1f57aae67d9f806fd1066.jpg","text":"TemporaryFile(/tmp/multipartBody673464252403463082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708465068,"filename":"image_14042025_07_47_41_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5800d7197f9396db8d5ad8d8d224fc0b.jpg","text":"TemporaryFile(/tmp/multipartBody81312430539976141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708465068,"filename":"image_14042025_07_47_17_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43b90f1136a17bf2daeb0fcd8703d76d.jpg","text":"TemporaryFile(/tmp/multipartBody5658412538569278535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708465068,"filename":"image_14042025_07_46_38_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d7f1320ca3e8010cd812ce8b896fe8a.jpg","text":"TemporaryFile(/tmp/multipartBody4938901633436150629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708465068,"filename":"image_14042025_07_46_27_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/073660fe780de0cfbee3e5a3a09aa922.jpg","text":"TemporaryFile(/tmp/multipartBody4882696375779687164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708465068,"filename":"image_14042025_07_47_45_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853067","file1":"1349853046","file0":"1349853040","file4":"1349853103","file5":"1349853111","file3":"1349853076"},"map_files_photo_id_array":[{"photo_id":"1349853111","filename":"file5"},{"photo_id":"1349853067","filename":"file2"},{"photo_id":"1349853103","filename":"file4"},{"photo_id":"1349853046","filename":"file1"},{"photo_id":"1349853040","filename":"file0"},{"photo_id":"1349853076","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349853111":["hashtag1","hashtag2"]},{"1349853076":["hashtag1","hashtag2"]},{"1349853067":["hashtag1","hashtag2"]},{"1349853046":["hashtag1","hashtag2"]},{"1349853040":["hashtag1","hashtag2"]},{"1349853103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349853111, 1349853076, 1349853067, 1349853046, 1349853040, 1349853103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5484676361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:14:03.082544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_17_3665.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_20_2761.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_26_3637.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_35_3565.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_41_3567.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_44_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_17_3665.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_20_2761.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_26_3637.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_35_3565.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_41_3567.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_44_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853172","1349853181","1349853169","1349853235","1349853177","1349853186"],"photo_ids_order":["1349853169","1349853172","1349853177","1349853181","1349853186","1349853235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c4e011897f78542614d09aadbc8095f.jpg","text":"TemporaryFile(/tmp/multipartBody605049439638284385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708505657,"filename":"image_14042025_07_48_20_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70948db3bf9738d0e86950790a5bdfd4.jpg","text":"TemporaryFile(/tmp/multipartBody3560387810195051171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708505657,"filename":"image_14042025_07_48_35_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcf507622932fd2e5421b94aa3a0b485.jpg","text":"TemporaryFile(/tmp/multipartBody8751725394267608651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708505657,"filename":"image_14042025_07_48_17_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8afcaa32ef01ec6814dab1c99c5f7f34.jpg","text":"TemporaryFile(/tmp/multipartBody7944189965782244265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708505657,"filename":"image_14042025_07_48_44_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3cd9ec300be58f115b133c89097e8b7.jpg","text":"TemporaryFile(/tmp/multipartBody4159842845926994759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708505657,"filename":"image_14042025_07_48_26_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef89c65e066a411c6cfaabcc5a6ca439.jpg","text":"TemporaryFile(/tmp/multipartBody2749799847553083039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708505657,"filename":"image_14042025_07_48_41_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853177","file1":"1349853172","file0":"1349853169","file4":"1349853186","file5":"1349853235","file3":"1349853181"},"map_files_photo_id_array":[{"photo_id":"1349853235","filename":"file5"},{"photo_id":"1349853177","filename":"file2"},{"photo_id":"1349853186","filename":"file4"},{"photo_id":"1349853172","filename":"file1"},{"photo_id":"1349853169","filename":"file0"},{"photo_id":"1349853181","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349853172":["hashtag1","hashtag2"]},{"1349853181":["hashtag1","hashtag2"]},{"1349853169":["hashtag1","hashtag2"]},{"1349853235":["hashtag1","hashtag2"]},{"1349853177":["hashtag1","hashtag2"]},{"1349853186":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349853172, 1349853181, 1349853169, 1349853235, 1349853177, 1349853186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.501410484313965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:14:42.429196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_47_2839.jpg', '/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_29_2606.jpg', '/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_32_2754.jpg', '/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_14_2715.jpg', '/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_44_2606.jpg', '/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_47_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_47_2839.jpg
/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_29_2606.jpg
/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_32_2754.jpg
/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_14_2715.jpg
/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_44_2606.jpg
/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_47_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853278","1349853263","1349853272","1349853286","1349853294","1349853282"],"photo_ids_order":["1349853263","1349853272","1349853278","1349853282","1349853286","1349853294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d51c9ef56681b8b223958decf8d32138.jpg","text":"TemporaryFile(/tmp/multipartBody1560520369849200213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543881,"filename":"image_14042025_07_49_32_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2588ebd9522382e8a7297c9bec80ff74.jpg","text":"TemporaryFile(/tmp/multipartBody6887598105780548427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543881,"filename":"image_14042025_07_48_47_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/825e57209e992f20b3ee9cd5bbab4ed8.jpg","text":"TemporaryFile(/tmp/multipartBody8142008820662752281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543881,"filename":"image_14042025_07_49_29_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8c60b37b41d4588d5f6cc0a3d89fb25.jpg","text":"TemporaryFile(/tmp/multipartBody1466990787959432863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543881,"filename":"image_14042025_07_50_44_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6b8fbc23f75fef65b1472a15b7445f8.jpg","text":"TemporaryFile(/tmp/multipartBody51119974285200080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543881,"filename":"image_14042025_07_51_47_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10c9e553d3178dcee1eb556bd316f716.jpg","text":"TemporaryFile(/tmp/multipartBody4603015276913984903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543881,"filename":"image_14042025_07_50_14_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853278","file1":"1349853272","file0":"1349853263","file4":"1349853286","file5":"1349853294","file3":"1349853282"},"map_files_photo_id_array":[{"photo_id":"1349853294","filename":"file5"},{"photo_id":"1349853278","filename":"file2"},{"photo_id":"1349853286","filename":"file4"},{"photo_id":"1349853272","filename":"file1"},{"photo_id":"1349853263","filename":"file0"},{"photo_id":"1349853282","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349853278":["hashtag1","hashtag2"]},{"1349853263":["hashtag1","hashtag2"]},{"1349853272":["hashtag1","hashtag2"]},{"1349853286":["hashtag1","hashtag2"]},{"1349853294":["hashtag1","hashtag2"]},{"1349853282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349853278, 1349853263, 1349853272, 1349853286, 1349853294, 1349853282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73892402648926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:15:21.960755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_59_2831.jpg', '/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_34_2814.jpg', '/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_50_2675.jpg', '/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_07_2641.jpg', '/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_14_2701.jpg', '/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_52_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_59_2831.jpg
/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_34_2814.jpg
/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_50_2675.jpg
/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_07_2641.jpg
/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_14_2701.jpg
/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_52_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853335","1349853328","1349853343","1349853322","1349853316","1349853351"],"photo_ids_order":["1349853316","1349853322","1349853328","1349853335","1349853343","1349853351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49f78d36e3dd1fe5c446c5bdc5008875.jpg","text":"TemporaryFile(/tmp/multipartBody6732918642012438303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708585092,"filename":"image_14042025_07_53_07_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7f1fa1b31b63e13e05ed42c53dd52f5.jpg","text":"TemporaryFile(/tmp/multipartBody3253927390342966394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708585092,"filename":"image_14042025_07_52_50_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8bddca0ef13ed46eecb9b68f59590c00.jpg","text":"TemporaryFile(/tmp/multipartBody6030936398995295229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708585092,"filename":"image_14042025_07_53_14_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98a8473673e4960d91b7ce0670e17b80.jpg","text":"TemporaryFile(/tmp/multipartBody3943940276575176908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708585092,"filename":"image_14042025_07_52_34_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c317efe613f950f0edfe5f285855edc.jpg","text":"TemporaryFile(/tmp/multipartBody7010661775362749192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708585092,"filename":"image_14042025_07_51_59_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72f5a16468ba679563d30bb122497ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2764448801958023812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708585092,"filename":"image_14042025_07_53_52_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853328","file1":"1349853322","file0":"1349853316","file4":"1349853343","file5":"1349853351","file3":"1349853335"},"map_files_photo_id_array":[{"photo_id":"1349853351","filename":"file5"},{"photo_id":"1349853328","filename":"file2"},{"photo_id":"1349853343","filename":"file4"},{"photo_id":"1349853322","filename":"file1"},{"photo_id":"1349853316","filename":"file0"},{"photo_id":"1349853335","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349853335":["hashtag1","hashtag2"]},{"1349853328":["hashtag1","hashtag2"]},{"1349853343":["hashtag1","hashtag2"]},{"1349853322":["hashtag1","hashtag2"]},{"1349853316":["hashtag1","hashtag2"]},{"1349853351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349853335, 1349853328, 1349853343, 1349853322, 1349853316, 1349853351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.462305545806885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:16:02.772081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_41_3659.jpg', '/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_44_2744.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_02_3578.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_04_2780.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_07_2874.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_10_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_41_3659.jpg
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_44_2744.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_02_3578.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_04_2780.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_07_2874.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_10_2707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.4818286895751953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:16:22.163023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_41_3659.jpg', '/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_44_2744.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_02_3578.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_04_2780.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_07_2874.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_10_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_41_3659.jpg
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_44_2744.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_02_3578.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_04_2780.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_07_2874.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_10_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853441","1349853422","1349853397","1349853400","1349853406","1349853456"],"photo_ids_order":["1349853397","1349853400","1349853406","1349853422","1349853441","1349853456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe2470870010f92411b71aa76d96fcf7.jpg","text":"TemporaryFile(/tmp/multipartBody6186544686865888054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708645389,"filename":"image_14042025_07_55_07_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d4183740e2fa6cabd748a719e52d05e.jpg","text":"TemporaryFile(/tmp/multipartBody8349602259137259042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708645389,"filename":"image_14042025_07_55_04_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d1b09742779580647c4601cf91dcbf7.jpg","text":"TemporaryFile(/tmp/multipartBody365192311010911945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708645389,"filename":"image_14042025_07_54_41_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b77fedcdaf7fed85ce9dea48f28034f0.jpg","text":"TemporaryFile(/tmp/multipartBody4691696080556372177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708645389,"filename":"image_14042025_07_54_44_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61a2880fb555a284657873df7409fd6e.jpg","text":"TemporaryFile(/tmp/multipartBody6393358409050743567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708645389,"filename":"image_14042025_07_55_02_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df9693998def0dac52aee72f9d78a8fe.jpg","text":"TemporaryFile(/tmp/multipartBody5653311803948162802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708645389,"filename":"image_14042025_07_55_10_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853406","file1":"1349853400","file0":"1349853397","file4":"1349853441","file5":"1349853456","file3":"1349853422"},"map_files_photo_id_array":[{"photo_id":"1349853456","filename":"file5"},{"photo_id":"1349853406","filename":"file2"},{"photo_id":"1349853441","filename":"file4"},{"photo_id":"1349853400","filename":"file1"},{"photo_id":"1349853397","filename":"file0"},{"photo_id":"1349853422","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349853441":["hashtag1","hashtag2"]},{"1349853422":["hashtag1","hashtag2"]},{"1349853397":["hashtag1","hashtag2"]},{"1349853400":["hashtag1","hashtag2"]},{"1349853406":["hashtag1","hashtag2"]},{"1349853456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349853441, 1349853422, 1349853397, 1349853400, 1349853406, 1349853456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.06809997558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:17:22.174420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/12/image_15042025_11_12_58_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/12/image_15042025_11_12_58_3677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853533"],"photo_id":"1349853533","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69bf80ccc58b44b696fa0f4eb43bd93b.jpg","text":"TemporaryFile(/tmp/multipartBody3769798325896438055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708702708,"filename":"image_15042025_11_12_58_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349853533"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349853533"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.496134996414185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:17:42.102470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_14_3656.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_19_2557.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_50_3549.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_53_2648.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_55_2768.jpg', '/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_02_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_14_3656.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_19_2557.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_50_3549.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_53_2648.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_55_2768.jpg
/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_02_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853599","1349853603","1349853611","1349853583","1349853594","1349853588"],"photo_ids_order":["1349853583","1349853588","1349853594","1349853599","1349853603","1349853611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85601d0ded25a0b7a3dfa8a7bdcd890d.jpg","text":"TemporaryFile(/tmp/multipartBody2114353247486572527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708723594,"filename":"image_14042025_07_55_53_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a1ce2a84365aee214cbf387b94de238.jpg","text":"TemporaryFile(/tmp/multipartBody559705615185680230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708723594,"filename":"image_14042025_07_55_55_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c6ab69b37bfdf6d7abf67d217f727fc.jpg","text":"TemporaryFile(/tmp/multipartBody339289194921827091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708723594,"filename":"image_14042025_07_56_02_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/932f5db05b32c869286490caba6d2fac.jpg","text":"TemporaryFile(/tmp/multipartBody2302099197284547949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708723594,"filename":"image_14042025_07_55_14_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f7bb582f4e8b3929fd305ea758f005a.jpg","text":"TemporaryFile(/tmp/multipartBody7096825859542613914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708723594,"filename":"image_14042025_07_55_50_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/640891c2c7c14e6a9a574358b8e51340.jpg","text":"TemporaryFile(/tmp/multipartBody2238866055327550512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708723594,"filename":"image_14042025_07_55_19_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853594","file1":"1349853588","file0":"1349853583","file4":"1349853603","file5":"1349853611","file3":"1349853599"},"map_files_photo_id_array":[{"photo_id":"1349853611","filename":"file5"},{"photo_id":"1349853594","filename":"file2"},{"photo_id":"1349853603","filename":"file4"},{"photo_id":"1349853588","filename":"file1"},{"photo_id":"1349853583","filename":"file0"},{"photo_id":"1349853599","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349853599":["hashtag1","hashtag2"]},{"1349853603":["hashtag1","hashtag2"]},{"1349853611":["hashtag1","hashtag2"]},{"1349853583":["hashtag1","hashtag2"]},{"1349853594":["hashtag1","hashtag2"]},{"1349853588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349853599, 1349853603, 1349853611, 1349853583, 1349853594, 1349853588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.899436235427856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:18:22.480564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/17/image_15042025_11_17_04_2672.jpg', '/home/pi/Desktop/images/15042025/11/18/image_15042025_11_18_43_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/17/image_15042025_11_17_04_2672.jpg
/home/pi/Desktop/images/15042025/11/18/image_15042025_11_18_43_2648.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853727","1349853693"],"photo_ids_order":["1349853693","1349853727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4750c92d9238928959b29ea200849b2.jpg","text":"TemporaryFile(/tmp/multipartBody7463559709143981141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708763059,"filename":"image_15042025_11_18_43_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59e9abab25173cec9d213e3bfcc19867.jpg","text":"TemporaryFile(/tmp/multipartBody8559483951902444952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708763059,"filename":"image_15042025_11_17_04_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349853727","file0":"1349853693"},"map_files_photo_id_array":[{"photo_id":"1349853727","filename":"file1"},{"photo_id":"1349853693","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349853727":["hashtag1","hashtag2"]},{"1349853693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349853727, 1349853693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.877121925354004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:18:42.489137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_34_2542.jpg', '/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_46_2780.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_11_3583.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_19_2602.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_22_3610.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_34_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_34_2542.jpg
/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_46_2780.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_11_3583.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_19_2602.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_22_3610.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_34_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853825","1349853820","1349853814","1349853802","1349853792","1349853834"],"photo_ids_order":["1349853792","1349853802","1349853814","1349853820","1349853825","1349853834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/225b2ca9a89d3180cd78c80e5a3acd0e.jpg","text":"TemporaryFile(/tmp/multipartBody2773588155573528987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708783984,"filename":"image_14042025_07_58_22_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e366e37ee5578304649b00c50ad3f29.jpg","text":"TemporaryFile(/tmp/multipartBody2844031436713837992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708783984,"filename":"image_14042025_07_58_19_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71d8fa9bc258ecdee6e86f794b7d3d7c.jpg","text":"TemporaryFile(/tmp/multipartBody2815270719443211337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708783984,"filename":"image_14042025_07_58_11_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf35f24a14bfdbdeaa1b751381dfdfd9.jpg","text":"TemporaryFile(/tmp/multipartBody3213145380936092941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708783984,"filename":"image_14042025_07_57_46_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63a6a8822da5aeee2ed538be3c65dc4b.jpg","text":"TemporaryFile(/tmp/multipartBody6176102499808621239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708783984,"filename":"image_14042025_07_56_34_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4fce297b40a79f70b15b1e9c955bb73.jpg","text":"TemporaryFile(/tmp/multipartBody5280541783143855969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708783984,"filename":"image_14042025_07_58_34_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853814","file1":"1349853802","file0":"1349853792","file4":"1349853825","file5":"1349853834","file3":"1349853820"},"map_files_photo_id_array":[{"photo_id":"1349853834","filename":"file5"},{"photo_id":"1349853814","filename":"file2"},{"photo_id":"1349853825","filename":"file4"},{"photo_id":"1349853802","filename":"file1"},{"photo_id":"1349853792","filename":"file0"},{"photo_id":"1349853820","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349853825":["hashtag1","hashtag2"]},{"1349853820":["hashtag1","hashtag2"]},{"1349853814":["hashtag1","hashtag2"]},{"1349853802":["hashtag1","hashtag2"]},{"1349853792":["hashtag1","hashtag2"]},{"1349853834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349853825, 1349853820, 1349853814, 1349853802, 1349853792, 1349853834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.091607093811035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:19:22.624032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/18/image_15042025_11_18_55_2883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/18/image_15042025_11_18_55_2883.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853862"],"photo_id":"1349853862","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e77428d5746bf526429855456d807563.jpg","text":"TemporaryFile(/tmp/multipartBody3642436057500892700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708823151,"filename":"image_15042025_11_18_55_2883.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349853862"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349853862"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.429677724838257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:19:42.582249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_56_3583.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_58_2564.jpg', '/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_01_2542.jpg', '/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_22_2699.jpg', '/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_37_2662.jpg', '/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_08_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_56_3583.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_58_2564.jpg
/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_01_2542.jpg
/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_22_2699.jpg
/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_37_2662.jpg
/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_08_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349853953","1349853947","1349853914","1349853902","1349853963","1349853957"],"photo_ids_order":["1349853902","1349853914","1349853947","1349853953","1349853957","1349853963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9dc1b39175b9fe1ee01f0550c084c78.jpg","text":"TemporaryFile(/tmp/multipartBody3838156963532181378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708844044,"filename":"image_14042025_07_59_22_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d208ab557cb8cffa34e096ef87e8efa3.jpg","text":"TemporaryFile(/tmp/multipartBody2049692847656589307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708844044,"filename":"image_14042025_07_59_01_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b9be46d352163fa411358920fbb47f7.jpg","text":"TemporaryFile(/tmp/multipartBody7115245237099492028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708844044,"filename":"image_14042025_07_58_58_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4b964e6e5a017c382481faacabef1ef.jpg","text":"TemporaryFile(/tmp/multipartBody5256442058357537643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708844044,"filename":"image_14042025_07_58_56_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1678029b2e40db5d6b32b8ac75b33c6f.jpg","text":"TemporaryFile(/tmp/multipartBody5574176530368202823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708844044,"filename":"image_14042025_08_00_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f981eaeff46caee5ceb81dc9ba474b6.jpg","text":"TemporaryFile(/tmp/multipartBody7546145413617734043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708844044,"filename":"image_14042025_07_59_37_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853947","file1":"1349853914","file0":"1349853902","file4":"1349853957","file5":"1349853963","file3":"1349853953"},"map_files_photo_id_array":[{"photo_id":"1349853963","filename":"file5"},{"photo_id":"1349853947","filename":"file2"},{"photo_id":"1349853957","filename":"file4"},{"photo_id":"1349853914","filename":"file1"},{"photo_id":"1349853902","filename":"file0"},{"photo_id":"1349853953","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349853953":["hashtag1","hashtag2"]},{"1349853947":["hashtag1","hashtag2"]},{"1349853914":["hashtag1","hashtag2"]},{"1349853902":["hashtag1","hashtag2"]},{"1349853963":["hashtag1","hashtag2"]},{"1349853957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349853953, 1349853947, 1349853914, 1349853902, 1349853963, 1349853957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22787666320801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:20:21.994797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_17_2871.jpg', '/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_41_2687.jpg', '/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_52_2806.jpg', '/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_59_2705.jpg', '/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_05_3663.jpg', '/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_31_2503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_17_2871.jpg
/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_41_2687.jpg
/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_52_2806.jpg
/home/pi/Desktop/images/14042025/08/00/image_14042025_08_00_59_2705.jpg
/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_05_3663.jpg
/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_31_2503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854043","1349854031","1349854025","1349854036","1349854012","1349854005"],"photo_ids_order":["1349854005","1349854012","1349854025","1349854031","1349854036","1349854043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2837592b8990c19c2c3ce61c7e7082a8.jpg","text":"TemporaryFile(/tmp/multipartBody2856201771938456079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708885207,"filename":"image_14042025_08_05_31_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/12df0a893377d529e498d5ec937faab5.jpg","text":"TemporaryFile(/tmp/multipartBody6576978828070136069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708885207,"filename":"image_14042025_08_00_59_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dceb09886584cd3ef11f310832300f9a.jpg","text":"TemporaryFile(/tmp/multipartBody229735295345851841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708885207,"filename":"image_14042025_08_00_52_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e77f07621cd55a0c0227f4df753d7394.jpg","text":"TemporaryFile(/tmp/multipartBody160004549823446075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708885207,"filename":"image_14042025_08_03_05_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/898d1675139b268b5b02a871da22abe4.jpg","text":"TemporaryFile(/tmp/multipartBody5068084853167120674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708885207,"filename":"image_14042025_08_00_41_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b88bf4bf85d2f9747391f57c19da0f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3818713044790825146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708885207,"filename":"image_14042025_08_00_17_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854025","file1":"1349854012","file0":"1349854005","file4":"1349854036","file5":"1349854043","file3":"1349854031"},"map_files_photo_id_array":[{"photo_id":"1349854043","filename":"file5"},{"photo_id":"1349854025","filename":"file2"},{"photo_id":"1349854036","filename":"file4"},{"photo_id":"1349854012","filename":"file1"},{"photo_id":"1349854005","filename":"file0"},{"photo_id":"1349854031","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349854043":["hashtag1","hashtag2"]},{"1349854031":["hashtag1","hashtag2"]},{"1349854025":["hashtag1","hashtag2"]},{"1349854036":["hashtag1","hashtag2"]},{"1349854012":["hashtag1","hashtag2"]},{"1349854005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349854043, 1349854031, 1349854025, 1349854036, 1349854012, 1349854005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9621901512146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:21:02.882925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_34_2752.jpg', '/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_38_3603.jpg', '/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_37_3559.jpg', '/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_04_3731.jpg', '/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_19_2698.jpg', '/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_34_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_34_2752.jpg
/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_38_3603.jpg
/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_37_3559.jpg
/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_04_3731.jpg
/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_19_2698.jpg
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_34_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854097","1349854082","1349854070","1349854089","1349854077","1349854086"],"photo_ids_order":["1349854070","1349854077","1349854082","1349854086","1349854089","1349854097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9506d4b695bd87f4434370124044d87.jpg","text":"TemporaryFile(/tmp/multipartBody3731463903549550440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708925519,"filename":"image_14042025_08_15_34_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34750769822ae50fa7b347c7d88fafb1.jpg","text":"TemporaryFile(/tmp/multipartBody35070898241324562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708925519,"filename":"image_14042025_08_07_37_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cefcfe96ccf1b5ce981b1e4ac681d2cf.jpg","text":"TemporaryFile(/tmp/multipartBody8079124479517282671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708925519,"filename":"image_14042025_08_05_34_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d99e3dc9a4368541c5b8740d5a3f2ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2200189192102327710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708925519,"filename":"image_14042025_08_13_19_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9fdcf7e9999264af24aef5f9aa4bca5.jpg","text":"TemporaryFile(/tmp/multipartBody8766000931404476461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708925519,"filename":"image_14042025_08_05_38_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03693f2517a975b95b8a07ecb59736f0.jpg","text":"TemporaryFile(/tmp/multipartBody7691464307408183215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708925519,"filename":"image_14042025_08_08_04_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854082","file1":"1349854077","file0":"1349854070","file4":"1349854089","file5":"1349854097","file3":"1349854086"},"map_files_photo_id_array":[{"photo_id":"1349854097","filename":"file5"},{"photo_id":"1349854082","filename":"file2"},{"photo_id":"1349854089","filename":"file4"},{"photo_id":"1349854077","filename":"file1"},{"photo_id":"1349854070","filename":"file0"},{"photo_id":"1349854086","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349854097":["hashtag1","hashtag2"]},{"1349854082":["hashtag1","hashtag2"]},{"1349854070":["hashtag1","hashtag2"]},{"1349854089":["hashtag1","hashtag2"]},{"1349854077":["hashtag1","hashtag2"]},{"1349854086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349854097, 1349854082, 1349854070, 1349854089, 1349854077, 1349854086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.716572523117065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:21:42.354329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/19/image_15042025_11_19_09_2733.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_06_3011.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_16_3561.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_25_3676.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_28_2699.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_30_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/19/image_15042025_11_19_09_2733.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_06_3011.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_16_3561.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_25_3676.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_28_2699.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_30_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854148","1349854136","1349854127","1349854132","1349854140","1349854119"],"photo_ids_order":["1349854119","1349854127","1349854132","1349854136","1349854140","1349854148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2bb64c5ecc6edccc1c838cee6a4013be.jpg","text":"TemporaryFile(/tmp/multipartBody7611708670432799596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708963119,"filename":"image_15042025_11_21_30_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ca3fe168b783cd3be86e592bdfbf062.jpg","text":"TemporaryFile(/tmp/multipartBody7126957835935702032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708963119,"filename":"image_15042025_11_21_25_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fed6a785d5d963a42c0bd7dd21da3693.jpg","text":"TemporaryFile(/tmp/multipartBody1085918946201814948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708963119,"filename":"image_15042025_11_21_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/785030be44dc37d0e0089881f4476602.jpg","text":"TemporaryFile(/tmp/multipartBody4477003450373815039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708963119,"filename":"image_15042025_11_21_16_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64fafc3cfbb44ee1b2158f27ca0e4f95.jpg","text":"TemporaryFile(/tmp/multipartBody3468338837293230680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708963119,"filename":"image_15042025_11_21_28_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8236cbaaab350769a0eb0baf118ddfb5.jpg","text":"TemporaryFile(/tmp/multipartBody725878153777233028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708963119,"filename":"image_15042025_11_19_09_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854132","file1":"1349854127","file0":"1349854119","file4":"1349854140","file5":"1349854148","file3":"1349854136"},"map_files_photo_id_array":[{"photo_id":"1349854148","filename":"file5"},{"photo_id":"1349854132","filename":"file2"},{"photo_id":"1349854140","filename":"file4"},{"photo_id":"1349854127","filename":"file1"},{"photo_id":"1349854119","filename":"file0"},{"photo_id":"1349854136","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349854148":["hashtag1","hashtag2"]},{"1349854136":["hashtag1","hashtag2"]},{"1349854127":["hashtag1","hashtag2"]},{"1349854132":["hashtag1","hashtag2"]},{"1349854140":["hashtag1","hashtag2"]},{"1349854119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349854148, 1349854136, 1349854127, 1349854132, 1349854140, 1349854119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53620481491089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:22:22.168956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_34_3779.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_40_2586.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_43_3622.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_49_2937.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_55_3704.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_58_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_34_3779.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_40_2586.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_43_3622.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_49_2937.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_55_3704.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_58_2639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6364977359771729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:22:42.125746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_34_3779.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_40_2586.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_43_3622.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_49_2937.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_55_3704.jpg', '/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_58_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_34_3779.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_40_2586.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_43_3622.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_49_2937.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_55_3704.jpg
/home/pi/Desktop/images/15042025/11/21/image_15042025_11_21_58_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854217","1349854232","1349854222","1349854242","1349854236","1349854248"],"photo_ids_order":["1349854217","1349854222","1349854232","1349854236","1349854242","1349854248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7556665a6b4ae80ee350eb2fd75f5a82.jpg","text":"TemporaryFile(/tmp/multipartBody5896020645378913649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709022850,"filename":"image_15042025_11_21_34_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1742d252e66182db098b2b98e1c38dca.jpg","text":"TemporaryFile(/tmp/multipartBody7265906263635657676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709022850,"filename":"image_15042025_11_21_43_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2535e25890629694f72490372baee2a8.jpg","text":"TemporaryFile(/tmp/multipartBody6602044274007220559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709022850,"filename":"image_15042025_11_21_40_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc9be0a74a395c9d9da5d8c8ed6604b3.jpg","text":"TemporaryFile(/tmp/multipartBody7644767908936680045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709022850,"filename":"image_15042025_11_21_55_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e584646c64311d95d2a01d9b74e7752.jpg","text":"TemporaryFile(/tmp/multipartBody3285050750293416084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709022850,"filename":"image_15042025_11_21_49_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49ef8a548a36dc6c5a45ee152dedc94c.jpg","text":"TemporaryFile(/tmp/multipartBody9187775689087799152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709022850,"filename":"image_15042025_11_21_58_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854232","file1":"1349854222","file0":"1349854217","file4":"1349854242","file5":"1349854248","file3":"1349854236"},"map_files_photo_id_array":[{"photo_id":"1349854248","filename":"file5"},{"photo_id":"1349854232","filename":"file2"},{"photo_id":"1349854242","filename":"file4"},{"photo_id":"1349854222","filename":"file1"},{"photo_id":"1349854217","filename":"file0"},{"photo_id":"1349854236","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349854217":["hashtag1","hashtag2"]},{"1349854232":["hashtag1","hashtag2"]},{"1349854222":["hashtag1","hashtag2"]},{"1349854242":["hashtag1","hashtag2"]},{"1349854236":["hashtag1","hashtag2"]},{"1349854248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349854217, 1349854232, 1349854222, 1349854242, 1349854236, 1349854248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.963011026382446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:23:42.062147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_03_2729.jpg', '/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_16_3652.jpg', '/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_24_2657.jpg', '/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_28_3639.jpg', '/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_31_2885.jpg', '/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_36_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_03_2729.jpg
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_16_3652.jpg
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_24_2657.jpg
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_28_3639.jpg
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_31_2885.jpg
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_36_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854295","1349854289","1349854307","1349854276","1349854298","1349854283"],"photo_ids_order":["1349854276","1349854283","1349854289","1349854295","1349854298","1349854307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63851af4b975699e2757ee2953e8569e.jpg","text":"TemporaryFile(/tmp/multipartBody795907826127679051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709082781,"filename":"image_15042025_11_22_28_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94a25b31589bd4e8014edd07bf989782.jpg","text":"TemporaryFile(/tmp/multipartBody5435437526655333981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709082781,"filename":"image_15042025_11_22_24_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fc1a3a774ca7cc70d4550bbefa62a8d.jpg","text":"TemporaryFile(/tmp/multipartBody438270269244758696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709082781,"filename":"image_15042025_11_22_36_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21ebab886445cdda6e22f017e36ba6d9.jpg","text":"TemporaryFile(/tmp/multipartBody7962453163256260067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709082781,"filename":"image_15042025_11_22_03_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3815e28e6fced86bf849ddf69dc600f8.jpg","text":"TemporaryFile(/tmp/multipartBody1215215407361011207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709082781,"filename":"image_15042025_11_22_31_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d03d21121e628203e67dade0eccb5102.jpg","text":"TemporaryFile(/tmp/multipartBody6799789252660074962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709082781,"filename":"image_15042025_11_22_16_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854289","file1":"1349854283","file0":"1349854276","file4":"1349854298","file5":"1349854307","file3":"1349854295"},"map_files_photo_id_array":[{"photo_id":"1349854307","filename":"file5"},{"photo_id":"1349854289","filename":"file2"},{"photo_id":"1349854298","filename":"file4"},{"photo_id":"1349854283","filename":"file1"},{"photo_id":"1349854276","filename":"file0"},{"photo_id":"1349854295","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349854295":["hashtag1","hashtag2"]},{"1349854289":["hashtag1","hashtag2"]},{"1349854307":["hashtag1","hashtag2"]},{"1349854276":["hashtag1","hashtag2"]},{"1349854298":["hashtag1","hashtag2"]},{"1349854283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349854295, 1349854289, 1349854307, 1349854276, 1349854298, 1349854283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43601417541504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:24:22.353587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_40_3773.jpg', '/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_43_2558.jpg', '/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_49_3560.jpg', '/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_57_2907.jpg', '/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_04_3043.jpg', '/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_07_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_40_3773.jpg
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_43_2558.jpg
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_49_3560.jpg
/home/pi/Desktop/images/15042025/11/22/image_15042025_11_22_57_2907.jpg
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_04_3043.jpg
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_07_2819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854358","1349854406","1349854363","1349854350","1349854385","1349854379"],"photo_ids_order":["1349854350","1349854358","1349854363","1349854379","1349854385","1349854406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b29236dd7c07fe73acb2528c1716ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5900404858654101931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709123074,"filename":"image_15042025_11_22_43_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f28f3400b16777b9aa42aa3c8b1541c.jpg","text":"TemporaryFile(/tmp/multipartBody2024431450217609397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709123074,"filename":"image_15042025_11_23_07_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc52f8bff1b262d3f059729a635abfa0.jpg","text":"TemporaryFile(/tmp/multipartBody8628256822034708941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709123074,"filename":"image_15042025_11_22_49_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4947639a677982306adf6732b5bbb8e.jpg","text":"TemporaryFile(/tmp/multipartBody315759660402434171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709123074,"filename":"image_15042025_11_22_40_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccdc44e3b559745e27a0fda084346933.jpg","text":"TemporaryFile(/tmp/multipartBody8735148908238296202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709123074,"filename":"image_15042025_11_23_04_3043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77a8c149319443eab309dd34b9a2322f.jpg","text":"TemporaryFile(/tmp/multipartBody6177051999557978673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709123074,"filename":"image_15042025_11_22_57_2907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854363","file1":"1349854358","file0":"1349854350","file4":"1349854385","file5":"1349854406","file3":"1349854379"},"map_files_photo_id_array":[{"photo_id":"1349854406","filename":"file5"},{"photo_id":"1349854363","filename":"file2"},{"photo_id":"1349854385","filename":"file4"},{"photo_id":"1349854358","filename":"file1"},{"photo_id":"1349854350","filename":"file0"},{"photo_id":"1349854379","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349854358":["hashtag1","hashtag2"]},{"1349854406":["hashtag1","hashtag2"]},{"1349854363":["hashtag1","hashtag2"]},{"1349854350":["hashtag1","hashtag2"]},{"1349854385":["hashtag1","hashtag2"]},{"1349854379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349854358, 1349854406, 1349854363, 1349854350, 1349854385, 1349854379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04034352302551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:25:03.047243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_13_3763.jpg', '/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_18_2625.jpg', '/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_22_3691.jpg', '/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_27_2674.jpg', '/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_31_3683.jpg', '/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_36_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_13_3763.jpg
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_18_2625.jpg
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_22_3691.jpg
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_27_2674.jpg
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_31_3683.jpg
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_36_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854768","1349854753","1349854471","1349854726","1349854566","1349854463"],"photo_ids_order":["1349854463","1349854471","1349854566","1349854726","1349854753","1349854768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e168cb1e170c5841f19eed9cebdcc434.jpg","text":"TemporaryFile(/tmp/multipartBody7336954598175049610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709163897,"filename":"image_15042025_11_23_36_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d96e58d207161afdf41b8c5fcc2c7ef.jpg","text":"TemporaryFile(/tmp/multipartBody5887555791153579870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709163897,"filename":"image_15042025_11_23_31_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e86114e9300c555fda08ba4a6caf0ce.jpg","text":"TemporaryFile(/tmp/multipartBody7300823840936544535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709163897,"filename":"image_15042025_11_23_18_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e937bf10689d0c1ecedc858de48e458e.jpg","text":"TemporaryFile(/tmp/multipartBody7473684100723871553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709163897,"filename":"image_15042025_11_23_27_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52f2c9cf513a8e64afa45d920e252cc8.jpg","text":"TemporaryFile(/tmp/multipartBody2358820780597342885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709163897,"filename":"image_15042025_11_23_22_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0593a403c9e46762f1a8ddd501244b3.jpg","text":"TemporaryFile(/tmp/multipartBody8935200293905537585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709163897,"filename":"image_15042025_11_23_13_3763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854566","file1":"1349854471","file0":"1349854463","file4":"1349854753","file5":"1349854768","file3":"1349854726"},"map_files_photo_id_array":[{"photo_id":"1349854768","filename":"file5"},{"photo_id":"1349854566","filename":"file2"},{"photo_id":"1349854753","filename":"file4"},{"photo_id":"1349854471","filename":"file1"},{"photo_id":"1349854463","filename":"file0"},{"photo_id":"1349854726","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349854768":["hashtag1","hashtag2"]},{"1349854753":["hashtag1","hashtag2"]},{"1349854471":["hashtag1","hashtag2"]},{"1349854726":["hashtag1","hashtag2"]},{"1349854566":["hashtag1","hashtag2"]},{"1349854463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349854768, 1349854753, 1349854471, 1349854726, 1349854566, 1349854463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50990128517151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:26:02.552825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_55_3597.jpg', '/home/pi/Desktop/images/15042025/11/23/image_15042025_11_24_00_2743.jpg', '/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_03_2862.jpg', '/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_10_3637.jpg', '/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_31_3557.jpg', '/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_42_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_23_55_3597.jpg
/home/pi/Desktop/images/15042025/11/23/image_15042025_11_24_00_2743.jpg
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_03_2862.jpg
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_10_3637.jpg
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_31_3557.jpg
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_42_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854835","1349854855","1349854840","1349854822","1349854816","1349854863"],"photo_ids_order":["1349854816","1349854822","1349854835","1349854840","1349854855","1349854863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33a7e760ea696ad2c67507640be7d69b.jpg","text":"TemporaryFile(/tmp/multipartBody4845024722637776626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709223480,"filename":"image_15042025_11_24_03_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ac6276e95a45f5e677c167100ba9669.jpg","text":"TemporaryFile(/tmp/multipartBody8402155605785398890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709223480,"filename":"image_15042025_11_24_31_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd8afa7b29c43ac1a3d9b8c1282a21c9.jpg","text":"TemporaryFile(/tmp/multipartBody7448797551886701655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709223480,"filename":"image_15042025_11_24_10_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d554b5c53f9cefa7c0497859dae6da86.jpg","text":"TemporaryFile(/tmp/multipartBody6033736639428372919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709223480,"filename":"image_15042025_11_24_00_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e84f2933434663acd2603b0e14215e88.jpg","text":"TemporaryFile(/tmp/multipartBody8403914147520608680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709223480,"filename":"image_15042025_11_23_55_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1bb2fd4a5d32f3fd873331f076c7f103.jpg","text":"TemporaryFile(/tmp/multipartBody6707395209867887879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709223480,"filename":"image_15042025_11_24_42_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854835","file1":"1349854822","file0":"1349854816","file4":"1349854855","file5":"1349854863","file3":"1349854840"},"map_files_photo_id_array":[{"photo_id":"1349854863","filename":"file5"},{"photo_id":"1349854835","filename":"file2"},{"photo_id":"1349854855","filename":"file4"},{"photo_id":"1349854822","filename":"file1"},{"photo_id":"1349854816","filename":"file0"},{"photo_id":"1349854840","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349854835":["hashtag1","hashtag2"]},{"1349854855":["hashtag1","hashtag2"]},{"1349854840":["hashtag1","hashtag2"]},{"1349854822":["hashtag1","hashtag2"]},{"1349854816":["hashtag1","hashtag2"]},{"1349854863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349854835, 1349854855, 1349854840, 1349854822, 1349854816, 1349854863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78399467468262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:26:42.053632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_45_2828.jpg', '/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_48_2856.jpg', '/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_58_2732.jpg', '/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_43_2100.jpg', '/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_56_3619.jpg', '/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_04_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_45_2828.jpg
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_48_2856.jpg
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_58_2732.jpg
/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_43_2100.jpg
/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_56_3619.jpg
/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_04_2745.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6581971645355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:27:02.967395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_45_2828.jpg', '/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_48_2856.jpg', '/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_58_2732.jpg', '/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_43_2100.jpg', '/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_56_3619.jpg', '/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_04_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_45_2828.jpg
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_48_2856.jpg
/home/pi/Desktop/images/15042025/11/24/image_15042025_11_24_58_2732.jpg
/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_43_2100.jpg
/home/pi/Desktop/images/15042025/11/25/image_15042025_11_25_56_3619.jpg
/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_04_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349854999","1349855008","1349854960","1349854953","1349854991","1349854973"],"photo_ids_order":["1349854953","1349854960","1349854973","1349854991","1349854999","1349855008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a416e27ae8cbcc6ccaf26db54f2c1354.jpg","text":"TemporaryFile(/tmp/multipartBody2511631432105503994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709283797,"filename":"image_15042025_11_25_56_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89ce2521d3ed1fecdf5f7a5c41a80d62.jpg","text":"TemporaryFile(/tmp/multipartBody1746803250991680974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709283797,"filename":"image_15042025_11_26_04_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d52796b51d05cef02ce5ddea5a97938.jpg","text":"TemporaryFile(/tmp/multipartBody4219300968980158239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709283797,"filename":"image_15042025_11_24_48_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/384037a91181d4933d0bcb4828afd45c.jpg","text":"TemporaryFile(/tmp/multipartBody6085571664538999179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709283797,"filename":"image_15042025_11_24_45_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20caa91b10595459c2ba07734c9c2774.jpg","text":"TemporaryFile(/tmp/multipartBody4142165366531030221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709283797,"filename":"image_15042025_11_25_43_2100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3bfd799a2fa08ce83734a909cee8d16.jpg","text":"TemporaryFile(/tmp/multipartBody3512606679356002306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709283797,"filename":"image_15042025_11_24_58_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854973","file1":"1349854960","file0":"1349854953","file4":"1349854999","file5":"1349855008","file3":"1349854991"},"map_files_photo_id_array":[{"photo_id":"1349855008","filename":"file5"},{"photo_id":"1349854973","filename":"file2"},{"photo_id":"1349854999","filename":"file4"},{"photo_id":"1349854960","filename":"file1"},{"photo_id":"1349854953","filename":"file0"},{"photo_id":"1349854991","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349854999":["hashtag1","hashtag2"]},{"1349855008":["hashtag1","hashtag2"]},{"1349854960":["hashtag1","hashtag2"]},{"1349854953":["hashtag1","hashtag2"]},{"1349854991":["hashtag1","hashtag2"]},{"1349854973":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349854999, 1349855008, 1349854960, 1349854953, 1349854991, 1349854973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36651039123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:27:42.155545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_28_2648.jpg', '/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_40_2610.jpg', '/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_55_2676.jpg', '/home/pi/Desktop/images/15042025/11/27/image_15042025_11_27_04_2714.jpg', '/home/pi/Desktop/images/15042025/11/27/image_15042025_11_27_16_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_28_2648.jpg
/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_40_2610.jpg
/home/pi/Desktop/images/15042025/11/26/image_15042025_11_26_55_2676.jpg
/home/pi/Desktop/images/15042025/11/27/image_15042025_11_27_04_2714.jpg
/home/pi/Desktop/images/15042025/11/27/image_15042025_11_27_16_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855071","1349855101","1349855088","1349855061","1349855096"],"photo_ids_order":["1349855061","1349855071","1349855088","1349855096","1349855101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/455832fbfd1f39a7dee60fe03d4d222b.jpg","text":"TemporaryFile(/tmp/multipartBody6878322973785562295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709322851,"filename":"image_15042025_11_26_40_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07ef2f832bd08aa9cd82bdc6b68018a5.jpg","text":"TemporaryFile(/tmp/multipartBody6479935119078161910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709322851,"filename":"image_15042025_11_27_16_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad4b0a7c11ae83d02437773875de8b19.jpg","text":"TemporaryFile(/tmp/multipartBody4086901096946445536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709322851,"filename":"image_15042025_11_26_55_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/791059d9ce0d70232b361ba34a232e50.jpg","text":"TemporaryFile(/tmp/multipartBody5082953512742287965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709322851,"filename":"image_15042025_11_26_28_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db7a7627a62a22e13275cb6e21386d09.jpg","text":"TemporaryFile(/tmp/multipartBody6727333535510375825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709322851,"filename":"image_15042025_11_27_04_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855088","file1":"1349855071","file0":"1349855061","file4":"1349855101","file3":"1349855096"},"map_files_photo_id_array":[{"photo_id":"1349855088","filename":"file2"},{"photo_id":"1349855101","filename":"file4"},{"photo_id":"1349855071","filename":"file1"},{"photo_id":"1349855061","filename":"file0"},{"photo_id":"1349855096","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349855071":["hashtag1","hashtag2"]},{"1349855101":["hashtag1","hashtag2"]},{"1349855088":["hashtag1","hashtag2"]},{"1349855061":["hashtag1","hashtag2"]},{"1349855096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349855071, 1349855101, 1349855088, 1349855061, 1349855096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.410503149032593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:28:22.753116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/27/image_15042025_11_27_34_2670.jpg', '/home/pi/Desktop/images/15042025/11/28/image_15042025_11_28_04_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/27/image_15042025_11_27_34_2670.jpg
/home/pi/Desktop/images/15042025/11/28/image_15042025_11_28_04_2738.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855176","1349855153"],"photo_ids_order":["1349855153","1349855176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7175d840d68cff5cde281f330d22d4de.jpg","text":"TemporaryFile(/tmp/multipartBody1890306076522956697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709363314,"filename":"image_15042025_11_28_04_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32686fd9ab91644388a24dee095a5727.jpg","text":"TemporaryFile(/tmp/multipartBody1218875550634128415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709363314,"filename":"image_15042025_11_27_34_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349855176","file0":"1349855153"},"map_files_photo_id_array":[{"photo_id":"1349855176","filename":"file1"},{"photo_id":"1349855153","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349855176":["hashtag1","hashtag2"]},{"1349855153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349855176, 1349855153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.455925703048706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:28:42.710740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_40_3516.jpg', '/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_42_2706.jpg', '/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_13_3693.jpg', '/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_31_3667.jpg', '/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_42_2554.jpg', '/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_49_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_40_3516.jpg
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_42_2706.jpg
/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_13_3693.jpg
/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_31_3667.jpg
/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_42_2554.jpg
/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_49_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855300","1349855293","1349855289","1349855241","1349855270","1349855258"],"photo_ids_order":["1349855241","1349855258","1349855270","1349855289","1349855293","1349855300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3fff3d3e614c796adb70c510a8d7e42e.jpg","text":"TemporaryFile(/tmp/multipartBody5330916487246130706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709384145,"filename":"image_14042025_08_19_49_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e2bbaf4a3c3319608341a5dcd389cc5.jpg","text":"TemporaryFile(/tmp/multipartBody2213736501535058507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709384145,"filename":"image_14042025_08_17_42_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0221f3943c42e1193e668a98f0d8440e.jpg","text":"TemporaryFile(/tmp/multipartBody7509066976835967212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709384145,"filename":"image_14042025_08_16_31_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c944db6631d499aa3cf89a82cbc9c9e.jpg","text":"TemporaryFile(/tmp/multipartBody9175315264346612085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709384145,"filename":"image_14042025_08_15_40_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dac910a7009407e691035719eadb3b1c.jpg","text":"TemporaryFile(/tmp/multipartBody57150957137633186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709384145,"filename":"image_14042025_08_16_13_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/350eacff93f618935fd57bc87cbf3afb.jpg","text":"TemporaryFile(/tmp/multipartBody7653058155474943173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709384145,"filename":"image_14042025_08_15_42_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855270","file1":"1349855258","file0":"1349855241","file4":"1349855293","file5":"1349855300","file3":"1349855289"},"map_files_photo_id_array":[{"photo_id":"1349855300","filename":"file5"},{"photo_id":"1349855270","filename":"file2"},{"photo_id":"1349855293","filename":"file4"},{"photo_id":"1349855258","filename":"file1"},{"photo_id":"1349855241","filename":"file0"},{"photo_id":"1349855289","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349855300":["hashtag1","hashtag2"]},{"1349855293":["hashtag1","hashtag2"]},{"1349855289":["hashtag1","hashtag2"]},{"1349855241":["hashtag1","hashtag2"]},{"1349855270":["hashtag1","hashtag2"]},{"1349855258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349855300, 1349855293, 1349855289, 1349855241, 1349855270, 1349855258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29128289222717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:29:22.684274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/28/image_15042025_11_28_37_2730.jpg', '/home/pi/Desktop/images/15042025/11/29/image_15042025_11_29_16_3595.jpg', '/home/pi/Desktop/images/15042025/11/29/image_15042025_11_29_37_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/28/image_15042025_11_28_37_2730.jpg
/home/pi/Desktop/images/15042025/11/29/image_15042025_11_29_16_3595.jpg
/home/pi/Desktop/images/15042025/11/29/image_15042025_11_29_37_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855365","1349855373","1349855355"],"photo_ids_order":["1349855355","1349855365","1349855373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89afdad13da0bec4a3d70bc7fb2ec0ce.jpg","text":"TemporaryFile(/tmp/multipartBody2555655367000535101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709423286,"filename":"image_15042025_11_29_16_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59e76a6f343a2b657e1bf3dc1c492b66.jpg","text":"TemporaryFile(/tmp/multipartBody2932559765291283993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709423286,"filename":"image_15042025_11_29_37_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68d217c6f78dd81378d89705cc79466e.jpg","text":"TemporaryFile(/tmp/multipartBody8634191341150855171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709423286,"filename":"image_15042025_11_28_37_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855373","file1":"1349855365","file0":"1349855355"},"map_files_photo_id_array":[{"photo_id":"1349855373","filename":"file2"},{"photo_id":"1349855365","filename":"file1"},{"photo_id":"1349855355","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349855365":["hashtag1","hashtag2"]},{"1349855373":["hashtag1","hashtag2"]},{"1349855355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349855365, 1349855373, 1349855355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.624021530151367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:30:03.142016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_18_3842.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_32_2642.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_45_2737.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_48_2627.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_51_3643.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_57_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_18_3842.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_32_2642.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_45_2737.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_48_2627.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_51_3643.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_57_2578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855572","1349855566","1349855557","1349855518","1349855580","1349855544"],"photo_ids_order":["1349855518","1349855544","1349855557","1349855566","1349855572","1349855580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aabcca7f249a821540903250c46c4662.jpg","text":"TemporaryFile(/tmp/multipartBody5118908625187192072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709465777,"filename":"image_14042025_08_20_51_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec7cdbf862cadbf644061db039d6631a.jpg","text":"TemporaryFile(/tmp/multipartBody8576324426088354610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709465777,"filename":"image_14042025_08_20_48_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/966e98e8fd1074327e6dbe975a15d1c7.jpg","text":"TemporaryFile(/tmp/multipartBody2266643526571412352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709465777,"filename":"image_14042025_08_20_45_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ef7a8c868134950a99002786937af00.jpg","text":"TemporaryFile(/tmp/multipartBody1707016463256045063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709465777,"filename":"image_14042025_08_20_18_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/676ddbbca5c0e2a2f58a6fb976c77101.jpg","text":"TemporaryFile(/tmp/multipartBody1966129064076680771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709465777,"filename":"image_14042025_08_20_57_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26dcdf83db065bf0b899a338504286a5.jpg","text":"TemporaryFile(/tmp/multipartBody2428595880481957421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709465777,"filename":"image_14042025_08_20_32_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855557","file1":"1349855544","file0":"1349855518","file4":"1349855572","file5":"1349855580","file3":"1349855566"},"map_files_photo_id_array":[{"photo_id":"1349855580","filename":"file5"},{"photo_id":"1349855557","filename":"file2"},{"photo_id":"1349855572","filename":"file4"},{"photo_id":"1349855544","filename":"file1"},{"photo_id":"1349855518","filename":"file0"},{"photo_id":"1349855566","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349855572":["hashtag1","hashtag2"]},{"1349855566":["hashtag1","hashtag2"]},{"1349855557":["hashtag1","hashtag2"]},{"1349855518":["hashtag1","hashtag2"]},{"1349855580":["hashtag1","hashtag2"]},{"1349855544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349855572, 1349855566, 1349855557, 1349855518, 1349855580, 1349855544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.382956981658936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:31:03.134549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/29/image_15042025_11_29_49_2659.jpg', '/home/pi/Desktop/images/15042025/11/30/image_15042025_11_30_26_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/29/image_15042025_11_29_49_2659.jpg
/home/pi/Desktop/images/15042025/11/30/image_15042025_11_30_26_2681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855711","1349855701"],"photo_ids_order":["1349855701","1349855711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f0bc55a40074d6700eeb177c3faf3cb.jpg","text":"TemporaryFile(/tmp/multipartBody7437384764794880097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709523792,"filename":"image_15042025_11_30_26_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4dd6e49dc130f257dad5c5cd8f66f2a.jpg","text":"TemporaryFile(/tmp/multipartBody5867478585943608709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709523792,"filename":"image_15042025_11_29_49_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349855711","file0":"1349855701"},"map_files_photo_id_array":[{"photo_id":"1349855711","filename":"file1"},{"photo_id":"1349855701","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349855711":["hashtag1","hashtag2"]},{"1349855701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349855711, 1349855701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.195844650268555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:31:22.532736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_03_3585.jpg', '/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_09_2779.jpg', '/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_15_2602.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_27_2709.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_30_2690.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_36_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_03_3585.jpg
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_09_2779.jpg
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_15_2602.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_27_2709.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_30_2690.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_36_2521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855796","1349855850","1349855838","1349855829","1349855735","1349855759"],"photo_ids_order":["1349855735","1349855759","1349855796","1349855829","1349855838","1349855850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae6634e22b5c32797c5c448362bbfb7f.jpg","text":"TemporaryFile(/tmp/multipartBody3407123403085738575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709545912,"filename":"image_14042025_08_21_15_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da0e294d859f1e089f7190225ee60fc4.jpg","text":"TemporaryFile(/tmp/multipartBody1771666118048733138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709545912,"filename":"image_14042025_08_22_36_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae7b49566f259f9fda0d850cb139677a.jpg","text":"TemporaryFile(/tmp/multipartBody7382828848422428757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709545912,"filename":"image_14042025_08_22_30_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f90247cec2b6daf0dabbf0621f153414.jpg","text":"TemporaryFile(/tmp/multipartBody75979082645281109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709545912,"filename":"image_14042025_08_22_27_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55578100772e842c305c5cf488ebdd8d.jpg","text":"TemporaryFile(/tmp/multipartBody5872997585037764215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709545912,"filename":"image_14042025_08_21_03_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9a1ec47f7b5498174f581ed83d12f78.jpg","text":"TemporaryFile(/tmp/multipartBody3198385761468509426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709545912,"filename":"image_14042025_08_21_09_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855796","file1":"1349855759","file0":"1349855735","file4":"1349855838","file5":"1349855850","file3":"1349855829"},"map_files_photo_id_array":[{"photo_id":"1349855850","filename":"file5"},{"photo_id":"1349855796","filename":"file2"},{"photo_id":"1349855838","filename":"file4"},{"photo_id":"1349855759","filename":"file1"},{"photo_id":"1349855735","filename":"file0"},{"photo_id":"1349855829","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349855796":["hashtag1","hashtag2"]},{"1349855850":["hashtag1","hashtag2"]},{"1349855838":["hashtag1","hashtag2"]},{"1349855829":["hashtag1","hashtag2"]},{"1349855735":["hashtag1","hashtag2"]},{"1349855759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349855796, 1349855850, 1349855838, 1349855829, 1349855735, 1349855759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1053192615509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:32:02.456400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_42_3587.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_54_2773.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_45_2614.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_59_2836.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_11_2611.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_17_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_42_3587.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_54_2773.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_45_2614.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_59_2836.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_11_2611.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_17_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855950","1349855871","1349855934","1349855946","1349855939","1349855927"],"photo_ids_order":["1349855871","1349855927","1349855934","1349855939","1349855946","1349855950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7a80141ba307d47e2ea7c3ad627a714.jpg","text":"TemporaryFile(/tmp/multipartBody6408268532704396622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709585037,"filename":"image_14042025_08_25_17_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c35209b1380dcbfcaedc1b6bc720de9c.jpg","text":"TemporaryFile(/tmp/multipartBody6699128933611999085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709585037,"filename":"image_14042025_08_22_42_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdfacd03c4343b871049e7b15b5b7a71.jpg","text":"TemporaryFile(/tmp/multipartBody4820358782451474535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709585037,"filename":"image_14042025_08_24_45_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2e4e816df9171c08b09eb471c392494.jpg","text":"TemporaryFile(/tmp/multipartBody7140941355524209235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709585037,"filename":"image_14042025_08_25_11_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97d93836ff03d94dc1e91a0b3c22382e.jpg","text":"TemporaryFile(/tmp/multipartBody3906709226785601587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709585037,"filename":"image_14042025_08_24_59_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3478b0a4577084ca964e4d05027de53c.jpg","text":"TemporaryFile(/tmp/multipartBody2415628146544809602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709585037,"filename":"image_14042025_08_22_54_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855934","file1":"1349855927","file0":"1349855871","file4":"1349855946","file5":"1349855950","file3":"1349855939"},"map_files_photo_id_array":[{"photo_id":"1349855950","filename":"file5"},{"photo_id":"1349855934","filename":"file2"},{"photo_id":"1349855946","filename":"file4"},{"photo_id":"1349855927","filename":"file1"},{"photo_id":"1349855871","filename":"file0"},{"photo_id":"1349855939","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349855950":["hashtag1","hashtag2"]},{"1349855871":["hashtag1","hashtag2"]},{"1349855934":["hashtag1","hashtag2"]},{"1349855946":["hashtag1","hashtag2"]},{"1349855939":["hashtag1","hashtag2"]},{"1349855927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349855950, 1349855871, 1349855934, 1349855946, 1349855939, 1349855927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73791813850403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:32:41.922073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_29_2682.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_38_2719.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_48_2735.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_53_2759.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_09_3764.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_11_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_29_2682.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_38_2719.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_48_2735.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_53_2759.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_09_3764.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_11_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349855980","1349856007","1349855970","1349855994","1349856014","1349856002"],"photo_ids_order":["1349855970","1349855980","1349855994","1349856002","1349856007","1349856014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/219eebfdbc351a7e07374cdbb2567f7d.jpg","text":"TemporaryFile(/tmp/multipartBody7553745756989746809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709623559,"filename":"image_14042025_08_25_38_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/051ff25df8d18b554db6ba1ab6d612d5.jpg","text":"TemporaryFile(/tmp/multipartBody1116995119383866492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709623559,"filename":"image_14042025_08_26_09_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/938a5ae4cc2b879115abbf52abb32d5b.jpg","text":"TemporaryFile(/tmp/multipartBody9201702253843757264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709623559,"filename":"image_14042025_08_25_29_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f8b0126b7883fcd056caf5c3290667d.jpg","text":"TemporaryFile(/tmp/multipartBody4573810984956192339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709623559,"filename":"image_14042025_08_25_48_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8a9aafca9df92f766619c5b621d0fa3.jpg","text":"TemporaryFile(/tmp/multipartBody1403130256093199228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709623559,"filename":"image_14042025_08_26_11_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d86ac4a9e704c0738030b2cfdf7e9c07.jpg","text":"TemporaryFile(/tmp/multipartBody5479792373691745777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709623559,"filename":"image_14042025_08_25_53_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855994","file1":"1349855980","file0":"1349855970","file4":"1349856007","file5":"1349856014","file3":"1349856002"},"map_files_photo_id_array":[{"photo_id":"1349856014","filename":"file5"},{"photo_id":"1349855994","filename":"file2"},{"photo_id":"1349856007","filename":"file4"},{"photo_id":"1349855980","filename":"file1"},{"photo_id":"1349855970","filename":"file0"},{"photo_id":"1349856002","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349855980":["hashtag1","hashtag2"]},{"1349856007":["hashtag1","hashtag2"]},{"1349855970":["hashtag1","hashtag2"]},{"1349855994":["hashtag1","hashtag2"]},{"1349856014":["hashtag1","hashtag2"]},{"1349856002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349855980, 1349856007, 1349855970, 1349855994, 1349856014, 1349856002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90068054199219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:33:22.271985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/30/image_15042025_11_30_44_2661.jpg', '/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_23_2944.jpg', '/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_38_3581.jpg', '/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_50_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/30/image_15042025_11_30_44_2661.jpg
/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_23_2944.jpg
/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_38_3581.jpg
/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_50_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856121","1349856102","1349856086","1349856110"],"photo_ids_order":["1349856086","1349856102","1349856110","1349856121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58faec050265a9e62dea21a5d73422af.jpg","text":"TemporaryFile(/tmp/multipartBody958508647697076903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709662891,"filename":"image_15042025_11_33_50_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc90b7834e1af4dbe479b5bf308c6ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3190420788006305116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709662891,"filename":"image_15042025_11_33_23_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eeb11568161753e0ffc01431660a5f6d.jpg","text":"TemporaryFile(/tmp/multipartBody5979189802249904226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709662891,"filename":"image_15042025_11_30_44_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f157bc636196848920812b4cfdf67ea.jpg","text":"TemporaryFile(/tmp/multipartBody8240408167482414973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709662891,"filename":"image_15042025_11_33_38_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856110","file1":"1349856102","file0":"1349856086","file3":"1349856121"},"map_files_photo_id_array":[{"photo_id":"1349856110","filename":"file2"},{"photo_id":"1349856102","filename":"file1"},{"photo_id":"1349856086","filename":"file0"},{"photo_id":"1349856121","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349856121":["hashtag1","hashtag2"]},{"1349856102":["hashtag1","hashtag2"]},{"1349856086":["hashtag1","hashtag2"]},{"1349856110":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349856121, 1349856102, 1349856086, 1349856110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.471884965896606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:34:03.342661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_14_2828.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_18_3560.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_20_2627.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_30_3775.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_57_3592.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_14_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_14_2828.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_18_3560.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_20_2627.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_30_3775.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_57_3592.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_14_2787.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.5340816974639893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:34:22.487929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_14_2828.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_18_3560.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_20_2627.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_30_3775.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_57_3592.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_14_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_14_2828.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_18_3560.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_20_2627.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_30_3775.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_57_3592.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_14_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856238","1349856319","1349856195","1349856168","1349856306","1349856284"],"photo_ids_order":["1349856168","1349856195","1349856238","1349856284","1349856306","1349856319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f1e7d60a94a2890e55b00c4fa6b57e6.jpg","text":"TemporaryFile(/tmp/multipartBody8354832855257612635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709725714,"filename":"image_14042025_08_26_20_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21904f613bc7776210aaae7029d96370.jpg","text":"TemporaryFile(/tmp/multipartBody7149005341035178379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709725714,"filename":"image_14042025_08_28_14_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53c00d5e2b8298500a8f21082145ff17.jpg","text":"TemporaryFile(/tmp/multipartBody782045434051937014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709725714,"filename":"image_14042025_08_26_18_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2140e79c136fe8fbfd008903cccc4b92.jpg","text":"TemporaryFile(/tmp/multipartBody4448750144897442730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709725714,"filename":"image_14042025_08_26_14_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7eeb4f0067f3ef0afe1b54eed15d3e60.jpg","text":"TemporaryFile(/tmp/multipartBody482586450593843772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709725714,"filename":"image_14042025_08_26_57_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d5b271564527e20c47ce2686eb59893.jpg","text":"TemporaryFile(/tmp/multipartBody2788157172886954313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709725714,"filename":"image_14042025_08_26_30_3775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856238","file1":"1349856195","file0":"1349856168","file4":"1349856306","file5":"1349856319","file3":"1349856284"},"map_files_photo_id_array":[{"photo_id":"1349856319","filename":"file5"},{"photo_id":"1349856238","filename":"file2"},{"photo_id":"1349856306","filename":"file4"},{"photo_id":"1349856195","filename":"file1"},{"photo_id":"1349856168","filename":"file0"},{"photo_id":"1349856284","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349856238":["hashtag1","hashtag2"]},{"1349856319":["hashtag1","hashtag2"]},{"1349856195":["hashtag1","hashtag2"]},{"1349856168":["hashtag1","hashtag2"]},{"1349856306":["hashtag1","hashtag2"]},{"1349856284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349856238, 1349856319, 1349856195, 1349856168, 1349856306, 1349856284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93673133850098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:35:21.913246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_59_2892.jpg', '/home/pi/Desktop/images/15042025/11/35/image_15042025_11_35_11_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/33/image_15042025_11_33_59_2892.jpg
/home/pi/Desktop/images/15042025/11/35/image_15042025_11_35_11_3630.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856590","1349856524"],"photo_ids_order":["1349856524","1349856590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de9950a116b2d14e693084a1a1d189e2.jpg","text":"TemporaryFile(/tmp/multipartBody417680324577553766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709782451,"filename":"image_15042025_11_35_11_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e7c4a5b15df4c0f2545f1a6fe616b0b.jpg","text":"TemporaryFile(/tmp/multipartBody2320655345879265901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709782451,"filename":"image_15042025_11_33_59_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349856590","file0":"1349856524"},"map_files_photo_id_array":[{"photo_id":"1349856590","filename":"file1"},{"photo_id":"1349856524","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349856590":["hashtag1","hashtag2"]},{"1349856524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349856590, 1349856524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.01805591583252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:35:41.942747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_23_2647.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_30_3790.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_32_2681.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_35_2666.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_39_3694.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_41_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_23_2647.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_30_3790.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_32_2681.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_35_2666.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_39_3694.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_41_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856670","1349856709","1349856683","1349856731","1349856725","1349856719"],"photo_ids_order":["1349856670","1349856683","1349856709","1349856719","1349856725","1349856731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c97b190ccb1f943c44d7d007356d888d.jpg","text":"TemporaryFile(/tmp/multipartBody556164826682467113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709803537,"filename":"image_14042025_08_28_23_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3272f8a950b56b97a5308bd838ce38cc.jpg","text":"TemporaryFile(/tmp/multipartBody3476503236365711600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709803537,"filename":"image_14042025_08_28_32_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b15be6f6111beaffcd37fab07fb0c851.jpg","text":"TemporaryFile(/tmp/multipartBody5252195839234227035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709803537,"filename":"image_14042025_08_28_30_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e41253b10ef702001778ff308c7ecab.jpg","text":"TemporaryFile(/tmp/multipartBody6315286499869917828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709803537,"filename":"image_14042025_08_28_41_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1df168df7171896ffd30f53dcc9d47b.jpg","text":"TemporaryFile(/tmp/multipartBody1626750111932154844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709803537,"filename":"image_14042025_08_28_39_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ac9e28801c27a4f8c9565c0ea22d82c.jpg","text":"TemporaryFile(/tmp/multipartBody272598892864452319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709803537,"filename":"image_14042025_08_28_35_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856709","file1":"1349856683","file0":"1349856670","file4":"1349856725","file5":"1349856731","file3":"1349856719"},"map_files_photo_id_array":[{"photo_id":"1349856731","filename":"file5"},{"photo_id":"1349856709","filename":"file2"},{"photo_id":"1349856725","filename":"file4"},{"photo_id":"1349856683","filename":"file1"},{"photo_id":"1349856670","filename":"file0"},{"photo_id":"1349856719","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349856670":["hashtag1","hashtag2"]},{"1349856709":["hashtag1","hashtag2"]},{"1349856683":["hashtag1","hashtag2"]},{"1349856731":["hashtag1","hashtag2"]},{"1349856725":["hashtag1","hashtag2"]},{"1349856719":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349856670, 1349856709, 1349856683, 1349856731, 1349856725, 1349856719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.970165967941284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:36:22.652195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/35/image_15042025_11_35_59_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/35/image_15042025_11_35_59_2595.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856804"],"photo_id":"1349856804","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aaa1b2a043739644dbd5d7e8e8a8da13.jpg","text":"TemporaryFile(/tmp/multipartBody4057094188688779948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709843168,"filename":"image_15042025_11_35_59_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349856804"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349856804"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.500452995300293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:36:42.619145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_53_2796.jpg', '/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_35_3808.jpg', '/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_11_3642.jpg', '/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_16_2610.jpg', '/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_29_3660.jpg', '/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_43_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_53_2796.jpg
/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_35_3808.jpg
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_11_3642.jpg
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_16_2610.jpg
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_29_3660.jpg
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_43_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856879","1349856873","1349856867","1349856860","1349856886","1349856853"],"photo_ids_order":["1349856853","1349856860","1349856867","1349856873","1349856879","1349856886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4237475f6a9e0fb8875ca67110b56308.jpg","text":"TemporaryFile(/tmp/multipartBody5974380347398139014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709864133,"filename":"image_14042025_08_30_29_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64fe05293e156f411811b0f6202ac7c8.jpg","text":"TemporaryFile(/tmp/multipartBody5844976176397562813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709864133,"filename":"image_14042025_08_30_16_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c579c10e5d1ad033c0b96e2bac089a72.jpg","text":"TemporaryFile(/tmp/multipartBody6567911684889636442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709864133,"filename":"image_14042025_08_30_11_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f8a807a9f27862148ed591df96dae9a.jpg","text":"TemporaryFile(/tmp/multipartBody2446966029104624018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709864133,"filename":"image_14042025_08_29_35_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e161ad3e98a40009abd6416ff183cb76.jpg","text":"TemporaryFile(/tmp/multipartBody6050828533389153284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709864133,"filename":"image_14042025_08_30_43_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a10a1ed342e8a45d3cc9a18674b0d821.jpg","text":"TemporaryFile(/tmp/multipartBody783535351580363497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709864133,"filename":"image_14042025_08_28_53_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856867","file1":"1349856860","file0":"1349856853","file4":"1349856879","file5":"1349856886","file3":"1349856873"},"map_files_photo_id_array":[{"photo_id":"1349856886","filename":"file5"},{"photo_id":"1349856867","filename":"file2"},{"photo_id":"1349856879","filename":"file4"},{"photo_id":"1349856860","filename":"file1"},{"photo_id":"1349856853","filename":"file0"},{"photo_id":"1349856873","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349856879":["hashtag1","hashtag2"]},{"1349856873":["hashtag1","hashtag2"]},{"1349856867":["hashtag1","hashtag2"]},{"1349856860":["hashtag1","hashtag2"]},{"1349856886":["hashtag1","hashtag2"]},{"1349856853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349856879, 1349856873, 1349856867, 1349856860, 1349856886, 1349856853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13090634346008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:37:22.638918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/36/image_15042025_11_36_29_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/36/image_15042025_11_36_29_3573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349856904"],"photo_id":"1349856904","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e396eecfc5c6683d31462c4c2edc82c7.jpg","text":"TemporaryFile(/tmp/multipartBody8277651505748879812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709903155,"filename":"image_15042025_11_36_29_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349856904"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349856904"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.346092224121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:37:42.676127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_26_3712.jpg', '/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_47_2748.jpg', '/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_19_2663.jpg', '/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_46_2701.jpg', '/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_58_2720.jpg', '/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_32_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_26_3712.jpg
/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_47_2748.jpg
/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_19_2663.jpg
/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_46_2701.jpg
/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_58_2720.jpg
/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_32_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349857146","1349857308","1349857200","1349857078","1349857273","1349857240"],"photo_ids_order":["1349857078","1349857146","1349857200","1349857240","1349857273","1349857308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8897155194c32c4e1a0d34cadf6ac89e.jpg","text":"TemporaryFile(/tmp/multipartBody5248046988843642382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709924156,"filename":"image_14042025_08_31_47_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3322728ef40c2405ef72dd4d901d7a2.jpg","text":"TemporaryFile(/tmp/multipartBody499657392515956071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709924156,"filename":"image_14042025_08_33_32_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fea0448729f7f09e90360458438b0aa.jpg","text":"TemporaryFile(/tmp/multipartBody680213858524657881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709924156,"filename":"image_14042025_08_32_19_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97a755e2fdfdd45429fb0e17a3a4b86a.jpg","text":"TemporaryFile(/tmp/multipartBody8308849335115823422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709924156,"filename":"image_14042025_08_31_26_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3f7de446434aff6d994e79e5277939f.jpg","text":"TemporaryFile(/tmp/multipartBody3168330593546851389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709924156,"filename":"image_14042025_08_32_58_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd93fa0d5a7a12a9c79fb6ba888c3b34.jpg","text":"TemporaryFile(/tmp/multipartBody3471674974626614074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709924156,"filename":"image_14042025_08_32_46_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857200","file1":"1349857146","file0":"1349857078","file4":"1349857273","file5":"1349857308","file3":"1349857240"},"map_files_photo_id_array":[{"photo_id":"1349857308","filename":"file5"},{"photo_id":"1349857200","filename":"file2"},{"photo_id":"1349857273","filename":"file4"},{"photo_id":"1349857146","filename":"file1"},{"photo_id":"1349857078","filename":"file0"},{"photo_id":"1349857240","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349857146":["hashtag1","hashtag2"]},{"1349857308":["hashtag1","hashtag2"]},{"1349857200":["hashtag1","hashtag2"]},{"1349857078":["hashtag1","hashtag2"]},{"1349857273":["hashtag1","hashtag2"]},{"1349857240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349857146, 1349857308, 1349857200, 1349857078, 1349857273, 1349857240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95356369018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:38:21.925844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/37/image_15042025_11_37_44_3771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/37/image_15042025_11_37_44_3771.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349857504"],"photo_id":"1349857504","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7faf135a57e557ede0a318d6972b6bf9.jpg","text":"TemporaryFile(/tmp/multipartBody1156032261299513069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709962447,"filename":"image_15042025_11_37_44_3771.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349857504"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349857504"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.468121767044067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:38:41.993551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_44_3798.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_2733.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_31_2734.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_43_2737.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_16_2727.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_36_02_3870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_44_3798.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_01_2733.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_31_2734.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_43_2737.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_16_2727.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_36_02_3870.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349857683","1349857671","1349857650","1349857691","1349857696","1349857660"],"photo_ids_order":["1349857650","1349857660","1349857671","1349857683","1349857691","1349857696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f36605fe06f969aaae844629255294d8.jpg","text":"TemporaryFile(/tmp/multipartBody4425032655388536032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983447,"filename":"image_14042025_08_34_43_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5e64d28c51a91b7862b4f8588706749.jpg","text":"TemporaryFile(/tmp/multipartBody6752982499803543999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983447,"filename":"image_14042025_08_34_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/683c56d624529dec5659e583c29a9173.jpg","text":"TemporaryFile(/tmp/multipartBody2891305355003308603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983447,"filename":"image_14042025_08_33_44_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24b009a50e0a725c77501ba6b01f3683.jpg","text":"TemporaryFile(/tmp/multipartBody6239024019004280722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983447,"filename":"image_14042025_08_35_16_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/253a866edbb26777bc3d743f56255266.jpg","text":"TemporaryFile(/tmp/multipartBody665160571739261466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983447,"filename":"image_14042025_08_36_02_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6828cbd184ab09b60cb2dadf27275a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1477833219094689520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983447,"filename":"image_14042025_08_34_01_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857671","file1":"1349857660","file0":"1349857650","file4":"1349857691","file5":"1349857696","file3":"1349857683"},"map_files_photo_id_array":[{"photo_id":"1349857696","filename":"file5"},{"photo_id":"1349857671","filename":"file2"},{"photo_id":"1349857691","filename":"file4"},{"photo_id":"1349857660","filename":"file1"},{"photo_id":"1349857650","filename":"file0"},{"photo_id":"1349857683","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349857683":["hashtag1","hashtag2"]},{"1349857671":["hashtag1","hashtag2"]},{"1349857650":["hashtag1","hashtag2"]},{"1349857691":["hashtag1","hashtag2"]},{"1349857696":["hashtag1","hashtag2"]},{"1349857660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349857683, 1349857671, 1349857650, 1349857691, 1349857696, 1349857660)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.107481956481934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:39:42.617634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/38/image_15042025_11_38_58_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/38/image_15042025_11_38_58_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349857753"],"photo_id":"1349857753","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9689adf9ce90c711fc2320781eb0c44.jpg","text":"TemporaryFile(/tmp/multipartBody4964605215615850658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710043145,"filename":"image_15042025_11_38_58_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349857753"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349857753"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 21.684165954589844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:40:21.939053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_16_2849.jpg', '/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_25_2741.jpg', '/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_58_3644.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_10_2716.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_22_3340.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_40_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_16_2849.jpg
/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_25_2741.jpg
/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_58_3644.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_10_2716.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_22_3340.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_40_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349857815","1349857809","1349857853","1349857844","1349857831","1349857861"],"photo_ids_order":["1349857809","1349857815","1349857831","1349857844","1349857853","1349857861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/014cec367c592dae3730dd935beca829.jpg","text":"TemporaryFile(/tmp/multipartBody8645135477856160458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710085405,"filename":"image_14042025_08_38_25_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4a17a0e8c8663f38986b926f2f93770.jpg","text":"TemporaryFile(/tmp/multipartBody4948872215274359922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710085405,"filename":"image_14042025_08_38_16_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a29a85bc6cfb34d690c34160a5088769.jpg","text":"TemporaryFile(/tmp/multipartBody4156156394499590957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710085405,"filename":"image_14042025_08_39_22_3340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd8490d15ad099d98efc229e899ea5ce.jpg","text":"TemporaryFile(/tmp/multipartBody3588588720427974469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710085405,"filename":"image_14042025_08_39_10_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40598626afd2a08234ae09ea6a6552d3.jpg","text":"TemporaryFile(/tmp/multipartBody5969839308162320531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710085405,"filename":"image_14042025_08_38_58_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/930d2bf7cba5b8cdc66f2231b7eb33c7.jpg","text":"TemporaryFile(/tmp/multipartBody1459354076447418328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710085405,"filename":"image_14042025_08_39_40_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857831","file1":"1349857815","file0":"1349857809","file4":"1349857853","file5":"1349857861","file3":"1349857844"},"map_files_photo_id_array":[{"photo_id":"1349857861","filename":"file5"},{"photo_id":"1349857831","filename":"file2"},{"photo_id":"1349857853","filename":"file4"},{"photo_id":"1349857815","filename":"file1"},{"photo_id":"1349857809","filename":"file0"},{"photo_id":"1349857844","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349857815":["hashtag1","hashtag2"]},{"1349857809":["hashtag1","hashtag2"]},{"1349857853":["hashtag1","hashtag2"]},{"1349857844":["hashtag1","hashtag2"]},{"1349857831":["hashtag1","hashtag2"]},{"1349857861":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349857815, 1349857809, 1349857853, 1349857844, 1349857831, 1349857861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52051043510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:41:03.431006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_43_2673.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_49_3708.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_58_3582.jpg', '/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_22_2907.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_03_2681.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_18_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_43_2673.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_49_3708.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_58_3582.jpg
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_22_2907.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_03_2681.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_18_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349857896","1349857890","1349857884","1349857914","1349857908","1349857901"],"photo_ids_order":["1349857884","1349857890","1349857896","1349857901","1349857908","1349857914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b015f719bb8c27082e420aedf31983d.jpg","text":"TemporaryFile(/tmp/multipartBody7243127751445968107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710126127,"filename":"image_14042025_08_39_58_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76f3b43a218fc61e4b88d4b7c2527d87.jpg","text":"TemporaryFile(/tmp/multipartBody6494089900487378404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710126127,"filename":"image_14042025_08_39_49_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a11378b59530b1c819fb0e934719053.jpg","text":"TemporaryFile(/tmp/multipartBody7594094596922634779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710126127,"filename":"image_14042025_08_39_43_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45c3a99cc366fdd388a9f49a0a2d833c.jpg","text":"TemporaryFile(/tmp/multipartBody5697879353040295176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710126127,"filename":"image_14042025_08_41_18_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cdf304cb726127faad0afa853dec11f.jpg","text":"TemporaryFile(/tmp/multipartBody1702534709631857862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710126127,"filename":"image_14042025_08_41_03_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9513716a900dd1bf65a252c73200cd04.jpg","text":"TemporaryFile(/tmp/multipartBody8158124096567204139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710126127,"filename":"image_14042025_08_40_22_2907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857896","file1":"1349857890","file0":"1349857884","file4":"1349857908","file5":"1349857914","file3":"1349857901"},"map_files_photo_id_array":[{"photo_id":"1349857914","filename":"file5"},{"photo_id":"1349857896","filename":"file2"},{"photo_id":"1349857908","filename":"file4"},{"photo_id":"1349857890","filename":"file1"},{"photo_id":"1349857884","filename":"file0"},{"photo_id":"1349857901","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349857896":["hashtag1","hashtag2"]},{"1349857890":["hashtag1","hashtag2"]},{"1349857884":["hashtag1","hashtag2"]},{"1349857914":["hashtag1","hashtag2"]},{"1349857908":["hashtag1","hashtag2"]},{"1349857901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349857896, 1349857890, 1349857884, 1349857914, 1349857908, 1349857901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.886542320251465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:41:42.603785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/39/image_15042025_11_39_11_3635.jpg', '/home/pi/Desktop/images/15042025/11/41/image_15042025_11_41_41_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/39/image_15042025_11_39_11_3635.jpg
/home/pi/Desktop/images/15042025/11/41/image_15042025_11_41_41_2711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349857931","1349857939"],"photo_ids_order":["1349857931","1349857939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c497b6ef2e798516644f4784bac059c9.jpg","text":"TemporaryFile(/tmp/multipartBody5464094060690381161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710163149,"filename":"image_15042025_11_39_11_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4035b143f4003a275d8bd1c3c3e67f22.jpg","text":"TemporaryFile(/tmp/multipartBody404227892084429242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710163149,"filename":"image_15042025_11_41_41_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349857939","file0":"1349857931"},"map_files_photo_id_array":[{"photo_id":"1349857939","filename":"file1"},{"photo_id":"1349857931","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349857931":["hashtag1","hashtag2"]},{"1349857939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349857931, 1349857939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.528210878372192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:42:02.981695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_55_3583.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_12_2746.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_43_3668.jpg', '/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_21_3659.jpg', '/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_54_2769.jpg', '/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_15_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_55_3583.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_12_2746.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_43_3668.jpg
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_21_3659.jpg
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_54_2769.jpg
/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_15_2612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.469641923904419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:42:22.360712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/41/image_15042025_11_41_56_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/41/image_15042025_11_41_56_3617.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858032"],"photo_id":"1349858032","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/182d1d3fda9079fcbaab45338f8ce32d.jpg","text":"TemporaryFile(/tmp/multipartBody4788817501281955072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710202893,"filename":"image_15042025_11_41_56_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349858032"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349858032"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.534093618392944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:42:42.355244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_55_3583.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_12_2746.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_43_3668.jpg', '/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_21_3659.jpg', '/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_54_2769.jpg', '/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_15_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_55_3583.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_12_2746.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_43_3668.jpg
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_21_3659.jpg
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_54_2769.jpg
/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_15_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858235","1349858226","1349858246","1349858266","1349858260","1349858254"],"photo_ids_order":["1349858226","1349858235","1349858246","1349858254","1349858260","1349858266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7659d3e0334e16f528e24385f2916eef.jpg","text":"TemporaryFile(/tmp/multipartBody4656232874801234128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710223847,"filename":"image_14042025_08_43_12_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/195a68c3a2fb965c0fe9414f1a0ffa2b.jpg","text":"TemporaryFile(/tmp/multipartBody7689885261741225195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710223847,"filename":"image_14042025_08_41_55_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc1051c3ab8810e3c201d3410cf2ff79.jpg","text":"TemporaryFile(/tmp/multipartBody148399241962456956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710223847,"filename":"image_14042025_08_43_43_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69c55f00297675bd55044995e4c24447.jpg","text":"TemporaryFile(/tmp/multipartBody6398675536268360988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710223847,"filename":"image_14042025_08_45_15_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cfb9de427c4fcf0104ac5521fede3d55.jpg","text":"TemporaryFile(/tmp/multipartBody6456879916490835839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710223847,"filename":"image_14042025_08_44_54_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/547463dcd800fb993f7d4c9f4b97e34a.jpg","text":"TemporaryFile(/tmp/multipartBody6313444644020080909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710223847,"filename":"image_14042025_08_44_21_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858246","file1":"1349858235","file0":"1349858226","file4":"1349858260","file5":"1349858266","file3":"1349858254"},"map_files_photo_id_array":[{"photo_id":"1349858266","filename":"file5"},{"photo_id":"1349858246","filename":"file2"},{"photo_id":"1349858260","filename":"file4"},{"photo_id":"1349858235","filename":"file1"},{"photo_id":"1349858226","filename":"file0"},{"photo_id":"1349858254","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349858235":["hashtag1","hashtag2"]},{"1349858226":["hashtag1","hashtag2"]},{"1349858246":["hashtag1","hashtag2"]},{"1349858266":["hashtag1","hashtag2"]},{"1349858260":["hashtag1","hashtag2"]},{"1349858254":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349858235, 1349858226, 1349858246, 1349858266, 1349858260, 1349858254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.599592447280884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:43:22.590551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/42/image_15042025_11_42_08_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/42/image_15042025_11_42_08_3565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858277"],"photo_id":"1349858277","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b15f4076663944f49fedea8b5f85e35.jpg","text":"TemporaryFile(/tmp/multipartBody7201290177638645200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710263108,"filename":"image_15042025_11_42_08_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349858277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349858277"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.420140504837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:43:42.599787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_30_2803.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_15_2632.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_30_3638.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_42_2664.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_47_00_2888.jpg', '/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_03_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_30_2803.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_15_2632.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_30_3638.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_42_2664.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_47_00_2888.jpg
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_03_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858349","1349858381","1349858345","1349858330","1349858338","1349858320"],"photo_ids_order":["1349858320","1349858330","1349858338","1349858345","1349858349","1349858381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13b96192a49bc527c464b69564719096.jpg","text":"TemporaryFile(/tmp/multipartBody9040594669303927513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710284157,"filename":"image_14042025_08_47_00_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67bda8a5ade0ae196e1a172e13b0aadc.jpg","text":"TemporaryFile(/tmp/multipartBody8273851296655711492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710284157,"filename":"image_14042025_08_47_03_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e2824d95a05ee28a45065973066ba0d.jpg","text":"TemporaryFile(/tmp/multipartBody9105527746344387676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710284157,"filename":"image_14042025_08_46_42_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dfa9fa4bf67490e0530b4f18725d3024.jpg","text":"TemporaryFile(/tmp/multipartBody1085686629630038989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710284157,"filename":"image_14042025_08_46_15_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cc5afadd22b143ff367413ff902c2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1920015278266077735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710284157,"filename":"image_14042025_08_46_30_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff4a0028d69dffccef851cc92deb5474.jpg","text":"TemporaryFile(/tmp/multipartBody2718309088617518715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710284157,"filename":"image_14042025_08_45_30_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858338","file1":"1349858330","file0":"1349858320","file4":"1349858349","file5":"1349858381","file3":"1349858345"},"map_files_photo_id_array":[{"photo_id":"1349858381","filename":"file5"},{"photo_id":"1349858338","filename":"file2"},{"photo_id":"1349858349","filename":"file4"},{"photo_id":"1349858330","filename":"file1"},{"photo_id":"1349858320","filename":"file0"},{"photo_id":"1349858345","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349858349":["hashtag1","hashtag2"]},{"1349858381":["hashtag1","hashtag2"]},{"1349858345":["hashtag1","hashtag2"]},{"1349858330":["hashtag1","hashtag2"]},{"1349858338":["hashtag1","hashtag2"]},{"1349858320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349858349, 1349858381, 1349858345, 1349858330, 1349858338, 1349858320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54619598388672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:44:22.808653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/43/image_15042025_11_43_35_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/43/image_15042025_11_43_35_3592.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858497"],"photo_id":"1349858497","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b24f141a422969cdecb737090e898e01.jpg","text":"TemporaryFile(/tmp/multipartBody5663067393038363089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710323329,"filename":"image_15042025_11_43_35_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349858497"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349858497"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.191455364227295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:44:42.732897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_05_2689.jpg', '/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_12_2909.jpg', '/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_30_3688.jpg', '/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_45_2839.jpg', '/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_06_2561.jpg', '/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_27_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_05_2689.jpg
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_12_2909.jpg
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_30_3688.jpg
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_45_2839.jpg
/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_06_2561.jpg
/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_27_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858544","1349858551","1349858560","1349858533","1349858539","1349858524"],"photo_ids_order":["1349858524","1349858533","1349858539","1349858544","1349858551","1349858560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b78fc9872ba4d78425fa5fd07892602c.jpg","text":"TemporaryFile(/tmp/multipartBody4605797618926402561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710344271,"filename":"image_14042025_08_47_45_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fda8b6aa7872ffc283c7ca8681723331.jpg","text":"TemporaryFile(/tmp/multipartBody3342817243510273574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710344271,"filename":"image_14042025_08_48_06_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df046a7d47413d1d00404450ebfc1dc9.jpg","text":"TemporaryFile(/tmp/multipartBody8782564898613977936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710344271,"filename":"image_14042025_08_48_27_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/184e1d6bbc40daf3147c2baa71d66125.jpg","text":"TemporaryFile(/tmp/multipartBody57997352252966328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710344271,"filename":"image_14042025_08_47_12_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a2e9defa10bfa79a787dc6ada4783f8.jpg","text":"TemporaryFile(/tmp/multipartBody3543232241187014890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710344271,"filename":"image_14042025_08_47_30_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/683c2bc66b187f28c6fee718270f3ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3804257582120151471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710344271,"filename":"image_14042025_08_47_05_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858539","file1":"1349858533","file0":"1349858524","file4":"1349858551","file5":"1349858560","file3":"1349858544"},"map_files_photo_id_array":[{"photo_id":"1349858560","filename":"file5"},{"photo_id":"1349858539","filename":"file2"},{"photo_id":"1349858551","filename":"file4"},{"photo_id":"1349858533","filename":"file1"},{"photo_id":"1349858524","filename":"file0"},{"photo_id":"1349858544","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349858544":["hashtag1","hashtag2"]},{"1349858551":["hashtag1","hashtag2"]},{"1349858560":["hashtag1","hashtag2"]},{"1349858533":["hashtag1","hashtag2"]},{"1349858539":["hashtag1","hashtag2"]},{"1349858524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349858544, 1349858551, 1349858560, 1349858533, 1349858539, 1349858524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08796954154968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:45:22.015048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/44/image_15042025_11_44_01_2506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/44/image_15042025_11_44_01_2506.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858734"],"photo_id":"1349858734","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b251784d0636e0f0daf1e1b4146f2827.jpg","text":"TemporaryFile(/tmp/multipartBody787461321460559285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710382540,"filename":"image_15042025_11_44_01_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349858734"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349858734"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.732280015945435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:45:41.935819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_39_3636.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_03_2565.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_06_3182.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_08_2596.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_12_3613.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_45_3815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_39_3636.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_03_2565.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_06_3182.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_08_2596.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_12_3613.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_45_3815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858817","1349858899","1349858836","1349858827","1349858914","1349858871"],"photo_ids_order":["1349858817","1349858827","1349858836","1349858871","1349858899","1349858914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47f2a890915157f0b0073665f5fab057.jpg","text":"TemporaryFile(/tmp/multipartBody2289668699172857982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710403444,"filename":"image_14042025_08_49_39_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21294a43b091f01c4fca1305337ff328.jpg","text":"TemporaryFile(/tmp/multipartBody4896593979370541264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710403444,"filename":"image_14042025_08_50_12_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afeff7a3e956d8259519408296c25e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4667094472530568666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710403444,"filename":"image_14042025_08_50_06_3182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd622f38232039e5e5dc0fcf24c67c55.jpg","text":"TemporaryFile(/tmp/multipartBody8137360009060895130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710403444,"filename":"image_14042025_08_50_03_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04145f8bec9d3964c12057d7eb67c9e4.jpg","text":"TemporaryFile(/tmp/multipartBody1744644530295428270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710403444,"filename":"image_14042025_08_50_45_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cce7aa23cf96df87f4ee1aaacbe2d99d.jpg","text":"TemporaryFile(/tmp/multipartBody8271682993029733101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710403444,"filename":"image_14042025_08_50_08_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858836","file1":"1349858827","file0":"1349858817","file4":"1349858899","file5":"1349858914","file3":"1349858871"},"map_files_photo_id_array":[{"photo_id":"1349858914","filename":"file5"},{"photo_id":"1349858836","filename":"file2"},{"photo_id":"1349858899","filename":"file4"},{"photo_id":"1349858827","filename":"file1"},{"photo_id":"1349858817","filename":"file0"},{"photo_id":"1349858871","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349858817":["hashtag1","hashtag2"]},{"1349858899":["hashtag1","hashtag2"]},{"1349858836":["hashtag1","hashtag2"]},{"1349858827":["hashtag1","hashtag2"]},{"1349858914":["hashtag1","hashtag2"]},{"1349858871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349858817, 1349858899, 1349858836, 1349858827, 1349858914, 1349858871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13062381744385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:46:22.539054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_02_2767.jpg', '/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_50_2679.jpg', '/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_32_2730.jpg', '/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_59_3580.jpg', '/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_14_2632.jpg', '/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_17_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_02_2767.jpg
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_50_2679.jpg
/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_32_2730.jpg
/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_59_3580.jpg
/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_14_2632.jpg
/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_17_3739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349858966","1349858992","1349858986","1349858962","1349858979","1349858973"],"photo_ids_order":["1349858962","1349858966","1349858973","1349858979","1349858986","1349858992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c3fbe5180b71eed3892e76be1c08eec.jpg","text":"TemporaryFile(/tmp/multipartBody5634897373166164546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710446047,"filename":"image_14042025_08_53_50_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7948c24e3e2bd8a9d4be2fcb699f44a1.jpg","text":"TemporaryFile(/tmp/multipartBody762232218341091067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710446047,"filename":"image_14042025_08_56_17_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25f42f10689c32a5231d4bdc2fd73872.jpg","text":"TemporaryFile(/tmp/multipartBody9151014430827816902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710446047,"filename":"image_14042025_08_55_14_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b28e159aa2fd4461c12fab16287f487c.jpg","text":"TemporaryFile(/tmp/multipartBody3822825241288057759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710446047,"filename":"image_14042025_08_51_02_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f81a136881c14b505645b379dffe7a69.jpg","text":"TemporaryFile(/tmp/multipartBody8816675003037242481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710446047,"filename":"image_14042025_08_54_59_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6c9c9d6067c3a07a7775500880d90d4.jpg","text":"TemporaryFile(/tmp/multipartBody5305653122287325622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710446047,"filename":"image_14042025_08_54_32_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858973","file1":"1349858966","file0":"1349858962","file4":"1349858986","file5":"1349858992","file3":"1349858979"},"map_files_photo_id_array":[{"photo_id":"1349858992","filename":"file5"},{"photo_id":"1349858973","filename":"file2"},{"photo_id":"1349858986","filename":"file4"},{"photo_id":"1349858966","filename":"file1"},{"photo_id":"1349858962","filename":"file0"},{"photo_id":"1349858979","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349858966":["hashtag1","hashtag2"]},{"1349858992":["hashtag1","hashtag2"]},{"1349858986":["hashtag1","hashtag2"]},{"1349858962":["hashtag1","hashtag2"]},{"1349858979":["hashtag1","hashtag2"]},{"1349858973":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349858966, 1349858992, 1349858986, 1349858962, 1349858979, 1349858973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.644248247146606 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:47:21.796174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_29_3688.jpg', '/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_05_2653.jpg', '/home/pi/Desktop/images/14042025/08/58/image_14042025_08_58_53_2698.jpg', '/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_46_2643.jpg', '/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_54_2739.jpg', '/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_19_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_29_3688.jpg
/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_05_2653.jpg
/home/pi/Desktop/images/14042025/08/58/image_14042025_08_58_53_2698.jpg
/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_46_2643.jpg
/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_54_2739.jpg
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_19_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859024","1349859038","1349859055","1349859031","1349859063","1349859045"],"photo_ids_order":["1349859024","1349859031","1349859038","1349859045","1349859055","1349859063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3f261a172dcd635caed5348d0917060.jpg","text":"TemporaryFile(/tmp/multipartBody812598424941670111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710505062,"filename":"image_14042025_08_56_29_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07ebefebfeb73054589651b7e842e265.jpg","text":"TemporaryFile(/tmp/multipartBody6801175881345521624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710505062,"filename":"image_14042025_08_58_53_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fdfb98f8b798236a1f79ab5a8e99412.jpg","text":"TemporaryFile(/tmp/multipartBody2199195090876650022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710505062,"filename":"image_14042025_09_03_54_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e9617f86c59ad9d6784b3d21bd16a79.jpg","text":"TemporaryFile(/tmp/multipartBody5329554953274662107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710505062,"filename":"image_14042025_08_57_05_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47d834ef784dea8cc5ad11f0969795cd.jpg","text":"TemporaryFile(/tmp/multipartBody3464835227108037839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710505062,"filename":"image_14042025_09_05_19_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6ec368db8fdd106848244b92d0c004c.jpg","text":"TemporaryFile(/tmp/multipartBody4513744984850925576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710505062,"filename":"image_14042025_09_01_46_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859038","file1":"1349859031","file0":"1349859024","file4":"1349859055","file5":"1349859063","file3":"1349859045"},"map_files_photo_id_array":[{"photo_id":"1349859063","filename":"file5"},{"photo_id":"1349859038","filename":"file2"},{"photo_id":"1349859055","filename":"file4"},{"photo_id":"1349859031","filename":"file1"},{"photo_id":"1349859024","filename":"file0"},{"photo_id":"1349859045","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859024":["hashtag1","hashtag2"]},{"1349859038":["hashtag1","hashtag2"]},{"1349859055":["hashtag1","hashtag2"]},{"1349859031":["hashtag1","hashtag2"]},{"1349859063":["hashtag1","hashtag2"]},{"1349859045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859024, 1349859038, 1349859055, 1349859031, 1349859063, 1349859045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17366552352905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:48:02.732785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/05/image_14042025_09_06_00_2547.jpg', '/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_31_3702.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_03_2617.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_48_2708.jpg', '/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_03_2761.jpg', '/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_57_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_06_00_2547.jpg
/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_31_3702.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_03_2617.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_48_2708.jpg
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_03_2761.jpg
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_57_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859105","1349859095","1349859091","1349859112","1349859100","1349859084"],"photo_ids_order":["1349859084","1349859091","1349859095","1349859100","1349859105","1349859112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/424108b54e88bc2fae5b09f9082520a1.jpg","text":"TemporaryFile(/tmp/multipartBody2788299852867772305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710545370,"filename":"image_14042025_09_09_03_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c57360a6a112b4434009a710d4875794.jpg","text":"TemporaryFile(/tmp/multipartBody4834782563188135278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710545370,"filename":"image_14042025_09_08_03_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34aa31c152abe4f5563e20069e34688e.jpg","text":"TemporaryFile(/tmp/multipartBody1449149416448966924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710545370,"filename":"image_14042025_09_07_31_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a4242046bdfd85b6f748d6293df2e59.jpg","text":"TemporaryFile(/tmp/multipartBody2561347443024830780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710545370,"filename":"image_14042025_09_09_57_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9d72ec903d9a2d6e39a8ac140afb665.jpg","text":"TemporaryFile(/tmp/multipartBody5539052970648901844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710545370,"filename":"image_14042025_09_08_48_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c01c697e8d6e36f3c824fe4c7377f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5521573754292878637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710545370,"filename":"image_14042025_09_06_00_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859095","file1":"1349859091","file0":"1349859084","file4":"1349859105","file5":"1349859112","file3":"1349859100"},"map_files_photo_id_array":[{"photo_id":"1349859112","filename":"file5"},{"photo_id":"1349859095","filename":"file2"},{"photo_id":"1349859105","filename":"file4"},{"photo_id":"1349859091","filename":"file1"},{"photo_id":"1349859084","filename":"file0"},{"photo_id":"1349859100","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859105":["hashtag1","hashtag2"]},{"1349859095":["hashtag1","hashtag2"]},{"1349859091":["hashtag1","hashtag2"]},{"1349859112":["hashtag1","hashtag2"]},{"1349859100":["hashtag1","hashtag2"]},{"1349859084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859105, 1349859095, 1349859091, 1349859112, 1349859100, 1349859084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.531466007232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:48:42.152202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/45/image_15042025_11_45_26_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/45/image_15042025_11_45_26_2641.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859127"],"photo_id":"1349859127","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cf49a127eac6fab08e6161f8da39e88.jpg","text":"TemporaryFile(/tmp/multipartBody4004831535671845888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710582674,"filename":"image_15042025_11_45_26_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349859127"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349859127"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.92586874961853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:49:03.277986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_15_2755.jpg', '/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_51_3710.jpg', '/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_33_2783.jpg', '/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_23_2770.jpg', '/home/pi/Desktop/images/14042025/09/15/image_14042025_09_16_00_2644.jpg', '/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_30_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_15_2755.jpg
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_51_3710.jpg
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_33_2783.jpg
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_23_2770.jpg
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_16_00_2644.jpg
/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_30_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859185","1349859173","1349859199","1349859181","1349859163","1349859192"],"photo_ids_order":["1349859163","1349859173","1349859181","1349859185","1349859192","1349859199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/552d9a0d5391fc4d314832c0c40f289a.jpg","text":"TemporaryFile(/tmp/multipartBody4792730076104625509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710606014,"filename":"image_14042025_09_15_23_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d8dea41a2af94acab886352d479fc71.jpg","text":"TemporaryFile(/tmp/multipartBody6223190044594368135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710606014,"filename":"image_14042025_09_11_51_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be1982bf74cfa3ead3204be8b717f9f0.jpg","text":"TemporaryFile(/tmp/multipartBody2813589984766003965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710606014,"filename":"image_14042025_09_17_30_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/492f74f5b64eca62d3a3f7676a3ead2f.jpg","text":"TemporaryFile(/tmp/multipartBody2912548489906232344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710606014,"filename":"image_14042025_09_14_33_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/514b66a9f31bfed7c5f6175b753e5a80.jpg","text":"TemporaryFile(/tmp/multipartBody5042175836747263191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710606014,"filename":"image_14042025_09_11_15_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/442b7f7b04acd699219b80675a32d9c2.jpg","text":"TemporaryFile(/tmp/multipartBody3771124007390278638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710606014,"filename":"image_14042025_09_16_00_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859181","file1":"1349859173","file0":"1349859163","file4":"1349859192","file5":"1349859199","file3":"1349859185"},"map_files_photo_id_array":[{"photo_id":"1349859199","filename":"file5"},{"photo_id":"1349859181","filename":"file2"},{"photo_id":"1349859192","filename":"file4"},{"photo_id":"1349859173","filename":"file1"},{"photo_id":"1349859163","filename":"file0"},{"photo_id":"1349859185","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859185":["hashtag1","hashtag2"]},{"1349859173":["hashtag1","hashtag2"]},{"1349859199":["hashtag1","hashtag2"]},{"1349859181":["hashtag1","hashtag2"]},{"1349859163":["hashtag1","hashtag2"]},{"1349859192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859185, 1349859173, 1349859199, 1349859181, 1349859163, 1349859192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12502098083496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:49:42.426786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_38_2689.jpg', '/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_06_3929.jpg', '/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_20_2631.jpg', '/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_38_1577.jpg', '/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_22_2772.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_53_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_38_2689.jpg
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_06_3929.jpg
/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_20_2631.jpg
/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_38_1577.jpg
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_22_2772.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_53_3560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859290","1349859346","1349859334","1349859223","1349859375","1349859249"],"photo_ids_order":["1349859223","1349859249","1349859290","1349859334","1349859346","1349859375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a2ff928054a34c7332596e3da0796a5.jpg","text":"TemporaryFile(/tmp/multipartBody8284758104373039743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710643901,"filename":"image_14042025_09_21_20_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/851a1f90383e860de9bc86d94f2a06f0.jpg","text":"TemporaryFile(/tmp/multipartBody608500791109190720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710643901,"filename":"image_14042025_09_25_22_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b350cf6cf22e930e57cf364e11b7ec49.jpg","text":"TemporaryFile(/tmp/multipartBody2795718632401150290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710643901,"filename":"image_14042025_09_22_38_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69fb17c52d2c7788d73da1f2b6d68e83.jpg","text":"TemporaryFile(/tmp/multipartBody1691568849305675664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710643901,"filename":"image_14042025_09_18_38_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6beb1a2c733c8f0258ac2b917617a545.jpg","text":"TemporaryFile(/tmp/multipartBody7581456393482427919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710643901,"filename":"image_14042025_09_26_53_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e407b711e863c0b2f199b83cd07ef03.jpg","text":"TemporaryFile(/tmp/multipartBody2339459160727127986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710643901,"filename":"image_14042025_09_20_06_3929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859290","file1":"1349859249","file0":"1349859223","file4":"1349859346","file5":"1349859375","file3":"1349859334"},"map_files_photo_id_array":[{"photo_id":"1349859375","filename":"file5"},{"photo_id":"1349859290","filename":"file2"},{"photo_id":"1349859346","filename":"file4"},{"photo_id":"1349859249","filename":"file1"},{"photo_id":"1349859223","filename":"file0"},{"photo_id":"1349859334","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859290":["hashtag1","hashtag2"]},{"1349859346":["hashtag1","hashtag2"]},{"1349859334":["hashtag1","hashtag2"]},{"1349859223":["hashtag1","hashtag2"]},{"1349859375":["hashtag1","hashtag2"]},{"1349859249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859290, 1349859346, 1349859334, 1349859223, 1349859375, 1349859249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.13193130493164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:50:42.424361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_55_2643.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_58_2701.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_05_2681.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_10_2833.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_14_3643.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_16_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_55_2643.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_58_2701.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_05_2681.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_10_2833.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_14_3643.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_16_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859410","1349859404","1349859445","1349859427","1349859418","1349859435"],"photo_ids_order":["1349859404","1349859410","1349859418","1349859427","1349859435","1349859445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb5fd56eb7aa4be4a67574e39d297355.jpg","text":"TemporaryFile(/tmp/multipartBody4347591589875335624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710703933,"filename":"image_14042025_09_26_58_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b905f5769c69888d89a347213d87131.jpg","text":"TemporaryFile(/tmp/multipartBody353694549447330462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710703933,"filename":"image_14042025_09_26_55_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bf55fa2a841090c099e97eafe41fcdb.jpg","text":"TemporaryFile(/tmp/multipartBody6752651609762738227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710703933,"filename":"image_14042025_09_27_16_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36ea4cd289b99ff8694168cee35831a2.jpg","text":"TemporaryFile(/tmp/multipartBody563736127078350640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710703933,"filename":"image_14042025_09_27_10_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56ea522f067c1f141af6452b38de4720.jpg","text":"TemporaryFile(/tmp/multipartBody7189923326742950554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710703933,"filename":"image_14042025_09_27_05_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5fd7fe6fd322b0503e0fb01b20de3d79.jpg","text":"TemporaryFile(/tmp/multipartBody6695705962285804554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710703933,"filename":"image_14042025_09_27_14_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859418","file1":"1349859410","file0":"1349859404","file4":"1349859435","file5":"1349859445","file3":"1349859427"},"map_files_photo_id_array":[{"photo_id":"1349859445","filename":"file5"},{"photo_id":"1349859418","filename":"file2"},{"photo_id":"1349859435","filename":"file4"},{"photo_id":"1349859410","filename":"file1"},{"photo_id":"1349859404","filename":"file0"},{"photo_id":"1349859427","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859410":["hashtag1","hashtag2"]},{"1349859404":["hashtag1","hashtag2"]},{"1349859445":["hashtag1","hashtag2"]},{"1349859427":["hashtag1","hashtag2"]},{"1349859418":["hashtag1","hashtag2"]},{"1349859435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859410, 1349859404, 1349859445, 1349859427, 1349859418, 1349859435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84863042831421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:51:21.762888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/48/image_15042025_11_48_16_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/48/image_15042025_11_48_16_2515.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859456"],"photo_id":"1349859456","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9de96705a879cfd59b49d55cf8066c49.jpg","text":"TemporaryFile(/tmp/multipartBody533013187914900301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710742285,"filename":"image_15042025_11_48_16_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349859456"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349859456"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.807381629943848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:51:41.810877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_26_2711.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_28_2683.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_31_2881.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_35_3635.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_37_2626.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_40_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_26_2711.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_28_2683.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_31_2881.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_35_3635.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_37_2626.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_40_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859527","1349859521","1349859515","1349859506","1349859498","1349859486"],"photo_ids_order":["1349859486","1349859498","1349859506","1349859515","1349859521","1349859527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2fe1694004609fa3d225286abcc086c.jpg","text":"TemporaryFile(/tmp/multipartBody2057384464771245440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710763368,"filename":"image_14042025_09_27_40_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d59813933fbc0c56da7824b59e3283b4.jpg","text":"TemporaryFile(/tmp/multipartBody7503956148145569165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710763368,"filename":"image_14042025_09_27_37_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a46c5d2ac00a68982908f90fadf6a29a.jpg","text":"TemporaryFile(/tmp/multipartBody4133902696400102608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710763368,"filename":"image_14042025_09_27_35_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44269b0a419037de65f6f8352b202513.jpg","text":"TemporaryFile(/tmp/multipartBody2429979127242861680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710763368,"filename":"image_14042025_09_27_31_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dea8e25d9a2e9c7d427cd8e43fca1b14.jpg","text":"TemporaryFile(/tmp/multipartBody4113842777411617068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710763368,"filename":"image_14042025_09_27_28_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2271a6119342ecfc287eaf7e2240bb3f.jpg","text":"TemporaryFile(/tmp/multipartBody1436832073659181943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710763368,"filename":"image_14042025_09_27_26_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859506","file1":"1349859498","file0":"1349859486","file4":"1349859521","file5":"1349859527","file3":"1349859515"},"map_files_photo_id_array":[{"photo_id":"1349859527","filename":"file5"},{"photo_id":"1349859506","filename":"file2"},{"photo_id":"1349859521","filename":"file4"},{"photo_id":"1349859498","filename":"file1"},{"photo_id":"1349859486","filename":"file0"},{"photo_id":"1349859515","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859527":["hashtag1","hashtag2"]},{"1349859521":["hashtag1","hashtag2"]},{"1349859515":["hashtag1","hashtag2"]},{"1349859506":["hashtag1","hashtag2"]},{"1349859498":["hashtag1","hashtag2"]},{"1349859486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859527, 1349859521, 1349859515, 1349859506, 1349859498, 1349859486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18990230560303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:52:22.012656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_44_3719.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_46_2721.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_49_2613.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_53_3516.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_55_2698.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_59_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_44_3719.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_46_2721.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_49_2613.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_53_3516.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_55_2698.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_59_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859563","1349859551","1349859569","1349859557","1349859544","1349859576"],"photo_ids_order":["1349859544","1349859551","1349859557","1349859563","1349859569","1349859576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c9a1053f7f21c3ef04156ac7bf3270f.jpg","text":"TemporaryFile(/tmp/multipartBody332823295528480165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710805586,"filename":"image_14042025_09_27_53_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88476b492cc7f43afd8ad90682585abe.jpg","text":"TemporaryFile(/tmp/multipartBody7352947773324900473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710805586,"filename":"image_14042025_09_27_46_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e29c4131d336fe563170e68e37c0b504.jpg","text":"TemporaryFile(/tmp/multipartBody3911348036607283051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710805586,"filename":"image_14042025_09_27_55_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1a3d14c0b9d6a48ca6b358984c30e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7663642984631927776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710805586,"filename":"image_14042025_09_27_49_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/590c0255d9960fe243909c12a59eb8db.jpg","text":"TemporaryFile(/tmp/multipartBody5445707707015018776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710805586,"filename":"image_14042025_09_27_44_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3fad931c5f7402b6b46fae4bb80ced6f.jpg","text":"TemporaryFile(/tmp/multipartBody1841308586854434344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710805586,"filename":"image_14042025_09_27_59_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859557","file1":"1349859551","file0":"1349859544","file4":"1349859569","file5":"1349859576","file3":"1349859563"},"map_files_photo_id_array":[{"photo_id":"1349859576","filename":"file5"},{"photo_id":"1349859557","filename":"file2"},{"photo_id":"1349859569","filename":"file4"},{"photo_id":"1349859551","filename":"file1"},{"photo_id":"1349859544","filename":"file0"},{"photo_id":"1349859563","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859563":["hashtag1","hashtag2"]},{"1349859551":["hashtag1","hashtag2"]},{"1349859569":["hashtag1","hashtag2"]},{"1349859557":["hashtag1","hashtag2"]},{"1349859544":["hashtag1","hashtag2"]},{"1349859576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859563, 1349859551, 1349859569, 1349859557, 1349859544, 1349859576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12062120437622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:53:02.840525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_04_2664.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_13_2686.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_55_2795.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_07_2602.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_17_3752.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_22_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_04_2664.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_13_2686.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_55_2795.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_07_2602.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_17_3752.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_22_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859629","1349859608","1349859611","1349859604","1349859621","1349859615"],"photo_ids_order":["1349859604","1349859608","1349859611","1349859615","1349859621","1349859629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/334039cd093636f4b99751482bdd7654.jpg","text":"TemporaryFile(/tmp/multipartBody136862388021096143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710848309,"filename":"image_14042025_09_29_22_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f690d4fa7372993f0e65d45397bad34.jpg","text":"TemporaryFile(/tmp/multipartBody567497689261715540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710848309,"filename":"image_14042025_09_28_13_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49c67e2659c66024e127ebeab1204951.jpg","text":"TemporaryFile(/tmp/multipartBody5795228556150254819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710848309,"filename":"image_14042025_09_28_55_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ff0d8cf5ff876b0a8411714e40d51cd.jpg","text":"TemporaryFile(/tmp/multipartBody5734673383984509902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710848309,"filename":"image_14042025_09_28_04_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d50b15c3f0e2ced18d0f8a5541202259.jpg","text":"TemporaryFile(/tmp/multipartBody2316791105833918113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710848309,"filename":"image_14042025_09_29_17_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f71d3a32c13b8ee489941ca5f9b0757.jpg","text":"TemporaryFile(/tmp/multipartBody6565356235044005017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710848309,"filename":"image_14042025_09_29_07_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859611","file1":"1349859608","file0":"1349859604","file4":"1349859621","file5":"1349859629","file3":"1349859615"},"map_files_photo_id_array":[{"photo_id":"1349859629","filename":"file5"},{"photo_id":"1349859611","filename":"file2"},{"photo_id":"1349859621","filename":"file4"},{"photo_id":"1349859608","filename":"file1"},{"photo_id":"1349859604","filename":"file0"},{"photo_id":"1349859615","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859629":["hashtag1","hashtag2"]},{"1349859608":["hashtag1","hashtag2"]},{"1349859611":["hashtag1","hashtag2"]},{"1349859604":["hashtag1","hashtag2"]},{"1349859621":["hashtag1","hashtag2"]},{"1349859615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859629, 1349859608, 1349859611, 1349859604, 1349859621, 1349859615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22790503501892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:54:02.735608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/51/image_15042025_11_51_05_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/51/image_15042025_11_51_05_3546.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859673"],"photo_id":"1349859673","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df7508ff59f8f635e46d33fc721edc08.jpg","text":"TemporaryFile(/tmp/multipartBody5785000810708667831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710903308,"filename":"image_15042025_11_51_05_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349859673"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349859673"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.863823890686035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:54:22.101891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_26_3704.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_28_2695.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_50_3716.jpg', '/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_07_3011.jpg', '/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_11_3605.jpg', '/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_41_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_26_3704.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_28_2695.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_50_3716.jpg
/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_07_3011.jpg
/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_11_3605.jpg
/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_41_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859695","1349859728","1349859707","1349859715","1349859700","1349859735"],"photo_ids_order":["1349859695","1349859700","1349859707","1349859715","1349859728","1349859735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfdd67c2c6d7fd9dc0320c4ed4a42d9c.jpg","text":"TemporaryFile(/tmp/multipartBody6212568791882502267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710925304,"filename":"image_14042025_09_29_26_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d85e5b4fe73625d87db8d1ab9349193c.jpg","text":"TemporaryFile(/tmp/multipartBody1566108889914938107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710925304,"filename":"image_14042025_09_31_11_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2570d9fbb7dc2a8ca62be739835e99f.jpg","text":"TemporaryFile(/tmp/multipartBody3914640110369652567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710925304,"filename":"image_14042025_09_29_50_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a059eb6fa27fbd8d64df86461b6e460.jpg","text":"TemporaryFile(/tmp/multipartBody1716201723776828853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710925304,"filename":"image_14042025_09_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da870eb820d592b7dc85964fc4a05e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6382926250673789571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710925304,"filename":"image_14042025_09_29_28_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edf8ccce833e347fc1a0e86653a9a38e.jpg","text":"TemporaryFile(/tmp/multipartBody6850152600689970673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710925304,"filename":"image_14042025_09_32_41_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859707","file1":"1349859700","file0":"1349859695","file4":"1349859728","file5":"1349859735","file3":"1349859715"},"map_files_photo_id_array":[{"photo_id":"1349859735","filename":"file5"},{"photo_id":"1349859707","filename":"file2"},{"photo_id":"1349859728","filename":"file4"},{"photo_id":"1349859700","filename":"file1"},{"photo_id":"1349859695","filename":"file0"},{"photo_id":"1349859715","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859695":["hashtag1","hashtag2"]},{"1349859728":["hashtag1","hashtag2"]},{"1349859707":["hashtag1","hashtag2"]},{"1349859715":["hashtag1","hashtag2"]},{"1349859700":["hashtag1","hashtag2"]},{"1349859735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859695, 1349859728, 1349859707, 1349859715, 1349859700, 1349859735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59377360343933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 11:55:21.932976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_08_3599.jpg', '/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_16_2804.jpg', '/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_49_2544.jpg', '/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_52_2659.jpg', '/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_55_3632.jpg', '/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_58_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_08_3599.jpg
/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_16_2804.jpg
/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_49_2544.jpg
/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_52_2659.jpg
/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_55_3632.jpg
/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_58_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859776","1349859839","1349859787","1349859808","1349859771","1349859828"],"photo_ids_order":["1349859771","1349859776","1349859787","1349859808","1349859828","1349859839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57295fd59e7ca134affdc5359d6a1630.jpg","text":"TemporaryFile(/tmp/multipartBody6258636645018418505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710985125,"filename":"image_14042025_09_33_16_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f16c258654908ddf8ec99e7145caa88f.jpg","text":"TemporaryFile(/tmp/multipartBody1984102487572296148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710985125,"filename":"image_14042025_09_35_58_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f477b034c8109b943683d78005cae37d.jpg","text":"TemporaryFile(/tmp/multipartBody7457909820610033306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710985125,"filename":"image_14042025_09_34_49_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a26d3d27700b40672b666b9f3d25980.jpg","text":"TemporaryFile(/tmp/multipartBody8220805626936301949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710985125,"filename":"image_14042025_09_35_52_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64648eeae765a0976b1bf0022928c594.jpg","text":"TemporaryFile(/tmp/multipartBody5166819636991920025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710985125,"filename":"image_14042025_09_33_08_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d7c8b711554d4ef30dd8d215462f450.jpg","text":"TemporaryFile(/tmp/multipartBody7868031730197230810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710985125,"filename":"image_14042025_09_35_55_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859787","file1":"1349859776","file0":"1349859771","file4":"1349859828","file5":"1349859839","file3":"1349859808"},"map_files_photo_id_array":[{"photo_id":"1349859839","filename":"file5"},{"photo_id":"1349859787","filename":"file2"},{"photo_id":"1349859828","filename":"file4"},{"photo_id":"1349859776","filename":"file1"},{"photo_id":"1349859771","filename":"file0"},{"photo_id":"1349859808","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859776":["hashtag1","hashtag2"]},{"1349859839":["hashtag1","hashtag2"]},{"1349859787":["hashtag1","hashtag2"]},{"1349859808":["hashtag1","hashtag2"]},{"1349859771":["hashtag1","hashtag2"]},{"1349859828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859776, 1349859839, 1349859787, 1349859808, 1349859771, 1349859828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94608521461487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:56:02.746015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_05_3710.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_43_3612.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_46_2694.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_58_1768.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_07_2682.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_16_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_05_3710.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_43_3612.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_46_2694.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_58_1768.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_07_2682.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_16_2814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859903","1349859887","1349859881","1349859875","1349859884","1349859891"],"photo_ids_order":["1349859875","1349859881","1349859884","1349859887","1349859891","1349859903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32a4a2da9c7700a6fbdcb885efeef099.jpg","text":"TemporaryFile(/tmp/multipartBody1943677680543840006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711025358,"filename":"image_14042025_09_37_16_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26bab94d23d33ccd7febf209081928e4.jpg","text":"TemporaryFile(/tmp/multipartBody3256501540572028416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711025358,"filename":"image_14042025_09_36_58_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05070fadcdccfcbd698f60bca4f66ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1035214104831024986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711025358,"filename":"image_14042025_09_36_43_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5238ab9f54bcfde5d61b59f6a266aa68.jpg","text":"TemporaryFile(/tmp/multipartBody2751127455913237040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711025358,"filename":"image_14042025_09_36_05_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f19892e45343a485ea27c123aeca432.jpg","text":"TemporaryFile(/tmp/multipartBody8517207713130358620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711025358,"filename":"image_14042025_09_36_46_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/726feee126e95e502f8c838d4496ebf9.jpg","text":"TemporaryFile(/tmp/multipartBody2322294732470385189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711025358,"filename":"image_14042025_09_37_07_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859884","file1":"1349859881","file0":"1349859875","file4":"1349859891","file5":"1349859903","file3":"1349859887"},"map_files_photo_id_array":[{"photo_id":"1349859903","filename":"file5"},{"photo_id":"1349859884","filename":"file2"},{"photo_id":"1349859891","filename":"file4"},{"photo_id":"1349859881","filename":"file1"},{"photo_id":"1349859875","filename":"file0"},{"photo_id":"1349859887","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349859903":["hashtag1","hashtag2"]},{"1349859887":["hashtag1","hashtag2"]},{"1349859881":["hashtag1","hashtag2"]},{"1349859875":["hashtag1","hashtag2"]},{"1349859884":["hashtag1","hashtag2"]},{"1349859891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349859903, 1349859887, 1349859881, 1349859875, 1349859884, 1349859891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.343422651290894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:56:42.229207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/53/image_15042025_11_53_17_3515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/53/image_15042025_11_53_17_3515.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349859941"],"photo_id":"1349859941","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc10098f15c9c93210fc0606e675751c.jpg","text":"TemporaryFile(/tmp/multipartBody3339413595057764613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711062748,"filename":"image_15042025_11_53_17_3515.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349859941"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349859941"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.200207471847534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:57:02.863048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_28_3674.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_46_2568.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_48_2732.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_52_3736.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_10_2670.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_13_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_28_3674.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_46_2568.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_48_2732.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_52_3736.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_10_2670.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_13_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349860050","1349860038","1349860043","1349859975","1349860015","1349860056"],"photo_ids_order":["1349859975","1349860015","1349860038","1349860043","1349860050","1349860056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e720344718637232ae3f2001c45ef37.jpg","text":"TemporaryFile(/tmp/multipartBody1085523517645311548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711085576,"filename":"image_14042025_09_38_10_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9254964bc5aa1a838c1cd217a0338c6.jpg","text":"TemporaryFile(/tmp/multipartBody7795298346716555197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711085576,"filename":"image_14042025_09_37_48_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d69cb3776d5005d3bbb2b1a6a57045e8.jpg","text":"TemporaryFile(/tmp/multipartBody2579286353101249727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711085576,"filename":"image_14042025_09_37_52_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/710fa5e3a1b9ddbdc00f58f05f2348b1.jpg","text":"TemporaryFile(/tmp/multipartBody5511399596089162216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711085576,"filename":"image_14042025_09_37_28_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86f23b81e88815eee97e712ff3e62d31.jpg","text":"TemporaryFile(/tmp/multipartBody7374156237825929688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711085576,"filename":"image_14042025_09_37_46_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccbffdddec461a2d732fb637060d768e.jpg","text":"TemporaryFile(/tmp/multipartBody3423075656192174599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711085576,"filename":"image_14042025_09_38_13_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860038","file1":"1349860015","file0":"1349859975","file4":"1349860050","file5":"1349860056","file3":"1349860043"},"map_files_photo_id_array":[{"photo_id":"1349860056","filename":"file5"},{"photo_id":"1349860038","filename":"file2"},{"photo_id":"1349860050","filename":"file4"},{"photo_id":"1349860015","filename":"file1"},{"photo_id":"1349859975","filename":"file0"},{"photo_id":"1349860043","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349860050":["hashtag1","hashtag2"]},{"1349860038":["hashtag1","hashtag2"]},{"1349860043":["hashtag1","hashtag2"]},{"1349859975":["hashtag1","hashtag2"]},{"1349860015":["hashtag1","hashtag2"]},{"1349860056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349860050, 1349860038, 1349860043, 1349859975, 1349860015, 1349860056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50260329246521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 11:57:42.161906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_16_2655.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_19_3588.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_22_2878.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_58_2677.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_2633.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_07_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_16_2655.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_19_3588.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_22_2878.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_58_2677.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_01_2633.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_07_3739.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349860079","1349860096","1349860109","1349860087","1349860120","1349860114"],"photo_ids_order":["1349860079","1349860087","1349860096","1349860109","1349860114","1349860120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbfa9f24ec4edb5ce7ab2474c2f40e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6692854642555303210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711123715,"filename":"image_14042025_09_38_16_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cba0387995bc6e190a3de9b6d15a70f4.jpg","text":"TemporaryFile(/tmp/multipartBody3293901349230413991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711123715,"filename":"image_14042025_09_38_22_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0daa3fe1ce336ca704cdac06c49e686d.jpg","text":"TemporaryFile(/tmp/multipartBody7466839556005700925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711123715,"filename":"image_14042025_09_38_58_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a50319c40c9b11b6b375df5b06970d1f.jpg","text":"TemporaryFile(/tmp/multipartBody7898293371423197735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711123715,"filename":"image_14042025_09_38_19_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43d9a8e4748b5cc39528ca1fc3cf749e.jpg","text":"TemporaryFile(/tmp/multipartBody1153628578986443527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711123715,"filename":"image_14042025_09_39_07_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1157a4dcf89e6af9552031e029e381c7.jpg","text":"TemporaryFile(/tmp/multipartBody8222089795924031286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711123715,"filename":"image_14042025_09_39_01_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860096","file1":"1349860087","file0":"1349860079","file4":"1349860114","file5":"1349860120","file3":"1349860109"},"map_files_photo_id_array":[{"photo_id":"1349860120","filename":"file5"},{"photo_id":"1349860096","filename":"file2"},{"photo_id":"1349860114","filename":"file4"},{"photo_id":"1349860087","filename":"file1"},{"photo_id":"1349860079","filename":"file0"},{"photo_id":"1349860109","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349860079":["hashtag1","hashtag2"]},{"1349860096":["hashtag1","hashtag2"]},{"1349860109":["hashtag1","hashtag2"]},{"1349860087":["hashtag1","hashtag2"]},{"1349860120":["hashtag1","hashtag2"]},{"1349860114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349860079, 1349860096, 1349860109, 1349860087, 1349860120, 1349860114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7735641002655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 11:59:03.165014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_15_2784.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_19_3754.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_46_3651.jpg', '/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_03_2648.jpg', '/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_03_2686.jpg', '/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_33_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_15_2784.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_19_3754.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_46_3651.jpg
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_03_2648.jpg
/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_03_2686.jpg
/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_33_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349860355","1349860310","1349860214","1349860174","1349860260","1349860161"],"photo_ids_order":["1349860161","1349860174","1349860214","1349860260","1349860310","1349860355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/812fe0872c83f2b45e220ef1791e9846.jpg","text":"TemporaryFile(/tmp/multipartBody6590609289867128266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206295,"filename":"image_14042025_09_42_33_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4d4e32eadcfe99b5c21dbde9d7e8fd2.jpg","text":"TemporaryFile(/tmp/multipartBody2740697477536003067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206295,"filename":"image_14042025_09_42_03_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90c86dc8bda2a7ed8d939b0f39b65695.jpg","text":"TemporaryFile(/tmp/multipartBody3837854061933177059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206295,"filename":"image_14042025_09_39_46_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c8b0cba5ee23dd591e435b580182bb5.jpg","text":"TemporaryFile(/tmp/multipartBody125722958996779128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206295,"filename":"image_14042025_09_39_19_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74bf8371b9d0dd1c0128cfa4dba4bc08.jpg","text":"TemporaryFile(/tmp/multipartBody1239656929311299290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206295,"filename":"image_14042025_09_40_03_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/147b3f131fc1131f099fbd063aeed56d.jpg","text":"TemporaryFile(/tmp/multipartBody7648770366248401408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711206295,"filename":"image_14042025_09_39_15_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860214","file1":"1349860174","file0":"1349860161","file4":"1349860310","file5":"1349860355","file3":"1349860260"},"map_files_photo_id_array":[{"photo_id":"1349860355","filename":"file5"},{"photo_id":"1349860214","filename":"file2"},{"photo_id":"1349860310","filename":"file4"},{"photo_id":"1349860174","filename":"file1"},{"photo_id":"1349860161","filename":"file0"},{"photo_id":"1349860260","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349860355":["hashtag1","hashtag2"]},{"1349860310":["hashtag1","hashtag2"]},{"1349860214":["hashtag1","hashtag2"]},{"1349860174":["hashtag1","hashtag2"]},{"1349860260":["hashtag1","hashtag2"]},{"1349860161":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349860355, 1349860310, 1349860214, 1349860174, 1349860260, 1349860161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.877585649490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:00:02.465113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_49_3662.jpg', '/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_54_2769.jpg', '/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_19_3708.jpg', '/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_40_3573.jpg', '/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_55_3695.jpg', '/home/pi/Desktop/images/14042025/09/44/image_14042025_09_44_45_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_49_3662.jpg
/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_54_2769.jpg
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_19_3708.jpg
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_40_3573.jpg
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_55_3695.jpg
/home/pi/Desktop/images/14042025/09/44/image_14042025_09_44_45_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349860824","1349860740","1349860787","1349860880","1349860700","1349860630"],"photo_ids_order":["1349860630","1349860700","1349860740","1349860787","1349860824","1349860880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9de71049ae27e6bbcfabca34a72e6e91.jpg","text":"TemporaryFile(/tmp/multipartBody684467364987639928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711265089,"filename":"image_14042025_09_43_55_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2394e2e4a523852ac7bdb255ca11580.jpg","text":"TemporaryFile(/tmp/multipartBody3914826437397171374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711265089,"filename":"image_14042025_09_43_19_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef49506f8ffe76b024392f23b84952f4.jpg","text":"TemporaryFile(/tmp/multipartBody6860035659063431388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711265089,"filename":"image_14042025_09_43_40_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2dee4f4dbf7c04b366a1be5d1e83ca2.jpg","text":"TemporaryFile(/tmp/multipartBody2889015668148431512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711265089,"filename":"image_14042025_09_44_45_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8136556cbbe6dc7b39d9b0c336b08e72.jpg","text":"TemporaryFile(/tmp/multipartBody3125401402099186114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711265089,"filename":"image_14042025_09_42_54_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c822aea543298a7d8077b1b771c23fa.jpg","text":"TemporaryFile(/tmp/multipartBody1678319911070881143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711265089,"filename":"image_14042025_09_42_49_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860740","file1":"1349860700","file0":"1349860630","file4":"1349860824","file5":"1349860880","file3":"1349860787"},"map_files_photo_id_array":[{"photo_id":"1349860880","filename":"file5"},{"photo_id":"1349860740","filename":"file2"},{"photo_id":"1349860824","filename":"file4"},{"photo_id":"1349860700","filename":"file1"},{"photo_id":"1349860630","filename":"file0"},{"photo_id":"1349860787","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349860824":["hashtag1","hashtag2"]},{"1349860740":["hashtag1","hashtag2"]},{"1349860787":["hashtag1","hashtag2"]},{"1349860880":["hashtag1","hashtag2"]},{"1349860700":["hashtag1","hashtag2"]},{"1349860630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349860824, 1349860740, 1349860787, 1349860880, 1349860700, 1349860630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.426886558532715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:01:03.412679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_21_2746.jpg', '/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_51_2720.jpg', '/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_57_2831.jpg', '/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_06_2625.jpg', '/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_15_2778.jpg', '/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_22_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_21_2746.jpg
/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_51_2720.jpg
/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_57_2831.jpg
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_06_2625.jpg
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_15_2778.jpg
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_22_3742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349861045","1349861057","1349860966","1349860951","1349861052","1349860977"],"photo_ids_order":["1349860951","1349860966","1349860977","1349861045","1349861052","1349861057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3edb567c8e4cf2d514b36168d30a0b23.jpg","text":"TemporaryFile(/tmp/multipartBody2257597381238000755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711326343,"filename":"image_14042025_09_46_06_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e3babbb6f58ce5e951aeeaec7f81a12.jpg","text":"TemporaryFile(/tmp/multipartBody8051218640367102630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711326343,"filename":"image_14042025_09_46_22_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd6ac28befbcc6bd928e20f3f11702d0.jpg","text":"TemporaryFile(/tmp/multipartBody1662805235466217864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711326343,"filename":"image_14042025_09_45_51_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b663bdf91f81658ce26394af679ab27d.jpg","text":"TemporaryFile(/tmp/multipartBody5656780136244224752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711326343,"filename":"image_14042025_09_45_21_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7fc3d60ed9e893c280bc895dd1eb228e.jpg","text":"TemporaryFile(/tmp/multipartBody7029795203113118522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711326343,"filename":"image_14042025_09_46_15_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2805863f72052edbcff3cd7b50730743.jpg","text":"TemporaryFile(/tmp/multipartBody4488413861799395047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711326343,"filename":"image_14042025_09_45_57_2831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860977","file1":"1349860966","file0":"1349860951","file4":"1349861052","file5":"1349861057","file3":"1349861045"},"map_files_photo_id_array":[{"photo_id":"1349861057","filename":"file5"},{"photo_id":"1349860977","filename":"file2"},{"photo_id":"1349861052","filename":"file4"},{"photo_id":"1349860966","filename":"file1"},{"photo_id":"1349860951","filename":"file0"},{"photo_id":"1349861045","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349861045":["hashtag1","hashtag2"]},{"1349861057":["hashtag1","hashtag2"]},{"1349860966":["hashtag1","hashtag2"]},{"1349860951":["hashtag1","hashtag2"]},{"1349861052":["hashtag1","hashtag2"]},{"1349860977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349861045, 1349861057, 1349860966, 1349860951, 1349861052, 1349860977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26281547546387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:01:42.673304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_40_4370.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_24_2759.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_30_2815.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_48_2842.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_54_2626.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_48_00_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_40_4370.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_24_2759.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_30_2815.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_48_2842.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_54_2626.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_48_00_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349861325","1349861288","1349861072","1349861126","1349861197","1349861253"],"photo_ids_order":["1349861072","1349861126","1349861197","1349861253","1349861288","1349861325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c85861acce3926c2026c38ff4328de7.jpg","text":"TemporaryFile(/tmp/multipartBody2564957645154310638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364233,"filename":"image_14042025_09_48_00_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aea44d4d3b0d3203f8600c732418a074.jpg","text":"TemporaryFile(/tmp/multipartBody2200187265638507876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364233,"filename":"image_14042025_09_47_54_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1ff881a9b01ff54a2184fc379933361.jpg","text":"TemporaryFile(/tmp/multipartBody3598121822817106029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364233,"filename":"image_14042025_09_46_40_4370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f3012766209b1a4290d3c3458955473.jpg","text":"TemporaryFile(/tmp/multipartBody1138734243200580832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364233,"filename":"image_14042025_09_47_24_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4956d4e98181a876377771ef048e9f1.jpg","text":"TemporaryFile(/tmp/multipartBody5082692833800727559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364233,"filename":"image_14042025_09_47_30_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dfc9a8c90f56a2c60248c9dfc043340.jpg","text":"TemporaryFile(/tmp/multipartBody3359748919687193893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364233,"filename":"image_14042025_09_47_48_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349861197","file1":"1349861126","file0":"1349861072","file4":"1349861288","file5":"1349861325","file3":"1349861253"},"map_files_photo_id_array":[{"photo_id":"1349861325","filename":"file5"},{"photo_id":"1349861197","filename":"file2"},{"photo_id":"1349861288","filename":"file4"},{"photo_id":"1349861126","filename":"file1"},{"photo_id":"1349861072","filename":"file0"},{"photo_id":"1349861253","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349861325":["hashtag1","hashtag2"]},{"1349861288":["hashtag1","hashtag2"]},{"1349861072":["hashtag1","hashtag2"]},{"1349861126":["hashtag1","hashtag2"]},{"1349861197":["hashtag1","hashtag2"]},{"1349861253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349861325, 1349861288, 1349861072, 1349861126, 1349861197, 1349861253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37231183052063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:02:22.708618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_09_3609.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_15_2674.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_24_2840.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_35_2732.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_44_2602.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_51_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_09_3609.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_15_2674.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_24_2840.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_35_2732.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_44_2602.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_51_2825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349861765","1349861567","1349861702","1349861980","1349861875","1349861640"],"photo_ids_order":["1349861567","1349861640","1349861702","1349861765","1349861875","1349861980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c9307a3f9b40e566ce6a332c93fcf64.jpg","text":"TemporaryFile(/tmp/multipartBody250005952888832999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711406048,"filename":"image_14042025_09_48_35_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ade075a3b4904b0dc588675b20d06e94.jpg","text":"TemporaryFile(/tmp/multipartBody6032504093691203003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711406048,"filename":"image_14042025_09_48_09_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f64156e1b3de7fd8be5c617e3ef7790.jpg","text":"TemporaryFile(/tmp/multipartBody2614564166936004417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711406048,"filename":"image_14042025_09_48_24_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/103ae3aac4ad0d1a27b96c82dd07e249.jpg","text":"TemporaryFile(/tmp/multipartBody5256775068934373076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711406048,"filename":"image_14042025_09_48_51_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37c62304502311bf171105c79490e30e.jpg","text":"TemporaryFile(/tmp/multipartBody3792953505137773725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711406048,"filename":"image_14042025_09_48_44_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d42460ddb9b10b88d72d53877c1ddf9.jpg","text":"TemporaryFile(/tmp/multipartBody6016431183186177315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711406048,"filename":"image_14042025_09_48_15_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349861702","file1":"1349861640","file0":"1349861567","file4":"1349861875","file5":"1349861980","file3":"1349861765"},"map_files_photo_id_array":[{"photo_id":"1349861980","filename":"file5"},{"photo_id":"1349861702","filename":"file2"},{"photo_id":"1349861875","filename":"file4"},{"photo_id":"1349861640","filename":"file1"},{"photo_id":"1349861567","filename":"file0"},{"photo_id":"1349861765","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349861765":["hashtag1","hashtag2"]},{"1349861567":["hashtag1","hashtag2"]},{"1349861702":["hashtag1","hashtag2"]},{"1349861980":["hashtag1","hashtag2"]},{"1349861875":["hashtag1","hashtag2"]},{"1349861640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349861765, 1349861567, 1349861702, 1349861980, 1349861875, 1349861640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29370641708374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:03:02.922009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/48/image_14042025_09_49_00_1618.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_03_2669.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_06_3586.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_15_2725.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_18_3614.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_21_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_49_00_1618.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_03_2669.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_06_3586.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_15_2725.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_18_3614.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_21_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349862557","1349862305","1349862631","1349862375","1349862477","1349862726"],"photo_ids_order":["1349862305","1349862375","1349862477","1349862557","1349862631","1349862726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/617f22e4e11dc1bd192e908929494046.jpg","text":"TemporaryFile(/tmp/multipartBody3861470987382525764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711445533,"filename":"image_14042025_09_49_15_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/211189dc4ae41d2863867512b1acde04.jpg","text":"TemporaryFile(/tmp/multipartBody4109224707275601349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711445533,"filename":"image_14042025_09_49_00_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fe3e2b641cab240ea29fb1c6bb06024.jpg","text":"TemporaryFile(/tmp/multipartBody1242978039346466151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711445533,"filename":"image_14042025_09_49_18_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c0ba4bf6a19562ecee1ffd2360841d6.jpg","text":"TemporaryFile(/tmp/multipartBody7147402756138934262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711445533,"filename":"image_14042025_09_49_03_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e4ee007aa5170f4ceb9cb6fc77bbe6c.jpg","text":"TemporaryFile(/tmp/multipartBody6391703415567968172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711445533,"filename":"image_14042025_09_49_06_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dd0fe533ca667683c79b1ccb9a5ef8a.jpg","text":"TemporaryFile(/tmp/multipartBody2636827835456335399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711445533,"filename":"image_14042025_09_49_21_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349862477","file1":"1349862375","file0":"1349862305","file4":"1349862631","file5":"1349862726","file3":"1349862557"},"map_files_photo_id_array":[{"photo_id":"1349862726","filename":"file5"},{"photo_id":"1349862477","filename":"file2"},{"photo_id":"1349862631","filename":"file4"},{"photo_id":"1349862375","filename":"file1"},{"photo_id":"1349862305","filename":"file0"},{"photo_id":"1349862557","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349862557":["hashtag1","hashtag2"]},{"1349862305":["hashtag1","hashtag2"]},{"1349862631":["hashtag1","hashtag2"]},{"1349862375":["hashtag1","hashtag2"]},{"1349862477":["hashtag1","hashtag2"]},{"1349862726":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349862557, 1349862305, 1349862631, 1349862375, 1349862477, 1349862726)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.51272988319397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:04:03.513742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_30_3763.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_54_3643.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_30_3744.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_33_2863.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_47_2585.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_51_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_30_3763.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_54_3643.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_30_3744.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_33_2863.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_47_2585.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_51_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349863576","1349863921","1349863819","1349863641","1349863722","1349864015"],"photo_ids_order":["1349863576","1349863641","1349863722","1349863819","1349863921","1349864015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78c8d629808af784235b38e17ff8b83d.jpg","text":"TemporaryFile(/tmp/multipartBody5580952585345181662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711506072,"filename":"image_14042025_09_49_30_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2481e5415ff1ee09792f4d1190592f0c.jpg","text":"TemporaryFile(/tmp/multipartBody784845239542367772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711506072,"filename":"image_14042025_09_50_47_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4daf57ea37063e0e056ebb478bd5b0b1.jpg","text":"TemporaryFile(/tmp/multipartBody1722509824073818299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711506072,"filename":"image_14042025_09_50_33_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d27cd4b4ba5490d44c06861d33d2274c.jpg","text":"TemporaryFile(/tmp/multipartBody8092549690967236581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711506072,"filename":"image_14042025_09_49_54_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fac6fafe6309044f38f3787ed46f778c.jpg","text":"TemporaryFile(/tmp/multipartBody8899358214134815692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711506072,"filename":"image_14042025_09_50_30_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/139a6bca900d1fad0f8355d5878213a1.jpg","text":"TemporaryFile(/tmp/multipartBody1078635817415546478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711506072,"filename":"image_14042025_09_50_51_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349863722","file1":"1349863641","file0":"1349863576","file4":"1349863921","file5":"1349864015","file3":"1349863819"},"map_files_photo_id_array":[{"photo_id":"1349864015","filename":"file5"},{"photo_id":"1349863722","filename":"file2"},{"photo_id":"1349863921","filename":"file4"},{"photo_id":"1349863641","filename":"file1"},{"photo_id":"1349863576","filename":"file0"},{"photo_id":"1349863819","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349863576":["hashtag1","hashtag2"]},{"1349863921":["hashtag1","hashtag2"]},{"1349863819":["hashtag1","hashtag2"]},{"1349863641":["hashtag1","hashtag2"]},{"1349863722":["hashtag1","hashtag2"]},{"1349864015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349863576, 1349863921, 1349863819, 1349863641, 1349863722, 1349864015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95784664154053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:04:42.726297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/11/56/image_15042025_11_56_16_3528.jpg', '/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_16_2602.jpg', '/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_20_3767.jpg', '/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_44_3791.jpg', '/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_46_2626.jpg', '/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_49_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/11/56/image_15042025_11_56_16_3528.jpg
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_16_2602.jpg
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_20_3767.jpg
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_44_3791.jpg
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_46_2626.jpg
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_49_2784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349864481","1349864352","1349864288","1349864417","1349864228","1349864557"],"photo_ids_order":["1349864228","1349864288","1349864352","1349864417","1349864481","1349864557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f44d661afa741507343d8507d9868db9.jpg","text":"TemporaryFile(/tmp/multipartBody8015510911670106810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711543329,"filename":"image_15042025_12_04_46_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af73e3ff809b1e0f6bb2ecddaa9cafbe.jpg","text":"TemporaryFile(/tmp/multipartBody530526228586736427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711543329,"filename":"image_15042025_12_04_20_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c2b21d7930d212b83b8d1ed04a826de.jpg","text":"TemporaryFile(/tmp/multipartBody2632859370377357097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711543329,"filename":"image_15042025_12_04_16_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79f51e5e5bdb472f26acee21c085d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3988631021647058014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711543329,"filename":"image_15042025_12_04_44_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01549df67e769ac435439383c11b8286.jpg","text":"TemporaryFile(/tmp/multipartBody7557393400888251558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711543329,"filename":"image_15042025_11_56_16_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e79fb8db78d481596b37c879421316fb.jpg","text":"TemporaryFile(/tmp/multipartBody896761053091156817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711543329,"filename":"image_15042025_12_04_49_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349864352","file1":"1349864288","file0":"1349864228","file4":"1349864481","file5":"1349864557","file3":"1349864417"},"map_files_photo_id_array":[{"photo_id":"1349864557","filename":"file5"},{"photo_id":"1349864352","filename":"file2"},{"photo_id":"1349864481","filename":"file4"},{"photo_id":"1349864288","filename":"file1"},{"photo_id":"1349864228","filename":"file0"},{"photo_id":"1349864417","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349864481":["hashtag1","hashtag2"]},{"1349864352":["hashtag1","hashtag2"]},{"1349864288":["hashtag1","hashtag2"]},{"1349864417":["hashtag1","hashtag2"]},{"1349864228":["hashtag1","hashtag2"]},{"1349864557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349864481, 1349864352, 1349864288, 1349864417, 1349864228, 1349864557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.760085582733154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:05:22.187255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_53_3629.jpg', '/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_58_2714.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_02_3587.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_07_2696.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_11_3638.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_13_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_53_3629.jpg
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_58_2714.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_02_3587.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_07_2696.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_11_3638.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_13_2638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5344464778900146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:05:42.244382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_53_3629.jpg', '/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_58_2714.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_02_3587.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_07_2696.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_11_3638.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_13_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_53_3629.jpg
/home/pi/Desktop/images/15042025/12/04/image_15042025_12_04_58_2714.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_02_3587.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_07_2696.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_11_3638.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_13_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349865075","1349865150","1349865167","1349865161","1349865116","1349865175"],"photo_ids_order":["1349865075","1349865116","1349865150","1349865161","1349865167","1349865175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02d5f298d278516552086fe0d1439a86.jpg","text":"TemporaryFile(/tmp/multipartBody2033680157124591688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711602891,"filename":"image_15042025_12_04_53_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5240f4fa8dd1273ec908aaf1c69bbe0b.jpg","text":"TemporaryFile(/tmp/multipartBody4964316339494263738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711602891,"filename":"image_15042025_12_05_02_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/272dc735d5f054bc2b243b8a86dac19a.jpg","text":"TemporaryFile(/tmp/multipartBody5092225276181512009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711602891,"filename":"image_15042025_12_05_11_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50383283b42d1e70c590b214bfa17b1c.jpg","text":"TemporaryFile(/tmp/multipartBody4207750209272500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711602891,"filename":"image_15042025_12_05_07_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6215f352e119251e8b33785fb0d2880e.jpg","text":"TemporaryFile(/tmp/multipartBody2842801370227689762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711602891,"filename":"image_15042025_12_04_58_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4150b0286329e64ba5da3af34176e5d.jpg","text":"TemporaryFile(/tmp/multipartBody2927750721602602449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711602891,"filename":"image_15042025_12_05_13_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349865150","file1":"1349865116","file0":"1349865075","file4":"1349865167","file5":"1349865175","file3":"1349865161"},"map_files_photo_id_array":[{"photo_id":"1349865175","filename":"file5"},{"photo_id":"1349865150","filename":"file2"},{"photo_id":"1349865167","filename":"file4"},{"photo_id":"1349865116","filename":"file1"},{"photo_id":"1349865075","filename":"file0"},{"photo_id":"1349865161","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349865075":["hashtag1","hashtag2"]},{"1349865150":["hashtag1","hashtag2"]},{"1349865167":["hashtag1","hashtag2"]},{"1349865161":["hashtag1","hashtag2"]},{"1349865116":["hashtag1","hashtag2"]},{"1349865175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349865075, 1349865150, 1349865167, 1349865161, 1349865116, 1349865175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.067516565322876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:06:22.378293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_16_2749.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_19_2643.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_22_3552.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_25_2706.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_29_3566.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_31_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_16_2749.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_19_2643.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_22_3552.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_25_2706.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_29_3566.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_31_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349865198","1349865270","1349865306","1349865386","1349865344","1349865241"],"photo_ids_order":["1349865198","1349865241","1349865270","1349865306","1349865344","1349865386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5105e4adeb884e1e28915356b122d3a8.jpg","text":"TemporaryFile(/tmp/multipartBody4311984412642036717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711643007,"filename":"image_15042025_12_05_16_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34f78434647b2ee3e28c85d27fe0be8c.jpg","text":"TemporaryFile(/tmp/multipartBody6086185247391065235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711643007,"filename":"image_15042025_12_05_22_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22cc58c3ec5b956f406652742180fb98.jpg","text":"TemporaryFile(/tmp/multipartBody1805724370294033777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711643007,"filename":"image_15042025_12_05_25_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/addcff8d2b629404fd2d3dc985e0e1ee.jpg","text":"TemporaryFile(/tmp/multipartBody8150500757358720896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711643007,"filename":"image_15042025_12_05_31_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f95bdb5a0e21b9862524cf2d4d10c4b.jpg","text":"TemporaryFile(/tmp/multipartBody9163092094676513100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711643007,"filename":"image_15042025_12_05_29_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9ee31de016cd36a84c120794072035b.jpg","text":"TemporaryFile(/tmp/multipartBody5494213324954391819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711643007,"filename":"image_15042025_12_05_19_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349865270","file1":"1349865241","file0":"1349865198","file4":"1349865344","file5":"1349865386","file3":"1349865306"},"map_files_photo_id_array":[{"photo_id":"1349865386","filename":"file5"},{"photo_id":"1349865270","filename":"file2"},{"photo_id":"1349865344","filename":"file4"},{"photo_id":"1349865241","filename":"file1"},{"photo_id":"1349865198","filename":"file0"},{"photo_id":"1349865306","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349865198":["hashtag1","hashtag2"]},{"1349865270":["hashtag1","hashtag2"]},{"1349865306":["hashtag1","hashtag2"]},{"1349865386":["hashtag1","hashtag2"]},{"1349865344":["hashtag1","hashtag2"]},{"1349865241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349865198, 1349865270, 1349865306, 1349865386, 1349865344, 1349865241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60003352165222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:07:02.859271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_35_3161.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_37_2567.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_40_2747.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_43_3516.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_46_2665.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_52_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_35_3161.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_37_2567.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_40_2747.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_43_3516.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_46_2665.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_52_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349865616","1349865591","1349865600","1349865515","1349865553","1349865607"],"photo_ids_order":["1349865515","1349865553","1349865591","1349865600","1349865607","1349865616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea57e77138345d47af36af1067d8fbdb.jpg","text":"TemporaryFile(/tmp/multipartBody243517872342269362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711683618,"filename":"image_15042025_12_05_52_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66c0ea52bf3df1c373c60c17bc6b3054.jpg","text":"TemporaryFile(/tmp/multipartBody5424222994108938777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711683618,"filename":"image_15042025_12_05_40_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6181556d200d57ba77c40ee5f33956bf.jpg","text":"TemporaryFile(/tmp/multipartBody2045090543480325649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711683618,"filename":"image_15042025_12_05_43_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4209ef1fd935e1cab39937e397af0ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2325550042696893215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711683618,"filename":"image_15042025_12_05_35_3161.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/abd3df234ddccc961b4a7bb179a5ce88.jpg","text":"TemporaryFile(/tmp/multipartBody5049770958669627782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711683618,"filename":"image_15042025_12_05_37_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d418b16ab3177623f577c763a412b7b6.jpg","text":"TemporaryFile(/tmp/multipartBody2977053495157328977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711683618,"filename":"image_15042025_12_05_46_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349865591","file1":"1349865553","file0":"1349865515","file4":"1349865607","file5":"1349865616","file3":"1349865600"},"map_files_photo_id_array":[{"photo_id":"1349865616","filename":"file5"},{"photo_id":"1349865591","filename":"file2"},{"photo_id":"1349865607","filename":"file4"},{"photo_id":"1349865553","filename":"file1"},{"photo_id":"1349865515","filename":"file0"},{"photo_id":"1349865600","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349865616":["hashtag1","hashtag2"]},{"1349865591":["hashtag1","hashtag2"]},{"1349865600":["hashtag1","hashtag2"]},{"1349865515":["hashtag1","hashtag2"]},{"1349865553":["hashtag1","hashtag2"]},{"1349865607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349865616, 1349865591, 1349865600, 1349865515, 1349865553, 1349865607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.842082262039185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:07:42.134263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_55_2744.jpg', '/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_59_3713.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_01_2734.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_10_3595.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_17_3650.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_28_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_55_2744.jpg
/home/pi/Desktop/images/15042025/12/05/image_15042025_12_05_59_3713.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_01_2734.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_10_3595.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_17_3650.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_28_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349865986","1349865935","1349865898","1349865775","1349865862","1349865826"],"photo_ids_order":["1349865775","1349865826","1349865862","1349865898","1349865935","1349865986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5720208d56199cac43046685b64be43c.jpg","text":"TemporaryFile(/tmp/multipartBody5887660675688874979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711722829,"filename":"image_15042025_12_06_28_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5abe14b0623ac0673600eb86a33ce267.jpg","text":"TemporaryFile(/tmp/multipartBody7150986964716722496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711722829,"filename":"image_15042025_12_06_17_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d900c8d78b08e769ca4ebf166726d1c8.jpg","text":"TemporaryFile(/tmp/multipartBody579608622023760129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711722829,"filename":"image_15042025_12_06_10_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2123ea78eb0a76941a8624865d1b75bb.jpg","text":"TemporaryFile(/tmp/multipartBody1123530824918570093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711722829,"filename":"image_15042025_12_05_55_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d85a15fd7b32adb4e088ce090eb0f1f9.jpg","text":"TemporaryFile(/tmp/multipartBody3249259877233399956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711722829,"filename":"image_15042025_12_06_01_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89d4a5eecda7393efd215545994b7318.jpg","text":"TemporaryFile(/tmp/multipartBody2442272299264448050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711722829,"filename":"image_15042025_12_05_59_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349865862","file1":"1349865826","file0":"1349865775","file4":"1349865935","file5":"1349865986","file3":"1349865898"},"map_files_photo_id_array":[{"photo_id":"1349865986","filename":"file5"},{"photo_id":"1349865862","filename":"file2"},{"photo_id":"1349865935","filename":"file4"},{"photo_id":"1349865826","filename":"file1"},{"photo_id":"1349865775","filename":"file0"},{"photo_id":"1349865898","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349865986":["hashtag1","hashtag2"]},{"1349865935":["hashtag1","hashtag2"]},{"1349865898":["hashtag1","hashtag2"]},{"1349865775":["hashtag1","hashtag2"]},{"1349865862":["hashtag1","hashtag2"]},{"1349865826":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349865986, 1349865935, 1349865898, 1349865775, 1349865862, 1349865826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96933031082153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:08:22.761536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_31_2680.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_34_2751.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_38_3697.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_43_2557.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_46_3633.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_51_4919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_31_2680.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_34_2751.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_38_3697.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_43_2557.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_46_3633.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_51_4919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349866280","1349866241","1349866294","1349866318","1349866300","1349866204"],"photo_ids_order":["1349866204","1349866241","1349866280","1349866294","1349866300","1349866318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/012dcc7859bbbd3bceae8973758ff267.jpg","text":"TemporaryFile(/tmp/multipartBody2428841767069352157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711763428,"filename":"image_15042025_12_06_38_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/822a74175068c1e846e31feb6a4cc46d.jpg","text":"TemporaryFile(/tmp/multipartBody7348966407684406247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711763428,"filename":"image_15042025_12_06_34_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84d8cde71e07bced9e4a936a406236b8.jpg","text":"TemporaryFile(/tmp/multipartBody7835681588737593244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711763428,"filename":"image_15042025_12_06_43_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17bf02ed371e3c25c6c4851432bed895.jpg","text":"TemporaryFile(/tmp/multipartBody8524854082266891738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711763428,"filename":"image_15042025_12_06_51_4919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a76b8f4a6f17eaf3176b51353cf23f7.jpg","text":"TemporaryFile(/tmp/multipartBody9199357037780099849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711763428,"filename":"image_15042025_12_06_46_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cbe26359c6b0c758b1bc7b6fe5412824.jpg","text":"TemporaryFile(/tmp/multipartBody7045460103670489120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711763428,"filename":"image_15042025_12_06_31_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349866280","file1":"1349866241","file0":"1349866204","file4":"1349866300","file5":"1349866318","file3":"1349866294"},"map_files_photo_id_array":[{"photo_id":"1349866318","filename":"file5"},{"photo_id":"1349866280","filename":"file2"},{"photo_id":"1349866300","filename":"file4"},{"photo_id":"1349866241","filename":"file1"},{"photo_id":"1349866204","filename":"file0"},{"photo_id":"1349866294","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349866280":["hashtag1","hashtag2"]},{"1349866241":["hashtag1","hashtag2"]},{"1349866294":["hashtag1","hashtag2"]},{"1349866318":["hashtag1","hashtag2"]},{"1349866300":["hashtag1","hashtag2"]},{"1349866204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349866280, 1349866241, 1349866294, 1349866318, 1349866300, 1349866204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.886186838150024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:09:03.593852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_53_1591.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_56_2663.jpg', '/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_58_2545.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_02_3596.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_07_2658.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_14_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_53_1591.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_56_2663.jpg
/home/pi/Desktop/images/15042025/12/06/image_15042025_12_06_58_2545.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_02_3596.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_07_2658.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_14_3723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349866410","1349866508","1349866400","1349866486","1349866447","1349866396"],"photo_ids_order":["1349866396","1349866400","1349866410","1349866447","1349866486","1349866508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b419feb6ebe3837a9fb3ee72db2bfe58.jpg","text":"TemporaryFile(/tmp/multipartBody7915735412317108937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711804540,"filename":"image_15042025_12_06_58_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3329e06bd81d99fbc684d76ed84f727.jpg","text":"TemporaryFile(/tmp/multipartBody159056394639639688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711804540,"filename":"image_15042025_12_07_14_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65eea2d5139a773834ffdde3841fd82e.jpg","text":"TemporaryFile(/tmp/multipartBody4016505924985130223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711804540,"filename":"image_15042025_12_06_56_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6ff2abc387a3320f2573fcf42ca1553.jpg","text":"TemporaryFile(/tmp/multipartBody397717119004185270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711804540,"filename":"image_15042025_12_07_07_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0de8709499788a4119ee5301d3da4794.jpg","text":"TemporaryFile(/tmp/multipartBody2977316743239318084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711804540,"filename":"image_15042025_12_07_02_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8058edb758ed1b2acb6689f1e13b5780.jpg","text":"TemporaryFile(/tmp/multipartBody8953964835334178357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711804540,"filename":"image_15042025_12_06_53_1591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349866410","file1":"1349866400","file0":"1349866396","file4":"1349866486","file5":"1349866508","file3":"1349866447"},"map_files_photo_id_array":[{"photo_id":"1349866508","filename":"file5"},{"photo_id":"1349866410","filename":"file2"},{"photo_id":"1349866486","filename":"file4"},{"photo_id":"1349866400","filename":"file1"},{"photo_id":"1349866396","filename":"file0"},{"photo_id":"1349866447","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349866410":["hashtag1","hashtag2"]},{"1349866508":["hashtag1","hashtag2"]},{"1349866400":["hashtag1","hashtag2"]},{"1349866486":["hashtag1","hashtag2"]},{"1349866447":["hashtag1","hashtag2"]},{"1349866396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349866410, 1349866508, 1349866400, 1349866486, 1349866447, 1349866396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.004849672317505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:09:42.627557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_22_3610.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_25_2588.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_34_2532.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_37_3738.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_40_2715.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_46_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_22_3610.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_25_2588.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_34_2532.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_37_3738.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_40_2715.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_46_3572.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6138324737548828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:10:03.262441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_22_3610.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_25_2588.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_34_2532.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_37_3738.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_40_2715.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_46_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_22_3610.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_25_2588.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_34_2532.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_37_3738.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_40_2715.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_46_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349866914","1349866722","1349866874","1349866768","1349866840","1349866953"],"photo_ids_order":["1349866722","1349866768","1349866840","1349866874","1349866914","1349866953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3be24bfdb93db736cbe42ff7e518b24.jpg","text":"TemporaryFile(/tmp/multipartBody2762202135167936913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711864072,"filename":"image_15042025_12_07_40_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0c4ec705bfd3fec9445f8fa691eb554.jpg","text":"TemporaryFile(/tmp/multipartBody8679964192799937258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711864072,"filename":"image_15042025_12_07_22_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14e1d0626dec4c9a2ea70f6dd01108d1.jpg","text":"TemporaryFile(/tmp/multipartBody3792988862343743463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711864072,"filename":"image_15042025_12_07_37_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6167cadc1de508b74229c9c96fe78d83.jpg","text":"TemporaryFile(/tmp/multipartBody7260003401542902374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711864072,"filename":"image_15042025_12_07_25_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e0acee47b08e0c884d7a5aab2fdcc4f.jpg","text":"TemporaryFile(/tmp/multipartBody7771034967871174765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711864072,"filename":"image_15042025_12_07_34_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4467fbf31088cf0b24a2e37cd5fde5f9.jpg","text":"TemporaryFile(/tmp/multipartBody5366121978078471522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711864072,"filename":"image_15042025_12_07_46_3572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349866840","file1":"1349866768","file0":"1349866722","file4":"1349866914","file5":"1349866953","file3":"1349866874"},"map_files_photo_id_array":[{"photo_id":"1349866953","filename":"file5"},{"photo_id":"1349866840","filename":"file2"},{"photo_id":"1349866914","filename":"file4"},{"photo_id":"1349866768","filename":"file1"},{"photo_id":"1349866722","filename":"file0"},{"photo_id":"1349866874","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349866914":["hashtag1","hashtag2"]},{"1349866722":["hashtag1","hashtag2"]},{"1349866874":["hashtag1","hashtag2"]},{"1349866768":["hashtag1","hashtag2"]},{"1349866840":["hashtag1","hashtag2"]},{"1349866953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349866914, 1349866722, 1349866874, 1349866768, 1349866840, 1349866953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.758142948150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:10:42.643164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_52_2607.jpg', '/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_58_3723.jpg', '/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_01_2619.jpg', '/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_04_2745.jpg', '/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_10_2780.jpg', '/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_13_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_52_2607.jpg
/home/pi/Desktop/images/15042025/12/07/image_15042025_12_07_58_3723.jpg
/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_01_2619.jpg
/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_04_2745.jpg
/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_10_2780.jpg
/home/pi/Desktop/images/15042025/12/08/image_15042025_12_08_13_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349867186","1349867150","1349867105","1349867074","1349867136","1349867118"],"photo_ids_order":["1349867074","1349867105","1349867118","1349867136","1349867150","1349867186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0155ba7b3da9551bc1d87c9218c11c00.jpg","text":"TemporaryFile(/tmp/multipartBody5308992055669140411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711903346,"filename":"image_15042025_12_08_13_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45264c42162f19ee955152328ba8992b.jpg","text":"TemporaryFile(/tmp/multipartBody4299805636254530302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711903346,"filename":"image_15042025_12_08_10_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58019b3002d05f277a5ed1dab9b31faa.jpg","text":"TemporaryFile(/tmp/multipartBody9031880206902621137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711903346,"filename":"image_15042025_12_07_58_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da76ec4e37412707e9d46998e6898d41.jpg","text":"TemporaryFile(/tmp/multipartBody8393103217057267996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711903346,"filename":"image_15042025_12_07_52_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5504079357c44eaa9c20422afc3a0b62.jpg","text":"TemporaryFile(/tmp/multipartBody2008769533490237932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711903346,"filename":"image_15042025_12_08_04_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5c8bfd8346d549cfc978849d507f583.jpg","text":"TemporaryFile(/tmp/multipartBody5179099644753000209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711903346,"filename":"image_15042025_12_08_01_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867118","file1":"1349867105","file0":"1349867074","file4":"1349867150","file5":"1349867186","file3":"1349867136"},"map_files_photo_id_array":[{"photo_id":"1349867186","filename":"file5"},{"photo_id":"1349867118","filename":"file2"},{"photo_id":"1349867150","filename":"file4"},{"photo_id":"1349867105","filename":"file1"},{"photo_id":"1349867074","filename":"file0"},{"photo_id":"1349867136","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349867186":["hashtag1","hashtag2"]},{"1349867150":["hashtag1","hashtag2"]},{"1349867105":["hashtag1","hashtag2"]},{"1349867074":["hashtag1","hashtag2"]},{"1349867136":["hashtag1","hashtag2"]},{"1349867118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349867186, 1349867150, 1349867105, 1349867074, 1349867136, 1349867118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.00209045410156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:11:42.014675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_07_3673.jpg', '/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_10_2606.jpg', '/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_13_2688.jpg', '/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_16_3754.jpg', '/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_19_3029.jpg', '/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_25_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_07_3673.jpg
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_10_2606.jpg
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_13_2688.jpg
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_16_3754.jpg
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_19_3029.jpg
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_25_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349867297","1349867290","1349867284","1349867266","1349867275","1349867305"],"photo_ids_order":["1349867266","1349867275","1349867284","1349867290","1349867297","1349867305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a3afe8bff7780f4b3cc214e71acb4b8.jpg","text":"TemporaryFile(/tmp/multipartBody1550308231669596625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711962705,"filename":"image_15042025_12_09_19_3029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc0a53d82e767a3f9d60652a7e336214.jpg","text":"TemporaryFile(/tmp/multipartBody3486542530362780704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711962705,"filename":"image_15042025_12_09_16_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b46efedf9176bc30b0b0819fb1b882e9.jpg","text":"TemporaryFile(/tmp/multipartBody4188554527778499704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711962705,"filename":"image_15042025_12_09_13_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9af80b543d90092353af28f2afacbb96.jpg","text":"TemporaryFile(/tmp/multipartBody6231462547647260663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711962705,"filename":"image_15042025_12_09_07_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/894957a3b5534793008bbc07dde0f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody2215359997316540606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711962705,"filename":"image_15042025_12_09_10_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aaf0324e6ce1a21a2333f0cc103d194d.jpg","text":"TemporaryFile(/tmp/multipartBody7151823072755633278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711962705,"filename":"image_15042025_12_09_25_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867284","file1":"1349867275","file0":"1349867266","file4":"1349867297","file5":"1349867305","file3":"1349867290"},"map_files_photo_id_array":[{"photo_id":"1349867305","filename":"file5"},{"photo_id":"1349867284","filename":"file2"},{"photo_id":"1349867297","filename":"file4"},{"photo_id":"1349867275","filename":"file1"},{"photo_id":"1349867266","filename":"file0"},{"photo_id":"1349867290","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349867297":["hashtag1","hashtag2"]},{"1349867290":["hashtag1","hashtag2"]},{"1349867284":["hashtag1","hashtag2"]},{"1349867266":["hashtag1","hashtag2"]},{"1349867275":["hashtag1","hashtag2"]},{"1349867305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349867297, 1349867290, 1349867284, 1349867266, 1349867275, 1349867305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30774998664856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:12:22.326467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_31_3761.jpg', '/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_40_3598.jpg', '/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_49_2751.jpg', '/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_01_2656.jpg', '/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_06_2964.jpg', '/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_13_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_31_3761.jpg
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_40_3598.jpg
/home/pi/Desktop/images/15042025/12/09/image_15042025_12_09_49_2751.jpg
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_01_2656.jpg
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_06_2964.jpg
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_13_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349867552","1349867657","1349867705","1349867691","1349867685","1349867696"],"photo_ids_order":["1349867552","1349867657","1349867685","1349867691","1349867696","1349867705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7837bfa296a4242cb05fac071cfd4c7b.jpg","text":"TemporaryFile(/tmp/multipartBody3551199345653005374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712003013,"filename":"image_15042025_12_09_31_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b765f41d661a96562375c2d8b39932e.jpg","text":"TemporaryFile(/tmp/multipartBody9175877315194436986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712003013,"filename":"image_15042025_12_09_40_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/616fc253c82826e8b2a74b894843f504.jpg","text":"TemporaryFile(/tmp/multipartBody5067735995078091919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712003013,"filename":"image_15042025_12_10_13_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a6c841b16dc460ed47b35d314b6d090.jpg","text":"TemporaryFile(/tmp/multipartBody8312169809437195146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712003013,"filename":"image_15042025_12_10_01_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/389704ea8157c2a248cc1d915a9ad014.jpg","text":"TemporaryFile(/tmp/multipartBody7787918499100362822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712003013,"filename":"image_15042025_12_09_49_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41d3fba2fe842ead4f78f0bc0df4e172.jpg","text":"TemporaryFile(/tmp/multipartBody2480349549691165368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712003013,"filename":"image_15042025_12_10_06_2964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867685","file1":"1349867657","file0":"1349867552","file4":"1349867696","file5":"1349867705","file3":"1349867691"},"map_files_photo_id_array":[{"photo_id":"1349867705","filename":"file5"},{"photo_id":"1349867685","filename":"file2"},{"photo_id":"1349867696","filename":"file4"},{"photo_id":"1349867657","filename":"file1"},{"photo_id":"1349867552","filename":"file0"},{"photo_id":"1349867691","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349867552":["hashtag1","hashtag2"]},{"1349867657":["hashtag1","hashtag2"]},{"1349867705":["hashtag1","hashtag2"]},{"1349867691":["hashtag1","hashtag2"]},{"1349867685":["hashtag1","hashtag2"]},{"1349867696":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349867552, 1349867657, 1349867705, 1349867691, 1349867685, 1349867696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30957889556885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:13:02.902614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_22_2792.jpg', '/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_28_2867.jpg', '/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_31_3598.jpg', '/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_34_2665.jpg', '/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_37_2746.jpg', '/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_48_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_22_2792.jpg
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_28_2867.jpg
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_31_3598.jpg
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_34_2665.jpg
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_37_2746.jpg
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_48_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349867735","1349867749","1349867740","1349867754","1349867745","1349867730"],"photo_ids_order":["1349867730","1349867735","1349867740","1349867745","1349867749","1349867754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f68c96d49a27105ec91da2c4492a4a7.jpg","text":"TemporaryFile(/tmp/multipartBody2004008615908747082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712043718,"filename":"image_15042025_12_10_28_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd51432e98d2d6ae5644e81694601ce8.jpg","text":"TemporaryFile(/tmp/multipartBody341699345908071503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712043718,"filename":"image_15042025_12_10_37_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77570d18402ecddc925c10ee6df07a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6139759775597432695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712043718,"filename":"image_15042025_12_10_31_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3920639c48513113394ddd3df701eb81.jpg","text":"TemporaryFile(/tmp/multipartBody4735271323401721465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712043718,"filename":"image_15042025_12_10_48_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6111a652dfb93502c706730880b7b10.jpg","text":"TemporaryFile(/tmp/multipartBody5410238134332487152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712043718,"filename":"image_15042025_12_10_34_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/829ea0836461972dda412ed3e92fa0b0.jpg","text":"TemporaryFile(/tmp/multipartBody7881338582471351707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712043718,"filename":"image_15042025_12_10_22_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867740","file1":"1349867735","file0":"1349867730","file4":"1349867749","file5":"1349867754","file3":"1349867745"},"map_files_photo_id_array":[{"photo_id":"1349867754","filename":"file5"},{"photo_id":"1349867740","filename":"file2"},{"photo_id":"1349867749","filename":"file4"},{"photo_id":"1349867735","filename":"file1"},{"photo_id":"1349867730","filename":"file0"},{"photo_id":"1349867745","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349867735":["hashtag1","hashtag2"]},{"1349867749":["hashtag1","hashtag2"]},{"1349867740":["hashtag1","hashtag2"]},{"1349867754":["hashtag1","hashtag2"]},{"1349867745":["hashtag1","hashtag2"]},{"1349867730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349867735, 1349867749, 1349867740, 1349867754, 1349867745, 1349867730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.935800552368164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:13:42.221495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_52_3861.jpg', '/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_55_2595.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_04_2621.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_13_2693.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_19_3664.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_22_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_52_3861.jpg
/home/pi/Desktop/images/15042025/12/10/image_15042025_12_10_55_2595.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_04_2621.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_13_2693.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_19_3664.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_22_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349867906","1349867836","1349867923","1349867796","1349867877","1349867888"],"photo_ids_order":["1349867796","1349867836","1349867877","1349867888","1349867906","1349867923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/730c3c835a58b530cfca7c818eef881c.jpg","text":"TemporaryFile(/tmp/multipartBody6772356463821123221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712082935,"filename":"image_15042025_12_11_19_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b449a61a6fa86706ec8d67515ca262e8.jpg","text":"TemporaryFile(/tmp/multipartBody741390072352452081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712082935,"filename":"image_15042025_12_10_55_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f27244585410945d5c8a75ac9c280965.jpg","text":"TemporaryFile(/tmp/multipartBody4927696460447695467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712082935,"filename":"image_15042025_12_11_22_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7dc51059a909093cd49964890b38008.jpg","text":"TemporaryFile(/tmp/multipartBody3849069252320294559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712082935,"filename":"image_15042025_12_10_52_3861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/448ec21473bf95b286e5fa819c532839.jpg","text":"TemporaryFile(/tmp/multipartBody6433115587670701141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712082935,"filename":"image_15042025_12_11_04_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3798a527911c3e2c0fb7cd9315cbb70.jpg","text":"TemporaryFile(/tmp/multipartBody7912191021694708564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712082935,"filename":"image_15042025_12_11_13_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867877","file1":"1349867836","file0":"1349867796","file4":"1349867906","file5":"1349867923","file3":"1349867888"},"map_files_photo_id_array":[{"photo_id":"1349867923","filename":"file5"},{"photo_id":"1349867877","filename":"file2"},{"photo_id":"1349867906","filename":"file4"},{"photo_id":"1349867836","filename":"file1"},{"photo_id":"1349867796","filename":"file0"},{"photo_id":"1349867888","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349867906":["hashtag1","hashtag2"]},{"1349867836":["hashtag1","hashtag2"]},{"1349867923":["hashtag1","hashtag2"]},{"1349867796":["hashtag1","hashtag2"]},{"1349867877":["hashtag1","hashtag2"]},{"1349867888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349867906, 1349867836, 1349867923, 1349867796, 1349867877, 1349867888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.561471700668335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:14:22.180098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_24_2576.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_28_3734.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_37_3675.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_43_3700.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_49_2819.jpg', '/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_52_2907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_24_2576.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_28_3734.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_37_3675.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_43_3700.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_49_2819.jpg
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_52_2907.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868116","1349868169","1349868154","1349868139","1349867950","1349867943"],"photo_ids_order":["1349867943","1349867950","1349868116","1349868139","1349868154","1349868169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bec0d56fae3b295f12ceabe49e7dbd5b.jpg","text":"TemporaryFile(/tmp/multipartBody293102497591187760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712122854,"filename":"image_15042025_12_11_37_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fa1101d04d8b24e09f8c11542f5ff5f.jpg","text":"TemporaryFile(/tmp/multipartBody458698292727472812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712122854,"filename":"image_15042025_12_11_52_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b7c8c809d98178c8ae017b0013b1ade.jpg","text":"TemporaryFile(/tmp/multipartBody7305904849659893417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712122854,"filename":"image_15042025_12_11_49_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcb23f33969eedafa167ea0e1bdd1d67.jpg","text":"TemporaryFile(/tmp/multipartBody2760256660639090943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712122854,"filename":"image_15042025_12_11_43_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9325e976f29b5a080cce1e668c18f94.jpg","text":"TemporaryFile(/tmp/multipartBody6166094498995441211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712122854,"filename":"image_15042025_12_11_28_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c52d5376c886e3ac4f7bfe32f5243a8.jpg","text":"TemporaryFile(/tmp/multipartBody4190289919218705069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712122854,"filename":"image_15042025_12_11_24_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868116","file1":"1349867950","file0":"1349867943","file4":"1349868154","file5":"1349868169","file3":"1349868139"},"map_files_photo_id_array":[{"photo_id":"1349868169","filename":"file5"},{"photo_id":"1349868116","filename":"file2"},{"photo_id":"1349868154","filename":"file4"},{"photo_id":"1349867950","filename":"file1"},{"photo_id":"1349867943","filename":"file0"},{"photo_id":"1349868139","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349868116":["hashtag1","hashtag2"]},{"1349868169":["hashtag1","hashtag2"]},{"1349868154":["hashtag1","hashtag2"]},{"1349868139":["hashtag1","hashtag2"]},{"1349867950":["hashtag1","hashtag2"]},{"1349867943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349868116, 1349868169, 1349868154, 1349868139, 1349867950, 1349867943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.34281253814697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:15:42.480547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_58_3707.jpg', '/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_01_2588.jpg', '/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_03_2803.jpg', '/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_07_3661.jpg', '/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_16_3680.jpg', '/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_28_2862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/11/image_15042025_12_11_58_3707.jpg
/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_01_2588.jpg
/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_03_2803.jpg
/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_07_3661.jpg
/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_16_3680.jpg
/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_28_2862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868289","1349868280","1349868283","1349868299","1349868293","1349868272"],"photo_ids_order":["1349868272","1349868280","1349868283","1349868289","1349868293","1349868299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d69bf96d7507029dd9f410cd93dd21e.jpg","text":"TemporaryFile(/tmp/multipartBody2965765046955153908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712203163,"filename":"image_15042025_12_12_07_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4dc0d008bfd0267c96175e279ffe69e.jpg","text":"TemporaryFile(/tmp/multipartBody5605168787101356526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712203163,"filename":"image_15042025_12_12_01_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/374b786639252f8e46cdf87da856d98b.jpg","text":"TemporaryFile(/tmp/multipartBody5672747360583981520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712203163,"filename":"image_15042025_12_12_03_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14419ef3bd9dbebb729e543fe1d6c92d.jpg","text":"TemporaryFile(/tmp/multipartBody5082100111921900586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712203163,"filename":"image_15042025_12_12_28_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4dbf257a7f30e3f1f22876716c64ca13.jpg","text":"TemporaryFile(/tmp/multipartBody5600573169992316840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712203163,"filename":"image_15042025_12_12_16_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4b628034f9ef885cf13733c27abddbc.jpg","text":"TemporaryFile(/tmp/multipartBody745558331703397838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712203163,"filename":"image_15042025_12_11_58_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868283","file1":"1349868280","file0":"1349868272","file4":"1349868293","file5":"1349868299","file3":"1349868289"},"map_files_photo_id_array":[{"photo_id":"1349868299","filename":"file5"},{"photo_id":"1349868283","filename":"file2"},{"photo_id":"1349868293","filename":"file4"},{"photo_id":"1349868280","filename":"file1"},{"photo_id":"1349868272","filename":"file0"},{"photo_id":"1349868289","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349868289":["hashtag1","hashtag2"]},{"1349868280":["hashtag1","hashtag2"]},{"1349868283":["hashtag1","hashtag2"]},{"1349868299":["hashtag1","hashtag2"]},{"1349868293":["hashtag1","hashtag2"]},{"1349868272":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349868289, 1349868280, 1349868283, 1349868299, 1349868293, 1349868272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02694845199585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:16:22.680550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_49_2740.jpg', '/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_57_1704.jpg', '/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_06_2697.jpg', '/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_13_2664.jpg', '/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_22_2832.jpg', '/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_31_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_49_2740.jpg
/home/pi/Desktop/images/15042025/12/12/image_15042025_12_12_57_1704.jpg
/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_06_2697.jpg
/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_13_2664.jpg
/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_22_2832.jpg
/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_31_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868338","1349868326","1349868331","1349868319","1349868316","1349868345"],"photo_ids_order":["1349868316","1349868319","1349868326","1349868331","1349868338","1349868345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f0bf9ff75b76e31452e7eb2dc8c7817.jpg","text":"TemporaryFile(/tmp/multipartBody646467436079206295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712243334,"filename":"image_15042025_12_13_22_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95c58cb366fc0957048b0c5bfdc371e3.jpg","text":"TemporaryFile(/tmp/multipartBody6767377790335390045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712243334,"filename":"image_15042025_12_13_06_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf9d2432d3baeea0ab99abb300e62ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5464776048245699766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712243334,"filename":"image_15042025_12_13_13_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da2b56b632d690f5fb5b5b5ca52a1b37.jpg","text":"TemporaryFile(/tmp/multipartBody2639512805922783374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712243334,"filename":"image_15042025_12_12_57_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35b1beedf14d6ac49e1a2d9a05927851.jpg","text":"TemporaryFile(/tmp/multipartBody6135534394009637574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712243334,"filename":"image_15042025_12_12_49_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cc02cc0737c516a866d9adf44c8cf6c.jpg","text":"TemporaryFile(/tmp/multipartBody4887888598537077834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712243334,"filename":"image_15042025_12_13_31_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868326","file1":"1349868319","file0":"1349868316","file4":"1349868338","file5":"1349868345","file3":"1349868331"},"map_files_photo_id_array":[{"photo_id":"1349868345","filename":"file5"},{"photo_id":"1349868326","filename":"file2"},{"photo_id":"1349868338","filename":"file4"},{"photo_id":"1349868319","filename":"file1"},{"photo_id":"1349868316","filename":"file0"},{"photo_id":"1349868331","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349868338":["hashtag1","hashtag2"]},{"1349868326":["hashtag1","hashtag2"]},{"1349868331":["hashtag1","hashtag2"]},{"1349868319":["hashtag1","hashtag2"]},{"1349868316":["hashtag1","hashtag2"]},{"1349868345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349868338, 1349868326, 1349868331, 1349868319, 1349868316, 1349868345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9664785861969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:17:03.295318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_46_3573.jpg', '/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_57_2647.jpg', '/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_13_3568.jpg', '/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_15_2596.jpg', '/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_43_3548.jpg', '/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_54_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_46_3573.jpg
/home/pi/Desktop/images/15042025/12/13/image_15042025_12_13_57_2647.jpg
/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_13_3568.jpg
/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_15_2596.jpg
/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_43_3548.jpg
/home/pi/Desktop/images/15042025/12/14/image_15042025_12_14_54_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868503","1349868538","1349868375","1349868435","1349868423","1349868467"],"photo_ids_order":["1349868375","1349868423","1349868435","1349868467","1349868503","1349868538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76bcf4babfed306e1640e3b678d19123.jpg","text":"TemporaryFile(/tmp/multipartBody6599196840020876284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712284088,"filename":"image_15042025_12_14_43_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/538ec61376f48e5440cbad3fac822c5a.jpg","text":"TemporaryFile(/tmp/multipartBody2775649289478736651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712284088,"filename":"image_15042025_12_14_54_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/195275bec1b062262cb3255b8b451b54.jpg","text":"TemporaryFile(/tmp/multipartBody2163725491083721075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712284088,"filename":"image_15042025_12_13_46_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/745cfb2e20b6ce27ce9b71e1d200c5a4.jpg","text":"TemporaryFile(/tmp/multipartBody3892489633535982328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712284088,"filename":"image_15042025_12_14_13_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83ed326b2f2ffb75d81e1b2e4742a495.jpg","text":"TemporaryFile(/tmp/multipartBody5793325264556192392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712284088,"filename":"image_15042025_12_13_57_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7f87b528e5c492dc4d89875d1ff890a.jpg","text":"TemporaryFile(/tmp/multipartBody2957612549652649287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712284088,"filename":"image_15042025_12_14_15_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868435","file1":"1349868423","file0":"1349868375","file4":"1349868503","file5":"1349868538","file3":"1349868467"},"map_files_photo_id_array":[{"photo_id":"1349868538","filename":"file5"},{"photo_id":"1349868435","filename":"file2"},{"photo_id":"1349868503","filename":"file4"},{"photo_id":"1349868423","filename":"file1"},{"photo_id":"1349868375","filename":"file0"},{"photo_id":"1349868467","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349868503":["hashtag1","hashtag2"]},{"1349868538":["hashtag1","hashtag2"]},{"1349868375":["hashtag1","hashtag2"]},{"1349868435":["hashtag1","hashtag2"]},{"1349868423":["hashtag1","hashtag2"]},{"1349868467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349868503, 1349868538, 1349868375, 1349868435, 1349868423, 1349868467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.341485261917114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:17:42.719142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_06_2673.jpg', '/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_18_2657.jpg', '/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_25_3752.jpg', '/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_31_3530.jpg', '/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_49_3502.jpg', '/home/pi/Desktop/images/15042025/12/15/image_15042025_12_16_00_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_06_2673.jpg
/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_18_2657.jpg
/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_25_3752.jpg
/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_31_3530.jpg
/home/pi/Desktop/images/15042025/12/15/image_15042025_12_15_49_3502.jpg
/home/pi/Desktop/images/15042025/12/15/image_15042025_12_16_00_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868664","1349868658","1349868643","1349868681","1349868747","1349868669"],"photo_ids_order":["1349868643","1349868658","1349868664","1349868669","1349868681","1349868747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c031c5dc0b2c4b139adf354576adbf99.jpg","text":"TemporaryFile(/tmp/multipartBody5262684877140342781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712323392,"filename":"image_15042025_12_15_25_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d4205244321d9273df3cac477356281.jpg","text":"TemporaryFile(/tmp/multipartBody6027729151635400886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712323392,"filename":"image_15042025_12_15_18_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97eee15f9bc9e25d961a0318933f74ad.jpg","text":"TemporaryFile(/tmp/multipartBody7302342969785162454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712323392,"filename":"image_15042025_12_15_06_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9895ad49c70c370b63a94756f4c3fe6f.jpg","text":"TemporaryFile(/tmp/multipartBody6922177334566708332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712323392,"filename":"image_15042025_12_15_49_3502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6922e85267f6ca0b0263b13d2bc1e25b.jpg","text":"TemporaryFile(/tmp/multipartBody2752442044712304397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712323392,"filename":"image_15042025_12_16_00_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2b2f78a32aea238b886af1deb4a826a.jpg","text":"TemporaryFile(/tmp/multipartBody1441930463849050835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712323392,"filename":"image_15042025_12_15_31_3530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868664","file1":"1349868658","file0":"1349868643","file4":"1349868681","file5":"1349868747","file3":"1349868669"},"map_files_photo_id_array":[{"photo_id":"1349868747","filename":"file5"},{"photo_id":"1349868664","filename":"file2"},{"photo_id":"1349868681","filename":"file4"},{"photo_id":"1349868658","filename":"file1"},{"photo_id":"1349868643","filename":"file0"},{"photo_id":"1349868669","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349868664":["hashtag1","hashtag2"]},{"1349868658":["hashtag1","hashtag2"]},{"1349868643":["hashtag1","hashtag2"]},{"1349868681":["hashtag1","hashtag2"]},{"1349868747":["hashtag1","hashtag2"]},{"1349868669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349868664, 1349868658, 1349868643, 1349868681, 1349868747, 1349868669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54273271560669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:18:42.474119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/16/image_15042025_12_16_12_2549.jpg', '/home/pi/Desktop/images/15042025/12/16/image_15042025_12_16_27_2578.jpg', '/home/pi/Desktop/images/15042025/12/17/image_15042025_12_17_12_2540.jpg', '/home/pi/Desktop/images/15042025/12/17/image_15042025_12_17_25_3604.jpg', '/home/pi/Desktop/images/15042025/12/17/image_15042025_12_17_36_3512.jpg', '/home/pi/Desktop/images/15042025/12/17/image_15042025_12_18_00_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/16/image_15042025_12_16_12_2549.jpg
/home/pi/Desktop/images/15042025/12/16/image_15042025_12_16_27_2578.jpg
/home/pi/Desktop/images/15042025/12/17/image_15042025_12_17_12_2540.jpg
/home/pi/Desktop/images/15042025/12/17/image_15042025_12_17_25_3604.jpg
/home/pi/Desktop/images/15042025/12/17/image_15042025_12_17_36_3512.jpg
/home/pi/Desktop/images/15042025/12/17/image_15042025_12_18_00_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868883","1349868855","1349868879","1349868869","1349868848","1349868863"],"photo_ids_order":["1349868848","1349868855","1349868863","1349868869","1349868879","1349868883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ab77978476e188d808c316500a63246.jpg","text":"TemporaryFile(/tmp/multipartBody4762063252928077550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712383142,"filename":"image_15042025_12_18_00_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24169eec73390f53ba19356d3d4b22e6.jpg","text":"TemporaryFile(/tmp/multipartBody7154167419145567321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712383142,"filename":"image_15042025_12_16_27_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f94dbe225bf19df672af63221ab63ac4.jpg","text":"TemporaryFile(/tmp/multipartBody6487304132298208082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712383142,"filename":"image_15042025_12_17_36_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb074c581877d8c9661839de86810637.jpg","text":"TemporaryFile(/tmp/multipartBody1660182051888656768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712383142,"filename":"image_15042025_12_17_25_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bff82ec9589cdcc4d27bbf19f31851c.jpg","text":"TemporaryFile(/tmp/multipartBody4718837036866306001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712383142,"filename":"image_15042025_12_16_12_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f91a7f44a262b014ca08bf44915387b.jpg","text":"TemporaryFile(/tmp/multipartBody2193956309915807982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712383142,"filename":"image_15042025_12_17_12_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868863","file1":"1349868855","file0":"1349868848","file4":"1349868879","file5":"1349868883","file3":"1349868869"},"map_files_photo_id_array":[{"photo_id":"1349868883","filename":"file5"},{"photo_id":"1349868863","filename":"file2"},{"photo_id":"1349868879","filename":"file4"},{"photo_id":"1349868855","filename":"file1"},{"photo_id":"1349868848","filename":"file0"},{"photo_id":"1349868869","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349868883":["hashtag1","hashtag2"]},{"1349868855":["hashtag1","hashtag2"]},{"1349868879":["hashtag1","hashtag2"]},{"1349868869":["hashtag1","hashtag2"]},{"1349868848":["hashtag1","hashtag2"]},{"1349868863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349868883, 1349868855, 1349868879, 1349868869, 1349868848, 1349868863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.201632261276245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:19:22.505037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/18/image_15042025_12_18_19_3565.jpg', '/home/pi/Desktop/images/15042025/12/18/image_15042025_12_18_27_3665.jpg', '/home/pi/Desktop/images/15042025/12/19/image_15042025_12_19_30_3668.jpg', '/home/pi/Desktop/images/15042025/12/19/image_15042025_12_19_39_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/18/image_15042025_12_18_19_3565.jpg
/home/pi/Desktop/images/15042025/12/18/image_15042025_12_18_27_3665.jpg
/home/pi/Desktop/images/15042025/12/19/image_15042025_12_19_30_3668.jpg
/home/pi/Desktop/images/15042025/12/19/image_15042025_12_19_39_3586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349868952","1349868928","1349868939","1349868920"],"photo_ids_order":["1349868920","1349868928","1349868939","1349868952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58d6e7800de6559d0dd0502fada259dc.jpg","text":"TemporaryFile(/tmp/multipartBody3456787715135387298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423121,"filename":"image_15042025_12_19_39_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/862173425e31307d3114938e2cea0811.jpg","text":"TemporaryFile(/tmp/multipartBody3293179852869704835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423121,"filename":"image_15042025_12_18_27_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/378c71ffb98e4895339cd482250accea.jpg","text":"TemporaryFile(/tmp/multipartBody8517459182786588088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423121,"filename":"image_15042025_12_19_30_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/975c986e39bdb096ca0276114a00a19e.jpg","text":"TemporaryFile(/tmp/multipartBody6197531552071489719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423121,"filename":"image_15042025_12_18_19_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868939","file1":"1349868928","file0":"1349868920","file3":"1349868952"},"map_files_photo_id_array":[{"photo_id":"1349868939","filename":"file2"},{"photo_id":"1349868928","filename":"file1"},{"photo_id":"1349868920","filename":"file0"},{"photo_id":"1349868952","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349868952":["hashtag1","hashtag2"]},{"1349868928":["hashtag1","hashtag2"]},{"1349868939":["hashtag1","hashtag2"]},{"1349868920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349868952, 1349868928, 1349868939, 1349868920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.97187328338623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:20:02.719249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_53_2336.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_57_3748.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_51_00_2634.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_02_2625.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_06_3547.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_08_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_53_2336.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_57_3748.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_51_00_2634.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_02_2625.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_06_3547.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_08_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349869078","1349869066","1349869092","1349869086","1349869073","1349869049"],"photo_ids_order":["1349869049","1349869066","1349869073","1349869078","1349869086","1349869092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d32333a1dab4c0a211f7a89980b5035.jpg","text":"TemporaryFile(/tmp/multipartBody8183750808422247188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712465230,"filename":"image_14042025_09_51_02_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a6d6957559655b972fad9e3b679b01c.jpg","text":"TemporaryFile(/tmp/multipartBody1948602458312686028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712465230,"filename":"image_14042025_09_50_57_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c55a3aa7942828dc20ae74b5b56354b.jpg","text":"TemporaryFile(/tmp/multipartBody7545737531705593859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712465230,"filename":"image_14042025_09_51_08_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37291e1b1bb239a61983ec8d2310e726.jpg","text":"TemporaryFile(/tmp/multipartBody1007508189188893154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712465230,"filename":"image_14042025_09_51_06_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e26398e4c1988d37fe4414e0d9ca280f.jpg","text":"TemporaryFile(/tmp/multipartBody6186965984798969966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712465230,"filename":"image_14042025_09_51_00_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea9c9b88a875e91b5390a7f94206b2dd.jpg","text":"TemporaryFile(/tmp/multipartBody6959278294148313182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712465230,"filename":"image_14042025_09_50_53_2336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869073","file1":"1349869066","file0":"1349869049","file4":"1349869086","file5":"1349869092","file3":"1349869078"},"map_files_photo_id_array":[{"photo_id":"1349869092","filename":"file5"},{"photo_id":"1349869073","filename":"file2"},{"photo_id":"1349869086","filename":"file4"},{"photo_id":"1349869066","filename":"file1"},{"photo_id":"1349869049","filename":"file0"},{"photo_id":"1349869078","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349869078":["hashtag1","hashtag2"]},{"1349869066":["hashtag1","hashtag2"]},{"1349869092":["hashtag1","hashtag2"]},{"1349869086":["hashtag1","hashtag2"]},{"1349869073":["hashtag1","hashtag2"]},{"1349869049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349869078, 1349869066, 1349869092, 1349869086, 1349869073, 1349869049)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.968892335891724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:21:03.203986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/19/image_15042025_12_19_57_2644.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_06_2630.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_09_3794.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_15_2632.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_17_2714.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_21_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/19/image_15042025_12_19_57_2644.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_06_2630.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_09_3794.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_15_2632.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_17_2714.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_21_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349869342","1349869216","1349869350","1349869227","1349869319","1349869232"],"photo_ids_order":["1349869216","1349869227","1349869232","1349869319","1349869342","1349869350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/745352efc71c1e3252d5ac8d68d5d18c.jpg","text":"TemporaryFile(/tmp/multipartBody4026423055513895040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712524031,"filename":"image_15042025_12_20_17_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4db9f49920d4e54123174e3770663e92.jpg","text":"TemporaryFile(/tmp/multipartBody3240183831687987930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712524031,"filename":"image_15042025_12_19_57_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ed879d547bbcb3178fe47c2e7a4a462.jpg","text":"TemporaryFile(/tmp/multipartBody7430108936443845941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712524031,"filename":"image_15042025_12_20_21_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ad37b329c617b1ae214ce775e1215b9.jpg","text":"TemporaryFile(/tmp/multipartBody3362665120563413876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712524031,"filename":"image_15042025_12_20_06_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78358ddb506c0c789097d77db36949f0.jpg","text":"TemporaryFile(/tmp/multipartBody2469431190541915290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712524031,"filename":"image_15042025_12_20_15_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e034e8dfebcbfff28314d4db566f1b8.jpg","text":"TemporaryFile(/tmp/multipartBody2560731434279092423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712524031,"filename":"image_15042025_12_20_09_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869232","file1":"1349869227","file0":"1349869216","file4":"1349869342","file5":"1349869350","file3":"1349869319"},"map_files_photo_id_array":[{"photo_id":"1349869350","filename":"file5"},{"photo_id":"1349869232","filename":"file2"},{"photo_id":"1349869342","filename":"file4"},{"photo_id":"1349869227","filename":"file1"},{"photo_id":"1349869216","filename":"file0"},{"photo_id":"1349869319","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349869342":["hashtag1","hashtag2"]},{"1349869216":["hashtag1","hashtag2"]},{"1349869350":["hashtag1","hashtag2"]},{"1349869227":["hashtag1","hashtag2"]},{"1349869319":["hashtag1","hashtag2"]},{"1349869232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349869342, 1349869216, 1349869350, 1349869227, 1349869319, 1349869232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15117025375366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:21:42.599054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_24_2642.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_30_2769.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_33_2674.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_45_3661.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_51_2684.jpg', '/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_53_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_24_2642.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_30_2769.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_33_2674.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_45_3661.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_51_2684.jpg
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_53_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349869471","1349869456","1349869438","1349869446","1349869478","1349869451"],"photo_ids_order":["1349869438","1349869446","1349869451","1349869456","1349869471","1349869478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6433c239e389bf4739b8c3a9b2cc90e.jpg","text":"TemporaryFile(/tmp/multipartBody4825242548588729281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712563265,"filename":"image_15042025_12_20_51_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20385081ffa7949900f0151b3a9dbfd6.jpg","text":"TemporaryFile(/tmp/multipartBody8368174602465963400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712563265,"filename":"image_15042025_12_20_45_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58eee8888cdb8ece35bab77ececce8cd.jpg","text":"TemporaryFile(/tmp/multipartBody5663606555900157435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712563265,"filename":"image_15042025_12_20_24_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/188f60601e3b671847bdabcb58228de8.jpg","text":"TemporaryFile(/tmp/multipartBody6031527417683294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712563265,"filename":"image_15042025_12_20_30_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec63ffbfd037cd4a6779557e6919ca14.jpg","text":"TemporaryFile(/tmp/multipartBody2942104203063623500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712563265,"filename":"image_15042025_12_20_53_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c335b88c39d1a1b4031d3e31d69db689.jpg","text":"TemporaryFile(/tmp/multipartBody2684656066003649370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712563265,"filename":"image_15042025_12_20_33_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869451","file1":"1349869446","file0":"1349869438","file4":"1349869471","file5":"1349869478","file3":"1349869456"},"map_files_photo_id_array":[{"photo_id":"1349869478","filename":"file5"},{"photo_id":"1349869451","filename":"file2"},{"photo_id":"1349869471","filename":"file4"},{"photo_id":"1349869446","filename":"file1"},{"photo_id":"1349869438","filename":"file0"},{"photo_id":"1349869456","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349869471":["hashtag1","hashtag2"]},{"1349869456":["hashtag1","hashtag2"]},{"1349869438":["hashtag1","hashtag2"]},{"1349869446":["hashtag1","hashtag2"]},{"1349869478":["hashtag1","hashtag2"]},{"1349869451":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349869471, 1349869456, 1349869438, 1349869446, 1349869478, 1349869451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.791788816452026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:22:22.242509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_57_3560.jpg', '/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_06_2620.jpg', '/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_08_2678.jpg', '/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_12_3497.jpg', '/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_23_2621.jpg', '/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_27_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/20/image_15042025_12_20_57_3560.jpg
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_06_2620.jpg
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_08_2678.jpg
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_12_3497.jpg
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_23_2621.jpg
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_27_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349869709","1349869507","1349869935","1349869499","1349869595","1349869829"],"photo_ids_order":["1349869499","1349869507","1349869595","1349869709","1349869829","1349869935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f742116815006228e776ff780bbec40.jpg","text":"TemporaryFile(/tmp/multipartBody7302898023340510706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712602897,"filename":"image_15042025_12_21_12_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5dc3cc61dc37a8e855cbf4889a087f75.jpg","text":"TemporaryFile(/tmp/multipartBody179927825836134253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712602897,"filename":"image_15042025_12_21_06_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ea327c34a8bbe6b85046e0e50cca72f.jpg","text":"TemporaryFile(/tmp/multipartBody5163013132652438380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712602897,"filename":"image_15042025_12_21_27_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/126e2080dc4b515ea0670056ee5a7506.jpg","text":"TemporaryFile(/tmp/multipartBody2257041338696601763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712602897,"filename":"image_15042025_12_20_57_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe5aeb6b06f17a86710259ec4ca794a0.jpg","text":"TemporaryFile(/tmp/multipartBody3085269451835775330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712602897,"filename":"image_15042025_12_21_08_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ad7649d4d694aae6d18c753b0fd1acd.jpg","text":"TemporaryFile(/tmp/multipartBody5652851171948098703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712602897,"filename":"image_15042025_12_21_23_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869595","file1":"1349869507","file0":"1349869499","file4":"1349869829","file5":"1349869935","file3":"1349869709"},"map_files_photo_id_array":[{"photo_id":"1349869935","filename":"file5"},{"photo_id":"1349869595","filename":"file2"},{"photo_id":"1349869829","filename":"file4"},{"photo_id":"1349869507","filename":"file1"},{"photo_id":"1349869499","filename":"file0"},{"photo_id":"1349869709","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349869709":["hashtag1","hashtag2"]},{"1349869507":["hashtag1","hashtag2"]},{"1349869935":["hashtag1","hashtag2"]},{"1349869499":["hashtag1","hashtag2"]},{"1349869595":["hashtag1","hashtag2"]},{"1349869829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349869709, 1349869507, 1349869935, 1349869499, 1349869595, 1349869829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.986241579055786 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:23:21.794930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_32_2607.jpg', '/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_39_2559.jpg', '/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_44_2750.jpg', '/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_48_3629.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_06_3547.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_08_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_32_2607.jpg
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_39_2559.jpg
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_44_2750.jpg
/home/pi/Desktop/images/15042025/12/21/image_15042025_12_21_48_3629.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_06_3547.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_08_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349870210","1349870185","1349870257","1349870145","1349870223","1349870217"],"photo_ids_order":["1349870145","1349870185","1349870210","1349870217","1349870223","1349870257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c395fb0f9335ef4f41e8f36e9fab16bb.jpg","text":"TemporaryFile(/tmp/multipartBody4817552644575083979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712662452,"filename":"image_15042025_12_21_44_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c7a6fb7541c4c42c1667d070f38f2c2.jpg","text":"TemporaryFile(/tmp/multipartBody6859920922044468715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712662452,"filename":"image_15042025_12_21_39_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ebd9eb5ee6e2747742a41812f9e9335.jpg","text":"TemporaryFile(/tmp/multipartBody1054605644198491157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712662452,"filename":"image_15042025_12_22_08_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9805f9bbf73552b8827a863ff52e49ab.jpg","text":"TemporaryFile(/tmp/multipartBody5116631720337677389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712662452,"filename":"image_15042025_12_21_32_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdcc972aac8b93a93e362fe96692d2c7.jpg","text":"TemporaryFile(/tmp/multipartBody3035601055121592727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712662452,"filename":"image_15042025_12_22_06_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c04e89804770dd7934a65a38c993c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4153098359500244910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712662452,"filename":"image_15042025_12_21_48_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870210","file1":"1349870185","file0":"1349870145","file4":"1349870223","file5":"1349870257","file3":"1349870217"},"map_files_photo_id_array":[{"photo_id":"1349870257","filename":"file5"},{"photo_id":"1349870210","filename":"file2"},{"photo_id":"1349870223","filename":"file4"},{"photo_id":"1349870185","filename":"file1"},{"photo_id":"1349870145","filename":"file0"},{"photo_id":"1349870217","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349870210":["hashtag1","hashtag2"]},{"1349870185":["hashtag1","hashtag2"]},{"1349870257":["hashtag1","hashtag2"]},{"1349870145":["hashtag1","hashtag2"]},{"1349870223":["hashtag1","hashtag2"]},{"1349870217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349870210, 1349870185, 1349870257, 1349870145, 1349870223, 1349870217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82606601715088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:24:02.817245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_11_2900.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_15_3627.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_18_2802.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_21_2853.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_23_2630.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_27_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_11_2900.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_15_3627.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_18_2802.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_21_2853.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_23_2630.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_27_3536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349870296","1349870359","1349870380","1349870353","1349870334","1349870369"],"photo_ids_order":["1349870296","1349870334","1349870353","1349870359","1349870369","1349870380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/456fbce616bb548cae33bf207e762300.jpg","text":"TemporaryFile(/tmp/multipartBody4732010801315563964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712703662,"filename":"image_15042025_12_22_11_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/315cf29d2cb9745609af77946bfabd9e.jpg","text":"TemporaryFile(/tmp/multipartBody1821645842633947864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712703662,"filename":"image_15042025_12_22_21_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5146f079ee4667fe4950e8ad14646f8e.jpg","text":"TemporaryFile(/tmp/multipartBody2763977118978850340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712703662,"filename":"image_15042025_12_22_27_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f3300ed5b60e4cf8d4430e393944588.jpg","text":"TemporaryFile(/tmp/multipartBody5148229157278244147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712703662,"filename":"image_15042025_12_22_18_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2e82e2d14bbb74a09749cb265329542.jpg","text":"TemporaryFile(/tmp/multipartBody7298672222248241928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712703662,"filename":"image_15042025_12_22_15_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32c3b3f99ba539fe69dd51c130f4a67a.jpg","text":"TemporaryFile(/tmp/multipartBody528364224309254229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712703662,"filename":"image_15042025_12_22_23_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870353","file1":"1349870334","file0":"1349870296","file4":"1349870369","file5":"1349870380","file3":"1349870359"},"map_files_photo_id_array":[{"photo_id":"1349870380","filename":"file5"},{"photo_id":"1349870353","filename":"file2"},{"photo_id":"1349870369","filename":"file4"},{"photo_id":"1349870334","filename":"file1"},{"photo_id":"1349870296","filename":"file0"},{"photo_id":"1349870359","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349870296":["hashtag1","hashtag2"]},{"1349870359":["hashtag1","hashtag2"]},{"1349870380":["hashtag1","hashtag2"]},{"1349870353":["hashtag1","hashtag2"]},{"1349870334":["hashtag1","hashtag2"]},{"1349870369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349870296, 1349870359, 1349870380, 1349870353, 1349870334, 1349870369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36427617073059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:24:42.096602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_39_2628.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_45_3774.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_50_2550.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_54_3611.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_57_2633.jpg', '/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_59_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_39_2628.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_45_3774.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_50_2550.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_54_3611.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_57_2633.jpg
/home/pi/Desktop/images/15042025/12/22/image_15042025_12_22_59_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349870432","1349870487","1349870481","1349870475","1349870409","1349870465"],"photo_ids_order":["1349870409","1349870432","1349870465","1349870475","1349870481","1349870487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e762a13c4fefaa21bb5330637a50a54.jpg","text":"TemporaryFile(/tmp/multipartBody3069854909635393457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712742833,"filename":"image_15042025_12_22_45_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1f8e14522b79e2124463c4a14799a15.jpg","text":"TemporaryFile(/tmp/multipartBody7143908137733953114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712742833,"filename":"image_15042025_12_22_59_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55c091268fbf946f2511cc6717450521.jpg","text":"TemporaryFile(/tmp/multipartBody8143452665968426751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712742833,"filename":"image_15042025_12_22_57_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e69aa64a3648cf2f30c34896a77996e5.jpg","text":"TemporaryFile(/tmp/multipartBody4237637098444214429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712742833,"filename":"image_15042025_12_22_54_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d19e2155601732f7ec89266af7b0af8.jpg","text":"TemporaryFile(/tmp/multipartBody9174609999318059881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712742833,"filename":"image_15042025_12_22_39_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/474fcb5a5f8b298262cebea215b17cab.jpg","text":"TemporaryFile(/tmp/multipartBody3245353743072684062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712742833,"filename":"image_15042025_12_22_50_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870465","file1":"1349870432","file0":"1349870409","file4":"1349870481","file5":"1349870487","file3":"1349870475"},"map_files_photo_id_array":[{"photo_id":"1349870487","filename":"file5"},{"photo_id":"1349870465","filename":"file2"},{"photo_id":"1349870481","filename":"file4"},{"photo_id":"1349870432","filename":"file1"},{"photo_id":"1349870409","filename":"file0"},{"photo_id":"1349870475","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349870432":["hashtag1","hashtag2"]},{"1349870487":["hashtag1","hashtag2"]},{"1349870481":["hashtag1","hashtag2"]},{"1349870475":["hashtag1","hashtag2"]},{"1349870409":["hashtag1","hashtag2"]},{"1349870465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349870432, 1349870487, 1349870481, 1349870475, 1349870409, 1349870465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95062232017517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:25:22.769036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_03_3527.jpg', '/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_06_2684.jpg', '/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_08_2662.jpg', '/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_15_2639.jpg', '/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_26_2534.jpg', '/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_35_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_03_3527.jpg
/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_06_2684.jpg
/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_08_2662.jpg
/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_15_2639.jpg
/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_26_2534.jpg
/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_35_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349870530","1349870611","1349870595","1349870622","1349870544","1349870582"],"photo_ids_order":["1349870530","1349870544","1349870582","1349870595","1349870611","1349870622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d063ed264b78bb8601c8dee2cdf08467.jpg","text":"TemporaryFile(/tmp/multipartBody5106755580225527371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712783437,"filename":"image_15042025_12_23_03_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84d8db9feb5ef9848608e0d4586c29f1.jpg","text":"TemporaryFile(/tmp/multipartBody6737467154745344823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712783437,"filename":"image_15042025_12_23_26_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24c2909abb97daf4f623ef495296d539.jpg","text":"TemporaryFile(/tmp/multipartBody8740343200148873597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712783437,"filename":"image_15042025_12_23_15_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c906cfe02543cb289ec0c39f8967fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody3471523180935030471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712783437,"filename":"image_15042025_12_23_35_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2c35623100775bd52c0d474394b7de5.jpg","text":"TemporaryFile(/tmp/multipartBody2529644991131600179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712783437,"filename":"image_15042025_12_23_06_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e6af13edc6e19684cdc6714a37c984c.jpg","text":"TemporaryFile(/tmp/multipartBody106281390498249693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712783437,"filename":"image_15042025_12_23_08_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870582","file1":"1349870544","file0":"1349870530","file4":"1349870611","file5":"1349870622","file3":"1349870595"},"map_files_photo_id_array":[{"photo_id":"1349870622","filename":"file5"},{"photo_id":"1349870582","filename":"file2"},{"photo_id":"1349870611","filename":"file4"},{"photo_id":"1349870544","filename":"file1"},{"photo_id":"1349870530","filename":"file0"},{"photo_id":"1349870595","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349870530":["hashtag1","hashtag2"]},{"1349870611":["hashtag1","hashtag2"]},{"1349870595":["hashtag1","hashtag2"]},{"1349870622":["hashtag1","hashtag2"]},{"1349870544":["hashtag1","hashtag2"]},{"1349870582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349870530, 1349870611, 1349870595, 1349870622, 1349870544, 1349870582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.352834701538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:26:02.393753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_41_2615.jpg', '/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_57_3710.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_11_2740.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_15_3613.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_35_2808.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_38_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_41_2615.jpg
/home/pi/Desktop/images/15042025/12/23/image_15042025_12_23_57_3710.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_11_2740.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_15_3613.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_35_2808.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_38_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349870719","1349870707","1349870635","1349870661","1349870712","1349870700"],"photo_ids_order":["1349870635","1349870661","1349870700","1349870707","1349870712","1349870719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87995d144f86ab3dead832812877205b.jpg","text":"TemporaryFile(/tmp/multipartBody6074491603266459362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712823162,"filename":"image_15042025_12_24_38_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c5f441d265b2069b4139086e08428a8.jpg","text":"TemporaryFile(/tmp/multipartBody1279419829860289111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712823162,"filename":"image_15042025_12_24_15_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c233cf231bcf59ff4f2ab390add6790.jpg","text":"TemporaryFile(/tmp/multipartBody9084761183027398906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712823162,"filename":"image_15042025_12_23_41_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60e284eac72e13ee3600deea35def171.jpg","text":"TemporaryFile(/tmp/multipartBody5418706568713717256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712823162,"filename":"image_15042025_12_23_57_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec8cc1d264cb8aafc3203523f638ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody4751104492838767138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712823162,"filename":"image_15042025_12_24_35_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/660a775aed90c93236f12193339c22ac.jpg","text":"TemporaryFile(/tmp/multipartBody668630806016428947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712823162,"filename":"image_15042025_12_24_11_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870700","file1":"1349870661","file0":"1349870635","file4":"1349870712","file5":"1349870719","file3":"1349870707"},"map_files_photo_id_array":[{"photo_id":"1349870719","filename":"file5"},{"photo_id":"1349870700","filename":"file2"},{"photo_id":"1349870712","filename":"file4"},{"photo_id":"1349870661","filename":"file1"},{"photo_id":"1349870635","filename":"file0"},{"photo_id":"1349870707","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349870719":["hashtag1","hashtag2"]},{"1349870707":["hashtag1","hashtag2"]},{"1349870635":["hashtag1","hashtag2"]},{"1349870661":["hashtag1","hashtag2"]},{"1349870712":["hashtag1","hashtag2"]},{"1349870700":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349870719, 1349870707, 1349870635, 1349870661, 1349870712, 1349870700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19344162940979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:26:41.873603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_42_3656.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_44_2761.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_47_2585.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_53_2714.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_25_00_3694.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_05_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_42_3656.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_44_2761.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_47_2585.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_53_2714.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_25_00_3694.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_05_2729.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5642962455749512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:27:03.036592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_42_3656.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_44_2761.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_47_2585.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_53_2714.jpg', '/home/pi/Desktop/images/15042025/12/24/image_15042025_12_25_00_3694.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_05_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_42_3656.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_44_2761.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_47_2585.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_24_53_2714.jpg
/home/pi/Desktop/images/15042025/12/24/image_15042025_12_25_00_3694.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_05_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349870977","1349871012","1349871018","1349870940","1349870841","1349870882"],"photo_ids_order":["1349870841","1349870882","1349870940","1349870977","1349871012","1349871018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59f8f3bf4e0fe1cb973dc92edb0e0592.jpg","text":"TemporaryFile(/tmp/multipartBody3312827244125639837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712883871,"filename":"image_15042025_12_24_53_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7ec7298c5e42f16c15c45f17cd4661d.jpg","text":"TemporaryFile(/tmp/multipartBody1362977279558082508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712883871,"filename":"image_15042025_12_25_00_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/feaed9378174739078e5569680befc37.jpg","text":"TemporaryFile(/tmp/multipartBody5142469025975762166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712883871,"filename":"image_15042025_12_25_05_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/751dce1a4b3b46e02335a339dc7caae1.jpg","text":"TemporaryFile(/tmp/multipartBody5904564688961460982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712883871,"filename":"image_15042025_12_24_47_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a183f9c4b432a7679ba904d1267c72d.jpg","text":"TemporaryFile(/tmp/multipartBody4767158515315928125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712883871,"filename":"image_15042025_12_24_42_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c0f045b1f05f7253123e5d1dce96d02.jpg","text":"TemporaryFile(/tmp/multipartBody7991477695427430546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712883871,"filename":"image_15042025_12_24_44_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870940","file1":"1349870882","file0":"1349870841","file4":"1349871012","file5":"1349871018","file3":"1349870977"},"map_files_photo_id_array":[{"photo_id":"1349871018","filename":"file5"},{"photo_id":"1349870940","filename":"file2"},{"photo_id":"1349871012","filename":"file4"},{"photo_id":"1349870882","filename":"file1"},{"photo_id":"1349870841","filename":"file0"},{"photo_id":"1349870977","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349870977":["hashtag1","hashtag2"]},{"1349871012":["hashtag1","hashtag2"]},{"1349871018":["hashtag1","hashtag2"]},{"1349870940":["hashtag1","hashtag2"]},{"1349870841":["hashtag1","hashtag2"]},{"1349870882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349870977, 1349871012, 1349871018, 1349870940, 1349870841, 1349870882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30086541175842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:28:03.254644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_09_3616.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_11_2668.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_14_2810.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_17_2801.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_20_3556.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_23_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_09_3616.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_11_2668.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_14_2810.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_17_2801.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_20_3556.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_23_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871103","1349871084","1349871095","1349871089","1349871077","1349871203"],"photo_ids_order":["1349871077","1349871084","1349871089","1349871095","1349871103","1349871203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec74c4ec730b3878b0cc96650a1999c5.jpg","text":"TemporaryFile(/tmp/multipartBody745603649304488244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712943944,"filename":"image_15042025_12_25_20_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b7d766d2b06089e6e75cbce0a93a8d1.jpg","text":"TemporaryFile(/tmp/multipartBody7509255072214995389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712943944,"filename":"image_15042025_12_25_11_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae0523604bada8fb54636852fa5c1745.jpg","text":"TemporaryFile(/tmp/multipartBody8988953556688714965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712943944,"filename":"image_15042025_12_25_17_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bcd6e762fa8b9cad4c33838f48683d1.jpg","text":"TemporaryFile(/tmp/multipartBody5916737914758590504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712943944,"filename":"image_15042025_12_25_14_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8109d78dc11f561a2de479d41f2d473e.jpg","text":"TemporaryFile(/tmp/multipartBody4485772927512947552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712943944,"filename":"image_15042025_12_25_09_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b40dd837f025cd0bb38db034d5ba94ce.jpg","text":"TemporaryFile(/tmp/multipartBody4744841995093658093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712943944,"filename":"image_15042025_12_25_23_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871089","file1":"1349871084","file0":"1349871077","file4":"1349871103","file5":"1349871203","file3":"1349871095"},"map_files_photo_id_array":[{"photo_id":"1349871203","filename":"file5"},{"photo_id":"1349871089","filename":"file2"},{"photo_id":"1349871103","filename":"file4"},{"photo_id":"1349871084","filename":"file1"},{"photo_id":"1349871077","filename":"file0"},{"photo_id":"1349871095","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349871103":["hashtag1","hashtag2"]},{"1349871084":["hashtag1","hashtag2"]},{"1349871095":["hashtag1","hashtag2"]},{"1349871089":["hashtag1","hashtag2"]},{"1349871077":["hashtag1","hashtag2"]},{"1349871203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349871103, 1349871084, 1349871095, 1349871089, 1349871077, 1349871203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.526500940322876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:28:42.706538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_26_2735.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_30_3724.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_48_3726.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_53_2826.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_56_2805.jpg', '/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_59_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_26_2735.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_30_3724.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_48_3726.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_53_2826.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_56_2805.jpg
/home/pi/Desktop/images/15042025/12/25/image_15042025_12_25_59_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871265","1349871259","1349871285","1349871290","1349871251","1349871269"],"photo_ids_order":["1349871251","1349871259","1349871265","1349871269","1349871285","1349871290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1537c2e2ed01682fa8195e98fa76a7b1.jpg","text":"TemporaryFile(/tmp/multipartBody1513249310852194367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983347,"filename":"image_15042025_12_25_48_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8c678948b13f2af8a925273a4cb4c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8824433062025919166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983347,"filename":"image_15042025_12_25_30_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3b3ab927a5961b22c74fbb9c68ffa6f.jpg","text":"TemporaryFile(/tmp/multipartBody1678344751158336504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983347,"filename":"image_15042025_12_25_56_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf6b7a358bceb0baeca66a75009c0165.jpg","text":"TemporaryFile(/tmp/multipartBody1231743509592337352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983347,"filename":"image_15042025_12_25_59_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c21327a4e209b9e98e1e50e92ebb133d.jpg","text":"TemporaryFile(/tmp/multipartBody8724191327041546442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983347,"filename":"image_15042025_12_25_26_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28c1463268db20df4c89718169c90b27.jpg","text":"TemporaryFile(/tmp/multipartBody471605289373250674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983347,"filename":"image_15042025_12_25_53_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871265","file1":"1349871259","file0":"1349871251","file4":"1349871285","file5":"1349871290","file3":"1349871269"},"map_files_photo_id_array":[{"photo_id":"1349871290","filename":"file5"},{"photo_id":"1349871265","filename":"file2"},{"photo_id":"1349871285","filename":"file4"},{"photo_id":"1349871259","filename":"file1"},{"photo_id":"1349871251","filename":"file0"},{"photo_id":"1349871269","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349871265":["hashtag1","hashtag2"]},{"1349871259":["hashtag1","hashtag2"]},{"1349871285":["hashtag1","hashtag2"]},{"1349871290":["hashtag1","hashtag2"]},{"1349871251":["hashtag1","hashtag2"]},{"1349871269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349871265, 1349871259, 1349871285, 1349871290, 1349871251, 1349871269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.73528861999512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:29:42.736850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_02_2570.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_06_3564.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_08_2575.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_11_2602.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_17_2655.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_20_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_02_2570.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_06_3564.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_08_2575.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_11_2602.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_17_2655.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_20_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871367","1349871355","1349871360","1349871347","1349871338","1349871326"],"photo_ids_order":["1349871326","1349871338","1349871347","1349871355","1349871360","1349871367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54073bd850cf32823c04a86ae74828e5.jpg","text":"TemporaryFile(/tmp/multipartBody1520948417749375052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713043370,"filename":"image_15042025_12_26_20_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/066f82ed08b100782c7614d7cc18c4a0.jpg","text":"TemporaryFile(/tmp/multipartBody517258433859414713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713043370,"filename":"image_15042025_12_26_11_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82df36568a57c6aafd4e81364520c45d.jpg","text":"TemporaryFile(/tmp/multipartBody2411646447582156737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713043370,"filename":"image_15042025_12_26_17_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2537e2997c677788af7fa35afcefbd9b.jpg","text":"TemporaryFile(/tmp/multipartBody5697663921362180695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713043370,"filename":"image_15042025_12_26_08_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d109519abf244c03a38759f0b1d29700.jpg","text":"TemporaryFile(/tmp/multipartBody6109134512400684209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713043370,"filename":"image_15042025_12_26_06_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64bf5f4686051d94e1e6db4f41d35fd5.jpg","text":"TemporaryFile(/tmp/multipartBody2474024345859504776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713043370,"filename":"image_15042025_12_26_02_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871347","file1":"1349871338","file0":"1349871326","file4":"1349871360","file5":"1349871367","file3":"1349871355"},"map_files_photo_id_array":[{"photo_id":"1349871367","filename":"file5"},{"photo_id":"1349871347","filename":"file2"},{"photo_id":"1349871360","filename":"file4"},{"photo_id":"1349871338","filename":"file1"},{"photo_id":"1349871326","filename":"file0"},{"photo_id":"1349871355","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349871367":["hashtag1","hashtag2"]},{"1349871355":["hashtag1","hashtag2"]},{"1349871360":["hashtag1","hashtag2"]},{"1349871347":["hashtag1","hashtag2"]},{"1349871338":["hashtag1","hashtag2"]},{"1349871326":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349871367, 1349871355, 1349871360, 1349871347, 1349871338, 1349871326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14762234687805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:30:22.415980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_23_3659.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_26_2709.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_29_2664.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_32_3614.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_35_2614.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_38_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_23_3659.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_26_2709.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_29_2664.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_32_3614.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_35_2614.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_38_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871393","1349871387","1349871381","1349871405","1349871414","1349871398"],"photo_ids_order":["1349871381","1349871387","1349871393","1349871398","1349871405","1349871414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53d2b5ff99daff9d842da3bacca1d742.jpg","text":"TemporaryFile(/tmp/multipartBody8335207590898479977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713083041,"filename":"image_15042025_12_26_29_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/325fb50374b6dbf0ae51228e9a614f32.jpg","text":"TemporaryFile(/tmp/multipartBody330657502140885433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713083041,"filename":"image_15042025_12_26_26_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24e4eaffa7587ec7f11e00e609682847.jpg","text":"TemporaryFile(/tmp/multipartBody6300769284254701532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713083041,"filename":"image_15042025_12_26_23_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acb9b2b8e59a1cdff60f59e76e6b8cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7408822343597194426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713083041,"filename":"image_15042025_12_26_35_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68f44f9290cf8db954a36d715baec566.jpg","text":"TemporaryFile(/tmp/multipartBody7644813559229960388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713083041,"filename":"image_15042025_12_26_38_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a72c332940983b1bfdd1f355a7038dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1048410206623549624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713083041,"filename":"image_15042025_12_26_32_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871393","file1":"1349871387","file0":"1349871381","file4":"1349871405","file5":"1349871414","file3":"1349871398"},"map_files_photo_id_array":[{"photo_id":"1349871414","filename":"file5"},{"photo_id":"1349871393","filename":"file2"},{"photo_id":"1349871405","filename":"file4"},{"photo_id":"1349871387","filename":"file1"},{"photo_id":"1349871381","filename":"file0"},{"photo_id":"1349871398","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349871393":["hashtag1","hashtag2"]},{"1349871387":["hashtag1","hashtag2"]},{"1349871381":["hashtag1","hashtag2"]},{"1349871405":["hashtag1","hashtag2"]},{"1349871414":["hashtag1","hashtag2"]},{"1349871398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349871393, 1349871387, 1349871381, 1349871405, 1349871414, 1349871398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57949709892273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:31:03.531976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_41_3640.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_44_2613.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_48_3729.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_53_2647.jpg', '/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_59_3541.jpg', '/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_02_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_41_3640.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_44_2613.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_48_3729.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_53_2647.jpg
/home/pi/Desktop/images/15042025/12/26/image_15042025_12_26_59_3541.jpg
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_02_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871432","1349871446","1349871461","1349871455","1349871443","1349871437"],"photo_ids_order":["1349871432","1349871437","1349871443","1349871446","1349871455","1349871461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1cd719e6ff21e16eea782678f93a9ce3.jpg","text":"TemporaryFile(/tmp/multipartBody5648943260579637616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713124249,"filename":"image_15042025_12_26_41_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77b17b986a713aba9e938b552f0ed46e.jpg","text":"TemporaryFile(/tmp/multipartBody8464566401694719630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713124249,"filename":"image_15042025_12_26_53_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f05f4fcc916a0c64a59fa6e7ad3053e9.jpg","text":"TemporaryFile(/tmp/multipartBody2355570195587371009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713124249,"filename":"image_15042025_12_27_02_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d94bdb816b4d113cba1307a8eb761b1.jpg","text":"TemporaryFile(/tmp/multipartBody5838309255045054100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713124249,"filename":"image_15042025_12_26_59_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f32cb7c536b2eb32a15eb42b356731d5.jpg","text":"TemporaryFile(/tmp/multipartBody5895741711667099414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713124249,"filename":"image_15042025_12_26_48_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a08dbc2817cb8d1b81260c30e8c7dd39.jpg","text":"TemporaryFile(/tmp/multipartBody3183405636372102954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713124249,"filename":"image_15042025_12_26_44_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871443","file1":"1349871437","file0":"1349871432","file4":"1349871455","file5":"1349871461","file3":"1349871446"},"map_files_photo_id_array":[{"photo_id":"1349871461","filename":"file5"},{"photo_id":"1349871443","filename":"file2"},{"photo_id":"1349871455","filename":"file4"},{"photo_id":"1349871437","filename":"file1"},{"photo_id":"1349871432","filename":"file0"},{"photo_id":"1349871446","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349871432":["hashtag1","hashtag2"]},{"1349871446":["hashtag1","hashtag2"]},{"1349871461":["hashtag1","hashtag2"]},{"1349871455":["hashtag1","hashtag2"]},{"1349871443":["hashtag1","hashtag2"]},{"1349871437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349871432, 1349871446, 1349871461, 1349871455, 1349871443, 1349871437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46198558807373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:31:42.618257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_08_2631.jpg', '/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_11_2681.jpg', '/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_15_3676.jpg', '/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_20_2534.jpg', '/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_23_3557.jpg', '/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_29_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_08_2631.jpg
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_11_2681.jpg
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_15_3676.jpg
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_20_2534.jpg
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_23_3557.jpg
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_29_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871520","1349871501","1349871507","1349871485","1349871512","1349871493"],"photo_ids_order":["1349871485","1349871493","1349871501","1349871507","1349871512","1349871520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dff83efefea159fc91b8e5ab7684d1d6.jpg","text":"TemporaryFile(/tmp/multipartBody4352135780502341968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713163245,"filename":"image_15042025_12_27_29_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/711d81bdbfcf3891e450dff13c47c6f2.jpg","text":"TemporaryFile(/tmp/multipartBody8791810182846482731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713163245,"filename":"image_15042025_12_27_15_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e0b643121bfb87677883eaf8f0bc655.jpg","text":"TemporaryFile(/tmp/multipartBody6186905341681780530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713163245,"filename":"image_15042025_12_27_20_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2031e6027fff4e033e7ccf388aa5f0b.jpg","text":"TemporaryFile(/tmp/multipartBody1843832960280101276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713163245,"filename":"image_15042025_12_27_08_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de699e76998ef2a04710c1bddd397955.jpg","text":"TemporaryFile(/tmp/multipartBody6127562784492392981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713163245,"filename":"image_15042025_12_27_23_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5102da1fe867beb36c3f6b2f095e1cb3.jpg","text":"TemporaryFile(/tmp/multipartBody1991127782609350078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713163245,"filename":"image_15042025_12_27_11_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871501","file1":"1349871493","file0":"1349871485","file4":"1349871512","file5":"1349871520","file3":"1349871507"},"map_files_photo_id_array":[{"photo_id":"1349871520","filename":"file5"},{"photo_id":"1349871501","filename":"file2"},{"photo_id":"1349871512","filename":"file4"},{"photo_id":"1349871493","filename":"file1"},{"photo_id":"1349871485","filename":"file0"},{"photo_id":"1349871507","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349871520":["hashtag1","hashtag2"]},{"1349871501":["hashtag1","hashtag2"]},{"1349871507":["hashtag1","hashtag2"]},{"1349871485":["hashtag1","hashtag2"]},{"1349871512":["hashtag1","hashtag2"]},{"1349871493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349871520, 1349871501, 1349871507, 1349871485, 1349871512, 1349871493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49932646751404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:32:22.314988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_38_2638.jpg', '/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_42_3773.jpg', '/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_44_2716.jpg', '/home/pi/Desktop/images/15042025/12/28/image_15042025_12_28_08_3627.jpg', '/home/pi/Desktop/images/15042025/12/28/image_15042025_12_28_38_3759.jpg', '/home/pi/Desktop/images/15042025/12/28/image_15042025_12_28_59_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_38_2638.jpg
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_42_3773.jpg
/home/pi/Desktop/images/15042025/12/27/image_15042025_12_27_44_2716.jpg
/home/pi/Desktop/images/15042025/12/28/image_15042025_12_28_08_3627.jpg
/home/pi/Desktop/images/15042025/12/28/image_15042025_12_28_38_3759.jpg
/home/pi/Desktop/images/15042025/12/28/image_15042025_12_28_59_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871589","1349871562","1349871600","1349871618","1349871569","1349871644"],"photo_ids_order":["1349871562","1349871569","1349871589","1349871600","1349871618","1349871644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7cbc23b2fc3f04474bbcfc0cf44f8bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4547618627827844998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713203265,"filename":"image_15042025_12_27_44_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ce7c777a0aeb3b4356fe3a2d0c68e71.jpg","text":"TemporaryFile(/tmp/multipartBody902981203384673234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713203265,"filename":"image_15042025_12_27_38_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c41b48aecb2b7089743561061aa6fdbc.jpg","text":"TemporaryFile(/tmp/multipartBody2316134052350011934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713203265,"filename":"image_15042025_12_28_08_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b48075d38d529fcc8d09111ffb73c9f.jpg","text":"TemporaryFile(/tmp/multipartBody3164656484403716368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713203265,"filename":"image_15042025_12_28_38_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e2efa24d30fcfb1ec15efdecd8e51b3.jpg","text":"TemporaryFile(/tmp/multipartBody9142358551422867244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713203265,"filename":"image_15042025_12_27_42_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bebd8a79537a4432e8d8f21fddb3c838.jpg","text":"TemporaryFile(/tmp/multipartBody8059354155216461906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713203265,"filename":"image_15042025_12_28_59_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871589","file1":"1349871569","file0":"1349871562","file4":"1349871618","file5":"1349871644","file3":"1349871600"},"map_files_photo_id_array":[{"photo_id":"1349871644","filename":"file5"},{"photo_id":"1349871589","filename":"file2"},{"photo_id":"1349871618","filename":"file4"},{"photo_id":"1349871569","filename":"file1"},{"photo_id":"1349871562","filename":"file0"},{"photo_id":"1349871600","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349871589":["hashtag1","hashtag2"]},{"1349871562":["hashtag1","hashtag2"]},{"1349871600":["hashtag1","hashtag2"]},{"1349871618":["hashtag1","hashtag2"]},{"1349871569":["hashtag1","hashtag2"]},{"1349871644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349871589, 1349871562, 1349871600, 1349871618, 1349871569, 1349871644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.68598008155823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:33:22.237268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/29/image_15042025_12_29_17_2570.jpg', '/home/pi/Desktop/images/15042025/12/29/image_15042025_12_29_35_2783.jpg', '/home/pi/Desktop/images/15042025/12/29/image_15042025_12_29_53_2616.jpg', '/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_20_3587.jpg', '/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_32_2658.jpg', '/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_41_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/29/image_15042025_12_29_17_2570.jpg
/home/pi/Desktop/images/15042025/12/29/image_15042025_12_29_35_2783.jpg
/home/pi/Desktop/images/15042025/12/29/image_15042025_12_29_53_2616.jpg
/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_20_3587.jpg
/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_32_2658.jpg
/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_41_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871775","1349871844","1349871780","1349871771","1349871804","1349871883"],"photo_ids_order":["1349871771","1349871775","1349871780","1349871804","1349871844","1349871883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93ec841f6b019b73971d2f340e3802a8.jpg","text":"TemporaryFile(/tmp/multipartBody9138284000051284797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713262880,"filename":"image_15042025_12_29_35_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6a983ec54097f34e3ea5f09885643d6.jpg","text":"TemporaryFile(/tmp/multipartBody4765957178009129627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713262880,"filename":"image_15042025_12_30_32_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/208ce243735d9ec2401f298c233f37dc.jpg","text":"TemporaryFile(/tmp/multipartBody190677168456868659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713262880,"filename":"image_15042025_12_29_53_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6974bc91b3f9ebb8095f826d5d1853c7.jpg","text":"TemporaryFile(/tmp/multipartBody6172437998517184698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713262880,"filename":"image_15042025_12_29_17_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63f0302867da3a9f47b81aa466d1d71a.jpg","text":"TemporaryFile(/tmp/multipartBody2358121987515325514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713262880,"filename":"image_15042025_12_30_20_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/054eac213709e015611ead6f3586c879.jpg","text":"TemporaryFile(/tmp/multipartBody8862301947509858508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713262880,"filename":"image_15042025_12_30_41_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871780","file1":"1349871775","file0":"1349871771","file4":"1349871844","file5":"1349871883","file3":"1349871804"},"map_files_photo_id_array":[{"photo_id":"1349871883","filename":"file5"},{"photo_id":"1349871780","filename":"file2"},{"photo_id":"1349871844","filename":"file4"},{"photo_id":"1349871775","filename":"file1"},{"photo_id":"1349871771","filename":"file0"},{"photo_id":"1349871804","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349871775":["hashtag1","hashtag2"]},{"1349871844":["hashtag1","hashtag2"]},{"1349871780":["hashtag1","hashtag2"]},{"1349871771":["hashtag1","hashtag2"]},{"1349871804":["hashtag1","hashtag2"]},{"1349871883":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349871775, 1349871844, 1349871780, 1349871771, 1349871804, 1349871883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5693519115448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:34:03.001749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_53_2641.jpg', '/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_56_3627.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_11_2742.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_14_3646.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_17_2693.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_20_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_53_2641.jpg
/home/pi/Desktop/images/15042025/12/30/image_15042025_12_30_56_3627.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_11_2742.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_14_3646.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_17_2693.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_20_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349871970","1349871967","1349871981","1349871975","1349871953","1349871962"],"photo_ids_order":["1349871953","1349871962","1349871967","1349871970","1349871975","1349871981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec22ec1e41d3ab6f1a841c203f2c437c.jpg","text":"TemporaryFile(/tmp/multipartBody3302968981483676582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713303748,"filename":"image_15042025_12_31_14_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64405a547919145875bb54d34efb52f4.jpg","text":"TemporaryFile(/tmp/multipartBody7786115448513407231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713303748,"filename":"image_15042025_12_31_11_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fedd8994c1661de6959eaae1424bc00a.jpg","text":"TemporaryFile(/tmp/multipartBody7070120577422240130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713303748,"filename":"image_15042025_12_31_20_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cadd277ef335009796126442cae51d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3650858826606244266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713303748,"filename":"image_15042025_12_31_17_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8110d8c32b333a193138d9bdafcedd0.jpg","text":"TemporaryFile(/tmp/multipartBody3279255771592369462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713303748,"filename":"image_15042025_12_30_53_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb663da7bea010b7db9c4cc088b3310b.jpg","text":"TemporaryFile(/tmp/multipartBody492378719066162479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713303748,"filename":"image_15042025_12_30_56_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871967","file1":"1349871962","file0":"1349871953","file4":"1349871975","file5":"1349871981","file3":"1349871970"},"map_files_photo_id_array":[{"photo_id":"1349871981","filename":"file5"},{"photo_id":"1349871967","filename":"file2"},{"photo_id":"1349871975","filename":"file4"},{"photo_id":"1349871962","filename":"file1"},{"photo_id":"1349871953","filename":"file0"},{"photo_id":"1349871970","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349871970":["hashtag1","hashtag2"]},{"1349871967":["hashtag1","hashtag2"]},{"1349871981":["hashtag1","hashtag2"]},{"1349871975":["hashtag1","hashtag2"]},{"1349871953":["hashtag1","hashtag2"]},{"1349871962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349871970, 1349871967, 1349871981, 1349871975, 1349871953, 1349871962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57727336883545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:34:42.242033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_23_3702.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_26_2584.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_29_2770.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_32_3558.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_35_2675.jpg', '/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_41_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_23_3702.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_26_2584.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_29_2770.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_32_3558.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_35_2675.jpg
/home/pi/Desktop/images/15042025/12/31/image_15042025_12_31_41_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349872095","1349872158","1349872014","1349872175","1349872055","1349872138"],"photo_ids_order":["1349872014","1349872055","1349872095","1349872138","1349872158","1349872175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8d587a1d391323dcebae5e02535f3be.jpg","text":"TemporaryFile(/tmp/multipartBody6224691738979571978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713342895,"filename":"image_15042025_12_31_29_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c9e964b45eb8883487ab489cb3cf6db.jpg","text":"TemporaryFile(/tmp/multipartBody2671540566024796157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713342895,"filename":"image_15042025_12_31_35_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/625721c560bddd3915c854a41c72ff87.jpg","text":"TemporaryFile(/tmp/multipartBody6418612154728008816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713342895,"filename":"image_15042025_12_31_23_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24bf1fa5e05c8a211340cbbaa9c93ca1.jpg","text":"TemporaryFile(/tmp/multipartBody1441498730620317524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713342895,"filename":"image_15042025_12_31_41_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b252153290ac78ee0238229fb401ab81.jpg","text":"TemporaryFile(/tmp/multipartBody7714073610995314073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713342895,"filename":"image_15042025_12_31_26_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec4a47349387242450b5e1a12dc1449a.jpg","text":"TemporaryFile(/tmp/multipartBody3576806025378173269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713342895,"filename":"image_15042025_12_31_32_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872095","file1":"1349872055","file0":"1349872014","file4":"1349872158","file5":"1349872175","file3":"1349872138"},"map_files_photo_id_array":[{"photo_id":"1349872175","filename":"file5"},{"photo_id":"1349872095","filename":"file2"},{"photo_id":"1349872158","filename":"file4"},{"photo_id":"1349872055","filename":"file1"},{"photo_id":"1349872014","filename":"file0"},{"photo_id":"1349872138","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349872095":["hashtag1","hashtag2"]},{"1349872158":["hashtag1","hashtag2"]},{"1349872014":["hashtag1","hashtag2"]},{"1349872175":["hashtag1","hashtag2"]},{"1349872055":["hashtag1","hashtag2"]},{"1349872138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349872095, 1349872158, 1349872014, 1349872175, 1349872055, 1349872138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72434949874878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:35:22.585065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/33/image_15042025_12_33_29_3593.jpg', '/home/pi/Desktop/images/15042025/12/33/image_15042025_12_33_53_3560.jpg', '/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_11_2508.jpg', '/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_26_3552.jpg', '/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_37_2646.jpg', '/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_41_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/33/image_15042025_12_33_29_3593.jpg
/home/pi/Desktop/images/15042025/12/33/image_15042025_12_33_53_3560.jpg
/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_11_2508.jpg
/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_26_3552.jpg
/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_37_2646.jpg
/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_41_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349872260","1349872254","1349872242","1349872280","1349872208","1349872249"],"photo_ids_order":["1349872208","1349872242","1349872249","1349872254","1349872260","1349872280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f472efce63620dcdc8b589712f6fa921.jpg","text":"TemporaryFile(/tmp/multipartBody6378129274757749954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713383213,"filename":"image_15042025_12_34_37_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da8651c80d4c65feb4df197867e761db.jpg","text":"TemporaryFile(/tmp/multipartBody7024110572543126656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713383213,"filename":"image_15042025_12_34_26_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/502c21def7f9a01f2fd2d2b63081a629.jpg","text":"TemporaryFile(/tmp/multipartBody5608052304032666046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713383213,"filename":"image_15042025_12_33_53_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2de5f9345598ed2deabd5a8a6d94a1c3.jpg","text":"TemporaryFile(/tmp/multipartBody2277104089320392859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713383213,"filename":"image_15042025_12_34_41_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14dec2205a5b3bcde19b3f6229176ddc.jpg","text":"TemporaryFile(/tmp/multipartBody3074164445082470154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713383213,"filename":"image_15042025_12_33_29_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2cdf45a42149e14c92ef342b13ddcc2.jpg","text":"TemporaryFile(/tmp/multipartBody1220609323161227626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713383213,"filename":"image_15042025_12_34_11_2508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872249","file1":"1349872242","file0":"1349872208","file4":"1349872260","file5":"1349872280","file3":"1349872254"},"map_files_photo_id_array":[{"photo_id":"1349872280","filename":"file5"},{"photo_id":"1349872249","filename":"file2"},{"photo_id":"1349872260","filename":"file4"},{"photo_id":"1349872242","filename":"file1"},{"photo_id":"1349872208","filename":"file0"},{"photo_id":"1349872254","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349872260":["hashtag1","hashtag2"]},{"1349872254":["hashtag1","hashtag2"]},{"1349872242":["hashtag1","hashtag2"]},{"1349872280":["hashtag1","hashtag2"]},{"1349872208":["hashtag1","hashtag2"]},{"1349872249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349872260, 1349872254, 1349872242, 1349872280, 1349872208, 1349872249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67356324195862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:36:02.506287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_46_2796.jpg', '/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_53_2950.jpg', '/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_02_3672.jpg', '/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_16_2675.jpg', '/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_20_3623.jpg', '/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_40_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_46_2796.jpg
/home/pi/Desktop/images/15042025/12/34/image_15042025_12_34_53_2950.jpg
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_02_3672.jpg
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_16_2675.jpg
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_20_3623.jpg
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_40_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349872402","1349872333","1349872376","1349872421","1349872390","1349872372"],"photo_ids_order":["1349872333","1349872372","1349872376","1349872390","1349872402","1349872421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d90e61f618d4afbe3fc4482a5f577d0.jpg","text":"TemporaryFile(/tmp/multipartBody8645326688969574895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713423214,"filename":"image_15042025_12_35_20_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d398667cf77bceb89a6b91fde1df4e90.jpg","text":"TemporaryFile(/tmp/multipartBody4753594100291152360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713423214,"filename":"image_15042025_12_34_46_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b767ea30544eef56bb17831bdbd0f24d.jpg","text":"TemporaryFile(/tmp/multipartBody707754110950199452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713423214,"filename":"image_15042025_12_35_02_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8989596dd614bf9928c74c11a7fd3017.jpg","text":"TemporaryFile(/tmp/multipartBody1955930472827974716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713423214,"filename":"image_15042025_12_35_40_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c7518230687d2a29942f9ed93742d09.jpg","text":"TemporaryFile(/tmp/multipartBody9004107569457806288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713423214,"filename":"image_15042025_12_35_16_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7ec055a4ebe50ab002c278aada8e96b.jpg","text":"TemporaryFile(/tmp/multipartBody4637030078914487315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713423214,"filename":"image_15042025_12_34_53_2950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872376","file1":"1349872372","file0":"1349872333","file4":"1349872402","file5":"1349872421","file3":"1349872390"},"map_files_photo_id_array":[{"photo_id":"1349872421","filename":"file5"},{"photo_id":"1349872376","filename":"file2"},{"photo_id":"1349872402","filename":"file4"},{"photo_id":"1349872372","filename":"file1"},{"photo_id":"1349872333","filename":"file0"},{"photo_id":"1349872390","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349872402":["hashtag1","hashtag2"]},{"1349872333":["hashtag1","hashtag2"]},{"1349872376":["hashtag1","hashtag2"]},{"1349872421":["hashtag1","hashtag2"]},{"1349872390":["hashtag1","hashtag2"]},{"1349872372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349872402, 1349872333, 1349872376, 1349872421, 1349872390, 1349872372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23051691055298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:36:41.887295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_44_3721.jpg', '/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_46_2544.jpg', '/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_50_3554.jpg', '/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_53_2700.jpg', '/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_55_2540.jpg', '/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_02_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_44_3721.jpg
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_46_2544.jpg
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_50_3554.jpg
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_53_2700.jpg
/home/pi/Desktop/images/15042025/12/35/image_15042025_12_35_55_2540.jpg
/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_02_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349872621","1349872630","1349872626","1349872512","1349872637","1349872594"],"photo_ids_order":["1349872512","1349872594","1349872621","1349872626","1349872630","1349872637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb7d8cc0c519b7f5547b3f9dad429fb8.jpg","text":"TemporaryFile(/tmp/multipartBody6321046872388030318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713462551,"filename":"image_15042025_12_35_50_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9d21778a89908c3e6c5992e616b2a70.jpg","text":"TemporaryFile(/tmp/multipartBody2265421680448408307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713462551,"filename":"image_15042025_12_35_55_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e45f032ecda2e42e13499a1ca2e0659a.jpg","text":"TemporaryFile(/tmp/multipartBody4936947469918470737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713462551,"filename":"image_15042025_12_35_53_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22126d7d573f71448b43214b0d768a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2250296444857170668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713462551,"filename":"image_15042025_12_35_44_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2e2d104f98358d81819b3408fb273eb.jpg","text":"TemporaryFile(/tmp/multipartBody7831238466196300309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713462551,"filename":"image_15042025_12_36_02_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cc52612c11853543216219b99b64a78.jpg","text":"TemporaryFile(/tmp/multipartBody2629186532925959470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713462551,"filename":"image_15042025_12_35_46_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872621","file1":"1349872594","file0":"1349872512","file4":"1349872630","file5":"1349872637","file3":"1349872626"},"map_files_photo_id_array":[{"photo_id":"1349872637","filename":"file5"},{"photo_id":"1349872621","filename":"file2"},{"photo_id":"1349872630","filename":"file4"},{"photo_id":"1349872594","filename":"file1"},{"photo_id":"1349872512","filename":"file0"},{"photo_id":"1349872626","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349872621":["hashtag1","hashtag2"]},{"1349872630":["hashtag1","hashtag2"]},{"1349872626":["hashtag1","hashtag2"]},{"1349872512":["hashtag1","hashtag2"]},{"1349872637":["hashtag1","hashtag2"]},{"1349872594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349872621, 1349872630, 1349872626, 1349872512, 1349872637, 1349872594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43242883682251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:37:22.027117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_04_2566.jpg', '/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_11_2928.jpg', '/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_17_3664.jpg', '/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_19_2503.jpg', '/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_37_2654.jpg', '/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_05_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_04_2566.jpg
/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_11_2928.jpg
/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_17_3664.jpg
/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_19_2503.jpg
/home/pi/Desktop/images/15042025/12/36/image_15042025_12_36_37_2654.jpg
/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_05_3676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349872692","1349872671","1349872793","1349872676","1349872664","1349872657"],"photo_ids_order":["1349872657","1349872664","1349872671","1349872676","1349872692","1349872793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee7a7b9a817588929b948421f5918656.jpg","text":"TemporaryFile(/tmp/multipartBody7219648313055824961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713502667,"filename":"image_15042025_12_36_37_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4030e2a1c5256b70426499b38384b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody1538462982926201494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713502667,"filename":"image_15042025_12_36_17_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f68fdba5dd159205bc4805ca94da766.jpg","text":"TemporaryFile(/tmp/multipartBody3978896773730093799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713502667,"filename":"image_15042025_12_37_05_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfa4349af8fc673c503295b2c978dd74.jpg","text":"TemporaryFile(/tmp/multipartBody3758794653172205050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713502667,"filename":"image_15042025_12_36_19_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/822d28a97720b242a61c734aa2d52267.jpg","text":"TemporaryFile(/tmp/multipartBody6804647877215855245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713502667,"filename":"image_15042025_12_36_11_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40ec48c8e1b8ba3cc3658a1549d328e2.jpg","text":"TemporaryFile(/tmp/multipartBody7219322284238722355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713502667,"filename":"image_15042025_12_36_04_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872671","file1":"1349872664","file0":"1349872657","file4":"1349872692","file5":"1349872793","file3":"1349872676"},"map_files_photo_id_array":[{"photo_id":"1349872793","filename":"file5"},{"photo_id":"1349872671","filename":"file2"},{"photo_id":"1349872692","filename":"file4"},{"photo_id":"1349872664","filename":"file1"},{"photo_id":"1349872657","filename":"file0"},{"photo_id":"1349872676","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349872692":["hashtag1","hashtag2"]},{"1349872671":["hashtag1","hashtag2"]},{"1349872793":["hashtag1","hashtag2"]},{"1349872676":["hashtag1","hashtag2"]},{"1349872664":["hashtag1","hashtag2"]},{"1349872657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349872692, 1349872671, 1349872793, 1349872676, 1349872664, 1349872657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41677165031433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:38:22.127784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_10_2569.jpg', '/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_22_2684.jpg', '/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_40_2531.jpg', '/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_49_2596.jpg', '/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_07_2583.jpg', '/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_16_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_10_2569.jpg
/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_22_2684.jpg
/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_40_2531.jpg
/home/pi/Desktop/images/15042025/12/37/image_15042025_12_37_49_2596.jpg
/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_07_2583.jpg
/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_16_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349873463","1349873700","1349873372","1349873821","1349873632","1349873419"],"photo_ids_order":["1349873372","1349873419","1349873463","1349873632","1349873700","1349873821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b810f30d3900525b38c8300795612623.jpg","text":"TemporaryFile(/tmp/multipartBody6708926558945760014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713562784,"filename":"image_15042025_12_37_40_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b24fa4acd2f9736438e6934055f9cd8f.jpg","text":"TemporaryFile(/tmp/multipartBody5282079462354899254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713562784,"filename":"image_15042025_12_38_07_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0e3fdd4b6cb128ee4d95a7f4964774a.jpg","text":"TemporaryFile(/tmp/multipartBody6824549623148661442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713562784,"filename":"image_15042025_12_37_10_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86646149ae215439adfafd8dd01ecea7.jpg","text":"TemporaryFile(/tmp/multipartBody6248323763993684004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713562784,"filename":"image_15042025_12_38_16_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/101d0585c774b21a048a2339bd31bbeb.jpg","text":"TemporaryFile(/tmp/multipartBody3038743939779434812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713562784,"filename":"image_15042025_12_37_49_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88c785618df1295b056e6854e5d63655.jpg","text":"TemporaryFile(/tmp/multipartBody7050743058978336584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713562784,"filename":"image_15042025_12_37_22_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349873463","file1":"1349873419","file0":"1349873372","file4":"1349873700","file5":"1349873821","file3":"1349873632"},"map_files_photo_id_array":[{"photo_id":"1349873821","filename":"file5"},{"photo_id":"1349873463","filename":"file2"},{"photo_id":"1349873700","filename":"file4"},{"photo_id":"1349873419","filename":"file1"},{"photo_id":"1349873372","filename":"file0"},{"photo_id":"1349873632","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349873463":["hashtag1","hashtag2"]},{"1349873700":["hashtag1","hashtag2"]},{"1349873372":["hashtag1","hashtag2"]},{"1349873821":["hashtag1","hashtag2"]},{"1349873632":["hashtag1","hashtag2"]},{"1349873419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349873463, 1349873700, 1349873372, 1349873821, 1349873632, 1349873419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49773287773132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:39:02.894292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_23_3753.jpg', '/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_25_2600.jpg', '/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_35_2731.jpg', '/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_49_2712.jpg', '/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_52_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_23_3753.jpg
/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_25_2600.jpg
/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_35_2731.jpg
/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_49_2712.jpg
/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_52_2849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874152","1349874113","1349874103","1349874165","1349874159"],"photo_ids_order":["1349874103","1349874113","1349874152","1349874159","1349874165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7b1769c98fdf396add8d4a6cee4a0df.jpg","text":"TemporaryFile(/tmp/multipartBody1719184301558817465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713603695,"filename":"image_15042025_12_38_35_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c544e84ce520b363aebcd6e2ef8e818e.jpg","text":"TemporaryFile(/tmp/multipartBody5974322763772158148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713603695,"filename":"image_15042025_12_38_25_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a531fe04e8c5bcc88c310697535b0700.jpg","text":"TemporaryFile(/tmp/multipartBody321571072561268511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713603695,"filename":"image_15042025_12_38_23_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2376a95e42abf84bdc435764e8460bd3.jpg","text":"TemporaryFile(/tmp/multipartBody2531998643972069358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713603695,"filename":"image_15042025_12_38_52_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f2c2622270f69bd499e11d6cf5b1a19.jpg","text":"TemporaryFile(/tmp/multipartBody3545360807544812425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713603695,"filename":"image_15042025_12_38_49_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874152","file1":"1349874113","file0":"1349874103","file4":"1349874165","file3":"1349874159"},"map_files_photo_id_array":[{"photo_id":"1349874152","filename":"file2"},{"photo_id":"1349874165","filename":"file4"},{"photo_id":"1349874113","filename":"file1"},{"photo_id":"1349874103","filename":"file0"},{"photo_id":"1349874159","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349874152":["hashtag1","hashtag2"]},{"1349874113":["hashtag1","hashtag2"]},{"1349874103":["hashtag1","hashtag2"]},{"1349874165":["hashtag1","hashtag2"]},{"1349874159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349874152, 1349874113, 1349874103, 1349874165, 1349874159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.31815242767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:39:41.937271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_58_2598.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_10_2739.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_14_3671.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_23_3747.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_25_2623.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_28_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/38/image_15042025_12_38_58_2598.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_10_2739.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_14_3671.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_23_3747.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_25_2623.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_28_2833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874318","1349874333","1349874188","1349874326","1349874310","1349874270"],"photo_ids_order":["1349874188","1349874270","1349874310","1349874318","1349874326","1349874333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c5a453d279e1f39535d02d579dc5f91.jpg","text":"TemporaryFile(/tmp/multipartBody4449658278714304446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713642600,"filename":"image_15042025_12_39_23_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d321a057b7e8cfaca30e8627a38c1d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4209443391095834928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713642600,"filename":"image_15042025_12_39_28_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e5f2a77e637121648fb36f9c3a89886.jpg","text":"TemporaryFile(/tmp/multipartBody2033833888484836294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713642600,"filename":"image_15042025_12_38_58_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a591290b1836fa41f98b320286154d05.jpg","text":"TemporaryFile(/tmp/multipartBody1070887593912489750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713642600,"filename":"image_15042025_12_39_25_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/feaade319f14c3a0e76e8228b186f1d7.jpg","text":"TemporaryFile(/tmp/multipartBody3041524369839606567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713642600,"filename":"image_15042025_12_39_14_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a46bea7aa01cbcde202b2c5194fd8eb.jpg","text":"TemporaryFile(/tmp/multipartBody8672683620409530562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713642600,"filename":"image_15042025_12_39_10_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874310","file1":"1349874270","file0":"1349874188","file4":"1349874326","file5":"1349874333","file3":"1349874318"},"map_files_photo_id_array":[{"photo_id":"1349874333","filename":"file5"},{"photo_id":"1349874310","filename":"file2"},{"photo_id":"1349874326","filename":"file4"},{"photo_id":"1349874270","filename":"file1"},{"photo_id":"1349874188","filename":"file0"},{"photo_id":"1349874318","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349874318":["hashtag1","hashtag2"]},{"1349874333":["hashtag1","hashtag2"]},{"1349874188":["hashtag1","hashtag2"]},{"1349874326":["hashtag1","hashtag2"]},{"1349874310":["hashtag1","hashtag2"]},{"1349874270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349874318, 1349874333, 1349874188, 1349874326, 1349874310, 1349874270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.507235050201416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:40:21.993184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_37_2594.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_41_3647.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_43_2616.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_46_2731.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_52_2639.jpg', '/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_55_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_37_2594.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_41_3647.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_43_2616.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_46_2731.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_52_2639.jpg
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_39_55_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874368","1349874382","1349874361","1349874355","1349874390","1349874375"],"photo_ids_order":["1349874355","1349874361","1349874368","1349874375","1349874382","1349874390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4366669b8233a7319f0ca9246d80885.jpg","text":"TemporaryFile(/tmp/multipartBody2471465229046518350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713682646,"filename":"image_15042025_12_39_43_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ac9b02c0b8260fadd3d0485376497b5.jpg","text":"TemporaryFile(/tmp/multipartBody811356091265740927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713682646,"filename":"image_15042025_12_39_52_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d72da68cd2535a3cfaa6aeffdd6b501.jpg","text":"TemporaryFile(/tmp/multipartBody4604021040422806139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713682646,"filename":"image_15042025_12_39_41_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07221b17cce2c5cfa96ea8d6de3abf87.jpg","text":"TemporaryFile(/tmp/multipartBody6088442679940183036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713682646,"filename":"image_15042025_12_39_37_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/191005cf318cb7670aebc746414c6e07.jpg","text":"TemporaryFile(/tmp/multipartBody9098040685440034817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713682646,"filename":"image_15042025_12_39_55_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e03d2c8a01b9daae3c651cbb8dfb8898.jpg","text":"TemporaryFile(/tmp/multipartBody8840664227627413067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713682646,"filename":"image_15042025_12_39_46_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874368","file1":"1349874361","file0":"1349874355","file4":"1349874382","file5":"1349874390","file3":"1349874375"},"map_files_photo_id_array":[{"photo_id":"1349874390","filename":"file5"},{"photo_id":"1349874368","filename":"file2"},{"photo_id":"1349874382","filename":"file4"},{"photo_id":"1349874361","filename":"file1"},{"photo_id":"1349874355","filename":"file0"},{"photo_id":"1349874375","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349874368":["hashtag1","hashtag2"]},{"1349874382":["hashtag1","hashtag2"]},{"1349874361":["hashtag1","hashtag2"]},{"1349874355":["hashtag1","hashtag2"]},{"1349874390":["hashtag1","hashtag2"]},{"1349874375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349874368, 1349874382, 1349874361, 1349874355, 1349874390, 1349874375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52796387672424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:41:02.635351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/39/image_15042025_12_40_01_3547.jpg', '/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_04_2752.jpg', '/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_07_2694.jpg', '/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_11_3869.jpg', '/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_25_3547.jpg', '/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_28_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/39/image_15042025_12_40_01_3547.jpg
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_04_2752.jpg
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_07_2694.jpg
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_11_3869.jpg
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_25_3547.jpg
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_28_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874509","1349874571","1349874589","1349874580","1349874424","1349874415"],"photo_ids_order":["1349874415","1349874424","1349874509","1349874571","1349874580","1349874589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1bacf134191b4c54ca7192bc54f1e21f.jpg","text":"TemporaryFile(/tmp/multipartBody3136291581095451562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713723419,"filename":"image_15042025_12_40_07_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cff44faf8996740c18939177b716bab.jpg","text":"TemporaryFile(/tmp/multipartBody8675478379337451610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713723419,"filename":"image_15042025_12_40_11_3869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5a6ec533ac928453ac6aabab4801d12.jpg","text":"TemporaryFile(/tmp/multipartBody5422439829571518165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713723419,"filename":"image_15042025_12_40_28_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3eab28d1fe5c133075182bb5753cf91.jpg","text":"TemporaryFile(/tmp/multipartBody7782710234588846959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713723419,"filename":"image_15042025_12_40_25_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78b7496889edb057aa6089b951edbb64.jpg","text":"TemporaryFile(/tmp/multipartBody1631029088070842592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713723419,"filename":"image_15042025_12_40_04_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/934fe9f7db0191c026e1e84a3a2e852f.jpg","text":"TemporaryFile(/tmp/multipartBody2559818247479353864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713723419,"filename":"image_15042025_12_40_01_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874509","file1":"1349874424","file0":"1349874415","file4":"1349874580","file5":"1349874589","file3":"1349874571"},"map_files_photo_id_array":[{"photo_id":"1349874589","filename":"file5"},{"photo_id":"1349874509","filename":"file2"},{"photo_id":"1349874580","filename":"file4"},{"photo_id":"1349874424","filename":"file1"},{"photo_id":"1349874415","filename":"file0"},{"photo_id":"1349874571","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349874509":["hashtag1","hashtag2"]},{"1349874571":["hashtag1","hashtag2"]},{"1349874589":["hashtag1","hashtag2"]},{"1349874580":["hashtag1","hashtag2"]},{"1349874424":["hashtag1","hashtag2"]},{"1349874415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349874509, 1349874571, 1349874589, 1349874580, 1349874424, 1349874415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.937925815582275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:41:42.110295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_31_2851.jpg', '/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_37_2792.jpg', '/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_40_2643.jpg', '/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_44_3557.jpg', '/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_49_2603.jpg', '/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_04_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_31_2851.jpg
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_37_2792.jpg
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_40_2643.jpg
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_44_3557.jpg
/home/pi/Desktop/images/15042025/12/40/image_15042025_12_40_49_2603.jpg
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_04_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874692","1349874668","1349874653","1349874637","1349874703","1349874712"],"photo_ids_order":["1349874637","1349874653","1349874668","1349874692","1349874703","1349874712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a2447f30c046f42e6965d6ecbc23801.jpg","text":"TemporaryFile(/tmp/multipartBody3549880882370184836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713762803,"filename":"image_15042025_12_40_44_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/379366ca17b348fd2e6e906e093d04c7.jpg","text":"TemporaryFile(/tmp/multipartBody1184894393961350474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713762803,"filename":"image_15042025_12_40_40_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e2efa044410f41a3276cfb953063c58.jpg","text":"TemporaryFile(/tmp/multipartBody6763430500241383128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713762803,"filename":"image_15042025_12_40_37_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f85a6323c336f64e16552eabb9ac75bc.jpg","text":"TemporaryFile(/tmp/multipartBody1763735754876144524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713762803,"filename":"image_15042025_12_40_31_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f018bff2867208f687e0b50208c7631d.jpg","text":"TemporaryFile(/tmp/multipartBody5202980717769514498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713762803,"filename":"image_15042025_12_40_49_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/859849195289065ab3abc6dd54e941d4.jpg","text":"TemporaryFile(/tmp/multipartBody8394061786601621298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713762803,"filename":"image_15042025_12_41_04_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874668","file1":"1349874653","file0":"1349874637","file4":"1349874703","file5":"1349874712","file3":"1349874692"},"map_files_photo_id_array":[{"photo_id":"1349874712","filename":"file5"},{"photo_id":"1349874668","filename":"file2"},{"photo_id":"1349874703","filename":"file4"},{"photo_id":"1349874653","filename":"file1"},{"photo_id":"1349874637","filename":"file0"},{"photo_id":"1349874692","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349874692":["hashtag1","hashtag2"]},{"1349874668":["hashtag1","hashtag2"]},{"1349874653":["hashtag1","hashtag2"]},{"1349874637":["hashtag1","hashtag2"]},{"1349874703":["hashtag1","hashtag2"]},{"1349874712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349874692, 1349874668, 1349874653, 1349874637, 1349874703, 1349874712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63671636581421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:42:21.810820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_13_2595.jpg', '/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_16_2663.jpg', '/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_19_3575.jpg', '/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_34_3566.jpg', '/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_40_2672.jpg', '/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_50_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_13_2595.jpg
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_16_2663.jpg
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_19_3575.jpg
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_34_3566.jpg
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_40_2672.jpg
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_50_1649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874788","1349874782","1349874803","1349874778","1349874775","1349874795"],"photo_ids_order":["1349874775","1349874778","1349874782","1349874788","1349874795","1349874803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df4ddc0a6e2a585a8fd185c636b8d1d4.jpg","text":"TemporaryFile(/tmp/multipartBody931537169045802556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713802454,"filename":"image_15042025_12_41_34_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04c3f431bb8f3fe10f285a262a597ad2.jpg","text":"TemporaryFile(/tmp/multipartBody1385878536588409628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713802454,"filename":"image_15042025_12_41_19_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5be45718b02b6ea9328ec0cbe3f5a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5199070419238489397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713802454,"filename":"image_15042025_12_41_50_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f8bb6289764000f806b5d9e80f76682.jpg","text":"TemporaryFile(/tmp/multipartBody6390610421062144532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713802454,"filename":"image_15042025_12_41_16_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eeb8fd422987c78657e0f20741b3f9e3.jpg","text":"TemporaryFile(/tmp/multipartBody575671604423905951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713802454,"filename":"image_15042025_12_41_13_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e937b92fad302aa8d9000376682c4d96.jpg","text":"TemporaryFile(/tmp/multipartBody5792576101153006660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713802454,"filename":"image_15042025_12_41_40_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874782","file1":"1349874778","file0":"1349874775","file4":"1349874795","file5":"1349874803","file3":"1349874788"},"map_files_photo_id_array":[{"photo_id":"1349874803","filename":"file5"},{"photo_id":"1349874782","filename":"file2"},{"photo_id":"1349874795","filename":"file4"},{"photo_id":"1349874778","filename":"file1"},{"photo_id":"1349874775","filename":"file0"},{"photo_id":"1349874788","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349874788":["hashtag1","hashtag2"]},{"1349874782":["hashtag1","hashtag2"]},{"1349874803":["hashtag1","hashtag2"]},{"1349874778":["hashtag1","hashtag2"]},{"1349874775":["hashtag1","hashtag2"]},{"1349874795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349874788, 1349874782, 1349874803, 1349874778, 1349874775, 1349874795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46242880821228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:43:03.317312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_52_1755.jpg', '/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_55_1856.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_04_3679.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_07_2679.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_13_3806.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_16_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_52_1755.jpg
/home/pi/Desktop/images/15042025/12/41/image_15042025_12_41_55_1856.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_04_3679.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_07_2679.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_13_3806.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_16_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349874878","1349874854","1349874868","1349874873","1349874864","1349874858"],"photo_ids_order":["1349874854","1349874858","1349874864","1349874868","1349874873","1349874878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ecb4ff52f9355562717f1f05d300d53.jpg","text":"TemporaryFile(/tmp/multipartBody1244587473017737604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713844133,"filename":"image_15042025_12_42_16_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/221705596d5e04f0e0e6db550b6b817c.jpg","text":"TemporaryFile(/tmp/multipartBody3718938401557760722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713844133,"filename":"image_15042025_12_41_52_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f3bd7d36076f5a57c9a87a2612574db.jpg","text":"TemporaryFile(/tmp/multipartBody2597116868905338628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713844133,"filename":"image_15042025_12_42_07_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24bef2ddd4d25418e702ae2e0dc1de50.jpg","text":"TemporaryFile(/tmp/multipartBody9192370922112226343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713844133,"filename":"image_15042025_12_42_13_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3879f634d287782c29cb7562884722c.jpg","text":"TemporaryFile(/tmp/multipartBody674289893408101552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713844133,"filename":"image_15042025_12_42_04_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65ebd4157a98c0ea68874b86bb131505.jpg","text":"TemporaryFile(/tmp/multipartBody5711242014536746096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713844133,"filename":"image_15042025_12_41_55_1856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874864","file1":"1349874858","file0":"1349874854","file4":"1349874873","file5":"1349874878","file3":"1349874868"},"map_files_photo_id_array":[{"photo_id":"1349874878","filename":"file5"},{"photo_id":"1349874864","filename":"file2"},{"photo_id":"1349874873","filename":"file4"},{"photo_id":"1349874858","filename":"file1"},{"photo_id":"1349874854","filename":"file0"},{"photo_id":"1349874868","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349874878":["hashtag1","hashtag2"]},{"1349874854":["hashtag1","hashtag2"]},{"1349874868":["hashtag1","hashtag2"]},{"1349874873":["hashtag1","hashtag2"]},{"1349874864":["hashtag1","hashtag2"]},{"1349874858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349874878, 1349874854, 1349874868, 1349874873, 1349874864, 1349874858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35850739479065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:43:42.644959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_25_2681.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_28_2875.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_31_3577.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_34_2517.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_36_2618.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_40_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_25_2681.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_28_2875.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_31_3577.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_34_2517.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_36_2618.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_40_3607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875034","1349874950","1349875069","1349874985","1349874913","1349875074"],"photo_ids_order":["1349874913","1349874950","1349874985","1349875034","1349875069","1349875074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec2bda54beee2d23d0abb1d152c8018b.jpg","text":"TemporaryFile(/tmp/multipartBody9086911756322683369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713883324,"filename":"image_15042025_12_42_34_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/780c133555d0eaa483ec23032ca1b3a2.jpg","text":"TemporaryFile(/tmp/multipartBody3713671452670266303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713883324,"filename":"image_15042025_12_42_28_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f92539d0a7ca24eaab8e62dd398871ff.jpg","text":"TemporaryFile(/tmp/multipartBody7385103331499454960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713883324,"filename":"image_15042025_12_42_36_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60e22ad5277d160fbfa384c4118aaf57.jpg","text":"TemporaryFile(/tmp/multipartBody2974470816283765859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713883324,"filename":"image_15042025_12_42_31_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d53faf74fa34a907ebbe499b746f6c29.jpg","text":"TemporaryFile(/tmp/multipartBody457773847347363116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713883324,"filename":"image_15042025_12_42_25_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a83a68e440bbb5651213b9a5df646bab.jpg","text":"TemporaryFile(/tmp/multipartBody2216137402687963376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713883324,"filename":"image_15042025_12_42_40_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874985","file1":"1349874950","file0":"1349874913","file4":"1349875069","file5":"1349875074","file3":"1349875034"},"map_files_photo_id_array":[{"photo_id":"1349875074","filename":"file5"},{"photo_id":"1349874985","filename":"file2"},{"photo_id":"1349875069","filename":"file4"},{"photo_id":"1349874950","filename":"file1"},{"photo_id":"1349874913","filename":"file0"},{"photo_id":"1349875034","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349875034":["hashtag1","hashtag2"]},{"1349874950":["hashtag1","hashtag2"]},{"1349875069":["hashtag1","hashtag2"]},{"1349874985":["hashtag1","hashtag2"]},{"1349874913":["hashtag1","hashtag2"]},{"1349875074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349875034, 1349874950, 1349875069, 1349874985, 1349874913, 1349875074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80639314651489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:44:22.578182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_43_2804.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_49_3618.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_52_2690.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_54_2688.jpg', '/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_58_3888.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_01_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_43_2804.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_49_3618.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_52_2690.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_54_2688.jpg
/home/pi/Desktop/images/15042025/12/42/image_15042025_12_42_58_3888.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_01_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875101","1349875126","1349875108","1349875086","1349875116","1349875094"],"photo_ids_order":["1349875086","1349875094","1349875101","1349875108","1349875116","1349875126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c315a2c89ec2f82cb9e1884188953af7.jpg","text":"TemporaryFile(/tmp/multipartBody168164630174220231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713923234,"filename":"image_15042025_12_42_52_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d1247869ef55d3e157c1becbfd9f1f7.jpg","text":"TemporaryFile(/tmp/multipartBody7391693154872548390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713923234,"filename":"image_15042025_12_43_01_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c05f92da70ecbdc8f15f24d1caae63fa.jpg","text":"TemporaryFile(/tmp/multipartBody136994004066659811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713923234,"filename":"image_15042025_12_42_54_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7471b396bb53d78fa15999a7a5d7d682.jpg","text":"TemporaryFile(/tmp/multipartBody777395077149327075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713923234,"filename":"image_15042025_12_42_43_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/626a8603b8f92992996da532d92da6e2.jpg","text":"TemporaryFile(/tmp/multipartBody5683642465774550356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713923234,"filename":"image_15042025_12_42_58_3888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96768e4537837f12a4a1c4215f3de4d8.jpg","text":"TemporaryFile(/tmp/multipartBody6914263817076608464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713923234,"filename":"image_15042025_12_42_49_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349875101","file1":"1349875094","file0":"1349875086","file4":"1349875116","file5":"1349875126","file3":"1349875108"},"map_files_photo_id_array":[{"photo_id":"1349875126","filename":"file5"},{"photo_id":"1349875101","filename":"file2"},{"photo_id":"1349875116","filename":"file4"},{"photo_id":"1349875094","filename":"file1"},{"photo_id":"1349875086","filename":"file0"},{"photo_id":"1349875108","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349875101":["hashtag1","hashtag2"]},{"1349875126":["hashtag1","hashtag2"]},{"1349875108":["hashtag1","hashtag2"]},{"1349875086":["hashtag1","hashtag2"]},{"1349875116":["hashtag1","hashtag2"]},{"1349875094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349875101, 1349875126, 1349875108, 1349875086, 1349875116, 1349875094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69891023635864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:45:02.845462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_04_2553.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_07_3749.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_12_2630.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_16_3690.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_19_2623.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_25_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_04_2553.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_07_3749.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_12_2630.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_16_3690.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_19_2623.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_25_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875328","1349875144","1349875344","1349875149","1349875356","1349875320"],"photo_ids_order":["1349875144","1349875149","1349875320","1349875328","1349875344","1349875356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db0b6e9f7ec532a0e9593e0b5de7777b.jpg","text":"TemporaryFile(/tmp/multipartBody9106385259277064403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713963639,"filename":"image_15042025_12_43_16_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/962ebb6fc5cdf386a94e8670902c600c.jpg","text":"TemporaryFile(/tmp/multipartBody1708986195427088825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713963639,"filename":"image_15042025_12_43_04_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/770005884a23de96f86c8d716f9d7883.jpg","text":"TemporaryFile(/tmp/multipartBody2482610998068109879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713963639,"filename":"image_15042025_12_43_19_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c63867ec6c1f40a4a6f63d37c02662e9.jpg","text":"TemporaryFile(/tmp/multipartBody5149366548381391431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713963639,"filename":"image_15042025_12_43_07_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0e6325626e1dc27672b5b7587ca318c.jpg","text":"TemporaryFile(/tmp/multipartBody8328713408421425704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713963639,"filename":"image_15042025_12_43_25_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3010f99aacf103553591a49097514e7.jpg","text":"TemporaryFile(/tmp/multipartBody1225432136346509447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713963639,"filename":"image_15042025_12_43_12_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349875320","file1":"1349875149","file0":"1349875144","file4":"1349875344","file5":"1349875356","file3":"1349875328"},"map_files_photo_id_array":[{"photo_id":"1349875356","filename":"file5"},{"photo_id":"1349875320","filename":"file2"},{"photo_id":"1349875344","filename":"file4"},{"photo_id":"1349875149","filename":"file1"},{"photo_id":"1349875144","filename":"file0"},{"photo_id":"1349875328","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349875328":["hashtag1","hashtag2"]},{"1349875144":["hashtag1","hashtag2"]},{"1349875344":["hashtag1","hashtag2"]},{"1349875149":["hashtag1","hashtag2"]},{"1349875356":["hashtag1","hashtag2"]},{"1349875320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349875328, 1349875144, 1349875344, 1349875149, 1349875356, 1349875320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94467544555664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:45:42.196238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_31_3704.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_34_2779.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_37_2538.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_40_3492.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_43_2537.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_46_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_31_3704.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_34_2779.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_37_2538.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_40_3492.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_43_2537.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_46_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875397","1349875383","1349875377","1349875386","1349875371","1349875391"],"photo_ids_order":["1349875371","1349875377","1349875383","1349875386","1349875391","1349875397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/578e614e3c76a6932252a12dc9ff4069.jpg","text":"TemporaryFile(/tmp/multipartBody7898766239867775114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714002887,"filename":"image_15042025_12_43_46_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bd51b202078e41a0747842f028c9d24.jpg","text":"TemporaryFile(/tmp/multipartBody3458473333159309789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714002887,"filename":"image_15042025_12_43_37_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/016edbcbbf004b72f563be8e3ed67a83.jpg","text":"TemporaryFile(/tmp/multipartBody7217874930668784423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714002887,"filename":"image_15042025_12_43_34_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da845955e7c015d68d2c1a1c97bdd694.jpg","text":"TemporaryFile(/tmp/multipartBody3175862114619412882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714002887,"filename":"image_15042025_12_43_40_3492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/431dfd29ce0cb8b9bf953a57bf98e166.jpg","text":"TemporaryFile(/tmp/multipartBody7805581204439663253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714002887,"filename":"image_15042025_12_43_31_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd320c8e291175c7ddee8c84da8b4c24.jpg","text":"TemporaryFile(/tmp/multipartBody285126858543617457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714002887,"filename":"image_15042025_12_43_43_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349875383","file1":"1349875377","file0":"1349875371","file4":"1349875391","file5":"1349875397","file3":"1349875386"},"map_files_photo_id_array":[{"photo_id":"1349875397","filename":"file5"},{"photo_id":"1349875383","filename":"file2"},{"photo_id":"1349875391","filename":"file4"},{"photo_id":"1349875377","filename":"file1"},{"photo_id":"1349875371","filename":"file0"},{"photo_id":"1349875386","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349875397":["hashtag1","hashtag2"]},{"1349875383":["hashtag1","hashtag2"]},{"1349875377":["hashtag1","hashtag2"]},{"1349875386":["hashtag1","hashtag2"]},{"1349875371":["hashtag1","hashtag2"]},{"1349875391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349875397, 1349875383, 1349875377, 1349875386, 1349875371, 1349875391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18271589279175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:46:22.528252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_49_2696.jpg', '/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_52_2867.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_01_2774.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_04_2697.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_07_3582.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_10_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_49_2696.jpg
/home/pi/Desktop/images/15042025/12/43/image_15042025_12_43_52_2867.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_01_2774.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_04_2697.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_07_3582.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_10_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875427","1349875414","1349875423","1349875431","1349875440","1349875410"],"photo_ids_order":["1349875410","1349875414","1349875423","1349875427","1349875431","1349875440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24d9c613b2a426122607c236da0a9ed6.jpg","text":"TemporaryFile(/tmp/multipartBody4849296338535827855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714043196,"filename":"image_15042025_12_44_04_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b3acc3cdacf1c10b59b42078a9ebdc7.jpg","text":"TemporaryFile(/tmp/multipartBody3887057224549041388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714043196,"filename":"image_15042025_12_43_52_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e58651b0d0e47d33f2f98384bfa8270.jpg","text":"TemporaryFile(/tmp/multipartBody9022094697888345302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714043196,"filename":"image_15042025_12_44_01_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87606d9c265128fb5803f9fafc4ef44f.jpg","text":"TemporaryFile(/tmp/multipartBody3343852623458494933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714043196,"filename":"image_15042025_12_44_07_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4ce4a88f52731ffb0e0117e5bd26ee8.jpg","text":"TemporaryFile(/tmp/multipartBody4541060072953760786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714043196,"filename":"image_15042025_12_44_10_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f07c65ae5ecba6040c3a6f74f817132.jpg","text":"TemporaryFile(/tmp/multipartBody5035823578072152296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714043196,"filename":"image_15042025_12_43_49_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349875423","file1":"1349875414","file0":"1349875410","file4":"1349875431","file5":"1349875440","file3":"1349875427"},"map_files_photo_id_array":[{"photo_id":"1349875440","filename":"file5"},{"photo_id":"1349875423","filename":"file2"},{"photo_id":"1349875431","filename":"file4"},{"photo_id":"1349875414","filename":"file1"},{"photo_id":"1349875410","filename":"file0"},{"photo_id":"1349875427","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349875427":["hashtag1","hashtag2"]},{"1349875414":["hashtag1","hashtag2"]},{"1349875423":["hashtag1","hashtag2"]},{"1349875431":["hashtag1","hashtag2"]},{"1349875440":["hashtag1","hashtag2"]},{"1349875410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349875427, 1349875414, 1349875423, 1349875431, 1349875440, 1349875410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62574625015259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:47:06.113848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:47:22.099910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_13_2740.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_16_3584.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_19_2681.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_22_2744.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_25_3551.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_28_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_13_2740.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_16_3584.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_19_2681.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_22_2744.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_25_3551.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_28_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875593","1349875581","1349875530","1349875608","1349875602","1349875586"],"photo_ids_order":["1349875530","1349875581","1349875586","1349875593","1349875602","1349875608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba7e363e6172290050d5246ad91ee669.jpg","text":"TemporaryFile(/tmp/multipartBody6033382614503286093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714102869,"filename":"image_15042025_12_44_22_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6613ff70b4d27b002702b920f71a97fc.jpg","text":"TemporaryFile(/tmp/multipartBody9029814383268553805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714102869,"filename":"image_15042025_12_44_16_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97514081389e3cffc4afd22ec0ee5a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5120527439277699641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714102869,"filename":"image_15042025_12_44_13_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d82dc48cdde138ebad7d901eb817bd26.jpg","text":"TemporaryFile(/tmp/multipartBody4158579809839030452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714102869,"filename":"image_15042025_12_44_28_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c0bb940ee089d4b83700d71f2141ada.jpg","text":"TemporaryFile(/tmp/multipartBody4382174403654697237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714102869,"filename":"image_15042025_12_44_25_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c09279032626a9e717b685b483d6bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5498919126208004521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714102869,"filename":"image_15042025_12_44_19_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349875586","file1":"1349875581","file0":"1349875530","file4":"1349875602","file5":"1349875608","file3":"1349875593"},"map_files_photo_id_array":[{"photo_id":"1349875608","filename":"file5"},{"photo_id":"1349875586","filename":"file2"},{"photo_id":"1349875602","filename":"file4"},{"photo_id":"1349875581","filename":"file1"},{"photo_id":"1349875530","filename":"file0"},{"photo_id":"1349875593","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349875593":["hashtag1","hashtag2"]},{"1349875581":["hashtag1","hashtag2"]},{"1349875530":["hashtag1","hashtag2"]},{"1349875608":["hashtag1","hashtag2"]},{"1349875602":["hashtag1","hashtag2"]},{"1349875586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349875593, 1349875581, 1349875530, 1349875608, 1349875602, 1349875586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71022176742554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:48:03.425813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:48:25.543524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_30_2633.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_34_3720.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_46_2743.jpg', '/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_51_2658.jpg', '/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_09_2565.jpg', '/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_13_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_30_2633.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_34_3720.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_46_2743.jpg
/home/pi/Desktop/images/15042025/12/44/image_15042025_12_44_51_2658.jpg
/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_09_2565.jpg
/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_13_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875727","1349875721","1349875715","1349875730","1349875852","1349875818"],"photo_ids_order":["1349875715","1349875721","1349875727","1349875730","1349875818","1349875852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc0d1cb1706c2325f2abd5682718ce0e.jpg","text":"TemporaryFile(/tmp/multipartBody1910720820886903733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714166226,"filename":"image_15042025_12_44_46_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d03ff918f1e32d313a57a196b22f52ba.jpg","text":"TemporaryFile(/tmp/multipartBody761960585424918155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714166226,"filename":"image_15042025_12_44_34_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21239f883c0985f81bf8339bc7fb31a8.jpg","text":"TemporaryFile(/tmp/multipartBody3736917688262070959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714166226,"filename":"image_15042025_12_44_30_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdf19d209c40337e6db3faccd185c330.jpg","text":"TemporaryFile(/tmp/multipartBody4460242523480199848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714166226,"filename":"image_15042025_12_44_51_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5bd0d112c8a0a619df6e79631b4ba7a.jpg","text":"TemporaryFile(/tmp/multipartBody8625399046394968198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714166226,"filename":"image_15042025_12_45_13_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb4c26141a8cf90fb7092e352267943e.jpg","text":"TemporaryFile(/tmp/multipartBody1513044472035259894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714166226,"filename":"image_15042025_12_45_09_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349875727","file1":"1349875721","file0":"1349875715","file4":"1349875818","file5":"1349875852","file3":"1349875730"},"map_files_photo_id_array":[{"photo_id":"1349875852","filename":"file5"},{"photo_id":"1349875727","filename":"file2"},{"photo_id":"1349875818","filename":"file4"},{"photo_id":"1349875721","filename":"file1"},{"photo_id":"1349875715","filename":"file0"},{"photo_id":"1349875730","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349875727":["hashtag1","hashtag2"]},{"1349875721":["hashtag1","hashtag2"]},{"1349875715":["hashtag1","hashtag2"]},{"1349875730":["hashtag1","hashtag2"]},{"1349875852":["hashtag1","hashtag2"]},{"1349875818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349875727, 1349875721, 1349875715, 1349875730, 1349875852, 1349875818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29557919502258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:49:03.497842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_16_2692.jpg', '/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_25_3560.jpg', '/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_34_3561.jpg', '/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_43_3558.jpg', '/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_49_3648.jpg', '/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_16_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_16_2692.jpg
/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_25_3560.jpg
/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_34_3561.jpg
/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_43_3558.jpg
/home/pi/Desktop/images/15042025/12/45/image_15042025_12_45_49_3648.jpg
/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_16_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875937","1349875969","1349875963","1349875921","1349875930","1349875956"],"photo_ids_order":["1349875921","1349875930","1349875937","1349875956","1349875963","1349875969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/385aebe2251860ff1f17909c73c77548.jpg","text":"TemporaryFile(/tmp/multipartBody6518472744676178670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714204513,"filename":"image_15042025_12_45_34_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41c3fb31ce9154766cb504409e61fd39.jpg","text":"TemporaryFile(/tmp/multipartBody6378068101842182396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714204513,"filename":"image_15042025_12_46_16_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ebac96f43be7e20d475bf480a599a37.jpg","text":"TemporaryFile(/tmp/multipartBody3703740364765235422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714204513,"filename":"image_15042025_12_45_49_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77b702f850f91f75ac825c83142ad018.jpg","text":"TemporaryFile(/tmp/multipartBody6203523742227043478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714204513,"filename":"image_15042025_12_45_16_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e58d2c848ced2e45f3a0879e2626b949.jpg","text":"TemporaryFile(/tmp/multipartBody4317725904884007635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714204513,"filename":"image_15042025_12_45_25_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a446806967c3eba3ad8d5fe8f4266159.jpg","text":"TemporaryFile(/tmp/multipartBody6127034849075268083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714204513,"filename":"image_15042025_12_45_43_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349875937","file1":"1349875930","file0":"1349875921","file4":"1349875963","file5":"1349875969","file3":"1349875956"},"map_files_photo_id_array":[{"photo_id":"1349875969","filename":"file5"},{"photo_id":"1349875937","filename":"file2"},{"photo_id":"1349875963","filename":"file4"},{"photo_id":"1349875930","filename":"file1"},{"photo_id":"1349875921","filename":"file0"},{"photo_id":"1349875956","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349875937":["hashtag1","hashtag2"]},{"1349875969":["hashtag1","hashtag2"]},{"1349875963":["hashtag1","hashtag2"]},{"1349875921":["hashtag1","hashtag2"]},{"1349875930":["hashtag1","hashtag2"]},{"1349875956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349875937, 1349875969, 1349875963, 1349875921, 1349875930, 1349875956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90354108810425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:49:42.317432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_21_2664.jpg', '/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_25_3597.jpg', '/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_36_2565.jpg', '/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_43_3749.jpg', '/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_51_2587.jpg', '/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_55_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_21_2664.jpg
/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_25_3597.jpg
/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_36_2565.jpg
/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_43_3749.jpg
/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_51_2587.jpg
/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_55_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349875999","1349875984","1349876029","1349876011","1349876008","1349876004"],"photo_ids_order":["1349875984","1349875999","1349876004","1349876008","1349876011","1349876029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7da66be932e65c1c2168657aa58e47a8.jpg","text":"TemporaryFile(/tmp/multipartBody496494522172901221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714243021,"filename":"image_15042025_12_46_25_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40143874d426ffa710340cd7b7b315e9.jpg","text":"TemporaryFile(/tmp/multipartBody8061194420884582530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714243021,"filename":"image_15042025_12_46_21_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2369847e700cf34993b43fa5b0a31588.jpg","text":"TemporaryFile(/tmp/multipartBody109905710106724997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714243021,"filename":"image_15042025_12_46_55_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55ec334b26426e5dc614810163d43025.jpg","text":"TemporaryFile(/tmp/multipartBody3019858234622053323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714243021,"filename":"image_15042025_12_46_51_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34b86beea426dba4aa5107984edecb74.jpg","text":"TemporaryFile(/tmp/multipartBody3745997985771263371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714243021,"filename":"image_15042025_12_46_43_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7cc9af1f5ed2e2ff799823a112c7926.jpg","text":"TemporaryFile(/tmp/multipartBody7876670645005152197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714243021,"filename":"image_15042025_12_46_36_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876004","file1":"1349875999","file0":"1349875984","file4":"1349876011","file5":"1349876029","file3":"1349876008"},"map_files_photo_id_array":[{"photo_id":"1349876029","filename":"file5"},{"photo_id":"1349876004","filename":"file2"},{"photo_id":"1349876011","filename":"file4"},{"photo_id":"1349875999","filename":"file1"},{"photo_id":"1349875984","filename":"file0"},{"photo_id":"1349876008","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349875999":["hashtag1","hashtag2"]},{"1349875984":["hashtag1","hashtag2"]},{"1349876029":["hashtag1","hashtag2"]},{"1349876011":["hashtag1","hashtag2"]},{"1349876008":["hashtag1","hashtag2"]},{"1349876004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349875999, 1349875984, 1349876029, 1349876011, 1349876008, 1349876004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14436984062195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:50:22.440005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_57_2559.jpg', '/home/pi/Desktop/images/15042025/12/47/image_15042025_12_47_32_1660.jpg', '/home/pi/Desktop/images/15042025/12/47/image_15042025_12_47_51_8843.jpg', '/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_17_10545.jpg', '/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_43_1665.jpg', '/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_54_1854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/46/image_15042025_12_46_57_2559.jpg
/home/pi/Desktop/images/15042025/12/47/image_15042025_12_47_32_1660.jpg
/home/pi/Desktop/images/15042025/12/47/image_15042025_12_47_51_8843.jpg
/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_17_10545.jpg
/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_43_1665.jpg
/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_54_1854.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876083","1349876070","1349876049","1349876060","1349876051","1349876045"],"photo_ids_order":["1349876045","1349876049","1349876051","1349876060","1349876070","1349876083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9c9e06d4d05a2255f04152809600c5c.jpg","text":"TemporaryFile(/tmp/multipartBody2539905613640738190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714283125,"filename":"image_15042025_12_48_54_1854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36617fcabced8dc12976b42c35ed14e4.jpg","text":"TemporaryFile(/tmp/multipartBody3153748308934018770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714283125,"filename":"image_15042025_12_48_43_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71e16f31c2999419a36bc891b33b3b03.jpg","text":"TemporaryFile(/tmp/multipartBody347765908177348738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714283125,"filename":"image_15042025_12_47_32_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1edea1f25a62d32dbd193894d07af15.jpg","text":"TemporaryFile(/tmp/multipartBody7791212199015586408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714283125,"filename":"image_15042025_12_48_17_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a7befeea712d920a61748e9f82efd8d.jpg","text":"TemporaryFile(/tmp/multipartBody8799739725819284542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714283125,"filename":"image_15042025_12_47_51_8843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1014256b3bd1133ff6d8ffc9e4b99da.jpg","text":"TemporaryFile(/tmp/multipartBody2917640857839988872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714283125,"filename":"image_15042025_12_46_57_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876051","file1":"1349876049","file0":"1349876045","file4":"1349876070","file5":"1349876083","file3":"1349876060"},"map_files_photo_id_array":[{"photo_id":"1349876083","filename":"file5"},{"photo_id":"1349876051","filename":"file2"},{"photo_id":"1349876070","filename":"file4"},{"photo_id":"1349876049","filename":"file1"},{"photo_id":"1349876045","filename":"file0"},{"photo_id":"1349876060","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349876083":["hashtag1","hashtag2"]},{"1349876070":["hashtag1","hashtag2"]},{"1349876049":["hashtag1","hashtag2"]},{"1349876060":["hashtag1","hashtag2"]},{"1349876051":["hashtag1","hashtag2"]},{"1349876045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349876083, 1349876070, 1349876049, 1349876060, 1349876051, 1349876045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74427771568298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:51:03.549695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_59_4071.jpg', '/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_01_1650.jpg', '/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_03_1563.jpg', '/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_09_1648.jpg', '/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_22_3630.jpg', '/home/pi/Desktop/images/15042025/12/50/image_15042025_12_50_18_3201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/48/image_15042025_12_48_59_4071.jpg
/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_01_1650.jpg
/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_03_1563.jpg
/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_09_1648.jpg
/home/pi/Desktop/images/15042025/12/49/image_15042025_12_49_22_3630.jpg
/home/pi/Desktop/images/15042025/12/50/image_15042025_12_50_18_3201.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876140","1349876116","1349876131","1349876145","1349876124","1349876135"],"photo_ids_order":["1349876116","1349876124","1349876131","1349876135","1349876140","1349876145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e14ffda1e637cb6355da6a11d2048b9.jpg","text":"TemporaryFile(/tmp/multipartBody6003758766656848668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714324375,"filename":"image_15042025_12_49_22_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99d6a57b0d3aae9b00499d3f9ae94063.jpg","text":"TemporaryFile(/tmp/multipartBody8382350783504968702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714324375,"filename":"image_15042025_12_48_59_4071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8d50fe9d9dc38bb1644879d29c9df27.jpg","text":"TemporaryFile(/tmp/multipartBody1900171649338684418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714324375,"filename":"image_15042025_12_49_03_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccc3d14d7985ac343d5d597536b6d518.jpg","text":"TemporaryFile(/tmp/multipartBody8660963862469826102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714324375,"filename":"image_15042025_12_50_18_3201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94ddbdee3587f9a0335abf0e98aaab5e.jpg","text":"TemporaryFile(/tmp/multipartBody7367396697868223363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714324375,"filename":"image_15042025_12_49_01_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02ecad820b71ef22b42babbe3c95a9cb.jpg","text":"TemporaryFile(/tmp/multipartBody6578530006522908575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714324375,"filename":"image_15042025_12_49_09_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876131","file1":"1349876124","file0":"1349876116","file4":"1349876140","file5":"1349876145","file3":"1349876135"},"map_files_photo_id_array":[{"photo_id":"1349876145","filename":"file5"},{"photo_id":"1349876131","filename":"file2"},{"photo_id":"1349876140","filename":"file4"},{"photo_id":"1349876124","filename":"file1"},{"photo_id":"1349876116","filename":"file0"},{"photo_id":"1349876135","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349876140":["hashtag1","hashtag2"]},{"1349876116":["hashtag1","hashtag2"]},{"1349876131":["hashtag1","hashtag2"]},{"1349876145":["hashtag1","hashtag2"]},{"1349876124":["hashtag1","hashtag2"]},{"1349876135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349876140, 1349876116, 1349876131, 1349876145, 1349876124, 1349876135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71339130401611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:51:42.812799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/50/image_15042025_12_50_21_2836.jpg', '/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_03_3783.jpg', '/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_06_2740.jpg', '/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_09_2669.jpg', '/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_12_2778.jpg', '/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_15_3792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/50/image_15042025_12_50_21_2836.jpg
/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_03_3783.jpg
/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_06_2740.jpg
/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_09_2669.jpg
/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_12_2778.jpg
/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_15_3792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876330","1349876281","1349876335","1349876364","1349876247","1349876304"],"photo_ids_order":["1349876247","1349876281","1349876304","1349876330","1349876335","1349876364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef4865aa6925164d4620d9181559c2b6.jpg","text":"TemporaryFile(/tmp/multipartBody4136181354083193321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714363506,"filename":"image_15042025_12_51_09_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7fdc33fa67141636beaffc58266e18eb.jpg","text":"TemporaryFile(/tmp/multipartBody322885423771454081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714363506,"filename":"image_15042025_12_51_03_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/077ce696821e5e054f64912dc218be53.jpg","text":"TemporaryFile(/tmp/multipartBody8259459308007972498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714363506,"filename":"image_15042025_12_51_12_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae049235f7d5266915a5e5fc1a6ea0c6.jpg","text":"TemporaryFile(/tmp/multipartBody846283807930838680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714363506,"filename":"image_15042025_12_51_15_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2a643d881d518a2db0ecd0019609130.jpg","text":"TemporaryFile(/tmp/multipartBody692867869395933653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714363506,"filename":"image_15042025_12_50_21_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4894f7e720d2a03443acd75a98f81fc.jpg","text":"TemporaryFile(/tmp/multipartBody2838517303929150257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714363506,"filename":"image_15042025_12_51_06_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876304","file1":"1349876281","file0":"1349876247","file4":"1349876335","file5":"1349876364","file3":"1349876330"},"map_files_photo_id_array":[{"photo_id":"1349876364","filename":"file5"},{"photo_id":"1349876304","filename":"file2"},{"photo_id":"1349876335","filename":"file4"},{"photo_id":"1349876281","filename":"file1"},{"photo_id":"1349876247","filename":"file0"},{"photo_id":"1349876330","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349876330":["hashtag1","hashtag2"]},{"1349876281":["hashtag1","hashtag2"]},{"1349876335":["hashtag1","hashtag2"]},{"1349876364":["hashtag1","hashtag2"]},{"1349876247":["hashtag1","hashtag2"]},{"1349876304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349876330, 1349876281, 1349876335, 1349876364, 1349876247, 1349876304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01240396499634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:52:22.508039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_21_2538.jpg', '/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_43_2481.jpg', '/home/pi/Desktop/images/15042025/12/51/image_15042025_12_52_00_2676.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_03_3597.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_06_2541.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_09_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_21_2538.jpg
/home/pi/Desktop/images/15042025/12/51/image_15042025_12_51_43_2481.jpg
/home/pi/Desktop/images/15042025/12/51/image_15042025_12_52_00_2676.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_03_3597.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_06_2541.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_09_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876455","1349876496","1349876421","1349876439","1349876427","1349876399"],"photo_ids_order":["1349876399","1349876421","1349876427","1349876439","1349876455","1349876496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2e7e1fa922d952311895c72b75fb395.jpg","text":"TemporaryFile(/tmp/multipartBody3458093954343888183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714403195,"filename":"image_15042025_12_52_06_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f514ac17c31072b49b0a6a7f47ec599.jpg","text":"TemporaryFile(/tmp/multipartBody1515449093079741826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714403195,"filename":"image_15042025_12_52_09_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ee582fd38135aae6b298c788adb6d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7122485837734488322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714403195,"filename":"image_15042025_12_51_43_2481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24bfbbfa239dc5197e3efa5f9d2af599.jpg","text":"TemporaryFile(/tmp/multipartBody3970216958683222721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714403195,"filename":"image_15042025_12_52_03_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b14518b1879757a932b80a11b47b4de7.jpg","text":"TemporaryFile(/tmp/multipartBody5839253535385248372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714403195,"filename":"image_15042025_12_52_00_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eaa32fa88d431bd1f76dec4b2735596b.jpg","text":"TemporaryFile(/tmp/multipartBody1759857670505265147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714403195,"filename":"image_15042025_12_51_21_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876427","file1":"1349876421","file0":"1349876399","file4":"1349876455","file5":"1349876496","file3":"1349876439"},"map_files_photo_id_array":[{"photo_id":"1349876496","filename":"file5"},{"photo_id":"1349876427","filename":"file2"},{"photo_id":"1349876455","filename":"file4"},{"photo_id":"1349876421","filename":"file1"},{"photo_id":"1349876399","filename":"file0"},{"photo_id":"1349876439","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349876455":["hashtag1","hashtag2"]},{"1349876496":["hashtag1","hashtag2"]},{"1349876421":["hashtag1","hashtag2"]},{"1349876439":["hashtag1","hashtag2"]},{"1349876427":["hashtag1","hashtag2"]},{"1349876399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349876455, 1349876496, 1349876421, 1349876439, 1349876427, 1349876399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38931322097778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:53:03.386863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_12_3926.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_15_2771.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_18_2566.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_21_3623.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_24_2736.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_27_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_12_3926.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_15_2771.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_18_2566.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_21_3623.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_24_2736.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_27_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876557","1349876545","1349876541","1349876538","1349876526","1349876552"],"photo_ids_order":["1349876526","1349876538","1349876541","1349876545","1349876552","1349876557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43c82915f5dcdc620caa2814dca71ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8670640929291002927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714444193,"filename":"image_15042025_12_52_27_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/990a9784ee8c46a93d5ba9b5330ff479.jpg","text":"TemporaryFile(/tmp/multipartBody5951568084631333631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714444193,"filename":"image_15042025_12_52_21_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/abfc6b3bea47f697c73b9f7362ceb735.jpg","text":"TemporaryFile(/tmp/multipartBody4506569990944102793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714444193,"filename":"image_15042025_12_52_18_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32ac5e864096d2ae23da8ad2aa87a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody7191491155404738662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714444193,"filename":"image_15042025_12_52_15_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd47f71b6d7b561a4f396d3fd7f741df.jpg","text":"TemporaryFile(/tmp/multipartBody2817911771022876214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714444193,"filename":"image_15042025_12_52_12_3926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a89797bf7739c858ba8d08560ce56ba.jpg","text":"TemporaryFile(/tmp/multipartBody9122022715819847427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714444193,"filename":"image_15042025_12_52_24_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876541","file1":"1349876538","file0":"1349876526","file4":"1349876552","file5":"1349876557","file3":"1349876545"},"map_files_photo_id_array":[{"photo_id":"1349876557","filename":"file5"},{"photo_id":"1349876541","filename":"file2"},{"photo_id":"1349876552","filename":"file4"},{"photo_id":"1349876538","filename":"file1"},{"photo_id":"1349876526","filename":"file0"},{"photo_id":"1349876545","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349876557":["hashtag1","hashtag2"]},{"1349876545":["hashtag1","hashtag2"]},{"1349876541":["hashtag1","hashtag2"]},{"1349876538":["hashtag1","hashtag2"]},{"1349876526":["hashtag1","hashtag2"]},{"1349876552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349876557, 1349876545, 1349876541, 1349876538, 1349876526, 1349876552)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.34384202957153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:54:05.878348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_30_3553.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_33_2607.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_35_2554.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_45_2804.jpg', '/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_48_3588.jpg', '/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_05_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_30_3553.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_33_2607.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_35_2554.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_45_2804.jpg
/home/pi/Desktop/images/15042025/12/52/image_15042025_12_52_48_3588.jpg
/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_05_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876749","1349876743","1349876728","1349876713","1349876754","1349876738"],"photo_ids_order":["1349876713","1349876728","1349876738","1349876743","1349876749","1349876754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21fadba44b5011cfd20b48763b019eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2906650301917514984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714506793,"filename":"image_15042025_12_52_48_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b393afa3f2a0db5d2a1ad86c86166c58.jpg","text":"TemporaryFile(/tmp/multipartBody2737653362448739232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714506793,"filename":"image_15042025_12_52_45_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/475a6f3ac0c16afbaa2248e413a0fa96.jpg","text":"TemporaryFile(/tmp/multipartBody7815035626434772738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714506793,"filename":"image_15042025_12_52_33_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11457e8bc5cfcc01d1e412f430811373.jpg","text":"TemporaryFile(/tmp/multipartBody2756157411434737214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714506793,"filename":"image_15042025_12_52_30_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/836d0dc30d21692384711125cdd39ed1.jpg","text":"TemporaryFile(/tmp/multipartBody768523647561276632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714506793,"filename":"image_15042025_12_53_05_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd9a2535b198ad5f704394c035be3e14.jpg","text":"TemporaryFile(/tmp/multipartBody3668711817084217397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714506793,"filename":"image_15042025_12_52_35_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876738","file1":"1349876728","file0":"1349876713","file4":"1349876749","file5":"1349876754","file3":"1349876743"},"map_files_photo_id_array":[{"photo_id":"1349876754","filename":"file5"},{"photo_id":"1349876738","filename":"file2"},{"photo_id":"1349876749","filename":"file4"},{"photo_id":"1349876728","filename":"file1"},{"photo_id":"1349876713","filename":"file0"},{"photo_id":"1349876743","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349876749":["hashtag1","hashtag2"]},{"1349876743":["hashtag1","hashtag2"]},{"1349876728":["hashtag1","hashtag2"]},{"1349876713":["hashtag1","hashtag2"]},{"1349876754":["hashtag1","hashtag2"]},{"1349876738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349876749, 1349876743, 1349876728, 1349876713, 1349876754, 1349876738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.64053249359131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:55:01.734405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_09_3537.jpg', '/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_33_3500.jpg', '/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_45_2817.jpg', '/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_48_2869.jpg', '/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_11_2778.jpg', '/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_15_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_09_3537.jpg
/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_33_3500.jpg
/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_45_2817.jpg
/home/pi/Desktop/images/15042025/12/53/image_15042025_12_53_48_2869.jpg
/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_11_2778.jpg
/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_15_3728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876878","1349876860","1349876847","1349876808","1349876870","1349876864"],"photo_ids_order":["1349876808","1349876847","1349876860","1349876864","1349876870","1349876878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcfc979d355b44838b8c6fb902c4ee99.jpg","text":"TemporaryFile(/tmp/multipartBody3255054242775059437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714565329,"filename":"image_15042025_12_54_15_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf6272b31faa6bc4ff5bbdb7d75731e8.jpg","text":"TemporaryFile(/tmp/multipartBody4245248018581270762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714565329,"filename":"image_15042025_12_53_45_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/160cab25d351b97405c04600cb3d9194.jpg","text":"TemporaryFile(/tmp/multipartBody9058884761955927129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714565329,"filename":"image_15042025_12_53_33_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d827413cb221d55091f6b848b23517d.jpg","text":"TemporaryFile(/tmp/multipartBody1203598446473477076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714565329,"filename":"image_15042025_12_53_09_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e10db96be5acd95f8c6ed478a6cf4053.jpg","text":"TemporaryFile(/tmp/multipartBody450420182187172252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714565329,"filename":"image_15042025_12_54_11_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ba6c13ea35e5fbdd3edb75fcb14c501.jpg","text":"TemporaryFile(/tmp/multipartBody1950508255137834257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714565329,"filename":"image_15042025_12_53_48_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876860","file1":"1349876847","file0":"1349876808","file4":"1349876870","file5":"1349876878","file3":"1349876864"},"map_files_photo_id_array":[{"photo_id":"1349876878","filename":"file5"},{"photo_id":"1349876860","filename":"file2"},{"photo_id":"1349876870","filename":"file4"},{"photo_id":"1349876847","filename":"file1"},{"photo_id":"1349876808","filename":"file0"},{"photo_id":"1349876864","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349876878":["hashtag1","hashtag2"]},{"1349876860":["hashtag1","hashtag2"]},{"1349876847":["hashtag1","hashtag2"]},{"1349876808":["hashtag1","hashtag2"]},{"1349876870":["hashtag1","hashtag2"]},{"1349876864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349876878, 1349876860, 1349876847, 1349876808, 1349876870, 1349876864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.191572427749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:56:03.397396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_24_3611.jpg', '/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_30_3567.jpg', '/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_46_7419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_24_3611.jpg
/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_30_3567.jpg
/home/pi/Desktop/images/15042025/12/54/image_15042025_12_54_46_7419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876920","1349876911","1349876905"],"photo_ids_order":["1349876905","1349876911","1349876920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6dc8cc8e66b8c6d8a6261837195dc2d9.jpg","text":"TemporaryFile(/tmp/multipartBody6929073015176166844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714624053,"filename":"image_15042025_12_54_46_7419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af3a4f280d5513cb781765ff74828258.jpg","text":"TemporaryFile(/tmp/multipartBody125686832628198196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714624053,"filename":"image_15042025_12_54_30_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/016b1347c07da624c8eb61cd435b74d7.jpg","text":"TemporaryFile(/tmp/multipartBody7877583658753099810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714624053,"filename":"image_15042025_12_54_24_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876920","file1":"1349876911","file0":"1349876905"},"map_files_photo_id_array":[{"photo_id":"1349876920","filename":"file2"},{"photo_id":"1349876911","filename":"file1"},{"photo_id":"1349876905","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349876920":["hashtag1","hashtag2"]},{"1349876911":["hashtag1","hashtag2"]},{"1349876905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349876920, 1349876911, 1349876905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.489522457122803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 12:56:42.775615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/55/image_15042025_12_55_23_3508.jpg', '/home/pi/Desktop/images/15042025/12/56/image_15042025_12_56_08_2550.jpg', '/home/pi/Desktop/images/15042025/12/56/image_15042025_12_56_36_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/55/image_15042025_12_55_23_3508.jpg
/home/pi/Desktop/images/15042025/12/56/image_15042025_12_56_08_2550.jpg
/home/pi/Desktop/images/15042025/12/56/image_15042025_12_56_36_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349876950","1349876973","1349876957"],"photo_ids_order":["1349876950","1349876957","1349876973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a15b47c86223cd55716a7c2f1acbe8f.jpg","text":"TemporaryFile(/tmp/multipartBody4608969453984046077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714663364,"filename":"image_15042025_12_55_23_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8235ffca395ff56c4bc9a21ec945f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7975583092224830433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714663364,"filename":"image_15042025_12_56_36_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e5a5e3e7db1ad205ceb31f698fe8859.jpg","text":"TemporaryFile(/tmp/multipartBody3490754095626557532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714663364,"filename":"image_15042025_12_56_08_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349876973","file1":"1349876957","file0":"1349876950"},"map_files_photo_id_array":[{"photo_id":"1349876973","filename":"file2"},{"photo_id":"1349876957","filename":"file1"},{"photo_id":"1349876950","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349876950":["hashtag1","hashtag2"]},{"1349876973":["hashtag1","hashtag2"]},{"1349876957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349876950, 1349876973, 1349876957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.560607194900513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 12:57:22.244635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/56/image_15042025_12_56_48_3631.jpg', '/home/pi/Desktop/images/15042025/12/57/image_15042025_12_57_38_2744.jpg', '/home/pi/Desktop/images/15042025/12/57/image_15042025_12_57_44_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/56/image_15042025_12_56_48_3631.jpg
/home/pi/Desktop/images/15042025/12/57/image_15042025_12_57_38_2744.jpg
/home/pi/Desktop/images/15042025/12/57/image_15042025_12_57_44_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877153","1349877086","1349877119"],"photo_ids_order":["1349877086","1349877119","1349877153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5360a7a5fb8af4ae98e0c697312d4654.jpg","text":"TemporaryFile(/tmp/multipartBody1470530028904739411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714702847,"filename":"image_15042025_12_57_44_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/256dbb48034062c8be87ac4fc76eec98.jpg","text":"TemporaryFile(/tmp/multipartBody1177273589881248505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714702847,"filename":"image_15042025_12_56_48_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62f24bed216a70a3e83b9b26844f6f0d.jpg","text":"TemporaryFile(/tmp/multipartBody1079819225943020807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714702847,"filename":"image_15042025_12_57_38_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349877153","file1":"1349877119","file0":"1349877086"},"map_files_photo_id_array":[{"photo_id":"1349877153","filename":"file2"},{"photo_id":"1349877119","filename":"file1"},{"photo_id":"1349877086","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349877153":["hashtag1","hashtag2"]},{"1349877086":["hashtag1","hashtag2"]},{"1349877119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349877153, 1349877086, 1349877119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.59912657737732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 12:59:03.475126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/57/image_15042025_12_57_57_2737.jpg', '/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_03_3584.jpg', '/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_12_3676.jpg', '/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_15_2659.jpg', '/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_17_2734.jpg', '/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_23_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/57/image_15042025_12_57_57_2737.jpg
/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_03_3584.jpg
/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_12_3676.jpg
/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_15_2659.jpg
/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_17_2734.jpg
/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_23_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877469","1349877445","1349877549","1349877513","1349877491","1349877533"],"photo_ids_order":["1349877445","1349877469","1349877491","1349877513","1349877533","1349877549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/549d0577f9e83062468cd25f430d8b56.jpg","text":"TemporaryFile(/tmp/multipartBody6171650886999368895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714804352,"filename":"image_15042025_12_58_03_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/059d3cca40ad61abaedf6a771143b146.jpg","text":"TemporaryFile(/tmp/multipartBody5305377406439275107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714804352,"filename":"image_15042025_12_57_57_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4786e98f97a70b78b9f98fa05070090a.jpg","text":"TemporaryFile(/tmp/multipartBody7413356028138458830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714804352,"filename":"image_15042025_12_58_23_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/400222c08c8e8f405ad58128ab13c599.jpg","text":"TemporaryFile(/tmp/multipartBody7296798327812430044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714804352,"filename":"image_15042025_12_58_15_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5e109b0dbd4e665b73e7827d7613b25.jpg","text":"TemporaryFile(/tmp/multipartBody6351782855025205950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714804352,"filename":"image_15042025_12_58_12_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c6423a80ef2f05ed7f5575f2e8aed2b.jpg","text":"TemporaryFile(/tmp/multipartBody4793356076792932951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714804352,"filename":"image_15042025_12_58_17_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349877491","file1":"1349877469","file0":"1349877445","file4":"1349877533","file5":"1349877549","file3":"1349877513"},"map_files_photo_id_array":[{"photo_id":"1349877549","filename":"file5"},{"photo_id":"1349877491","filename":"file2"},{"photo_id":"1349877533","filename":"file4"},{"photo_id":"1349877469","filename":"file1"},{"photo_id":"1349877445","filename":"file0"},{"photo_id":"1349877513","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349877469":["hashtag1","hashtag2"]},{"1349877445":["hashtag1","hashtag2"]},{"1349877549":["hashtag1","hashtag2"]},{"1349877513":["hashtag1","hashtag2"]},{"1349877491":["hashtag1","hashtag2"]},{"1349877533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349877469, 1349877445, 1349877549, 1349877513, 1349877491, 1349877533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98657417297363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:00:02.916838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_38_2899.jpg', '/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_50_2568.jpg', '/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_02_2765.jpg', '/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_11_2717.jpg', '/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_14_2751.jpg', '/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_18_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_38_2899.jpg
/home/pi/Desktop/images/15042025/12/58/image_15042025_12_58_50_2568.jpg
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_02_2765.jpg
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_11_2717.jpg
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_14_2751.jpg
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_18_3669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877700","1349877687","1349877639","1349877692","1349877656","1349877682"],"photo_ids_order":["1349877639","1349877656","1349877682","1349877687","1349877692","1349877700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac96d645ae98c3187323854b82f2fc32.jpg","text":"TemporaryFile(/tmp/multipartBody767310242390307007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714864756,"filename":"image_15042025_12_59_18_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88e99a455a8c41e617e698d6953bc7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5862966629568766868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714864756,"filename":"image_15042025_12_59_11_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b21a54c177dd88cf73111c694244e0c9.jpg","text":"TemporaryFile(/tmp/multipartBody7116655436086414114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714864756,"filename":"image_15042025_12_58_38_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f2541c1258ae532f184c9073c4a50ae.jpg","text":"TemporaryFile(/tmp/multipartBody1496148408346102997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714864756,"filename":"image_15042025_12_59_14_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac3a53549c2136248c6a319ed5b1e235.jpg","text":"TemporaryFile(/tmp/multipartBody8285678543182795736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714864756,"filename":"image_15042025_12_58_50_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8c44f2e5bcbbbf77b98a7cafe6c66ee.jpg","text":"TemporaryFile(/tmp/multipartBody1032040463218212261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714864756,"filename":"image_15042025_12_59_02_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349877682","file1":"1349877656","file0":"1349877639","file4":"1349877692","file5":"1349877700","file3":"1349877687"},"map_files_photo_id_array":[{"photo_id":"1349877700","filename":"file5"},{"photo_id":"1349877682","filename":"file2"},{"photo_id":"1349877692","filename":"file4"},{"photo_id":"1349877656","filename":"file1"},{"photo_id":"1349877639","filename":"file0"},{"photo_id":"1349877687","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349877700":["hashtag1","hashtag2"]},{"1349877687":["hashtag1","hashtag2"]},{"1349877639":["hashtag1","hashtag2"]},{"1349877692":["hashtag1","hashtag2"]},{"1349877656":["hashtag1","hashtag2"]},{"1349877682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349877700, 1349877687, 1349877639, 1349877692, 1349877656, 1349877682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.635708808898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:01:03.285501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_20_2787.jpg', '/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_23_2552.jpg', '/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_29_2631.jpg', '/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_35_3568.jpg', '/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_41_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_20_2787.jpg
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_23_2552.jpg
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_29_2631.jpg
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_35_3568.jpg
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_41_2549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877736","1349877717","1349877740","1349877731","1349877725"],"photo_ids_order":["1349877717","1349877725","1349877731","1349877736","1349877740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdce3982fbddf6e989e4bc5439d7512c.jpg","text":"TemporaryFile(/tmp/multipartBody931169371699618160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714925849,"filename":"image_15042025_12_59_35_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3103f3de3508f9d40073d6c323482f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4638670139076275741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714925849,"filename":"image_15042025_12_59_20_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cb4bf4adec8636b42f1f5f15471e4d6.jpg","text":"TemporaryFile(/tmp/multipartBody5080219042314980313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714925849,"filename":"image_15042025_12_59_41_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65324a266e896e69bf017965b5b166a2.jpg","text":"TemporaryFile(/tmp/multipartBody2014173181845963927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714925849,"filename":"image_15042025_12_59_29_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e41b8a6fd55adebc17e8e15d159e4461.jpg","text":"TemporaryFile(/tmp/multipartBody7567917460024296178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714925849,"filename":"image_15042025_12_59_23_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349877731","file1":"1349877725","file0":"1349877717","file4":"1349877740","file3":"1349877736"},"map_files_photo_id_array":[{"photo_id":"1349877731","filename":"file2"},{"photo_id":"1349877740","filename":"file4"},{"photo_id":"1349877725","filename":"file1"},{"photo_id":"1349877717","filename":"file0"},{"photo_id":"1349877736","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349877736":["hashtag1","hashtag2"]},{"1349877717":["hashtag1","hashtag2"]},{"1349877740":["hashtag1","hashtag2"]},{"1349877731":["hashtag1","hashtag2"]},{"1349877725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349877736, 1349877717, 1349877740, 1349877731, 1349877725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.275723695755005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:02:03.410425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_44_3592.jpg', '/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_07_3011.jpg', '/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_16_2757.jpg', '/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_22_2571.jpg', '/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_29_3554.jpg', '/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_50_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/12/59/image_15042025_12_59_44_3592.jpg
/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_07_3011.jpg
/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_16_2757.jpg
/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_22_2571.jpg
/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_29_3554.jpg
/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_50_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877820","1349877756","1349877837","1349877779","1349877854","1349877800"],"photo_ids_order":["1349877756","1349877779","1349877800","1349877820","1349877837","1349877854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1fd60954dabf8f56ae58c3d95880db14.jpg","text":"TemporaryFile(/tmp/multipartBody6354271515217620772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714984420,"filename":"image_15042025_13_01_22_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/558cc7dd7fe37772f14a0276b3935802.jpg","text":"TemporaryFile(/tmp/multipartBody3073827750253144732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714984420,"filename":"image_15042025_12_59_44_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dfb28b04e62fe564f0a90966d7ee7225.jpg","text":"TemporaryFile(/tmp/multipartBody4333014366675011438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714984420,"filename":"image_15042025_13_01_29_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/468e1d6227153e3aa74ab5a16eb7b839.jpg","text":"TemporaryFile(/tmp/multipartBody8844090610412847419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714984420,"filename":"image_15042025_13_01_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e05446bb3c53da610559feafa54acb0d.jpg","text":"TemporaryFile(/tmp/multipartBody9063727588556052951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714984420,"filename":"image_15042025_13_01_50_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/578d888a12cf0a4e6f74bbbe666b507e.jpg","text":"TemporaryFile(/tmp/multipartBody3912678872313652368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744714984420,"filename":"image_15042025_13_01_16_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349877800","file1":"1349877779","file0":"1349877756","file4":"1349877837","file5":"1349877854","file3":"1349877820"},"map_files_photo_id_array":[{"photo_id":"1349877854","filename":"file5"},{"photo_id":"1349877800","filename":"file2"},{"photo_id":"1349877837","filename":"file4"},{"photo_id":"1349877779","filename":"file1"},{"photo_id":"1349877756","filename":"file0"},{"photo_id":"1349877820","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349877820":["hashtag1","hashtag2"]},{"1349877756":["hashtag1","hashtag2"]},{"1349877837":["hashtag1","hashtag2"]},{"1349877779":["hashtag1","hashtag2"]},{"1349877854":["hashtag1","hashtag2"]},{"1349877800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349877820, 1349877756, 1349877837, 1349877779, 1349877854, 1349877800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.952770471572876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:03:02.849479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_52_2694.jpg', '/home/pi/Desktop/images/15042025/13/02/image_15042025_13_02_08_3833.jpg', '/home/pi/Desktop/images/15042025/13/02/image_15042025_13_02_22_2813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/01/image_15042025_13_01_52_2694.jpg
/home/pi/Desktop/images/15042025/13/02/image_15042025_13_02_08_3833.jpg
/home/pi/Desktop/images/15042025/13/02/image_15042025_13_02_22_2813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349877937","1349877960","1349877923"],"photo_ids_order":["1349877923","1349877937","1349877960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00b0ff2d2a46787e81bd9845716c497d.jpg","text":"TemporaryFile(/tmp/multipartBody923670574320279750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715046515,"filename":"image_15042025_13_02_08_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/472bfda02aefcfde09a0f6bc61b1f070.jpg","text":"TemporaryFile(/tmp/multipartBody7306929684736470021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715046515,"filename":"image_15042025_13_02_22_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/256a7fa0a7011b051746653cb2c9b2a7.jpg","text":"TemporaryFile(/tmp/multipartBody4857201802923327283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715046515,"filename":"image_15042025_13_01_52_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349877960","file1":"1349877937","file0":"1349877923"},"map_files_photo_id_array":[{"photo_id":"1349877960","filename":"file2"},{"photo_id":"1349877937","filename":"file1"},{"photo_id":"1349877923","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349877937":["hashtag1","hashtag2"]},{"1349877960":["hashtag1","hashtag2"]},{"1349877923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349877937, 1349877960, 1349877923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 38.847222089767456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:04:02.813610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/02/image_15042025_13_02_38_3528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/02/image_15042025_13_02_38_3528.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349878277"],"photo_id":"1349878277","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/311efe8a680845c13a8ea0e90dce3827.jpg","text":"TemporaryFile(/tmp/multipartBody6265438382720750512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715103427,"filename":"image_15042025_13_02_38_3528.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349878277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349878277"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.961296558380127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:04:22.045379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/03/image_15042025_13_03_02_3553.jpg', '/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_25_3542.jpg', '/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_31_2681.jpg', '/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_34_2799.jpg', '/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_37_3876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/03/image_15042025_13_03_02_3553.jpg
/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_25_3542.jpg
/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_31_2681.jpg
/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_34_2799.jpg
/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_37_3876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349878589","1349878498","1349878462","1349878633","1349878540"],"photo_ids_order":["1349878462","1349878498","1349878540","1349878589","1349878633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d22973e16e69b4b733b313aede33776d.jpg","text":"TemporaryFile(/tmp/multipartBody8439201365588974962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715122708,"filename":"image_15042025_13_04_34_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2b1330f89778702af9c361762092d6c.jpg","text":"TemporaryFile(/tmp/multipartBody3083439163493626698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715122708,"filename":"image_15042025_13_04_25_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65dc10f077cab2f5ea678c4ed1a01fe8.jpg","text":"TemporaryFile(/tmp/multipartBody4839405879757098701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715122708,"filename":"image_15042025_13_03_02_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0c35ada8f5338cd3e2e9b71accb6ef3.jpg","text":"TemporaryFile(/tmp/multipartBody7602969521202317537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715122708,"filename":"image_15042025_13_04_37_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb31de0f521f09cf673ca9ca2b823a09.jpg","text":"TemporaryFile(/tmp/multipartBody6819279493805781751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715122708,"filename":"image_15042025_13_04_31_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349878540","file1":"1349878498","file0":"1349878462","file4":"1349878633","file3":"1349878589"},"map_files_photo_id_array":[{"photo_id":"1349878540","filename":"file2"},{"photo_id":"1349878633","filename":"file4"},{"photo_id":"1349878498","filename":"file1"},{"photo_id":"1349878462","filename":"file0"},{"photo_id":"1349878589","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349878589":["hashtag1","hashtag2"]},{"1349878498":["hashtag1","hashtag2"]},{"1349878462":["hashtag1","hashtag2"]},{"1349878633":["hashtag1","hashtag2"]},{"1349878540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349878589, 1349878498, 1349878462, 1349878633, 1349878540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.167449474334717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:05:03.280598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_12_3677.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_15_2702.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_18_3132.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_21_2833.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_23_2683.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_30_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_12_3677.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_15_2702.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_18_3132.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_21_2833.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_23_2683.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_30_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349879121","1349879180","1349878886","1349879233","1349878948","1349879032"],"photo_ids_order":["1349878886","1349878948","1349879032","1349879121","1349879180","1349879233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da8ab3c5dad12023bb7f069c4dba5daa.jpg","text":"TemporaryFile(/tmp/multipartBody1051951266862608684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715165961,"filename":"image_14042025_09_51_21_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/711ef06544f872450fafa614bb7b3e73.jpg","text":"TemporaryFile(/tmp/multipartBody7629246519912656533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715165961,"filename":"image_14042025_09_51_23_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fb1c96b315bccd12866c0f158686a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4834379296157207311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715165961,"filename":"image_14042025_09_51_12_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b16ad29b738a89d28737e4551f5ac3f.jpg","text":"TemporaryFile(/tmp/multipartBody2333346531775843238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715165961,"filename":"image_14042025_09_51_30_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a92f21f8c0e7b4f18d6b4bd67542040.jpg","text":"TemporaryFile(/tmp/multipartBody5210081048346918476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715165961,"filename":"image_14042025_09_51_15_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0619c73c75a3e2585ef9aa5cf9c10230.jpg","text":"TemporaryFile(/tmp/multipartBody4511080377621811429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715165961,"filename":"image_14042025_09_51_18_3132.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349879032","file1":"1349878948","file0":"1349878886","file4":"1349879180","file5":"1349879233","file3":"1349879121"},"map_files_photo_id_array":[{"photo_id":"1349879233","filename":"file5"},{"photo_id":"1349879032","filename":"file2"},{"photo_id":"1349879180","filename":"file4"},{"photo_id":"1349878948","filename":"file1"},{"photo_id":"1349878886","filename":"file0"},{"photo_id":"1349879121","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349879121":["hashtag1","hashtag2"]},{"1349879180":["hashtag1","hashtag2"]},{"1349878886":["hashtag1","hashtag2"]},{"1349879233":["hashtag1","hashtag2"]},{"1349878948":["hashtag1","hashtag2"]},{"1349879032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349879121, 1349879180, 1349878886, 1349879233, 1349878948, 1349879032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.042208194732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:05:42.594478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_46_2806.jpg', '/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_04_2880.jpg', '/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_10_3634.jpg', '/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_16_2838.jpg', '/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_22_3725.jpg', '/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_25_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/04/image_15042025_13_04_46_2806.jpg
/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_04_2880.jpg
/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_10_3634.jpg
/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_16_2838.jpg
/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_22_3725.jpg
/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_25_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349879439","1349879403","1349879546","1349879476","1349879512","1349879367"],"photo_ids_order":["1349879367","1349879403","1349879439","1349879476","1349879512","1349879546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27890958bba075b0388fb5d217737785.jpg","text":"TemporaryFile(/tmp/multipartBody6621543089087591749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715203321,"filename":"image_15042025_13_05_10_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/832fa404b739fe9f444048d0165df19d.jpg","text":"TemporaryFile(/tmp/multipartBody5519016297535060387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715203321,"filename":"image_15042025_13_05_04_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4eafca3a89e333964ea5fe83246e2bde.jpg","text":"TemporaryFile(/tmp/multipartBody2914977968545127376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715203321,"filename":"image_15042025_13_05_25_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e299b6a6a6e74ec1176b94bb612a67d.jpg","text":"TemporaryFile(/tmp/multipartBody2474564701081890467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715203321,"filename":"image_15042025_13_05_16_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3275378476e33b2e121e2ac43467b97.jpg","text":"TemporaryFile(/tmp/multipartBody2633913049575366704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715203321,"filename":"image_15042025_13_05_22_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dccb289bfb05bb4dca8b828633546b4.jpg","text":"TemporaryFile(/tmp/multipartBody7985456545136067704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715203321,"filename":"image_15042025_13_04_46_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349879439","file1":"1349879403","file0":"1349879367","file4":"1349879512","file5":"1349879546","file3":"1349879476"},"map_files_photo_id_array":[{"photo_id":"1349879546","filename":"file5"},{"photo_id":"1349879439","filename":"file2"},{"photo_id":"1349879512","filename":"file4"},{"photo_id":"1349879403","filename":"file1"},{"photo_id":"1349879367","filename":"file0"},{"photo_id":"1349879476","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349879439":["hashtag1","hashtag2"]},{"1349879403":["hashtag1","hashtag2"]},{"1349879546":["hashtag1","hashtag2"]},{"1349879476":["hashtag1","hashtag2"]},{"1349879512":["hashtag1","hashtag2"]},{"1349879367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349879439, 1349879403, 1349879546, 1349879476, 1349879512, 1349879367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42015814781189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:06:21.845285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_34_3561.jpg', '/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_46_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_34_3561.jpg
/home/pi/Desktop/images/15042025/13/05/image_15042025_13_05_46_2566.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349879703","1349879670"],"photo_ids_order":["1349879670","1349879703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/616318623938a91c85b5f773fefdf744.jpg","text":"TemporaryFile(/tmp/multipartBody102240232026720417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715242414,"filename":"image_15042025_13_05_46_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b854b80a8c7e4218ee8d7108c33ae319.jpg","text":"TemporaryFile(/tmp/multipartBody9010323282161533969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715242414,"filename":"image_15042025_13_05_34_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349879703","file0":"1349879670"},"map_files_photo_id_array":[{"photo_id":"1349879703","filename":"file1"},{"photo_id":"1349879670","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349879703":["hashtag1","hashtag2"]},{"1349879670":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349879703, 1349879670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.668929100036621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:06:41.852338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_39_2697.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_50_2687.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_53_2749.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_57_3765.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_59_2542.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_02_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_39_2697.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_50_2687.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_53_2749.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_57_3765.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_59_2542.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_02_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349879801","1349879959","1349879893","1349879788","1349879796","1349879781"],"photo_ids_order":["1349879781","1349879788","1349879796","1349879801","1349879893","1349879959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba0f828244970b30afc37c3254a81f5e.jpg","text":"TemporaryFile(/tmp/multipartBody1794566365456065771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715263271,"filename":"image_14042025_09_51_57_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/abafe64aeb3fd64c4e050ec80b9a89f3.jpg","text":"TemporaryFile(/tmp/multipartBody1791455001577284623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715263271,"filename":"image_14042025_09_52_02_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6f588e3e01098d0b7dd0a70ec0a76d7.jpg","text":"TemporaryFile(/tmp/multipartBody2852752610607475836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715263271,"filename":"image_14042025_09_51_59_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76a62bf72d85ae927be4a950ac84866e.jpg","text":"TemporaryFile(/tmp/multipartBody5169854448461050174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715263271,"filename":"image_14042025_09_51_50_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4b4f8df2146de572f20cfcb6da89bea.jpg","text":"TemporaryFile(/tmp/multipartBody7370909378732119678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715263271,"filename":"image_14042025_09_51_53_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/989d172a565695937f9866b021cf0764.jpg","text":"TemporaryFile(/tmp/multipartBody4735747191828798379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715263271,"filename":"image_14042025_09_51_39_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349879796","file1":"1349879788","file0":"1349879781","file4":"1349879893","file5":"1349879959","file3":"1349879801"},"map_files_photo_id_array":[{"photo_id":"1349879959","filename":"file5"},{"photo_id":"1349879796","filename":"file2"},{"photo_id":"1349879893","filename":"file4"},{"photo_id":"1349879788","filename":"file1"},{"photo_id":"1349879781","filename":"file0"},{"photo_id":"1349879801","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349879801":["hashtag1","hashtag2"]},{"1349879959":["hashtag1","hashtag2"]},{"1349879893":["hashtag1","hashtag2"]},{"1349879788":["hashtag1","hashtag2"]},{"1349879796":["hashtag1","hashtag2"]},{"1349879781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349879801, 1349879959, 1349879893, 1349879788, 1349879796, 1349879781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.160022497177124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:07:21.991831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/06/image_15042025_13_06_52_3637.jpg', '/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_13_3582.jpg', '/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_54_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/06/image_15042025_13_06_52_3637.jpg
/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_13_3582.jpg
/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_54_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349880016","1349880024","1349880044"],"photo_ids_order":["1349880016","1349880024","1349880044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06e641b773f56eb1d25eb99062570155.jpg","text":"TemporaryFile(/tmp/multipartBody5238306962658210698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715302617,"filename":"image_15042025_13_06_52_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ee0e5f56e938e3b2a0b9e34ef8d8f28.jpg","text":"TemporaryFile(/tmp/multipartBody9060614210210885387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715302617,"filename":"image_15042025_13_07_13_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a097faa1475499525130989854ccab8.jpg","text":"TemporaryFile(/tmp/multipartBody8016619964341108860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715302617,"filename":"image_15042025_13_07_54_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349880044","file1":"1349880024","file0":"1349880016"},"map_files_photo_id_array":[{"photo_id":"1349880044","filename":"file2"},{"photo_id":"1349880024","filename":"file1"},{"photo_id":"1349880016","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349880016":["hashtag1","hashtag2"]},{"1349880024":["hashtag1","hashtag2"]},{"1349880044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349880016, 1349880024, 1349880044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.7650728225708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:08:03.175182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_06_3677.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_09_2696.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_12_3126.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_15_2849.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_24_3577.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_36_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_06_3677.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_09_2696.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_12_3126.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_15_2849.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_24_3577.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_36_3795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349880597","1349880750","1349880927","1349880848","1349880536","1349880460"],"photo_ids_order":["1349880460","1349880536","1349880597","1349880750","1349880848","1349880927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c58b44ea7eed509d4a544e3fcc2975e1.jpg","text":"TemporaryFile(/tmp/multipartBody6816645031514997512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715345691,"filename":"image_14042025_09_52_12_3126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2581ad11d0f40a8e899cd08dc9fe8741.jpg","text":"TemporaryFile(/tmp/multipartBody6205994483476615020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715345691,"filename":"image_14042025_09_52_15_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccbbd865ae83cc0a5ee43f92231b82a0.jpg","text":"TemporaryFile(/tmp/multipartBody1218958212232817405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715345691,"filename":"image_14042025_09_52_36_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d5a2409cf91ac3827dcf28825367b85.jpg","text":"TemporaryFile(/tmp/multipartBody3313827704846936517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715345691,"filename":"image_14042025_09_52_24_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e11f7599b9b45d26a85f30f5965df699.jpg","text":"TemporaryFile(/tmp/multipartBody7394107497803981265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715345691,"filename":"image_14042025_09_52_09_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc2d824ef6ddb638809510266d9d2af5.jpg","text":"TemporaryFile(/tmp/multipartBody6278690365111634994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715345691,"filename":"image_14042025_09_52_06_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349880597","file1":"1349880536","file0":"1349880460","file4":"1349880848","file5":"1349880927","file3":"1349880750"},"map_files_photo_id_array":[{"photo_id":"1349880927","filename":"file5"},{"photo_id":"1349880597","filename":"file2"},{"photo_id":"1349880848","filename":"file4"},{"photo_id":"1349880536","filename":"file1"},{"photo_id":"1349880460","filename":"file0"},{"photo_id":"1349880750","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349880597":["hashtag1","hashtag2"]},{"1349880750":["hashtag1","hashtag2"]},{"1349880927":["hashtag1","hashtag2"]},{"1349880848":["hashtag1","hashtag2"]},{"1349880536":["hashtag1","hashtag2"]},{"1349880460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349880597, 1349880750, 1349880927, 1349880848, 1349880536, 1349880460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50638771057129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:08:42.513642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_58_3705.jpg', '/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_15_2787.jpg', '/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_22_2800.jpg', '/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_54_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_58_3705.jpg
/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_15_2787.jpg
/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_22_2800.jpg
/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_54_2667.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6212856769561768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:09:03.006798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_58_3705.jpg', '/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_15_2787.jpg', '/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_22_2800.jpg', '/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_54_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/07/image_15042025_13_07_58_3705.jpg
/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_15_2787.jpg
/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_22_2800.jpg
/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_54_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349881467","1349881326","1349881273","1349881402"],"photo_ids_order":["1349881273","1349881326","1349881402","1349881467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76c485c3eef3d67dfd71d6ea437a759f.jpg","text":"TemporaryFile(/tmp/multipartBody6152124527232463752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715403923,"filename":"image_15042025_13_08_54_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c885c6672830c11fbb99a4fd6e6b3818.jpg","text":"TemporaryFile(/tmp/multipartBody6624046867216466701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715403923,"filename":"image_15042025_13_08_15_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56b7beb298441cfc37ed0812ffd27707.jpg","text":"TemporaryFile(/tmp/multipartBody5475593862584564419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715403923,"filename":"image_15042025_13_07_58_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e6c6aa399afa57ac5f7ff48fd04b771.jpg","text":"TemporaryFile(/tmp/multipartBody2725073514982873818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715403923,"filename":"image_15042025_13_08_22_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349881402","file1":"1349881326","file0":"1349881273","file3":"1349881467"},"map_files_photo_id_array":[{"photo_id":"1349881402","filename":"file2"},{"photo_id":"1349881326","filename":"file1"},{"photo_id":"1349881273","filename":"file0"},{"photo_id":"1349881467","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349881467":["hashtag1","hashtag2"]},{"1349881326":["hashtag1","hashtag2"]},{"1349881273":["hashtag1","hashtag2"]},{"1349881402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349881467, 1349881326, 1349881273, 1349881402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.485220193862915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:09:42.067980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_58_3618.jpg', '/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_03_2634.jpg', '/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_07_3631.jpg', '/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_12_2677.jpg', '/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_30_2728.jpg', '/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_39_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/08/image_15042025_13_08_58_3618.jpg
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_03_2634.jpg
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_07_3631.jpg
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_12_2677.jpg
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_30_2728.jpg
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_39_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349881799","1349881748","1349881709","1349881840","1349881831","1349881834"],"photo_ids_order":["1349881709","1349881748","1349881799","1349881831","1349881834","1349881840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa07acc827054bea09fd825189636026.jpg","text":"TemporaryFile(/tmp/multipartBody6519382227314891554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715442908,"filename":"image_15042025_13_09_07_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11cac2ef9d95c8dc8b9fd5e31d1a0dc0.jpg","text":"TemporaryFile(/tmp/multipartBody2948305780666940610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715442908,"filename":"image_15042025_13_09_03_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c4183c44eecf7c01ea149aece0eb22e.jpg","text":"TemporaryFile(/tmp/multipartBody2913570753158141974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715442908,"filename":"image_15042025_13_08_58_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c97a576d5e5c1af3316a76fc0d7ed262.jpg","text":"TemporaryFile(/tmp/multipartBody279355868012686689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715442908,"filename":"image_15042025_13_09_39_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c2a29795b098811fe6f8df74ff7283d.jpg","text":"TemporaryFile(/tmp/multipartBody614153379337254998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715442908,"filename":"image_15042025_13_09_12_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e30871f364a1a1cf5f152010c6ed65a4.jpg","text":"TemporaryFile(/tmp/multipartBody7611427754330325202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715442908,"filename":"image_15042025_13_09_30_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349881799","file1":"1349881748","file0":"1349881709","file4":"1349881834","file5":"1349881840","file3":"1349881831"},"map_files_photo_id_array":[{"photo_id":"1349881840","filename":"file5"},{"photo_id":"1349881799","filename":"file2"},{"photo_id":"1349881834","filename":"file4"},{"photo_id":"1349881748","filename":"file1"},{"photo_id":"1349881709","filename":"file0"},{"photo_id":"1349881831","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349881799":["hashtag1","hashtag2"]},{"1349881748":["hashtag1","hashtag2"]},{"1349881709":["hashtag1","hashtag2"]},{"1349881840":["hashtag1","hashtag2"]},{"1349881831":["hashtag1","hashtag2"]},{"1349881834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349881799, 1349881748, 1349881709, 1349881840, 1349881831, 1349881834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59652543067932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:10:22.660144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_43_3624.jpg', '/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_45_2718.jpg', '/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_48_2718.jpg', '/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_52_3702.jpg', '/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_57_2684.jpg', '/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_09_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_43_3624.jpg
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_45_2718.jpg
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_48_2718.jpg
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_52_3702.jpg
/home/pi/Desktop/images/15042025/13/09/image_15042025_13_09_57_2684.jpg
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_09_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349881917","1349881902","1349881898","1349881886","1349881888","1349881876"],"photo_ids_order":["1349881876","1349881886","1349881888","1349881898","1349881902","1349881917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/091f882c6e434fd90c1f126db8914af1.jpg","text":"TemporaryFile(/tmp/multipartBody4003925857922498745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715483415,"filename":"image_15042025_13_10_09_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d508905ec7524d5d6a6a6c2d7be3415.jpg","text":"TemporaryFile(/tmp/multipartBody8329747162560047262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715483415,"filename":"image_15042025_13_09_57_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/577a5d74d0fd7fabb2130eadc0a67df0.jpg","text":"TemporaryFile(/tmp/multipartBody8586032773968874644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715483415,"filename":"image_15042025_13_09_52_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09d34880b5f883be0f85142843741074.jpg","text":"TemporaryFile(/tmp/multipartBody5470820791315807165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715483415,"filename":"image_15042025_13_09_45_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/891d11cfa4accc019f5bb1bfcec0dc00.jpg","text":"TemporaryFile(/tmp/multipartBody3481632885315838168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715483415,"filename":"image_15042025_13_09_48_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74fc72e012bc8589acff372510e5619e.jpg","text":"TemporaryFile(/tmp/multipartBody8337296454600929900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715483415,"filename":"image_15042025_13_09_43_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349881888","file1":"1349881886","file0":"1349881876","file4":"1349881902","file5":"1349881917","file3":"1349881898"},"map_files_photo_id_array":[{"photo_id":"1349881917","filename":"file5"},{"photo_id":"1349881888","filename":"file2"},{"photo_id":"1349881902","filename":"file4"},{"photo_id":"1349881886","filename":"file1"},{"photo_id":"1349881876","filename":"file0"},{"photo_id":"1349881898","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349881917":["hashtag1","hashtag2"]},{"1349881902":["hashtag1","hashtag2"]},{"1349881898":["hashtag1","hashtag2"]},{"1349881886":["hashtag1","hashtag2"]},{"1349881888":["hashtag1","hashtag2"]},{"1349881876":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349881917, 1349881902, 1349881898, 1349881886, 1349881888, 1349881876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51757311820984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:11:03.366635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_16_3545.jpg', '/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_18_2724.jpg', '/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_21_2637.jpg', '/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_27_2653.jpg', '/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_31_3623.jpg', '/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_54_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_16_3545.jpg
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_18_2724.jpg
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_21_2637.jpg
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_27_2653.jpg
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_31_3623.jpg
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_54_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349882001","1349881997","1349882012","1349882006","1349882003","1349882008"],"photo_ids_order":["1349881997","1349882001","1349882003","1349882006","1349882008","1349882012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42d35a0fd28f08c52892ddd0fd8cdbd1.jpg","text":"TemporaryFile(/tmp/multipartBody4087070682735087563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715524219,"filename":"image_15042025_13_10_18_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3370ed70d5fcabd27bb1ca30c6cc089.jpg","text":"TemporaryFile(/tmp/multipartBody8181919673205976438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715524219,"filename":"image_15042025_13_10_16_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c28f796c579540273b50a5ff1bd56213.jpg","text":"TemporaryFile(/tmp/multipartBody7735024408927215007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715524219,"filename":"image_15042025_13_10_54_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc17cdb302375c2cecfe86f8c2cc60af.jpg","text":"TemporaryFile(/tmp/multipartBody4748643820470819878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715524219,"filename":"image_15042025_13_10_27_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6eb3ddbe2dfa8b73c147229ffa1b889.jpg","text":"TemporaryFile(/tmp/multipartBody4378756656409797225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715524219,"filename":"image_15042025_13_10_21_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83d0b7d7098b07e3bf7121303d2a669f.jpg","text":"TemporaryFile(/tmp/multipartBody1853053174230869821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715524219,"filename":"image_15042025_13_10_31_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349882003","file1":"1349882001","file0":"1349881997","file4":"1349882008","file5":"1349882012","file3":"1349882006"},"map_files_photo_id_array":[{"photo_id":"1349882012","filename":"file5"},{"photo_id":"1349882003","filename":"file2"},{"photo_id":"1349882008","filename":"file4"},{"photo_id":"1349882001","filename":"file1"},{"photo_id":"1349881997","filename":"file0"},{"photo_id":"1349882006","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349882001":["hashtag1","hashtag2"]},{"1349881997":["hashtag1","hashtag2"]},{"1349882012":["hashtag1","hashtag2"]},{"1349882006":["hashtag1","hashtag2"]},{"1349882003":["hashtag1","hashtag2"]},{"1349882008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349882001, 1349881997, 1349882012, 1349882006, 1349882003, 1349882008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.703856468200684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:11:42.612746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_58_3654.jpg', '/home/pi/Desktop/images/15042025/13/10/image_15042025_13_11_00_2564.jpg', '/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_22_3573.jpg', '/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_24_2690.jpg', '/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_30_2646.jpg', '/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_42_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_10_58_3654.jpg
/home/pi/Desktop/images/15042025/13/10/image_15042025_13_11_00_2564.jpg
/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_22_3573.jpg
/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_24_2690.jpg
/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_30_2646.jpg
/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_42_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349882118","1349882156","1349882065","1349882193","1349882076","1349882055"],"photo_ids_order":["1349882055","1349882065","1349882076","1349882118","1349882156","1349882193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a732fc69406b00d8860cdbce8a039a1d.jpg","text":"TemporaryFile(/tmp/multipartBody3214039498833289125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715563354,"filename":"image_15042025_13_11_24_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05931f8cdf6be671890f64194d9ff684.jpg","text":"TemporaryFile(/tmp/multipartBody5959046810754760453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715563354,"filename":"image_15042025_13_11_30_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a1fd284aee5eb8a8abbfcde6a6f0e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4336087149546578827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715563354,"filename":"image_15042025_13_11_00_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/132eaa183abd590c12965a2d9cdb52a1.jpg","text":"TemporaryFile(/tmp/multipartBody773248243775980508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715563354,"filename":"image_15042025_13_11_42_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eea25ee4c89b125b53cef0f220380339.jpg","text":"TemporaryFile(/tmp/multipartBody3334399583753282188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715563354,"filename":"image_15042025_13_11_22_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f40995557414b4ba08d170ec28d5786.jpg","text":"TemporaryFile(/tmp/multipartBody2268423517599055971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715563354,"filename":"image_15042025_13_10_58_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349882076","file1":"1349882065","file0":"1349882055","file4":"1349882156","file5":"1349882193","file3":"1349882118"},"map_files_photo_id_array":[{"photo_id":"1349882193","filename":"file5"},{"photo_id":"1349882076","filename":"file2"},{"photo_id":"1349882156","filename":"file4"},{"photo_id":"1349882065","filename":"file1"},{"photo_id":"1349882055","filename":"file0"},{"photo_id":"1349882118","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349882118":["hashtag1","hashtag2"]},{"1349882156":["hashtag1","hashtag2"]},{"1349882065":["hashtag1","hashtag2"]},{"1349882193":["hashtag1","hashtag2"]},{"1349882076":["hashtag1","hashtag2"]},{"1349882055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349882118, 1349882156, 1349882065, 1349882193, 1349882076, 1349882055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53587889671326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:12:22.727741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_49_3560.jpg', '/home/pi/Desktop/images/15042025/13/12/image_15042025_13_12_30_2647.jpg', '/home/pi/Desktop/images/15042025/13/12/image_15042025_13_12_42_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/11/image_15042025_13_11_49_3560.jpg
/home/pi/Desktop/images/15042025/13/12/image_15042025_13_12_30_2647.jpg
/home/pi/Desktop/images/15042025/13/12/image_15042025_13_12_42_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349882395","1349882428","1349882463"],"photo_ids_order":["1349882395","1349882428","1349882463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf518aeacad2ce1e29664fe0f9f37f33.jpg","text":"TemporaryFile(/tmp/multipartBody4664614128449081568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715603326,"filename":"image_15042025_13_11_49_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d55e0971cfbf77150fe052775187ec14.jpg","text":"TemporaryFile(/tmp/multipartBody4683477685276796485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715603326,"filename":"image_15042025_13_12_30_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/351e3a16f16899f57906f447e5a85c79.jpg","text":"TemporaryFile(/tmp/multipartBody7379239318201076314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715603326,"filename":"image_15042025_13_12_42_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349882463","file1":"1349882428","file0":"1349882395"},"map_files_photo_id_array":[{"photo_id":"1349882463","filename":"file2"},{"photo_id":"1349882428","filename":"file1"},{"photo_id":"1349882395","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349882395":["hashtag1","hashtag2"]},{"1349882428":["hashtag1","hashtag2"]},{"1349882463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349882395, 1349882428, 1349882463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.47719979286194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:13:02.826936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_41_2792.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_50_2531.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_05_2727.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_38_2585.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_47_2693.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_53_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_41_2792.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_50_2531.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_05_2727.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_38_2585.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_47_2693.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_53_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349882732","1349882800","1349882790","1349882784","1349882727","1349882814"],"photo_ids_order":["1349882727","1349882732","1349882784","1349882790","1349882800","1349882814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/049ada1c07b5043ed7d9d4e0926c49f2.jpg","text":"TemporaryFile(/tmp/multipartBody3445429130397212544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715645398,"filename":"image_14042025_09_52_50_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e3903f82e1a63605e9c52718ef1641f.jpg","text":"TemporaryFile(/tmp/multipartBody7977491353181211258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715645398,"filename":"image_14042025_09_53_47_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d769906bdf88ab68c83ac872f19886d4.jpg","text":"TemporaryFile(/tmp/multipartBody5957603603474328746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715645398,"filename":"image_14042025_09_53_38_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/facb3a25d3cf6a1a00957a64dc533c84.jpg","text":"TemporaryFile(/tmp/multipartBody6718305340956063492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715645398,"filename":"image_14042025_09_53_05_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5ef3b6d328f159b7974505df675392d.jpg","text":"TemporaryFile(/tmp/multipartBody1413011711553151233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715645398,"filename":"image_14042025_09_52_41_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f10338b53ead831f9df2fb867741c7f9.jpg","text":"TemporaryFile(/tmp/multipartBody4690725367986486314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715645398,"filename":"image_14042025_09_53_53_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349882784","file1":"1349882732","file0":"1349882727","file4":"1349882800","file5":"1349882814","file3":"1349882790"},"map_files_photo_id_array":[{"photo_id":"1349882814","filename":"file5"},{"photo_id":"1349882784","filename":"file2"},{"photo_id":"1349882800","filename":"file4"},{"photo_id":"1349882732","filename":"file1"},{"photo_id":"1349882727","filename":"file0"},{"photo_id":"1349882790","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349882732":["hashtag1","hashtag2"]},{"1349882800":["hashtag1","hashtag2"]},{"1349882790":["hashtag1","hashtag2"]},{"1349882784":["hashtag1","hashtag2"]},{"1349882727":["hashtag1","hashtag2"]},{"1349882814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349882732, 1349882800, 1349882790, 1349882784, 1349882727, 1349882814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26406168937683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:13:42.041631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/12/image_15042025_13_13_00_2700.jpg', '/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_09_2652.jpg', '/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_24_2710.jpg', '/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_39_2513.jpg', '/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_45_3678.jpg', '/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_48_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/12/image_15042025_13_13_00_2700.jpg
/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_09_2652.jpg
/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_24_2710.jpg
/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_39_2513.jpg
/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_45_3678.jpg
/home/pi/Desktop/images/15042025/13/13/image_15042025_13_13_48_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349882890","1349882959","1349882953","1349882910","1349882949","1349882934"],"photo_ids_order":["1349882890","1349882910","1349882934","1349882949","1349882953","1349882959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db86b4db92fb00eca42ba375d3813a8b.jpg","text":"TemporaryFile(/tmp/multipartBody5321345525549871892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715682792,"filename":"image_15042025_13_13_00_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8835ee5559b7676c6a7209516781d83f.jpg","text":"TemporaryFile(/tmp/multipartBody607630632933103908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715682792,"filename":"image_15042025_13_13_48_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18339f4c16c0389eb0d471ac21b066c7.jpg","text":"TemporaryFile(/tmp/multipartBody5719388209730460074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715682792,"filename":"image_15042025_13_13_45_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b402b157d3dc4e1698e7c96a35d4c727.jpg","text":"TemporaryFile(/tmp/multipartBody5776648555706910381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715682792,"filename":"image_15042025_13_13_09_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6dfdec44b45412cf05c013badc145205.jpg","text":"TemporaryFile(/tmp/multipartBody3532218287028195127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715682792,"filename":"image_15042025_13_13_39_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81812086f131837bd2e26838ec28d122.jpg","text":"TemporaryFile(/tmp/multipartBody6395275290498014985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715682792,"filename":"image_15042025_13_13_24_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349882934","file1":"1349882910","file0":"1349882890","file4":"1349882953","file5":"1349882959","file3":"1349882949"},"map_files_photo_id_array":[{"photo_id":"1349882959","filename":"file5"},{"photo_id":"1349882934","filename":"file2"},{"photo_id":"1349882953","filename":"file4"},{"photo_id":"1349882910","filename":"file1"},{"photo_id":"1349882890","filename":"file0"},{"photo_id":"1349882949","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349882890":["hashtag1","hashtag2"]},{"1349882959":["hashtag1","hashtag2"]},{"1349882953":["hashtag1","hashtag2"]},{"1349882910":["hashtag1","hashtag2"]},{"1349882949":["hashtag1","hashtag2"]},{"1349882934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349882890, 1349882959, 1349882953, 1349882910, 1349882949, 1349882934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76526951789856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:14:22.189535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/13/image_15042025_13_14_00_2633.jpg', '/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_03_3548.jpg', '/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_12_2765.jpg', '/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_21_2698.jpg', '/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_24_2614.jpg', '/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_27_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/13/image_15042025_13_14_00_2633.jpg
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_03_3548.jpg
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_12_2765.jpg
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_21_2698.jpg
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_24_2614.jpg
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_27_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349882990","1349882972","1349882995","1349882977","1349882985","1349883003"],"photo_ids_order":["1349882972","1349882977","1349882985","1349882990","1349882995","1349883003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84801af0a41c33d9521899d040240254.jpg","text":"TemporaryFile(/tmp/multipartBody170640991618949946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715722895,"filename":"image_15042025_13_14_21_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51b952b755365d6bc162905a2d7ca668.jpg","text":"TemporaryFile(/tmp/multipartBody5066305521396231556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715722895,"filename":"image_15042025_13_14_00_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f3b1f23613e44da407b77600c743fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8507645790475291046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715722895,"filename":"image_15042025_13_14_24_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8350095c1d940eaf0d7457b8d4758d60.jpg","text":"TemporaryFile(/tmp/multipartBody4445569310177211999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715722895,"filename":"image_15042025_13_14_03_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd7ad0f93f93d5bc34d04f438a089eb0.jpg","text":"TemporaryFile(/tmp/multipartBody6596994050753666258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715722895,"filename":"image_15042025_13_14_12_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68789c402bbea802e72150c179725b55.jpg","text":"TemporaryFile(/tmp/multipartBody8313576397803492056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715722895,"filename":"image_15042025_13_14_27_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349882985","file1":"1349882977","file0":"1349882972","file4":"1349882995","file5":"1349883003","file3":"1349882990"},"map_files_photo_id_array":[{"photo_id":"1349883003","filename":"file5"},{"photo_id":"1349882985","filename":"file2"},{"photo_id":"1349882995","filename":"file4"},{"photo_id":"1349882977","filename":"file1"},{"photo_id":"1349882972","filename":"file0"},{"photo_id":"1349882990","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349882990":["hashtag1","hashtag2"]},{"1349882972":["hashtag1","hashtag2"]},{"1349882995":["hashtag1","hashtag2"]},{"1349882977":["hashtag1","hashtag2"]},{"1349882985":["hashtag1","hashtag2"]},{"1349883003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349882990, 1349882972, 1349882995, 1349882977, 1349882985, 1349883003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80677127838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:15:03.336140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_33_2754.jpg', '/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_36_3671.jpg', '/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_39_2772.jpg', '/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_42_2681.jpg', '/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_45_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_33_2754.jpg
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_36_3671.jpg
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_39_2772.jpg
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_42_2681.jpg
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_45_2797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883041","1349883029","1349883038","1349883023","1349883034"],"photo_ids_order":["1349883023","1349883029","1349883034","1349883038","1349883041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f49a4be862804548b53c9ba06892524.jpg","text":"TemporaryFile(/tmp/multipartBody3918433352162086485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715764164,"filename":"image_15042025_13_14_45_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45f713e9cb68fa72eb70ca7274cd3f65.jpg","text":"TemporaryFile(/tmp/multipartBody7411157689364195948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715764164,"filename":"image_15042025_13_14_36_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa85e19c42912ec26e4158f6539e9247.jpg","text":"TemporaryFile(/tmp/multipartBody6717327085270586846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715764164,"filename":"image_15042025_13_14_42_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d51cad64c45044a789bf5648548ae0f.jpg","text":"TemporaryFile(/tmp/multipartBody7264356451638474799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715764164,"filename":"image_15042025_13_14_33_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d608d09c21f1848915e51c1f35cd2b35.jpg","text":"TemporaryFile(/tmp/multipartBody3169308583477577444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715764164,"filename":"image_15042025_13_14_39_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349883034","file1":"1349883029","file0":"1349883023","file4":"1349883041","file3":"1349883038"},"map_files_photo_id_array":[{"photo_id":"1349883034","filename":"file2"},{"photo_id":"1349883041","filename":"file4"},{"photo_id":"1349883029","filename":"file1"},{"photo_id":"1349883023","filename":"file0"},{"photo_id":"1349883038","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349883041":["hashtag1","hashtag2"]},{"1349883029":["hashtag1","hashtag2"]},{"1349883038":["hashtag1","hashtag2"]},{"1349883023":["hashtag1","hashtag2"]},{"1349883034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349883041, 1349883029, 1349883038, 1349883023, 1349883034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.38957142829895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:15:42.785008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_51_2617.jpg', '/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_06_2639.jpg', '/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_12_2616.jpg', '/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_18_3649.jpg', '/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_21_2765.jpg', '/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_33_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/14/image_15042025_13_14_51_2617.jpg
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_06_2639.jpg
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_12_2616.jpg
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_18_3649.jpg
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_21_2765.jpg
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_33_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883109","1349883096","1349883105","1349883114","1349883102","1349883065"],"photo_ids_order":["1349883065","1349883096","1349883102","1349883105","1349883109","1349883114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3432d2e88596edb0d4e14d8995471ad0.jpg","text":"TemporaryFile(/tmp/multipartBody1251485934240189003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715803512,"filename":"image_15042025_13_15_21_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46910a6a7b903d4257fd2bf89e47c3fb.jpg","text":"TemporaryFile(/tmp/multipartBody2484277214805464334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715803512,"filename":"image_15042025_13_15_06_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7e5f1418a795dfa03d14ffb206c915a.jpg","text":"TemporaryFile(/tmp/multipartBody8275252475948557139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715803512,"filename":"image_15042025_13_15_18_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c1d8a51f0f91a50f1b8dcf3aa5954f8.jpg","text":"TemporaryFile(/tmp/multipartBody6900960295303989542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715803512,"filename":"image_15042025_13_15_33_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77054b00bf0b21aae075a80de1afcdba.jpg","text":"TemporaryFile(/tmp/multipartBody2685373991887376598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715803512,"filename":"image_15042025_13_15_12_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbc5d05908c5273f9acd81e43c77808e.jpg","text":"TemporaryFile(/tmp/multipartBody6610776256604349209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715803512,"filename":"image_15042025_13_14_51_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349883102","file1":"1349883096","file0":"1349883065","file4":"1349883109","file5":"1349883114","file3":"1349883105"},"map_files_photo_id_array":[{"photo_id":"1349883114","filename":"file5"},{"photo_id":"1349883102","filename":"file2"},{"photo_id":"1349883109","filename":"file4"},{"photo_id":"1349883096","filename":"file1"},{"photo_id":"1349883065","filename":"file0"},{"photo_id":"1349883105","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349883109":["hashtag1","hashtag2"]},{"1349883096":["hashtag1","hashtag2"]},{"1349883105":["hashtag1","hashtag2"]},{"1349883114":["hashtag1","hashtag2"]},{"1349883102":["hashtag1","hashtag2"]},{"1349883065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349883109, 1349883096, 1349883105, 1349883114, 1349883102, 1349883065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69702172279358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:16:22.303592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_45_2688.jpg', '/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_54_2647.jpg', '/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_57_2700.jpg', '/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_59_2819.jpg', '/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_03_3780.jpg', '/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_08_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_45_2688.jpg
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_54_2647.jpg
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_57_2700.jpg
/home/pi/Desktop/images/15042025/13/15/image_15042025_13_15_59_2819.jpg
/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_03_3780.jpg
/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_08_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883134","1349883223","1349883151","1349883124","1349883186","1349883129"],"photo_ids_order":["1349883124","1349883129","1349883134","1349883151","1349883186","1349883223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9646b53658e536b4e0ef71f2ad3ec64c.jpg","text":"TemporaryFile(/tmp/multipartBody8297996865708343617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715843014,"filename":"image_15042025_13_15_57_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1dfeeb81ce88a5e18375d919dbd3299.jpg","text":"TemporaryFile(/tmp/multipartBody2267804513071703669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715843014,"filename":"image_15042025_13_16_08_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97a93b504a7ab38a0a73b3f5a8f304ef.jpg","text":"TemporaryFile(/tmp/multipartBody6803521486109811664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715843014,"filename":"image_15042025_13_15_59_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e6bc8583139d16a6e65722625b9ff11.jpg","text":"TemporaryFile(/tmp/multipartBody4550100607867519072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715843014,"filename":"image_15042025_13_15_45_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5b6a8120afe6b66387752ce8c6e5ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5389202612236900803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715843014,"filename":"image_15042025_13_16_03_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3a99d8fbf024c01c40daadadce8fb3b.jpg","text":"TemporaryFile(/tmp/multipartBody2018367860597121850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715843014,"filename":"image_15042025_13_15_54_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349883134","file1":"1349883129","file0":"1349883124","file4":"1349883186","file5":"1349883223","file3":"1349883151"},"map_files_photo_id_array":[{"photo_id":"1349883223","filename":"file5"},{"photo_id":"1349883134","filename":"file2"},{"photo_id":"1349883186","filename":"file4"},{"photo_id":"1349883129","filename":"file1"},{"photo_id":"1349883124","filename":"file0"},{"photo_id":"1349883151","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349883134":["hashtag1","hashtag2"]},{"1349883223":["hashtag1","hashtag2"]},{"1349883151":["hashtag1","hashtag2"]},{"1349883124":["hashtag1","hashtag2"]},{"1349883186":["hashtag1","hashtag2"]},{"1349883129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349883134, 1349883223, 1349883151, 1349883124, 1349883186, 1349883129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46090364456177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:17:03.330131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_15_2665.jpg', '/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_21_3829.jpg', '/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_26_2643.jpg', '/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_33_2579.jpg', '/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_48_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_15_2665.jpg
/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_21_3829.jpg
/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_26_2643.jpg
/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_33_2579.jpg
/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_48_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883563","1349883371","1349883512","1349883463","1349883412"],"photo_ids_order":["1349883371","1349883412","1349883463","1349883512","1349883563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1940a9a41ef2ac7ff44d074be604998.jpg","text":"TemporaryFile(/tmp/multipartBody7957329208882631166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715884143,"filename":"image_15042025_13_16_48_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b9cf7a1db880f58e1fba439b6ab7587.jpg","text":"TemporaryFile(/tmp/multipartBody4081448065688622659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715884143,"filename":"image_15042025_13_16_15_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6520915b7b3a3510cb428ee2a08dcd5.jpg","text":"TemporaryFile(/tmp/multipartBody7246532417306665811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715884143,"filename":"image_15042025_13_16_33_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a421f73187eb443d215b5b18c92e4d8.jpg","text":"TemporaryFile(/tmp/multipartBody8284536304422350790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715884143,"filename":"image_15042025_13_16_26_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6afe17c8d0542ef84e6b60ae32a1fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2323399330037904740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715884143,"filename":"image_15042025_13_16_21_3829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349883463","file1":"1349883412","file0":"1349883371","file4":"1349883563","file3":"1349883512"},"map_files_photo_id_array":[{"photo_id":"1349883463","filename":"file2"},{"photo_id":"1349883563","filename":"file4"},{"photo_id":"1349883412","filename":"file1"},{"photo_id":"1349883371","filename":"file0"},{"photo_id":"1349883512","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349883563":["hashtag1","hashtag2"]},{"1349883371":["hashtag1","hashtag2"]},{"1349883512":["hashtag1","hashtag2"]},{"1349883463":["hashtag1","hashtag2"]},{"1349883412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349883563, 1349883371, 1349883512, 1349883463, 1349883412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.88719940185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:17:42.514413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_57_2551.jpg', '/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_05_2595.jpg', '/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_09_3600.jpg', '/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_21_2780.jpg', '/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_36_3808.jpg', '/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_41_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/16/image_15042025_13_16_57_2551.jpg
/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_05_2595.jpg
/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_09_3600.jpg
/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_21_2780.jpg
/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_36_3808.jpg
/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_41_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883830","1349883765","1349883819","1349883807","1349883797","1349883729"],"photo_ids_order":["1349883729","1349883765","1349883797","1349883807","1349883819","1349883830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d457217286effefb88d8a1b2d831bd0.jpg","text":"TemporaryFile(/tmp/multipartBody3466511624202070613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715923254,"filename":"image_15042025_13_17_41_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/129335601b8ca237492405dfb165a970.jpg","text":"TemporaryFile(/tmp/multipartBody8749095785336428544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715923254,"filename":"image_15042025_13_17_05_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19d5ffe4b2ee9c539a537a0f1a49ca8f.jpg","text":"TemporaryFile(/tmp/multipartBody7435855528895597521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715923254,"filename":"image_15042025_13_17_36_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84cb14a51f4623c321662ecd72d36e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8300913357031082718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715923254,"filename":"image_15042025_13_17_21_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a86684b624d5da1d2c43a1cc3c3c6c7f.jpg","text":"TemporaryFile(/tmp/multipartBody7024483444293822283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715923254,"filename":"image_15042025_13_17_09_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdbeb405820d61b3ca3a743d40829bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5596279567451414130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715923254,"filename":"image_15042025_13_16_57_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349883797","file1":"1349883765","file0":"1349883729","file4":"1349883819","file5":"1349883830","file3":"1349883807"},"map_files_photo_id_array":[{"photo_id":"1349883830","filename":"file5"},{"photo_id":"1349883797","filename":"file2"},{"photo_id":"1349883819","filename":"file4"},{"photo_id":"1349883765","filename":"file1"},{"photo_id":"1349883729","filename":"file0"},{"photo_id":"1349883807","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349883830":["hashtag1","hashtag2"]},{"1349883765":["hashtag1","hashtag2"]},{"1349883819":["hashtag1","hashtag2"]},{"1349883807":["hashtag1","hashtag2"]},{"1349883797":["hashtag1","hashtag2"]},{"1349883729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349883830, 1349883765, 1349883819, 1349883807, 1349883797, 1349883729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64201498031616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:18:22.449827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_57_3642.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_06_3549.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_11_2761.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_20_2631.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_24_3566.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_27_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/17/image_15042025_13_17_57_3642.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_06_3549.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_11_2761.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_20_2631.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_24_3566.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_27_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883875","1349883854","1349883859","1349883864","1349883930","1349883872"],"photo_ids_order":["1349883854","1349883859","1349883864","1349883872","1349883875","1349883930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d89d9606df356779a2413a12c73eb4c4.jpg","text":"TemporaryFile(/tmp/multipartBody7342047021724163317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715963169,"filename":"image_15042025_13_18_24_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bbfcb9c476ff19be9dd55217dd77f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5652545141979481136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715963169,"filename":"image_15042025_13_17_57_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c563abd494d4bcb8e710f51bdb21f65d.jpg","text":"TemporaryFile(/tmp/multipartBody9033350529989556640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715963169,"filename":"image_15042025_13_18_06_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00ea23d50faca5dc2a2afcaf0e039a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5729380965722182818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715963169,"filename":"image_15042025_13_18_11_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77ed8635b3a6232da7ebc0501706dfe1.jpg","text":"TemporaryFile(/tmp/multipartBody4777765310482942848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715963169,"filename":"image_15042025_13_18_27_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/756f5568a2082fbca5c0eea8d4053fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7801298146409852714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744715963169,"filename":"image_15042025_13_18_20_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349883864","file1":"1349883859","file0":"1349883854","file4":"1349883875","file5":"1349883930","file3":"1349883872"},"map_files_photo_id_array":[{"photo_id":"1349883930","filename":"file5"},{"photo_id":"1349883864","filename":"file2"},{"photo_id":"1349883875","filename":"file4"},{"photo_id":"1349883859","filename":"file1"},{"photo_id":"1349883854","filename":"file0"},{"photo_id":"1349883872","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349883875":["hashtag1","hashtag2"]},{"1349883854":["hashtag1","hashtag2"]},{"1349883859":["hashtag1","hashtag2"]},{"1349883864":["hashtag1","hashtag2"]},{"1349883930":["hashtag1","hashtag2"]},{"1349883872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349883875, 1349883854, 1349883859, 1349883864, 1349883930, 1349883872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87071228027344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:19:03.609451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_29_2712.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_32_2745.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_36_3661.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_38_2580.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_47_2671.jpg', '/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_51_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_29_2712.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_32_2745.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_36_3661.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_38_2580.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_47_2671.jpg
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_51_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349883996","1349883993","1349883987","1349883981","1349883998","1349883977"],"photo_ids_order":["1349883977","1349883981","1349883987","1349883993","1349883996","1349883998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/940c781f5c53470ec07160782fd3fd8b.jpg","text":"TemporaryFile(/tmp/multipartBody905748700459115452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716004609,"filename":"image_15042025_13_18_47_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfdf596c066422abffd6022550b5d745.jpg","text":"TemporaryFile(/tmp/multipartBody2638579850584567807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716004609,"filename":"image_15042025_13_18_38_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b44c42c016c5701d5ac0127a962b9d39.jpg","text":"TemporaryFile(/tmp/multipartBody110645897213423916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716004609,"filename":"image_15042025_13_18_36_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4242b10b2fdc1477afcff38eec1e6b15.jpg","text":"TemporaryFile(/tmp/multipartBody4062117315661163326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716004609,"filename":"image_15042025_13_18_32_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bc3d898432c596ddc4893a5ac3df6c2.jpg","text":"TemporaryFile(/tmp/multipartBody7171813950470254028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716004609,"filename":"image_15042025_13_18_51_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35d7370e6894aecb17d1dccb8498c157.jpg","text":"TemporaryFile(/tmp/multipartBody310662124743790907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716004609,"filename":"image_15042025_13_18_29_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349883987","file1":"1349883981","file0":"1349883977","file4":"1349883996","file5":"1349883998","file3":"1349883993"},"map_files_photo_id_array":[{"photo_id":"1349883998","filename":"file5"},{"photo_id":"1349883987","filename":"file2"},{"photo_id":"1349883996","filename":"file4"},{"photo_id":"1349883981","filename":"file1"},{"photo_id":"1349883977","filename":"file0"},{"photo_id":"1349883993","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349883996":["hashtag1","hashtag2"]},{"1349883993":["hashtag1","hashtag2"]},{"1349883987":["hashtag1","hashtag2"]},{"1349883981":["hashtag1","hashtag2"]},{"1349883998":["hashtag1","hashtag2"]},{"1349883977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349883996, 1349883993, 1349883987, 1349883981, 1349883998, 1349883977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4128577709198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:19:42.604994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_59_2725.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_03_3719.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_05_2624.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_09_3567.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_12_2776.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_17_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/18/image_15042025_13_18_59_2725.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_03_3719.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_05_2624.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_09_3567.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_12_2776.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_17_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884016","1349884071","1349884053","1349884041","1349884035","1349884028"],"photo_ids_order":["1349884016","1349884028","1349884035","1349884041","1349884053","1349884071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/654519e0f73fadcbd799a1f9377685aa.jpg","text":"TemporaryFile(/tmp/multipartBody5984046362372590857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716043382,"filename":"image_15042025_13_18_59_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a730da2b9544386b342dbe599ec0c67e.jpg","text":"TemporaryFile(/tmp/multipartBody804545544354450141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716043382,"filename":"image_15042025_13_19_17_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0baf12be887fcfe20b33e94a69748c27.jpg","text":"TemporaryFile(/tmp/multipartBody3205641333630097790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716043382,"filename":"image_15042025_13_19_12_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a98389edb4dfb05db47ba386d9e60407.jpg","text":"TemporaryFile(/tmp/multipartBody7053527699859464831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716043382,"filename":"image_15042025_13_19_09_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e10b5cbc94a684e5675a627dce025f61.jpg","text":"TemporaryFile(/tmp/multipartBody8939376877720240777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716043382,"filename":"image_15042025_13_19_05_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5835fc08447d4c0b23308583ea5b3b86.jpg","text":"TemporaryFile(/tmp/multipartBody5921232466004345999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716043382,"filename":"image_15042025_13_19_03_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349884035","file1":"1349884028","file0":"1349884016","file4":"1349884053","file5":"1349884071","file3":"1349884041"},"map_files_photo_id_array":[{"photo_id":"1349884071","filename":"file5"},{"photo_id":"1349884035","filename":"file2"},{"photo_id":"1349884053","filename":"file4"},{"photo_id":"1349884028","filename":"file1"},{"photo_id":"1349884016","filename":"file0"},{"photo_id":"1349884041","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349884016":["hashtag1","hashtag2"]},{"1349884071":["hashtag1","hashtag2"]},{"1349884053":["hashtag1","hashtag2"]},{"1349884041":["hashtag1","hashtag2"]},{"1349884035":["hashtag1","hashtag2"]},{"1349884028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349884016, 1349884071, 1349884053, 1349884041, 1349884035, 1349884028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04671025276184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:20:21.822258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_21_3637.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_26_2621.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_33_2566.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_39_3597.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_48_3743.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_51_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_21_3637.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_26_2621.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_33_2566.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_39_3597.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_48_3743.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_51_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884159","1349884123","1349884132","1349884108","1349884179","1349884139"],"photo_ids_order":["1349884108","1349884123","1349884132","1349884139","1349884159","1349884179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8962e5e0fe3ef59e80e19f0fefc62c7.jpg","text":"TemporaryFile(/tmp/multipartBody889665687535000808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716082536,"filename":"image_15042025_13_19_48_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9bcfaf15bca7de66a2898b1f53b7092.jpg","text":"TemporaryFile(/tmp/multipartBody8765007368459972671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716082536,"filename":"image_15042025_13_19_26_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c20c13ab1fd0d9e7f513565aa8323aa3.jpg","text":"TemporaryFile(/tmp/multipartBody5365222615909532469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716082536,"filename":"image_15042025_13_19_33_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b86d47b20c73907eb4d9e0158177112.jpg","text":"TemporaryFile(/tmp/multipartBody245917689631829819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716082536,"filename":"image_15042025_13_19_21_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eceea97c1c97ccdec51031683727e46a.jpg","text":"TemporaryFile(/tmp/multipartBody8710348220627038562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716082536,"filename":"image_15042025_13_19_51_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01189316c54d1f28cbc4307d4b81bec2.jpg","text":"TemporaryFile(/tmp/multipartBody5179772545162281888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716082536,"filename":"image_15042025_13_19_39_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349884132","file1":"1349884123","file0":"1349884108","file4":"1349884159","file5":"1349884179","file3":"1349884139"},"map_files_photo_id_array":[{"photo_id":"1349884179","filename":"file5"},{"photo_id":"1349884132","filename":"file2"},{"photo_id":"1349884159","filename":"file4"},{"photo_id":"1349884123","filename":"file1"},{"photo_id":"1349884108","filename":"file0"},{"photo_id":"1349884139","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349884159":["hashtag1","hashtag2"]},{"1349884123":["hashtag1","hashtag2"]},{"1349884132":["hashtag1","hashtag2"]},{"1349884108":["hashtag1","hashtag2"]},{"1349884179":["hashtag1","hashtag2"]},{"1349884139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349884159, 1349884123, 1349884132, 1349884108, 1349884179, 1349884139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.967214822769165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:21:03.552546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_53_2619.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_56_2819.jpg', '/home/pi/Desktop/images/15042025/13/19/image_15042025_13_20_00_3797.jpg', '/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_08_2769.jpg', '/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_12_3679.jpg', '/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_17_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_53_2619.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_19_56_2819.jpg
/home/pi/Desktop/images/15042025/13/19/image_15042025_13_20_00_3797.jpg
/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_08_2769.jpg
/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_12_3679.jpg
/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_17_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884220","1349884204","1349884215","1349884224","1349884218","1349884211"],"photo_ids_order":["1349884204","1349884211","1349884215","1349884218","1349884220","1349884224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f05d2f33c01c2dc674890a21d556293.jpg","text":"TemporaryFile(/tmp/multipartBody7703500842859887190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716124408,"filename":"image_15042025_13_20_12_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb8ea6619b3c0e6ab761130cce2ea26c.jpg","text":"TemporaryFile(/tmp/multipartBody4848111540773574134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716124408,"filename":"image_15042025_13_19_53_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db18a18e31c51911ce5158b05c124147.jpg","text":"TemporaryFile(/tmp/multipartBody1764932230284819263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716124408,"filename":"image_15042025_13_20_00_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64e54592e8f7623f99d11b703da324eb.jpg","text":"TemporaryFile(/tmp/multipartBody7876991079994548884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716124408,"filename":"image_15042025_13_20_17_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87cd8c06638646c419038538730ea8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8897268313917822803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716124408,"filename":"image_15042025_13_20_08_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ce20f57cc5c6b2427e549373a7ac984.jpg","text":"TemporaryFile(/tmp/multipartBody6615117575641838192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716124408,"filename":"image_15042025_13_19_56_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349884215","file1":"1349884211","file0":"1349884204","file4":"1349884220","file5":"1349884224","file3":"1349884218"},"map_files_photo_id_array":[{"photo_id":"1349884224","filename":"file5"},{"photo_id":"1349884215","filename":"file2"},{"photo_id":"1349884220","filename":"file4"},{"photo_id":"1349884211","filename":"file1"},{"photo_id":"1349884204","filename":"file0"},{"photo_id":"1349884218","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349884220":["hashtag1","hashtag2"]},{"1349884204":["hashtag1","hashtag2"]},{"1349884215":["hashtag1","hashtag2"]},{"1349884224":["hashtag1","hashtag2"]},{"1349884218":["hashtag1","hashtag2"]},{"1349884211":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349884220, 1349884204, 1349884215, 1349884224, 1349884218, 1349884211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23751902580261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:21:42.756198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_26_2659.jpg', '/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_56_2830.jpg', '/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_59_2827.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_05_2715.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_15_3649.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_20_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_26_2659.jpg
/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_56_2830.jpg
/home/pi/Desktop/images/15042025/13/20/image_15042025_13_20_59_2827.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_05_2715.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_15_3649.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_20_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884264","1349884252","1349884243","1349884274","1349884268","1349884259"],"photo_ids_order":["1349884243","1349884252","1349884259","1349884264","1349884268","1349884274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f36bd6cf4867ccb204e1dbe05849c037.jpg","text":"TemporaryFile(/tmp/multipartBody4144648818859634489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716163506,"filename":"image_15042025_13_21_05_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c33b08df33263b4e224e980e889014c5.jpg","text":"TemporaryFile(/tmp/multipartBody4782949214989961593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716163506,"filename":"image_15042025_13_20_56_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b15c3109be8e309da27ed326e2d5bfb5.jpg","text":"TemporaryFile(/tmp/multipartBody6984931508839892003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716163506,"filename":"image_15042025_13_20_26_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/655371cba442c187a08acf2435cc3fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3533094745220708887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716163506,"filename":"image_15042025_13_21_20_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e3b000bbdb52fbc2037304bfa33c4c5.jpg","text":"TemporaryFile(/tmp/multipartBody9052506517967095805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716163506,"filename":"image_15042025_13_21_15_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6984d87e59d47a9cb9e795a2b53ec980.jpg","text":"TemporaryFile(/tmp/multipartBody3541507636088986182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716163506,"filename":"image_15042025_13_20_59_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349884259","file1":"1349884252","file0":"1349884243","file4":"1349884268","file5":"1349884274","file3":"1349884264"},"map_files_photo_id_array":[{"photo_id":"1349884274","filename":"file5"},{"photo_id":"1349884259","filename":"file2"},{"photo_id":"1349884268","filename":"file4"},{"photo_id":"1349884252","filename":"file1"},{"photo_id":"1349884243","filename":"file0"},{"photo_id":"1349884264","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349884264":["hashtag1","hashtag2"]},{"1349884252":["hashtag1","hashtag2"]},{"1349884243":["hashtag1","hashtag2"]},{"1349884274":["hashtag1","hashtag2"]},{"1349884268":["hashtag1","hashtag2"]},{"1349884259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349884264, 1349884252, 1349884243, 1349884274, 1349884268, 1349884259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06060791015625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:22:22.559302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_27_3669.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_29_2699.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_32_2910.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_35_2801.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_38_3522.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_50_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_27_3669.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_29_2699.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_32_2910.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_35_2801.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_38_3522.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_50_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884360","1349884342","1349884368","1349884347","1349884352","1349884454"],"photo_ids_order":["1349884342","1349884347","1349884352","1349884360","1349884368","1349884454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c89ba9bf5516cd105c6059aee0e070be.jpg","text":"TemporaryFile(/tmp/multipartBody1698274352087783014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716203283,"filename":"image_15042025_13_21_35_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea8a97d0e87193b23b947d5eb94a6d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2967237683402580334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716203283,"filename":"image_15042025_13_21_27_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65baa15115948833b2b528379b331d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5081963919972308431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716203283,"filename":"image_15042025_13_21_38_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/690e18647a35662e0bd02f78e0fef25d.jpg","text":"TemporaryFile(/tmp/multipartBody4400017412278676463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716203283,"filename":"image_15042025_13_21_29_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19637078f3cfe9ac40856dc78320ce69.jpg","text":"TemporaryFile(/tmp/multipartBody1224148976513911600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716203283,"filename":"image_15042025_13_21_32_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7f912529d7e0ea25e337fa600807501.jpg","text":"TemporaryFile(/tmp/multipartBody2006691169071788252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716203283,"filename":"image_15042025_13_21_50_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349884352","file1":"1349884347","file0":"1349884342","file4":"1349884368","file5":"1349884454","file3":"1349884360"},"map_files_photo_id_array":[{"photo_id":"1349884454","filename":"file5"},{"photo_id":"1349884352","filename":"file2"},{"photo_id":"1349884368","filename":"file4"},{"photo_id":"1349884347","filename":"file1"},{"photo_id":"1349884342","filename":"file0"},{"photo_id":"1349884360","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349884360":["hashtag1","hashtag2"]},{"1349884342":["hashtag1","hashtag2"]},{"1349884368":["hashtag1","hashtag2"]},{"1349884347":["hashtag1","hashtag2"]},{"1349884352":["hashtag1","hashtag2"]},{"1349884454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349884360, 1349884342, 1349884368, 1349884347, 1349884352, 1349884454)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.818840742111206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:23:22.717593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_53_2675.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_57_3664.jpg', '/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_59_2672.jpg', '/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_02_2608.jpg', '/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_08_2575.jpg', '/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_11_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_53_2675.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_57_3664.jpg
/home/pi/Desktop/images/15042025/13/21/image_15042025_13_21_59_2672.jpg
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_02_2608.jpg
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_08_2575.jpg
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_11_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884615","1349884484","1349884673","1349884649","1349884643","1349884502"],"photo_ids_order":["1349884484","1349884502","1349884615","1349884643","1349884649","1349884673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2111420929895eb66b408cc00c6fd712.jpg","text":"TemporaryFile(/tmp/multipartBody8520770332979161934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716263459,"filename":"image_15042025_13_21_59_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1f39c71b80515d567aed7c23616d2f8.jpg","text":"TemporaryFile(/tmp/multipartBody6337370235582792127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716263459,"filename":"image_15042025_13_21_53_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73822ce93faba0c43064197aad003fc9.jpg","text":"TemporaryFile(/tmp/multipartBody1199902676484806017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716263459,"filename":"image_15042025_13_22_11_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95d7c7702ab219f9a09c9e42f2bc7342.jpg","text":"TemporaryFile(/tmp/multipartBody4032339416107767093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716263459,"filename":"image_15042025_13_22_08_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b28f4469d830f6bffc805c17f3f1352f.jpg","text":"TemporaryFile(/tmp/multipartBody1921509281508205062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716263459,"filename":"image_15042025_13_22_02_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/051b7adaf5ae1d37169ad38ea7ffd78c.jpg","text":"TemporaryFile(/tmp/multipartBody205572156340310180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716263459,"filename":"image_15042025_13_21_57_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349884615","file1":"1349884502","file0":"1349884484","file4":"1349884649","file5":"1349884673","file3":"1349884643"},"map_files_photo_id_array":[{"photo_id":"1349884673","filename":"file5"},{"photo_id":"1349884615","filename":"file2"},{"photo_id":"1349884649","filename":"file4"},{"photo_id":"1349884502","filename":"file1"},{"photo_id":"1349884484","filename":"file0"},{"photo_id":"1349884643","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349884615":["hashtag1","hashtag2"]},{"1349884484":["hashtag1","hashtag2"]},{"1349884673":["hashtag1","hashtag2"]},{"1349884649":["hashtag1","hashtag2"]},{"1349884643":["hashtag1","hashtag2"]},{"1349884502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349884615, 1349884484, 1349884673, 1349884649, 1349884643, 1349884502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83354949951172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:24:03.079047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_20_2699.jpg', '/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_23_2790.jpg', '/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_29_2596.jpg', '/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_33_3820.jpg', '/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_53_2796.jpg', '/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_57_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_20_2699.jpg
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_23_2790.jpg
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_29_2596.jpg
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_33_3820.jpg
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_53_2796.jpg
/home/pi/Desktop/images/15042025/13/22/image_15042025_13_22_57_3543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884869","1349884857","1349884886","1349884830","1349884880","1349884874"],"photo_ids_order":["1349884830","1349884857","1349884869","1349884874","1349884880","1349884886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50626286fe70697a6cf9d699ea1aec86.jpg","text":"TemporaryFile(/tmp/multipartBody5106922912821565470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716303975,"filename":"image_15042025_13_22_29_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73690c1ea8ed5c2e2e1de577b4049f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3332282919516805550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716303975,"filename":"image_15042025_13_22_23_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e2c82b4d8bd94865e580bbee2f57202.jpg","text":"TemporaryFile(/tmp/multipartBody4819357964012059749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716303975,"filename":"image_15042025_13_22_57_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a4879bfd132a6512defd903914cd403.jpg","text":"TemporaryFile(/tmp/multipartBody2741289276403121492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716303975,"filename":"image_15042025_13_22_20_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/257b514bdacfd7bc4ecb57b666788b92.jpg","text":"TemporaryFile(/tmp/multipartBody622668409742244108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716303975,"filename":"image_15042025_13_22_53_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/974697b4e2431651075553a2f5bb9bae.jpg","text":"TemporaryFile(/tmp/multipartBody7112168300277398864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716303975,"filename":"image_15042025_13_22_33_3820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349884869","file1":"1349884857","file0":"1349884830","file4":"1349884880","file5":"1349884886","file3":"1349884874"},"map_files_photo_id_array":[{"photo_id":"1349884886","filename":"file5"},{"photo_id":"1349884869","filename":"file2"},{"photo_id":"1349884880","filename":"file4"},{"photo_id":"1349884857","filename":"file1"},{"photo_id":"1349884830","filename":"file0"},{"photo_id":"1349884874","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349884869":["hashtag1","hashtag2"]},{"1349884857":["hashtag1","hashtag2"]},{"1349884886":["hashtag1","hashtag2"]},{"1349884830":["hashtag1","hashtag2"]},{"1349884880":["hashtag1","hashtag2"]},{"1349884874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349884869, 1349884857, 1349884886, 1349884830, 1349884880, 1349884874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.771644592285156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:25:02.709747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_02_2694.jpg', '/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_08_3687.jpg', '/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_11_2687.jpg', '/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_35_2788.jpg', '/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_41_3683.jpg', '/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_44_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_02_2694.jpg
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_08_3687.jpg
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_11_2687.jpg
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_35_2788.jpg
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_41_3683.jpg
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_44_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349884993","1349884975","1349885005","1349884953","1349885019","1349884970"],"photo_ids_order":["1349884953","1349884970","1349884975","1349884993","1349885005","1349885019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/702fe57890b209911d95db5c573036a8.jpg","text":"TemporaryFile(/tmp/multipartBody7043186419370110753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716363576,"filename":"image_15042025_13_23_35_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11b5d90d4d817f7f6e4c3c4aef50d33b.jpg","text":"TemporaryFile(/tmp/multipartBody2748186960150731290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716363576,"filename":"image_15042025_13_23_11_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/218ff197447ae4aee4b668db6d9011b9.jpg","text":"TemporaryFile(/tmp/multipartBody6156189111752498057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716363576,"filename":"image_15042025_13_23_41_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fae3c657ec19ddfe2b03df78f6655236.jpg","text":"TemporaryFile(/tmp/multipartBody2663532622071475186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716363576,"filename":"image_15042025_13_23_02_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/159f9e01cf02e159d51ab54b357001a8.jpg","text":"TemporaryFile(/tmp/multipartBody7422268868081908667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716363576,"filename":"image_15042025_13_23_44_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02df48a6d11b3689bb0b4c54a67d2260.jpg","text":"TemporaryFile(/tmp/multipartBody4965718338331908813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716363576,"filename":"image_15042025_13_23_08_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349884975","file1":"1349884970","file0":"1349884953","file4":"1349885005","file5":"1349885019","file3":"1349884993"},"map_files_photo_id_array":[{"photo_id":"1349885019","filename":"file5"},{"photo_id":"1349884975","filename":"file2"},{"photo_id":"1349885005","filename":"file4"},{"photo_id":"1349884970","filename":"file1"},{"photo_id":"1349884953","filename":"file0"},{"photo_id":"1349884993","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349884993":["hashtag1","hashtag2"]},{"1349884975":["hashtag1","hashtag2"]},{"1349885005":["hashtag1","hashtag2"]},{"1349884953":["hashtag1","hashtag2"]},{"1349885019":["hashtag1","hashtag2"]},{"1349884970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349884993, 1349884975, 1349885005, 1349884953, 1349885019, 1349884970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.500181913375854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:25:42.014136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_47_2770.jpg', '/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_50_2895.jpg', '/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_53_3592.jpg', '/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_56_2662.jpg', '/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_59_2574.jpg', '/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_02_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_47_2770.jpg
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_50_2895.jpg
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_53_3592.jpg
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_56_2662.jpg
/home/pi/Desktop/images/15042025/13/23/image_15042025_13_23_59_2574.jpg
/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_02_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885053","1349885032","1349885044","1349885038","1349885058","1349885066"],"photo_ids_order":["1349885032","1349885038","1349885044","1349885053","1349885058","1349885066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7fafb81dd3a30ae7a11b4dd9e82fafc8.jpg","text":"TemporaryFile(/tmp/multipartBody8622337070124881010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716402747,"filename":"image_15042025_13_23_56_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ff63c2b37d4bf4ce98af442b52705b6.jpg","text":"TemporaryFile(/tmp/multipartBody5774142318579369537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716402747,"filename":"image_15042025_13_23_47_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ea1f63b6f0ae9ab77b55bab70ced064.jpg","text":"TemporaryFile(/tmp/multipartBody7460350387494542583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716402747,"filename":"image_15042025_13_23_53_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b939cf98f256d2685b5fa59b96feed5.jpg","text":"TemporaryFile(/tmp/multipartBody1365235372353411465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716402747,"filename":"image_15042025_13_23_50_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/520141400dcb490b12b58349042786a6.jpg","text":"TemporaryFile(/tmp/multipartBody8872374632645578231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716402747,"filename":"image_15042025_13_23_59_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09fe3e931e4b77779fb34bc73809fd89.jpg","text":"TemporaryFile(/tmp/multipartBody5343372893532185792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716402747,"filename":"image_15042025_13_24_02_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349885044","file1":"1349885038","file0":"1349885032","file4":"1349885058","file5":"1349885066","file3":"1349885053"},"map_files_photo_id_array":[{"photo_id":"1349885066","filename":"file5"},{"photo_id":"1349885044","filename":"file2"},{"photo_id":"1349885058","filename":"file4"},{"photo_id":"1349885038","filename":"file1"},{"photo_id":"1349885032","filename":"file0"},{"photo_id":"1349885053","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349885053":["hashtag1","hashtag2"]},{"1349885032":["hashtag1","hashtag2"]},{"1349885044":["hashtag1","hashtag2"]},{"1349885038":["hashtag1","hashtag2"]},{"1349885058":["hashtag1","hashtag2"]},{"1349885066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349885053, 1349885032, 1349885044, 1349885038, 1349885058, 1349885066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68932890892029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:26:22.755903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_08_3642.jpg', '/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_14_3232.jpg', '/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_23_3718.jpg', '/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_29_2731.jpg', '/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_56_3556.jpg', '/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_59_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_08_3642.jpg
/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_14_3232.jpg
/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_23_3718.jpg
/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_29_2731.jpg
/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_56_3556.jpg
/home/pi/Desktop/images/15042025/13/24/image_15042025_13_24_59_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885140","1349885113","1349885101","1349885107","1349885118","1349885121"],"photo_ids_order":["1349885101","1349885107","1349885113","1349885118","1349885121","1349885140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee685e3d06ad90433ef39a2423403767.jpg","text":"TemporaryFile(/tmp/multipartBody5212994371873262778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716443475,"filename":"image_15042025_13_24_59_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d981e2af625fe07621685418bfb83797.jpg","text":"TemporaryFile(/tmp/multipartBody6709316919790663572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716443475,"filename":"image_15042025_13_24_23_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a45d293ce414e9f3a847cb7058bf6b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5667568213475063240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716443475,"filename":"image_15042025_13_24_08_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73cd73404e35bce81d9196b7084c67b2.jpg","text":"TemporaryFile(/tmp/multipartBody5916756211383530434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716443475,"filename":"image_15042025_13_24_14_3232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8a48f98fdb95559f8d512a9770dcd7b.jpg","text":"TemporaryFile(/tmp/multipartBody1267829317496305928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716443475,"filename":"image_15042025_13_24_29_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f903c09c0479f90577716e5af7df0da9.jpg","text":"TemporaryFile(/tmp/multipartBody1152746441871554451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716443475,"filename":"image_15042025_13_24_56_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349885113","file1":"1349885107","file0":"1349885101","file4":"1349885121","file5":"1349885140","file3":"1349885118"},"map_files_photo_id_array":[{"photo_id":"1349885140","filename":"file5"},{"photo_id":"1349885113","filename":"file2"},{"photo_id":"1349885121","filename":"file4"},{"photo_id":"1349885107","filename":"file1"},{"photo_id":"1349885101","filename":"file0"},{"photo_id":"1349885118","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349885140":["hashtag1","hashtag2"]},{"1349885113":["hashtag1","hashtag2"]},{"1349885101":["hashtag1","hashtag2"]},{"1349885107":["hashtag1","hashtag2"]},{"1349885118":["hashtag1","hashtag2"]},{"1349885121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349885140, 1349885113, 1349885101, 1349885107, 1349885118, 1349885121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26362729072571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:27:03.628214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_20_2687.jpg', '/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_23_3603.jpg', '/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_29_2879.jpg', '/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_31_2549.jpg', '/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_35_3951.jpg', '/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_38_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_20_2687.jpg
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_23_3603.jpg
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_29_2879.jpg
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_31_2549.jpg
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_35_3951.jpg
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_38_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885248","1349885236","1349885223","1349885208","1349885261","1349885243"],"photo_ids_order":["1349885208","1349885223","1349885236","1349885243","1349885248","1349885261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ede07e78fd4a6c2b1383e81ca29a338.jpg","text":"TemporaryFile(/tmp/multipartBody8800988022828842108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716484490,"filename":"image_15042025_13_25_35_3951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ce4dfc96bcf685eefc817ff8667af4d.jpg","text":"TemporaryFile(/tmp/multipartBody5076546979031754767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716484490,"filename":"image_15042025_13_25_29_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d83bc48beb8b3d3e5aa55cc6f7d247f.jpg","text":"TemporaryFile(/tmp/multipartBody4272853485791924376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716484490,"filename":"image_15042025_13_25_23_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/452a14fdaea500325d72c9eb25103c68.jpg","text":"TemporaryFile(/tmp/multipartBody1472941224519832750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716484490,"filename":"image_15042025_13_25_20_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8543331fc8da8f1b34cc9feba379422.jpg","text":"TemporaryFile(/tmp/multipartBody3564983252430378582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716484490,"filename":"image_15042025_13_25_38_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40b5cfd68a84585bbd61c7ea0ad2838d.jpg","text":"TemporaryFile(/tmp/multipartBody5980853736516298966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716484490,"filename":"image_15042025_13_25_31_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349885236","file1":"1349885223","file0":"1349885208","file4":"1349885248","file5":"1349885261","file3":"1349885243"},"map_files_photo_id_array":[{"photo_id":"1349885261","filename":"file5"},{"photo_id":"1349885236","filename":"file2"},{"photo_id":"1349885248","filename":"file4"},{"photo_id":"1349885223","filename":"file1"},{"photo_id":"1349885208","filename":"file0"},{"photo_id":"1349885243","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349885248":["hashtag1","hashtag2"]},{"1349885236":["hashtag1","hashtag2"]},{"1349885223":["hashtag1","hashtag2"]},{"1349885208":["hashtag1","hashtag2"]},{"1349885261":["hashtag1","hashtag2"]},{"1349885243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349885248, 1349885236, 1349885223, 1349885208, 1349885261, 1349885243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.286449909210205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:27:42.889715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_41_2608.jpg', '/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_47_2802.jpg', '/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_52_2883.jpg', '/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_56_3605.jpg', '/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_02_2720.jpg', '/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_08_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_41_2608.jpg
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_47_2802.jpg
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_52_2883.jpg
/home/pi/Desktop/images/15042025/13/25/image_15042025_13_25_56_3605.jpg
/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_02_2720.jpg
/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_08_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885365","1349885410","1349885387","1349885372","1349885402","1349885377"],"photo_ids_order":["1349885365","1349885372","1349885377","1349885387","1349885402","1349885410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cbcd6490f4a7accf4b7855c19fcb64ac.jpg","text":"TemporaryFile(/tmp/multipartBody4429223719871890668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716523657,"filename":"image_15042025_13_25_41_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45f4c8345f42e172d6c826f8fa6841a0.jpg","text":"TemporaryFile(/tmp/multipartBody3065731258403911384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716523657,"filename":"image_15042025_13_26_08_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ac15f18e3f8038585356abb4c51db89.jpg","text":"TemporaryFile(/tmp/multipartBody4135134710975911762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716523657,"filename":"image_15042025_13_25_56_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f43c0fd56df61d0de645ef3431df0499.jpg","text":"TemporaryFile(/tmp/multipartBody4940208123471345127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716523657,"filename":"image_15042025_13_25_47_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58fdeeed97d9ddd24336925a2e423155.jpg","text":"TemporaryFile(/tmp/multipartBody5101435612097429430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716523657,"filename":"image_15042025_13_26_02_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6b0782e59fc8952d043366b3fc669a0.jpg","text":"TemporaryFile(/tmp/multipartBody5866825826756867134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716523657,"filename":"image_15042025_13_25_52_2883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349885377","file1":"1349885372","file0":"1349885365","file4":"1349885402","file5":"1349885410","file3":"1349885387"},"map_files_photo_id_array":[{"photo_id":"1349885410","filename":"file5"},{"photo_id":"1349885377","filename":"file2"},{"photo_id":"1349885402","filename":"file4"},{"photo_id":"1349885372","filename":"file1"},{"photo_id":"1349885365","filename":"file0"},{"photo_id":"1349885387","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349885365":["hashtag1","hashtag2"]},{"1349885410":["hashtag1","hashtag2"]},{"1349885387":["hashtag1","hashtag2"]},{"1349885372":["hashtag1","hashtag2"]},{"1349885402":["hashtag1","hashtag2"]},{"1349885377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349885365, 1349885410, 1349885387, 1349885372, 1349885402, 1349885377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20832562446594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:28:22.695684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_19_2602.jpg', '/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_23_3679.jpg', '/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_29_2831.jpg', '/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_14_2643.jpg', '/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_29_2789.jpg', '/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_44_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_19_2602.jpg
/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_23_3679.jpg
/home/pi/Desktop/images/15042025/13/26/image_15042025_13_26_29_2831.jpg
/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_14_2643.jpg
/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_29_2789.jpg
/home/pi/Desktop/images/15042025/13/27/image_15042025_13_27_44_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885542","1349885536","1349885556","1349885531","1349885525","1349885549"],"photo_ids_order":["1349885525","1349885531","1349885536","1349885542","1349885549","1349885556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/637aa3edd903ae30d10d855ed68a5f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7913888102413940633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716563417,"filename":"image_15042025_13_27_14_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57c0e5f2b2f4486ca53869c5749ecd42.jpg","text":"TemporaryFile(/tmp/multipartBody872215706682977775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716563417,"filename":"image_15042025_13_26_29_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b293785026be1880680f3489d87cd6d0.jpg","text":"TemporaryFile(/tmp/multipartBody6356358477822573821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716563417,"filename":"image_15042025_13_27_44_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/832b2dce78c229a23f77960787c27006.jpg","text":"TemporaryFile(/tmp/multipartBody320802433311313875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716563417,"filename":"image_15042025_13_26_23_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0509538bee24d5efa7c7fca67d5eb59.jpg","text":"TemporaryFile(/tmp/multipartBody2315322183613463766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716563417,"filename":"image_15042025_13_26_19_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67e28dfff5a2115445fcf7cd24256e75.jpg","text":"TemporaryFile(/tmp/multipartBody7368868748521484429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716563417,"filename":"image_15042025_13_27_29_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349885536","file1":"1349885531","file0":"1349885525","file4":"1349885549","file5":"1349885556","file3":"1349885542"},"map_files_photo_id_array":[{"photo_id":"1349885556","filename":"file5"},{"photo_id":"1349885536","filename":"file2"},{"photo_id":"1349885549","filename":"file4"},{"photo_id":"1349885531","filename":"file1"},{"photo_id":"1349885525","filename":"file0"},{"photo_id":"1349885542","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349885542":["hashtag1","hashtag2"]},{"1349885536":["hashtag1","hashtag2"]},{"1349885556":["hashtag1","hashtag2"]},{"1349885531":["hashtag1","hashtag2"]},{"1349885525":["hashtag1","hashtag2"]},{"1349885549":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349885542, 1349885536, 1349885556, 1349885531, 1349885525, 1349885549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.389747858047485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:29:03.577906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_59_2781.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_08_2691.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_14_2791.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_39_3673.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_50_2721.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_53_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_59_2781.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_08_2691.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_14_2791.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_39_3673.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_50_2721.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_53_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885592","1349885607","1349885567","1349885599","1349885584","1349885575"],"photo_ids_order":["1349885567","1349885575","1349885584","1349885592","1349885599","1349885607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/534d9c1e5fad6e28ca1d5304964c2d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6135346627690591727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716606165,"filename":"image_14042025_09_54_39_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5df9762abfa9bdd0848baf3895edcf5f.jpg","text":"TemporaryFile(/tmp/multipartBody5258678834381479679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716606165,"filename":"image_14042025_09_54_53_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90dee819f91c9f5406f255d22a109198.jpg","text":"TemporaryFile(/tmp/multipartBody4250571603508790466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716606165,"filename":"image_14042025_09_53_59_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cc43954c8cb435064f2ddc06d2e2269.jpg","text":"TemporaryFile(/tmp/multipartBody6013013451604069412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716606165,"filename":"image_14042025_09_54_50_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39809f124aa7952cdd12bbaf90e2844b.jpg","text":"TemporaryFile(/tmp/multipartBody4988276715654385401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716606165,"filename":"image_14042025_09_54_14_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac85d4d6fbcf9d47f8c5b43dede870e2.jpg","text":"TemporaryFile(/tmp/multipartBody7398702228044281736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716606165,"filename":"image_14042025_09_54_08_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349885584","file1":"1349885575","file0":"1349885567","file4":"1349885599","file5":"1349885607","file3":"1349885592"},"map_files_photo_id_array":[{"photo_id":"1349885607","filename":"file5"},{"photo_id":"1349885584","filename":"file2"},{"photo_id":"1349885599","filename":"file4"},{"photo_id":"1349885575","filename":"file1"},{"photo_id":"1349885567","filename":"file0"},{"photo_id":"1349885592","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349885592":["hashtag1","hashtag2"]},{"1349885607":["hashtag1","hashtag2"]},{"1349885567":["hashtag1","hashtag2"]},{"1349885599":["hashtag1","hashtag2"]},{"1349885584":["hashtag1","hashtag2"]},{"1349885575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349885592, 1349885607, 1349885567, 1349885599, 1349885584, 1349885575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.951308250427246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:29:42.703244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/28/image_15042025_13_28_34_2884.jpg', '/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_13_2657.jpg', '/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_17_3765.jpg', '/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_22_2633.jpg', '/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_25_2904.jpg', '/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_46_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/28/image_15042025_13_28_34_2884.jpg
/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_13_2657.jpg
/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_17_3765.jpg
/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_22_2633.jpg
/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_25_2904.jpg
/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_46_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885722","1349885650","1349885655","1349885660","1349885729","1349885695"],"photo_ids_order":["1349885650","1349885655","1349885660","1349885695","1349885722","1349885729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1932555526d0d00d866d50ac6076d9a9.jpg","text":"TemporaryFile(/tmp/multipartBody4664817591627645980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716643465,"filename":"image_15042025_13_29_25_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc337a0d8e049f22926e372cdd33e927.jpg","text":"TemporaryFile(/tmp/multipartBody6388435410139965029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716643465,"filename":"image_15042025_13_28_34_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6015e5e6dd821c81a3f5566c54cc791b.jpg","text":"TemporaryFile(/tmp/multipartBody6203094191846855404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716643465,"filename":"image_15042025_13_29_13_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0369888780807597080e0be51d9c70da.jpg","text":"TemporaryFile(/tmp/multipartBody5405410994967934518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716643465,"filename":"image_15042025_13_29_17_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93fc0ad3339ee562a9627cec05459cb3.jpg","text":"TemporaryFile(/tmp/multipartBody9046213911819279705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716643465,"filename":"image_15042025_13_29_46_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87d1c1fa49c7d307d2fa4b45cd0a6582.jpg","text":"TemporaryFile(/tmp/multipartBody593914246458074413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716643465,"filename":"image_15042025_13_29_22_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349885660","file1":"1349885655","file0":"1349885650","file4":"1349885722","file5":"1349885729","file3":"1349885695"},"map_files_photo_id_array":[{"photo_id":"1349885729","filename":"file5"},{"photo_id":"1349885660","filename":"file2"},{"photo_id":"1349885722","filename":"file4"},{"photo_id":"1349885655","filename":"file1"},{"photo_id":"1349885650","filename":"file0"},{"photo_id":"1349885695","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349885722":["hashtag1","hashtag2"]},{"1349885650":["hashtag1","hashtag2"]},{"1349885655":["hashtag1","hashtag2"]},{"1349885660":["hashtag1","hashtag2"]},{"1349885729":["hashtag1","hashtag2"]},{"1349885695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349885722, 1349885650, 1349885655, 1349885660, 1349885729, 1349885695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53117275238037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:30:21.872339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_56_2726.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_59_3675.jpg', '/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_02_2880.jpg', '/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_05_2906.jpg', '/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_26_2772.jpg', '/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_44_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_56_2726.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_59_3675.jpg
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_02_2880.jpg
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_05_2906.jpg
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_26_2772.jpg
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_44_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349885833","1349885758","1349885936","1349886097","1349886139","1349885764"],"photo_ids_order":["1349885758","1349885764","1349885833","1349885936","1349886097","1349886139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/745b4d15b2fb138a30cfea9de456bc10.jpg","text":"TemporaryFile(/tmp/multipartBody2039645607402663847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716685034,"filename":"image_14042025_09_55_02_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc8c187d989a6535c9a7f3e4924a8287.jpg","text":"TemporaryFile(/tmp/multipartBody7136197109593681445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716685034,"filename":"image_14042025_09_54_56_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df5b359bbc2e2ce961c430ab932211ea.jpg","text":"TemporaryFile(/tmp/multipartBody5015669145440555416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716685034,"filename":"image_14042025_09_55_05_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2695a6d9d8173857047f52890d398edc.jpg","text":"TemporaryFile(/tmp/multipartBody3131242126437561855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716685034,"filename":"image_14042025_09_55_26_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/297880b6e0117130b0715f68d994b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody2110617431461236333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716685034,"filename":"image_14042025_09_55_44_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/448db288cd80ea79a04c83f535edfdb3.jpg","text":"TemporaryFile(/tmp/multipartBody7932313473636182675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716685034,"filename":"image_14042025_09_54_59_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349885833","file1":"1349885764","file0":"1349885758","file4":"1349886097","file5":"1349886139","file3":"1349885936"},"map_files_photo_id_array":[{"photo_id":"1349886139","filename":"file5"},{"photo_id":"1349885833","filename":"file2"},{"photo_id":"1349886097","filename":"file4"},{"photo_id":"1349885764","filename":"file1"},{"photo_id":"1349885758","filename":"file0"},{"photo_id":"1349885936","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349885833":["hashtag1","hashtag2"]},{"1349885758":["hashtag1","hashtag2"]},{"1349885936":["hashtag1","hashtag2"]},{"1349886097":["hashtag1","hashtag2"]},{"1349886139":["hashtag1","hashtag2"]},{"1349885764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349885833, 1349885758, 1349885936, 1349886097, 1349886139, 1349885764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.070629835128784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:31:02.809873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_29_2551.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_35_3637.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_41_2531.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_59_2799.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_20_2857.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_26_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_29_2551.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_35_3637.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_41_2531.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_59_2799.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_20_2857.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_26_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886273","1349886234","1349886182","1349886203","1349886175","1349886244"],"photo_ids_order":["1349886175","1349886182","1349886203","1349886234","1349886244","1349886273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87775118cf7ebab1a0f4de65b60a1e8d.jpg","text":"TemporaryFile(/tmp/multipartBody7930033564928222695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716725427,"filename":"image_14042025_09_57_26_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07c6a601183096b852ffd64cab8f2f52.jpg","text":"TemporaryFile(/tmp/multipartBody1844704586944005799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716725427,"filename":"image_14042025_09_56_59_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7c5f765535d81c55e2ba90840bfff55.jpg","text":"TemporaryFile(/tmp/multipartBody7023214880720179521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716725427,"filename":"image_14042025_09_56_35_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a8782f0b491334cf13a71eeb96b7b2d.jpg","text":"TemporaryFile(/tmp/multipartBody3535406744224893548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716725427,"filename":"image_14042025_09_56_41_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96f4e69ebe4bc81cc93c947cd21e7f86.jpg","text":"TemporaryFile(/tmp/multipartBody6912935755403718150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716725427,"filename":"image_14042025_09_56_29_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf12479452f1aa515e1636ddc0683f46.jpg","text":"TemporaryFile(/tmp/multipartBody2194010604840439445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716725427,"filename":"image_14042025_09_57_20_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886203","file1":"1349886182","file0":"1349886175","file4":"1349886244","file5":"1349886273","file3":"1349886234"},"map_files_photo_id_array":[{"photo_id":"1349886273","filename":"file5"},{"photo_id":"1349886203","filename":"file2"},{"photo_id":"1349886244","filename":"file4"},{"photo_id":"1349886182","filename":"file1"},{"photo_id":"1349886175","filename":"file0"},{"photo_id":"1349886234","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349886273":["hashtag1","hashtag2"]},{"1349886234":["hashtag1","hashtag2"]},{"1349886182":["hashtag1","hashtag2"]},{"1349886203":["hashtag1","hashtag2"]},{"1349886175":["hashtag1","hashtag2"]},{"1349886244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349886273, 1349886234, 1349886182, 1349886203, 1349886175, 1349886244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14330697059631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:31:42.100516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_50_3805.jpg', '/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_12_2608.jpg', '/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_24_2823.jpg', '/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_43_3735.jpg', '/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_46_2638.jpg', '/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_48_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/29/image_15042025_13_29_50_3805.jpg
/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_12_2608.jpg
/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_24_2823.jpg
/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_43_3735.jpg
/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_46_2638.jpg
/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_48_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886357","1349886351","1349886342","1349886362","1349886367","1349886334"],"photo_ids_order":["1349886334","1349886342","1349886351","1349886357","1349886362","1349886367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3643ae33926f1bb412a689c95f5c4db7.jpg","text":"TemporaryFile(/tmp/multipartBody611134430164201116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716762867,"filename":"image_15042025_13_31_43_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10d92a03e94f2b1e2f70cf0f18d2b47a.jpg","text":"TemporaryFile(/tmp/multipartBody4872416262426686817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716762867,"filename":"image_15042025_13_31_24_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab2e6f32bb8bedfea7549d5ad896b555.jpg","text":"TemporaryFile(/tmp/multipartBody8928046880990981465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716762867,"filename":"image_15042025_13_31_12_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/118290c32428ad94f67a96ecc4f02da7.jpg","text":"TemporaryFile(/tmp/multipartBody3321569850943893876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716762867,"filename":"image_15042025_13_31_46_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7781f844f18fc1b0ff3edb3492f28031.jpg","text":"TemporaryFile(/tmp/multipartBody4993503474103303514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716762867,"filename":"image_15042025_13_31_48_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c493db35d730802c7b251ecbd9b42b9f.jpg","text":"TemporaryFile(/tmp/multipartBody1921700728925998911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716762867,"filename":"image_15042025_13_29_50_3805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886351","file1":"1349886342","file0":"1349886334","file4":"1349886362","file5":"1349886367","file3":"1349886357"},"map_files_photo_id_array":[{"photo_id":"1349886367","filename":"file5"},{"photo_id":"1349886351","filename":"file2"},{"photo_id":"1349886362","filename":"file4"},{"photo_id":"1349886342","filename":"file1"},{"photo_id":"1349886334","filename":"file0"},{"photo_id":"1349886357","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349886357":["hashtag1","hashtag2"]},{"1349886351":["hashtag1","hashtag2"]},{"1349886342":["hashtag1","hashtag2"]},{"1349886362":["hashtag1","hashtag2"]},{"1349886367":["hashtag1","hashtag2"]},{"1349886334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349886357, 1349886351, 1349886342, 1349886362, 1349886367, 1349886334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28195643424988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:32:22.223572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_57_2665.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_04_3692.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_07_2687.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_09_2629.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_12_2839.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_16_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/31/image_15042025_13_31_57_2665.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_04_3692.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_07_2687.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_09_2629.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_12_2839.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_16_3701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886396","1349886384","1349886411","1349886407","1349886401","1349886388"],"photo_ids_order":["1349886384","1349886388","1349886396","1349886401","1349886407","1349886411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70c220230305de45e6bc56b5a6c5bffe.jpg","text":"TemporaryFile(/tmp/multipartBody2965594044455907712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716802943,"filename":"image_15042025_13_32_07_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73bd758e67ce04a2f782e5551b9506a9.jpg","text":"TemporaryFile(/tmp/multipartBody7125322118662399953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716802943,"filename":"image_15042025_13_31_57_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3b54164bdee839897a22823f5e1ac94.jpg","text":"TemporaryFile(/tmp/multipartBody7188571214853100252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716802943,"filename":"image_15042025_13_32_16_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80518971bf1a4b2ffa4a66421f236841.jpg","text":"TemporaryFile(/tmp/multipartBody4967510828113298395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716802943,"filename":"image_15042025_13_32_12_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d30062866d55e4e4bcf5da8be9e1b557.jpg","text":"TemporaryFile(/tmp/multipartBody2584606251008897831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716802943,"filename":"image_15042025_13_32_09_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/612cd26c0f14a678b669a5f9b6ca4180.jpg","text":"TemporaryFile(/tmp/multipartBody7725775749220848296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716802943,"filename":"image_15042025_13_32_04_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886396","file1":"1349886388","file0":"1349886384","file4":"1349886407","file5":"1349886411","file3":"1349886401"},"map_files_photo_id_array":[{"photo_id":"1349886411","filename":"file5"},{"photo_id":"1349886396","filename":"file2"},{"photo_id":"1349886407","filename":"file4"},{"photo_id":"1349886388","filename":"file1"},{"photo_id":"1349886384","filename":"file0"},{"photo_id":"1349886401","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349886396":["hashtag1","hashtag2"]},{"1349886384":["hashtag1","hashtag2"]},{"1349886411":["hashtag1","hashtag2"]},{"1349886407":["hashtag1","hashtag2"]},{"1349886401":["hashtag1","hashtag2"]},{"1349886388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349886396, 1349886384, 1349886411, 1349886407, 1349886401, 1349886388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.826101303100586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:33:02.559339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_31_3640.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_36_2607.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_42_2662.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_46_3588.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_51_2774.jpg', '/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_58_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_31_3640.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_36_2607.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_42_2662.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_46_3588.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_51_2774.jpg
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_32_58_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886459","1349886435","1349886443","1349886428","1349886469","1349886439"],"photo_ids_order":["1349886428","1349886435","1349886439","1349886443","1349886459","1349886469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad40155b7bbb4c53e624219a1718dcc2.jpg","text":"TemporaryFile(/tmp/multipartBody3074929918036913439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716843435,"filename":"image_15042025_13_32_51_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29897fad4908d4fa08aba154df7dd9bb.jpg","text":"TemporaryFile(/tmp/multipartBody2923713202666375887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716843435,"filename":"image_15042025_13_32_36_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f06644f589f9245b697f740a47a8d8de.jpg","text":"TemporaryFile(/tmp/multipartBody967231774904220811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716843435,"filename":"image_15042025_13_32_46_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8afa700a86c4712eef250e3e5aaa0611.jpg","text":"TemporaryFile(/tmp/multipartBody1886986947492235161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716843435,"filename":"image_15042025_13_32_31_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/227ca70431644a6cdcadaad93ec9f003.jpg","text":"TemporaryFile(/tmp/multipartBody6482091485455761389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716843435,"filename":"image_15042025_13_32_58_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09682f8d2f55ec0eae773511579b58c5.jpg","text":"TemporaryFile(/tmp/multipartBody4470249122920657980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716843435,"filename":"image_15042025_13_32_42_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886439","file1":"1349886435","file0":"1349886428","file4":"1349886459","file5":"1349886469","file3":"1349886443"},"map_files_photo_id_array":[{"photo_id":"1349886469","filename":"file5"},{"photo_id":"1349886439","filename":"file2"},{"photo_id":"1349886459","filename":"file4"},{"photo_id":"1349886435","filename":"file1"},{"photo_id":"1349886428","filename":"file0"},{"photo_id":"1349886443","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349886459":["hashtag1","hashtag2"]},{"1349886435":["hashtag1","hashtag2"]},{"1349886443":["hashtag1","hashtag2"]},{"1349886428":["hashtag1","hashtag2"]},{"1349886469":["hashtag1","hashtag2"]},{"1349886439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349886459, 1349886435, 1349886443, 1349886428, 1349886469, 1349886439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.357072830200195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:33:41.817807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/32/image_15042025_13_33_00_2537.jpg', '/home/pi/Desktop/images/15042025/13/33/image_15042025_13_33_09_2701.jpg', '/home/pi/Desktop/images/15042025/13/33/image_15042025_13_33_15_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/32/image_15042025_13_33_00_2537.jpg
/home/pi/Desktop/images/15042025/13/33/image_15042025_13_33_09_2701.jpg
/home/pi/Desktop/images/15042025/13/33/image_15042025_13_33_15_2665.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886486","1349886509","1349886499"],"photo_ids_order":["1349886486","1349886499","1349886509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5525c90cf9e3d00f5e6024b7960e2fa9.jpg","text":"TemporaryFile(/tmp/multipartBody3484887475402161583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716882464,"filename":"image_15042025_13_33_00_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5376c8bd0ac68cd89a519dbe4b4038b9.jpg","text":"TemporaryFile(/tmp/multipartBody8730482364298458288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716882464,"filename":"image_15042025_13_33_15_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c313e73134a6ff2cf8e52b2071688fe.jpg","text":"TemporaryFile(/tmp/multipartBody4958927394697857844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716882464,"filename":"image_15042025_13_33_09_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886509","file1":"1349886499","file0":"1349886486"},"map_files_photo_id_array":[{"photo_id":"1349886509","filename":"file2"},{"photo_id":"1349886499","filename":"file1"},{"photo_id":"1349886486","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349886486":["hashtag1","hashtag2"]},{"1349886509":["hashtag1","hashtag2"]},{"1349886499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349886486, 1349886509, 1349886499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.316134929656982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:34:03.402856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_29_2970.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_32_3648.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_35_2672.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_38_2500.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_41_3791.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_44_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_29_2970.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_32_3648.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_35_2672.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_38_2500.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_41_3791.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_44_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886576","1349886740","1349886542","1349886611","1349886724","1349886532"],"photo_ids_order":["1349886532","1349886542","1349886576","1349886611","1349886724","1349886740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00f7a2d78b87440a00f9015cd2b648e8.jpg","text":"TemporaryFile(/tmp/multipartBody165221580122492563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716905982,"filename":"image_14042025_09_57_35_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5dcc51eef30c00cd0b8e9c416faea63.jpg","text":"TemporaryFile(/tmp/multipartBody1640448270909022663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716905982,"filename":"image_14042025_09_57_44_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42013f795087050cbf2cbf94599a5fe9.jpg","text":"TemporaryFile(/tmp/multipartBody8076208543258305883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716905982,"filename":"image_14042025_09_57_32_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b29bcba89e32691e2afa65bcde4ff792.jpg","text":"TemporaryFile(/tmp/multipartBody4086971645256375863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716905982,"filename":"image_14042025_09_57_38_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5357f74774f94d08d2e149a8378a0dcc.jpg","text":"TemporaryFile(/tmp/multipartBody4231034765523702170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716905982,"filename":"image_14042025_09_57_41_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a927aee13fa254905f94a6946925f387.jpg","text":"TemporaryFile(/tmp/multipartBody5595967152719488130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716905982,"filename":"image_14042025_09_57_29_2970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886576","file1":"1349886542","file0":"1349886532","file4":"1349886724","file5":"1349886740","file3":"1349886611"},"map_files_photo_id_array":[{"photo_id":"1349886740","filename":"file5"},{"photo_id":"1349886576","filename":"file2"},{"photo_id":"1349886724","filename":"file4"},{"photo_id":"1349886542","filename":"file1"},{"photo_id":"1349886532","filename":"file0"},{"photo_id":"1349886611","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349886576":["hashtag1","hashtag2"]},{"1349886740":["hashtag1","hashtag2"]},{"1349886542":["hashtag1","hashtag2"]},{"1349886611":["hashtag1","hashtag2"]},{"1349886724":["hashtag1","hashtag2"]},{"1349886532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349886576, 1349886740, 1349886542, 1349886611, 1349886724, 1349886532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56398630142212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:34:42.744810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/33/image_15042025_13_34_01_3749.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_03_2650.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_06_2751.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_10_3614.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_12_2552.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_18_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/33/image_15042025_13_34_01_3749.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_03_2650.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_06_2751.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_10_3614.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_12_2552.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_18_3564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886789","1349886783","1349886784","1349886778","1349886763","1349886772"],"photo_ids_order":["1349886763","1349886772","1349886778","1349886783","1349886784","1349886789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/628bd6f3d79e70b7273c499781c1b194.jpg","text":"TemporaryFile(/tmp/multipartBody3282562573484683745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716943516,"filename":"image_15042025_13_34_18_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d5d8b8ddd0fa6a9af21eee03af42a49.jpg","text":"TemporaryFile(/tmp/multipartBody2895445493896201578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716943516,"filename":"image_15042025_13_34_10_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/209d76e8f94599cd7fe3a46a5315cda2.jpg","text":"TemporaryFile(/tmp/multipartBody5689415026175629343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716943516,"filename":"image_15042025_13_34_12_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9656e2264d1d41de4334299c55b187b.jpg","text":"TemporaryFile(/tmp/multipartBody673487926880966911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716943516,"filename":"image_15042025_13_34_06_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b26e1b77dde587faf6373bcfce9608a6.jpg","text":"TemporaryFile(/tmp/multipartBody7410912680306703952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716943516,"filename":"image_15042025_13_34_01_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acb1bb3edbecce1fc59be96899eeedd5.jpg","text":"TemporaryFile(/tmp/multipartBody2011748436757249494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716943516,"filename":"image_15042025_13_34_03_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886778","file1":"1349886772","file0":"1349886763","file4":"1349886784","file5":"1349886789","file3":"1349886783"},"map_files_photo_id_array":[{"photo_id":"1349886789","filename":"file5"},{"photo_id":"1349886778","filename":"file2"},{"photo_id":"1349886784","filename":"file4"},{"photo_id":"1349886772","filename":"file1"},{"photo_id":"1349886763","filename":"file0"},{"photo_id":"1349886783","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349886789":["hashtag1","hashtag2"]},{"1349886783":["hashtag1","hashtag2"]},{"1349886784":["hashtag1","hashtag2"]},{"1349886778":["hashtag1","hashtag2"]},{"1349886763":["hashtag1","hashtag2"]},{"1349886772":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349886789, 1349886783, 1349886784, 1349886778, 1349886763, 1349886772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55424189567566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:35:22.750296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_30_2609.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_33_2766.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_37_3561.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_45_2985.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_49_3711.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_54_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_30_2609.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_33_2766.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_37_3561.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_45_2985.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_49_3711.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_54_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886819","1349886813","1349886830","1349886836","1349886809","1349886826"],"photo_ids_order":["1349886809","1349886813","1349886819","1349886826","1349886830","1349886836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/551f87b28251a116e0f2b98a9eb7b0c8.jpg","text":"TemporaryFile(/tmp/multipartBody438661527323083079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716983474,"filename":"image_15042025_13_34_37_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/430b91650c4e6ac8b16eb8ff0fef5df6.jpg","text":"TemporaryFile(/tmp/multipartBody6734112183705824269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716983474,"filename":"image_15042025_13_34_33_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7fb7d74a02f01ba46566d319c998a7b2.jpg","text":"TemporaryFile(/tmp/multipartBody2578379162277206503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716983474,"filename":"image_15042025_13_34_49_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a89fa95d099e193085ed155d974fd4a8.jpg","text":"TemporaryFile(/tmp/multipartBody6873304010304176148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716983474,"filename":"image_15042025_13_34_54_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f35ac49780f218f083dff9b663e097b2.jpg","text":"TemporaryFile(/tmp/multipartBody4177542880268417144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716983474,"filename":"image_15042025_13_34_30_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62f5efe17cd4ba78923870dfcadefc4e.jpg","text":"TemporaryFile(/tmp/multipartBody5539532746257870072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744716983474,"filename":"image_15042025_13_34_45_2985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886819","file1":"1349886813","file0":"1349886809","file4":"1349886830","file5":"1349886836","file3":"1349886826"},"map_files_photo_id_array":[{"photo_id":"1349886836","filename":"file5"},{"photo_id":"1349886819","filename":"file2"},{"photo_id":"1349886830","filename":"file4"},{"photo_id":"1349886813","filename":"file1"},{"photo_id":"1349886809","filename":"file0"},{"photo_id":"1349886826","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349886819":["hashtag1","hashtag2"]},{"1349886813":["hashtag1","hashtag2"]},{"1349886830":["hashtag1","hashtag2"]},{"1349886836":["hashtag1","hashtag2"]},{"1349886809":["hashtag1","hashtag2"]},{"1349886826":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349886819, 1349886813, 1349886830, 1349886836, 1349886809, 1349886826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61108160018921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:36:02.703178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_58_3616.jpg', '/home/pi/Desktop/images/15042025/13/34/image_15042025_13_35_00_2688.jpg', '/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_12_2666.jpg', '/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_15_2650.jpg', '/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_21_2657.jpg', '/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_24_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_34_58_3616.jpg
/home/pi/Desktop/images/15042025/13/34/image_15042025_13_35_00_2688.jpg
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_12_2666.jpg
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_15_2650.jpg
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_21_2657.jpg
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_24_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886876","1349886863","1349886872","1349886880","1349886868","1349886856"],"photo_ids_order":["1349886856","1349886863","1349886868","1349886872","1349886876","1349886880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3cd47080df1c21e6b13b41b635ffeb7.jpg","text":"TemporaryFile(/tmp/multipartBody1313057003223629122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717023516,"filename":"image_15042025_13_35_21_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afe41156d219cfff22656f1ced337a59.jpg","text":"TemporaryFile(/tmp/multipartBody3596147160629970034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717023516,"filename":"image_15042025_13_35_00_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcbd1850c2ea56e92018ddda596518c5.jpg","text":"TemporaryFile(/tmp/multipartBody6233013851491846528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717023516,"filename":"image_15042025_13_35_15_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34a9c015de6cadf04a2cd3acd7a415a3.jpg","text":"TemporaryFile(/tmp/multipartBody2289406965245555580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717023516,"filename":"image_15042025_13_35_24_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21d5c55fd5f63503db80a2907282fad4.jpg","text":"TemporaryFile(/tmp/multipartBody4206924661077473677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717023516,"filename":"image_15042025_13_35_12_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4dd7429c7e943c478b40c35b94857ba.jpg","text":"TemporaryFile(/tmp/multipartBody4295885164385342285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717023516,"filename":"image_15042025_13_34_58_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886868","file1":"1349886863","file0":"1349886856","file4":"1349886876","file5":"1349886880","file3":"1349886872"},"map_files_photo_id_array":[{"photo_id":"1349886880","filename":"file5"},{"photo_id":"1349886868","filename":"file2"},{"photo_id":"1349886876","filename":"file4"},{"photo_id":"1349886863","filename":"file1"},{"photo_id":"1349886856","filename":"file0"},{"photo_id":"1349886872","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349886876":["hashtag1","hashtag2"]},{"1349886863":["hashtag1","hashtag2"]},{"1349886872":["hashtag1","hashtag2"]},{"1349886880":["hashtag1","hashtag2"]},{"1349886868":["hashtag1","hashtag2"]},{"1349886856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349886876, 1349886863, 1349886872, 1349886880, 1349886868, 1349886856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08758807182312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:36:42.231039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_30_2646.jpg', '/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_42_2697.jpg', '/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_46_3673.jpg', '/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_48_2872.jpg', '/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_51_2682.jpg', '/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_58_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_30_2646.jpg
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_42_2697.jpg
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_46_3673.jpg
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_48_2872.jpg
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_51_2682.jpg
/home/pi/Desktop/images/15042025/13/35/image_15042025_13_35_58_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886916","1349886893","1349886912","1349886923","1349886905","1349886898"],"photo_ids_order":["1349886893","1349886898","1349886905","1349886912","1349886916","1349886923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63c62240ef95a6354cb83ba56c98f1a5.jpg","text":"TemporaryFile(/tmp/multipartBody5773825961048869549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717062973,"filename":"image_15042025_13_35_51_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5eb14d03bab49e2a8810265e04c0d560.jpg","text":"TemporaryFile(/tmp/multipartBody5670131711173482910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717062973,"filename":"image_15042025_13_35_30_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e67e634031b5715451c59d50dff773f7.jpg","text":"TemporaryFile(/tmp/multipartBody2882006033392620080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717062973,"filename":"image_15042025_13_35_48_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8642e12c56488c857598d46e308f4666.jpg","text":"TemporaryFile(/tmp/multipartBody6090365921573757567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717062973,"filename":"image_15042025_13_35_58_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94c0a76c792ef959d079a48bcc29d18b.jpg","text":"TemporaryFile(/tmp/multipartBody1678092992364683710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717062973,"filename":"image_15042025_13_35_46_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd1947b9c398b7d5d72bdc5fa7b2c46c.jpg","text":"TemporaryFile(/tmp/multipartBody5314698789365287412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717062973,"filename":"image_15042025_13_35_42_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886905","file1":"1349886898","file0":"1349886893","file4":"1349886916","file5":"1349886923","file3":"1349886912"},"map_files_photo_id_array":[{"photo_id":"1349886923","filename":"file5"},{"photo_id":"1349886905","filename":"file2"},{"photo_id":"1349886916","filename":"file4"},{"photo_id":"1349886898","filename":"file1"},{"photo_id":"1349886893","filename":"file0"},{"photo_id":"1349886912","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349886916":["hashtag1","hashtag2"]},{"1349886893":["hashtag1","hashtag2"]},{"1349886912":["hashtag1","hashtag2"]},{"1349886923":["hashtag1","hashtag2"]},{"1349886905":["hashtag1","hashtag2"]},{"1349886898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349886916, 1349886893, 1349886912, 1349886923, 1349886905, 1349886898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25458836555481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:37:22.492277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_03_2685.jpg', '/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_07_3609.jpg', '/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_09_2549.jpg', '/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_16_3700.jpg', '/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_33_2614.jpg', '/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_36_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_03_2685.jpg
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_07_3609.jpg
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_09_2549.jpg
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_16_3700.jpg
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_33_2614.jpg
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_36_3716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349886975","1349886962","1349886956","1349886950","1349886967","1349886943"],"photo_ids_order":["1349886943","1349886950","1349886956","1349886962","1349886967","1349886975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f2aec7797bf709f28c0d589954e01b6.jpg","text":"TemporaryFile(/tmp/multipartBody3714341603596537055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717103217,"filename":"image_15042025_13_36_36_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9450f10ee5547f63fad6ff48ac42edb2.jpg","text":"TemporaryFile(/tmp/multipartBody1583993691977297101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717103217,"filename":"image_15042025_13_36_16_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/364c3c758e1585a19beeaf45bf2b7859.jpg","text":"TemporaryFile(/tmp/multipartBody4075595784853538051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717103217,"filename":"image_15042025_13_36_09_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bab0f639bc5b1229696abfd38ee192eb.jpg","text":"TemporaryFile(/tmp/multipartBody4874732739878716048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717103217,"filename":"image_15042025_13_36_07_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/698e085ab1fd080a7d51547fcd8d9439.jpg","text":"TemporaryFile(/tmp/multipartBody74653426961189440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717103217,"filename":"image_15042025_13_36_33_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72f2bdfd6682f7ae6c1bb482abdf180f.jpg","text":"TemporaryFile(/tmp/multipartBody1971869064621678913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717103217,"filename":"image_15042025_13_36_03_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349886956","file1":"1349886950","file0":"1349886943","file4":"1349886967","file5":"1349886975","file3":"1349886962"},"map_files_photo_id_array":[{"photo_id":"1349886975","filename":"file5"},{"photo_id":"1349886956","filename":"file2"},{"photo_id":"1349886967","filename":"file4"},{"photo_id":"1349886950","filename":"file1"},{"photo_id":"1349886943","filename":"file0"},{"photo_id":"1349886962","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349886975":["hashtag1","hashtag2"]},{"1349886962":["hashtag1","hashtag2"]},{"1349886956":["hashtag1","hashtag2"]},{"1349886950":["hashtag1","hashtag2"]},{"1349886967":["hashtag1","hashtag2"]},{"1349886943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349886975, 1349886962, 1349886956, 1349886950, 1349886967, 1349886943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.505374908447266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:38:02.732216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_39_2719.jpg', '/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_42_2562.jpg', '/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_45_3622.jpg', '/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_03_2609.jpg', '/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_06_3708.jpg', '/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_12_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_39_2719.jpg
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_42_2562.jpg
/home/pi/Desktop/images/15042025/13/36/image_15042025_13_36_45_3622.jpg
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_03_2609.jpg
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_06_3708.jpg
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_12_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349887053","1349887097","1349887079","1349887060","1349887036","1349886996"],"photo_ids_order":["1349886996","1349887036","1349887053","1349887060","1349887079","1349887097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86c84f690d2789041c26bffc5ba8a881.jpg","text":"TemporaryFile(/tmp/multipartBody924078510575576616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717143578,"filename":"image_15042025_13_36_45_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32fc9b727f7724780afb6d4ef77ab910.jpg","text":"TemporaryFile(/tmp/multipartBody2471719333731261540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717143578,"filename":"image_15042025_13_37_12_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a52429fe7fd6d7acff94f2f07f37e44d.jpg","text":"TemporaryFile(/tmp/multipartBody7987676629677333292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717143578,"filename":"image_15042025_13_37_06_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d171b995157e7ab72f4742fc30e04ea0.jpg","text":"TemporaryFile(/tmp/multipartBody8282417646447482718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717143578,"filename":"image_15042025_13_37_03_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d4fba6fad1c8cc031f1fbf47b908df5.jpg","text":"TemporaryFile(/tmp/multipartBody5995839627401363827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717143578,"filename":"image_15042025_13_36_42_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d8f8b0c14a0bb6e02173d1efd461936.jpg","text":"TemporaryFile(/tmp/multipartBody2248723147203444786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717143578,"filename":"image_15042025_13_36_39_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349887053","file1":"1349887036","file0":"1349886996","file4":"1349887079","file5":"1349887097","file3":"1349887060"},"map_files_photo_id_array":[{"photo_id":"1349887097","filename":"file5"},{"photo_id":"1349887053","filename":"file2"},{"photo_id":"1349887079","filename":"file4"},{"photo_id":"1349887036","filename":"file1"},{"photo_id":"1349886996","filename":"file0"},{"photo_id":"1349887060","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349887053":["hashtag1","hashtag2"]},{"1349887097":["hashtag1","hashtag2"]},{"1349887079":["hashtag1","hashtag2"]},{"1349887060":["hashtag1","hashtag2"]},{"1349887036":["hashtag1","hashtag2"]},{"1349886996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349887053, 1349887097, 1349887079, 1349887060, 1349887036, 1349886996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63296341896057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:38:42.254504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_15_3590.jpg', '/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_18_2675.jpg', '/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_24_2782.jpg', '/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_30_2804.jpg', '/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_48_3569.jpg', '/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_57_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_15_3590.jpg
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_18_2675.jpg
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_24_2782.jpg
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_30_2804.jpg
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_48_3569.jpg
/home/pi/Desktop/images/15042025/13/37/image_15042025_13_37_57_3745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349887224","1349887149","1349887215","1349887137","1349887181","1349887202"],"photo_ids_order":["1349887137","1349887149","1349887181","1349887202","1349887215","1349887224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f4cba9b071d947d49a1066b36cfd286.jpg","text":"TemporaryFile(/tmp/multipartBody3794421006278074616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717182991,"filename":"image_15042025_13_37_57_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0787dd1d65d58853429e177e64b1fef2.jpg","text":"TemporaryFile(/tmp/multipartBody6305052329495186090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717182991,"filename":"image_15042025_13_37_18_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/558ae01974ca2cf942c3b950e753326d.jpg","text":"TemporaryFile(/tmp/multipartBody1082668132392890346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717182991,"filename":"image_15042025_13_37_48_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2311cffd54b772662606cbb07936d176.jpg","text":"TemporaryFile(/tmp/multipartBody8273011430817094420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717182991,"filename":"image_15042025_13_37_15_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f331b260335fcb4128f24f4ee62c3881.jpg","text":"TemporaryFile(/tmp/multipartBody805148850417058098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717182991,"filename":"image_15042025_13_37_24_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0a5b7795a36f2f1914aad0fd9ba88f9.jpg","text":"TemporaryFile(/tmp/multipartBody7942944020604775499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717182991,"filename":"image_15042025_13_37_30_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349887181","file1":"1349887149","file0":"1349887137","file4":"1349887215","file5":"1349887224","file3":"1349887202"},"map_files_photo_id_array":[{"photo_id":"1349887224","filename":"file5"},{"photo_id":"1349887181","filename":"file2"},{"photo_id":"1349887215","filename":"file4"},{"photo_id":"1349887149","filename":"file1"},{"photo_id":"1349887137","filename":"file0"},{"photo_id":"1349887202","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349887224":["hashtag1","hashtag2"]},{"1349887149":["hashtag1","hashtag2"]},{"1349887215":["hashtag1","hashtag2"]},{"1349887137":["hashtag1","hashtag2"]},{"1349887181":["hashtag1","hashtag2"]},{"1349887202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349887224, 1349887149, 1349887215, 1349887137, 1349887181, 1349887202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.501100063323975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:39:21.857289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/38/image_15042025_13_38_48_2949.jpg', '/home/pi/Desktop/images/15042025/13/38/image_15042025_13_38_54_3628.jpg', '/home/pi/Desktop/images/15042025/13/38/image_15042025_13_38_59_2686.jpg', '/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_03_3644.jpg', '/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_06_2527.jpg', '/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_24_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/38/image_15042025_13_38_48_2949.jpg
/home/pi/Desktop/images/15042025/13/38/image_15042025_13_38_54_3628.jpg
/home/pi/Desktop/images/15042025/13/38/image_15042025_13_38_59_2686.jpg
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_03_3644.jpg
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_06_2527.jpg
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_24_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349887233","1349887262","1349887255","1349887249","1349887243","1349887237"],"photo_ids_order":["1349887233","1349887237","1349887243","1349887249","1349887255","1349887262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/deabd436ef3f27764146a078bdfc7584.jpg","text":"TemporaryFile(/tmp/multipartBody2340284863692533114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717222584,"filename":"image_15042025_13_38_48_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccd94fa6f5dff61cd368f1eb3ef9d645.jpg","text":"TemporaryFile(/tmp/multipartBody1539279407072228067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717222584,"filename":"image_15042025_13_39_24_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23483ec119b1aa15ea7e36e1208cdcd5.jpg","text":"TemporaryFile(/tmp/multipartBody7606976589808285922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717222584,"filename":"image_15042025_13_39_06_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f19d69bf125c24dc442b9ebd69882455.jpg","text":"TemporaryFile(/tmp/multipartBody6422279039406709776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717222584,"filename":"image_15042025_13_39_03_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a5b99fa0cab0f4bb4fcbdf28dbd732c.jpg","text":"TemporaryFile(/tmp/multipartBody3362005287646731174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717222584,"filename":"image_15042025_13_38_59_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c28ef5b83a2e7af6ae53f36985ff890f.jpg","text":"TemporaryFile(/tmp/multipartBody3927260272251377709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717222584,"filename":"image_15042025_13_38_54_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349887243","file1":"1349887237","file0":"1349887233","file4":"1349887255","file5":"1349887262","file3":"1349887249"},"map_files_photo_id_array":[{"photo_id":"1349887262","filename":"file5"},{"photo_id":"1349887243","filename":"file2"},{"photo_id":"1349887255","filename":"file4"},{"photo_id":"1349887237","filename":"file1"},{"photo_id":"1349887233","filename":"file0"},{"photo_id":"1349887249","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349887233":["hashtag1","hashtag2"]},{"1349887262":["hashtag1","hashtag2"]},{"1349887255":["hashtag1","hashtag2"]},{"1349887249":["hashtag1","hashtag2"]},{"1349887243":["hashtag1","hashtag2"]},{"1349887237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349887233, 1349887262, 1349887255, 1349887249, 1349887243, 1349887237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81698489189148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:40:03.114958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_30_3703.jpg', '/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_33_2520.jpg', '/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_48_3743.jpg', '/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_51_2707.jpg', '/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_54_2606.jpg', '/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_57_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_30_3703.jpg
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_33_2520.jpg
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_48_3743.jpg
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_51_2707.jpg
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_54_2606.jpg
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_39_57_3606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349887344","1349887434","1349887292","1349887280","1349887319","1349887275"],"photo_ids_order":["1349887275","1349887280","1349887292","1349887319","1349887344","1349887434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b62ee7419d034ed46036176db194d16.jpg","text":"TemporaryFile(/tmp/multipartBody7400698910395243041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717263979,"filename":"image_15042025_13_39_54_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8609267ac9865f6e08d0df4cba67fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4638560424369877818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717263979,"filename":"image_15042025_13_39_57_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a40ecbd3c8ef913cf2f571fdad84af51.jpg","text":"TemporaryFile(/tmp/multipartBody3018578272821110192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717263979,"filename":"image_15042025_13_39_48_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f45ef8f24c3a76088beefabfcd728bda.jpg","text":"TemporaryFile(/tmp/multipartBody2951335766133829518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717263979,"filename":"image_15042025_13_39_33_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e048da89db446cab3ef519de7ccc789f.jpg","text":"TemporaryFile(/tmp/multipartBody8916455140500370594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717263979,"filename":"image_15042025_13_39_51_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c3d07acb02e138c9a13369e832e734b.jpg","text":"TemporaryFile(/tmp/multipartBody5934018630281797793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717263979,"filename":"image_15042025_13_39_30_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349887292","file1":"1349887280","file0":"1349887275","file4":"1349887344","file5":"1349887434","file3":"1349887319"},"map_files_photo_id_array":[{"photo_id":"1349887434","filename":"file5"},{"photo_id":"1349887292","filename":"file2"},{"photo_id":"1349887344","filename":"file4"},{"photo_id":"1349887280","filename":"file1"},{"photo_id":"1349887275","filename":"file0"},{"photo_id":"1349887319","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349887344":["hashtag1","hashtag2"]},{"1349887434":["hashtag1","hashtag2"]},{"1349887292":["hashtag1","hashtag2"]},{"1349887280":["hashtag1","hashtag2"]},{"1349887319":["hashtag1","hashtag2"]},{"1349887275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349887344, 1349887434, 1349887292, 1349887280, 1349887319, 1349887275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4819860458374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:41:03.056553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/39/image_15042025_13_40_00_2626.jpg', '/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_27_2810.jpg', '/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_29_2674.jpg', '/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_33_3642.jpg', '/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_36_2705.jpg', '/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_38_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/39/image_15042025_13_40_00_2626.jpg
/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_27_2810.jpg
/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_29_2674.jpg
/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_33_3642.jpg
/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_36_2705.jpg
/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_38_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349887638","1349887824","1349887775","1349887547","1349887741","1349887587"],"photo_ids_order":["1349887547","1349887587","1349887638","1349887741","1349887775","1349887824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78ee484f7fe757364708e70ba78503ed.jpg","text":"TemporaryFile(/tmp/multipartBody340005347520553530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717323924,"filename":"image_15042025_13_40_29_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a3489e20e0542f3d965956fc3e6092c.jpg","text":"TemporaryFile(/tmp/multipartBody4445989929672820519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717323924,"filename":"image_15042025_13_40_38_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9a79193f8d8323f48c939050713cb41.jpg","text":"TemporaryFile(/tmp/multipartBody5120683649254904916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717323924,"filename":"image_15042025_13_40_36_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4280eb1f780815d71f63582a6c1412f9.jpg","text":"TemporaryFile(/tmp/multipartBody1038869464478502643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717323924,"filename":"image_15042025_13_40_00_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1f13dbdaa58a91bd27d677dd38f15fd.jpg","text":"TemporaryFile(/tmp/multipartBody7986899416482497744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717323924,"filename":"image_15042025_13_40_33_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ad70efc841e6f317e0205e7115c45e0.jpg","text":"TemporaryFile(/tmp/multipartBody3517026723840600012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717323924,"filename":"image_15042025_13_40_27_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349887638","file1":"1349887587","file0":"1349887547","file4":"1349887775","file5":"1349887824","file3":"1349887741"},"map_files_photo_id_array":[{"photo_id":"1349887824","filename":"file5"},{"photo_id":"1349887638","filename":"file2"},{"photo_id":"1349887775","filename":"file4"},{"photo_id":"1349887587","filename":"file1"},{"photo_id":"1349887547","filename":"file0"},{"photo_id":"1349887741","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349887638":["hashtag1","hashtag2"]},{"1349887824":["hashtag1","hashtag2"]},{"1349887775":["hashtag1","hashtag2"]},{"1349887547":["hashtag1","hashtag2"]},{"1349887741":["hashtag1","hashtag2"]},{"1349887587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349887638, 1349887824, 1349887775, 1349887547, 1349887741, 1349887587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.687055826187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:41:42.196609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_45_2645.jpg', '/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_57_2700.jpg', '/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_59_2700.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_03_3788.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_08_2590.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_12_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_45_2645.jpg
/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_57_2700.jpg
/home/pi/Desktop/images/15042025/13/40/image_15042025_13_40_59_2700.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_03_3788.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_08_2590.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_12_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349888078","1349888213","1349888036","1349888105","1349888176","1349888148"],"photo_ids_order":["1349888036","1349888078","1349888105","1349888148","1349888176","1349888213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3ee02715fadbabd536888bcdcb2dd3a.jpg","text":"TemporaryFile(/tmp/multipartBody2887643031909159765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717362977,"filename":"image_15042025_13_40_57_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/829d7e5b0e284c4e0e76b651295b06ff.jpg","text":"TemporaryFile(/tmp/multipartBody8578519934075801732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717362977,"filename":"image_15042025_13_41_12_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39f1b0c9e9063bd83a505866b73bc083.jpg","text":"TemporaryFile(/tmp/multipartBody4860317308007001173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717362977,"filename":"image_15042025_13_40_45_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31083225100da3427e3c2e0a4dc88c68.jpg","text":"TemporaryFile(/tmp/multipartBody6271350502250058284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717362977,"filename":"image_15042025_13_40_59_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/212055c1698a3ac1b9abc4450beba6b5.jpg","text":"TemporaryFile(/tmp/multipartBody5706316610334249284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717362977,"filename":"image_15042025_13_41_08_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3558842e1b6a76fda691bffd91560a04.jpg","text":"TemporaryFile(/tmp/multipartBody1692156478830787376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717362977,"filename":"image_15042025_13_41_03_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349888105","file1":"1349888078","file0":"1349888036","file4":"1349888176","file5":"1349888213","file3":"1349888148"},"map_files_photo_id_array":[{"photo_id":"1349888213","filename":"file5"},{"photo_id":"1349888105","filename":"file2"},{"photo_id":"1349888176","filename":"file4"},{"photo_id":"1349888078","filename":"file1"},{"photo_id":"1349888036","filename":"file0"},{"photo_id":"1349888148","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349888078":["hashtag1","hashtag2"]},{"1349888213":["hashtag1","hashtag2"]},{"1349888036":["hashtag1","hashtag2"]},{"1349888105":["hashtag1","hashtag2"]},{"1349888176":["hashtag1","hashtag2"]},{"1349888148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349888078, 1349888213, 1349888036, 1349888105, 1349888176, 1349888148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98671770095825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:42:22.553921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_18_2837.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_23_2863.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_27_3554.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_29_2719.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_36_3811.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_39_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_18_2837.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_23_2863.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_27_3554.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_29_2719.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_36_3811.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_39_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349888396","1349888483","1349888477","1349888321","1349888458","1349888443"],"photo_ids_order":["1349888321","1349888396","1349888443","1349888458","1349888477","1349888483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/723afa1fa52d23154e387eed26eadbe6.jpg","text":"TemporaryFile(/tmp/multipartBody841877369683111552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717403303,"filename":"image_15042025_13_41_23_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44526f2b7e9e97a223a913228532043a.jpg","text":"TemporaryFile(/tmp/multipartBody3196313255143249703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717403303,"filename":"image_15042025_13_41_39_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbb98401823b31aa15a1037f96d6abd9.jpg","text":"TemporaryFile(/tmp/multipartBody4383940408036555757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717403303,"filename":"image_15042025_13_41_36_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b44d27ed0a8113caa1a463664eb30e27.jpg","text":"TemporaryFile(/tmp/multipartBody4109043381203763094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717403303,"filename":"image_15042025_13_41_18_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa605f638ddef307bf955ab9c1ed5a83.jpg","text":"TemporaryFile(/tmp/multipartBody1388207230004982344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717403303,"filename":"image_15042025_13_41_29_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e03219204c1788c02188f8d460d5dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6103156738264276580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717403303,"filename":"image_15042025_13_41_27_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349888443","file1":"1349888396","file0":"1349888321","file4":"1349888477","file5":"1349888483","file3":"1349888458"},"map_files_photo_id_array":[{"photo_id":"1349888483","filename":"file5"},{"photo_id":"1349888443","filename":"file2"},{"photo_id":"1349888477","filename":"file4"},{"photo_id":"1349888396","filename":"file1"},{"photo_id":"1349888321","filename":"file0"},{"photo_id":"1349888458","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349888396":["hashtag1","hashtag2"]},{"1349888483":["hashtag1","hashtag2"]},{"1349888477":["hashtag1","hashtag2"]},{"1349888321":["hashtag1","hashtag2"]},{"1349888458":["hashtag1","hashtag2"]},{"1349888443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349888396, 1349888483, 1349888477, 1349888321, 1349888458, 1349888443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83626317977905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:43:22.637605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_41_2589.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_45_3725.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_50_2710.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_53_2763.jpg', '/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_57_3730.jpg', '/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_18_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_41_2589.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_45_3725.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_50_2710.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_53_2763.jpg
/home/pi/Desktop/images/15042025/13/41/image_15042025_13_41_57_3730.jpg
/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_18_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349888828","1349888624","1349888606","1349888807","1349888643","1349888730"],"photo_ids_order":["1349888606","1349888624","1349888643","1349888730","1349888807","1349888828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f33afb849812ebba3079988641eae412.jpg","text":"TemporaryFile(/tmp/multipartBody1865445870461191844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717463354,"filename":"image_15042025_13_42_18_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55ab00ef92cc16dafbcdbd52a5b481bd.jpg","text":"TemporaryFile(/tmp/multipartBody8232740768361156850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717463354,"filename":"image_15042025_13_41_45_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa970e897abad24fc9efa2af4eeaa229.jpg","text":"TemporaryFile(/tmp/multipartBody246481350214213521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717463354,"filename":"image_15042025_13_41_41_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10895c6d1dfb3b1ecd738ff9b9539bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4696480571291283623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717463354,"filename":"image_15042025_13_41_57_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3280f0b3f86929bd96357f4eae09c4f5.jpg","text":"TemporaryFile(/tmp/multipartBody5765425880679722530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717463354,"filename":"image_15042025_13_41_50_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dcb543b34e41d699ecb2147fbdfd03c.jpg","text":"TemporaryFile(/tmp/multipartBody557696942391586388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717463354,"filename":"image_15042025_13_41_53_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349888643","file1":"1349888624","file0":"1349888606","file4":"1349888807","file5":"1349888828","file3":"1349888730"},"map_files_photo_id_array":[{"photo_id":"1349888828","filename":"file5"},{"photo_id":"1349888643","filename":"file2"},{"photo_id":"1349888807","filename":"file4"},{"photo_id":"1349888624","filename":"file1"},{"photo_id":"1349888606","filename":"file0"},{"photo_id":"1349888730","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349888828":["hashtag1","hashtag2"]},{"1349888624":["hashtag1","hashtag2"]},{"1349888606":["hashtag1","hashtag2"]},{"1349888807":["hashtag1","hashtag2"]},{"1349888643":["hashtag1","hashtag2"]},{"1349888730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349888828, 1349888624, 1349888606, 1349888807, 1349888643, 1349888730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.153968811035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:44:03.165926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_23_2692.jpg', '/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_27_3619.jpg', '/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_32_2566.jpg', '/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_36_3697.jpg', '/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_41_2698.jpg', '/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_56_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_23_2692.jpg
/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_27_3619.jpg
/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_32_2566.jpg
/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_36_3697.jpg
/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_41_2698.jpg
/home/pi/Desktop/images/15042025/13/42/image_15042025_13_42_56_2877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349889094","1349889079","1349889031","1349888929","1349889063","1349889050"],"photo_ids_order":["1349888929","1349889031","1349889050","1349889063","1349889079","1349889094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/491f3b31d85bb15493020a9c1f89808f.jpg","text":"TemporaryFile(/tmp/multipartBody6067969082171602229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717504094,"filename":"image_15042025_13_42_56_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6c4473ab8a19ec00f47ad6dd44bc897.jpg","text":"TemporaryFile(/tmp/multipartBody1402804614370727969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717504094,"filename":"image_15042025_13_42_41_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fec91e3926d4048542e3ce74b47e623.jpg","text":"TemporaryFile(/tmp/multipartBody1291559967507546022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717504094,"filename":"image_15042025_13_42_27_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3d13b84d6c577664434e226a5899904.jpg","text":"TemporaryFile(/tmp/multipartBody562081135332283386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717504094,"filename":"image_15042025_13_42_23_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c1897d0ed84b5b3e3e212fe37f7e30e.jpg","text":"TemporaryFile(/tmp/multipartBody8500223001875748367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717504094,"filename":"image_15042025_13_42_36_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1617b926e0aee8046fb0835a72e89a34.jpg","text":"TemporaryFile(/tmp/multipartBody7126684046536511445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717504094,"filename":"image_15042025_13_42_32_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349889050","file1":"1349889031","file0":"1349888929","file4":"1349889079","file5":"1349889094","file3":"1349889063"},"map_files_photo_id_array":[{"photo_id":"1349889094","filename":"file5"},{"photo_id":"1349889050","filename":"file2"},{"photo_id":"1349889079","filename":"file4"},{"photo_id":"1349889031","filename":"file1"},{"photo_id":"1349888929","filename":"file0"},{"photo_id":"1349889063","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349889094":["hashtag1","hashtag2"]},{"1349889079":["hashtag1","hashtag2"]},{"1349889031":["hashtag1","hashtag2"]},{"1349888929":["hashtag1","hashtag2"]},{"1349889063":["hashtag1","hashtag2"]},{"1349889050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349889094, 1349889079, 1349889031, 1349888929, 1349889063, 1349889050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.64178204536438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:45:02.950481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/42/image_15042025_13_43_00_3747.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_03_2734.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_05_2614.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_08_2829.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_12_3630.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_14_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/42/image_15042025_13_43_00_3747.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_03_2734.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_05_2614.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_08_2829.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_12_3630.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_14_2535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349889155","1349889193","1349889175","1349889226","1349889205","1349889263"],"photo_ids_order":["1349889155","1349889175","1349889193","1349889205","1349889226","1349889263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a559947d913f7592d0d1c7eab7d04081.jpg","text":"TemporaryFile(/tmp/multipartBody5979786829289980539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717563879,"filename":"image_15042025_13_43_00_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0778c80e2bca9ae854719690be51e982.jpg","text":"TemporaryFile(/tmp/multipartBody1066166663846895593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717563879,"filename":"image_15042025_13_43_05_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b37ffcfd27c8a3970a136920f1210dee.jpg","text":"TemporaryFile(/tmp/multipartBody1504973077138873634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717563879,"filename":"image_15042025_13_43_03_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a15d1a9595aa19330d59dbfbd39a247.jpg","text":"TemporaryFile(/tmp/multipartBody3991020167823548860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717563879,"filename":"image_15042025_13_43_12_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d34d414e2f43a872a730e147b077d0df.jpg","text":"TemporaryFile(/tmp/multipartBody8843812013526255478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717563879,"filename":"image_15042025_13_43_08_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bb43aad12dc2b2fddeb79393bc95fc3.jpg","text":"TemporaryFile(/tmp/multipartBody9220327762697955032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717563879,"filename":"image_15042025_13_43_14_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349889193","file1":"1349889175","file0":"1349889155","file4":"1349889226","file5":"1349889263","file3":"1349889205"},"map_files_photo_id_array":[{"photo_id":"1349889263","filename":"file5"},{"photo_id":"1349889193","filename":"file2"},{"photo_id":"1349889226","filename":"file4"},{"photo_id":"1349889175","filename":"file1"},{"photo_id":"1349889155","filename":"file0"},{"photo_id":"1349889205","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349889155":["hashtag1","hashtag2"]},{"1349889193":["hashtag1","hashtag2"]},{"1349889175":["hashtag1","hashtag2"]},{"1349889226":["hashtag1","hashtag2"]},{"1349889205":["hashtag1","hashtag2"]},{"1349889263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349889155, 1349889193, 1349889175, 1349889226, 1349889205, 1349889263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25715208053589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:45:42.180445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_17_2686.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_21_3548.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_30_3702.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_32_2656.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_35_2623.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_39_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_17_2686.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_21_3548.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_30_3702.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_32_2656.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_35_2623.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_39_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349889329","1349889325","1349889307","1349889339","1349889333","1349889321"],"photo_ids_order":["1349889307","1349889321","1349889325","1349889329","1349889333","1349889339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb0645e51c0cee4d2bad9f47f71afb4d.jpg","text":"TemporaryFile(/tmp/multipartBody8394397164981066403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717602949,"filename":"image_15042025_13_43_32_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/669f1ca9c02344d2b127587c5805262d.jpg","text":"TemporaryFile(/tmp/multipartBody4875551480505628474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717602949,"filename":"image_15042025_13_43_30_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70dc7fca6c0c6187d9f11d5364cbfdf2.jpg","text":"TemporaryFile(/tmp/multipartBody1801132472810459119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717602949,"filename":"image_15042025_13_43_17_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/faca86fea3661dc6692f6885b92fd79f.jpg","text":"TemporaryFile(/tmp/multipartBody8793671018855072938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717602949,"filename":"image_15042025_13_43_39_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8bf5b41bd0b1ed7e49a8573d56f1e27.jpg","text":"TemporaryFile(/tmp/multipartBody8755511115537758898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717602949,"filename":"image_15042025_13_43_35_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92f0875e7b5a492935d919ad19f42fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2266120029923193625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717602949,"filename":"image_15042025_13_43_21_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349889325","file1":"1349889321","file0":"1349889307","file4":"1349889333","file5":"1349889339","file3":"1349889329"},"map_files_photo_id_array":[{"photo_id":"1349889339","filename":"file5"},{"photo_id":"1349889325","filename":"file2"},{"photo_id":"1349889333","filename":"file4"},{"photo_id":"1349889321","filename":"file1"},{"photo_id":"1349889307","filename":"file0"},{"photo_id":"1349889329","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349889329":["hashtag1","hashtag2"]},{"1349889325":["hashtag1","hashtag2"]},{"1349889307":["hashtag1","hashtag2"]},{"1349889339":["hashtag1","hashtag2"]},{"1349889333":["hashtag1","hashtag2"]},{"1349889321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349889329, 1349889325, 1349889307, 1349889339, 1349889333, 1349889321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60985612869263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:46:22.326624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_41_2710.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_45_3634.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_48_2741.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_57_3729.jpg', '/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_59_2666.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_06_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_41_2710.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_45_3634.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_48_2741.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_57_3729.jpg
/home/pi/Desktop/images/15042025/13/43/image_15042025_13_43_59_2666.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_06_3665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349889431","1349889382","1349889364","1349889412","1349889396","1349889450"],"photo_ids_order":["1349889364","1349889382","1349889396","1349889412","1349889431","1349889450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5282d44d3628caf9ab16130e794ad3e.jpg","text":"TemporaryFile(/tmp/multipartBody8090059878529799644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717643044,"filename":"image_15042025_13_43_59_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e3c88fb188d24d5f4907418e5155b25.jpg","text":"TemporaryFile(/tmp/multipartBody1324164832552148280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717643044,"filename":"image_15042025_13_43_45_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fdd8502a60040bbef1b31fcd555b718f.jpg","text":"TemporaryFile(/tmp/multipartBody7341897542259029801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717643044,"filename":"image_15042025_13_43_41_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57e7afec09f42f9011d85949a2200baa.jpg","text":"TemporaryFile(/tmp/multipartBody3927055378375391327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717643044,"filename":"image_15042025_13_43_57_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fd431092829d312bfcdf41a9c97b3ec.jpg","text":"TemporaryFile(/tmp/multipartBody3282535405549692746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717643044,"filename":"image_15042025_13_43_48_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aaffc673baaed0ba0c1996c350d5655b.jpg","text":"TemporaryFile(/tmp/multipartBody2472324719702174830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717643044,"filename":"image_15042025_13_44_06_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349889396","file1":"1349889382","file0":"1349889364","file4":"1349889431","file5":"1349889450","file3":"1349889412"},"map_files_photo_id_array":[{"photo_id":"1349889450","filename":"file5"},{"photo_id":"1349889396","filename":"file2"},{"photo_id":"1349889431","filename":"file4"},{"photo_id":"1349889382","filename":"file1"},{"photo_id":"1349889364","filename":"file0"},{"photo_id":"1349889412","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349889431":["hashtag1","hashtag2"]},{"1349889382":["hashtag1","hashtag2"]},{"1349889364":["hashtag1","hashtag2"]},{"1349889412":["hashtag1","hashtag2"]},{"1349889396":["hashtag1","hashtag2"]},{"1349889450":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349889431, 1349889382, 1349889364, 1349889412, 1349889396, 1349889450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91574716567993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:47:03.101730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_08_2670.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_17_2686.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_20_2776.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_24_3694.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_26_2672.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_29_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_08_2670.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_17_2686.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_20_2776.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_24_3694.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_26_2672.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_29_2812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349889526","1349889591","1349889538","1349889517","1349889543","1349889618"],"photo_ids_order":["1349889517","1349889526","1349889538","1349889543","1349889591","1349889618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87edb8673e28af4a93b83076912de980.jpg","text":"TemporaryFile(/tmp/multipartBody2781796134155183342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717683974,"filename":"image_15042025_13_44_17_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b760b40fd696eadf07aeb303ce6dd173.jpg","text":"TemporaryFile(/tmp/multipartBody2148625649132383776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717683974,"filename":"image_15042025_13_44_26_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eac6f669eacd849e57e08a71f72cc04c.jpg","text":"TemporaryFile(/tmp/multipartBody4860315903944539836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717683974,"filename":"image_15042025_13_44_20_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8fb8c71770c9e76dc325c9220eaa09d.jpg","text":"TemporaryFile(/tmp/multipartBody13375803658806852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717683974,"filename":"image_15042025_13_44_08_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a104b46e624a0aaf0a64f9227fc8bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5603015635862000819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717683974,"filename":"image_15042025_13_44_24_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bcf4b69ce413b583667659fd0c7310c.jpg","text":"TemporaryFile(/tmp/multipartBody5921613527306716730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717683974,"filename":"image_15042025_13_44_29_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349889538","file1":"1349889526","file0":"1349889517","file4":"1349889591","file5":"1349889618","file3":"1349889543"},"map_files_photo_id_array":[{"photo_id":"1349889618","filename":"file5"},{"photo_id":"1349889538","filename":"file2"},{"photo_id":"1349889591","filename":"file4"},{"photo_id":"1349889526","filename":"file1"},{"photo_id":"1349889517","filename":"file0"},{"photo_id":"1349889543","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349889526":["hashtag1","hashtag2"]},{"1349889591":["hashtag1","hashtag2"]},{"1349889538":["hashtag1","hashtag2"]},{"1349889517":["hashtag1","hashtag2"]},{"1349889543":["hashtag1","hashtag2"]},{"1349889618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349889526, 1349889591, 1349889538, 1349889517, 1349889543, 1349889618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7800509929657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:47:42.370251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_32_2607.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_36_3827.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_38_2680.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_41_2686.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_47_2636.jpg', '/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_50_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_32_2607.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_36_3827.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_38_2680.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_41_2686.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_47_2636.jpg
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_50_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349889787","1349889889","1349889922","1349889846","1349889729","1349889957"],"photo_ids_order":["1349889729","1349889787","1349889846","1349889889","1349889922","1349889957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f19909940806833e5a02afcc7f7c936b.jpg","text":"TemporaryFile(/tmp/multipartBody2136572174621995936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717723106,"filename":"image_15042025_13_44_36_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7919c8eecf0b41b3dbd6dbdddea70144.jpg","text":"TemporaryFile(/tmp/multipartBody5069024202940303357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717723106,"filename":"image_15042025_13_44_41_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e57c3d7a277d25916b486d99a1f9e0f.jpg","text":"TemporaryFile(/tmp/multipartBody8155146990392090064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717723106,"filename":"image_15042025_13_44_47_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36e6808f0b7d5e96222f7f05eb3404f5.jpg","text":"TemporaryFile(/tmp/multipartBody4394289284324157124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717723106,"filename":"image_15042025_13_44_38_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbd59574d3b0e8ff283a155c5b9052f6.jpg","text":"TemporaryFile(/tmp/multipartBody8793892523634831269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717723106,"filename":"image_15042025_13_44_32_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/594897f5d44b68b57aa3553f74260c84.jpg","text":"TemporaryFile(/tmp/multipartBody165304319127444805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717723106,"filename":"image_15042025_13_44_50_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349889846","file1":"1349889787","file0":"1349889729","file4":"1349889922","file5":"1349889957","file3":"1349889889"},"map_files_photo_id_array":[{"photo_id":"1349889957","filename":"file5"},{"photo_id":"1349889846","filename":"file2"},{"photo_id":"1349889922","filename":"file4"},{"photo_id":"1349889787","filename":"file1"},{"photo_id":"1349889729","filename":"file0"},{"photo_id":"1349889889","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349889787":["hashtag1","hashtag2"]},{"1349889889":["hashtag1","hashtag2"]},{"1349889922":["hashtag1","hashtag2"]},{"1349889846":["hashtag1","hashtag2"]},{"1349889729":["hashtag1","hashtag2"]},{"1349889957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349889787, 1349889889, 1349889922, 1349889846, 1349889729, 1349889957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82241749763489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:48:22.190134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_56_2589.jpg', '/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_02_2905.jpg', '/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_12_3846.jpg', '/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_14_2690.jpg', '/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_21_3761.jpg', '/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_32_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/44/image_15042025_13_44_56_2589.jpg
/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_02_2905.jpg
/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_12_3846.jpg
/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_14_2690.jpg
/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_21_3761.jpg
/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_32_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890187","1349890172","1349890142","1349890112","1349890081","1349890182"],"photo_ids_order":["1349890081","1349890112","1349890142","1349890172","1349890182","1349890187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f16c84a7d4c173568535beddead8b1e.jpg","text":"TemporaryFile(/tmp/multipartBody743926171403681185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717762906,"filename":"image_15042025_13_45_32_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc47816941e35ea4b428594a8e227ece.jpg","text":"TemporaryFile(/tmp/multipartBody1598515788914218206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717762906,"filename":"image_15042025_13_45_14_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d458371206999e1790e625fa77c6ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7810573777062550765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717762906,"filename":"image_15042025_13_45_12_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24c755fbcc2f5523f646a3ec6abc5880.jpg","text":"TemporaryFile(/tmp/multipartBody7530103686552771821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717762906,"filename":"image_15042025_13_45_02_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3846d51d4f12b9276908baed3b6d19d5.jpg","text":"TemporaryFile(/tmp/multipartBody248938876286994290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717762906,"filename":"image_15042025_13_44_56_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e50aca79beef1c9373d3178ae496f00d.jpg","text":"TemporaryFile(/tmp/multipartBody3630284992163749045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717762906,"filename":"image_15042025_13_45_21_3761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890142","file1":"1349890112","file0":"1349890081","file4":"1349890182","file5":"1349890187","file3":"1349890172"},"map_files_photo_id_array":[{"photo_id":"1349890187","filename":"file5"},{"photo_id":"1349890142","filename":"file2"},{"photo_id":"1349890182","filename":"file4"},{"photo_id":"1349890112","filename":"file1"},{"photo_id":"1349890081","filename":"file0"},{"photo_id":"1349890172","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890187":["hashtag1","hashtag2"]},{"1349890172":["hashtag1","hashtag2"]},{"1349890142":["hashtag1","hashtag2"]},{"1349890112":["hashtag1","hashtag2"]},{"1349890081":["hashtag1","hashtag2"]},{"1349890182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890187, 1349890172, 1349890142, 1349890112, 1349890081, 1349890182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78128480911255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:49:03.230982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_38_2747.jpg', '/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_41_3550.jpg', '/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_44_2601.jpg', '/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_57_3636.jpg', '/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_17_2761.jpg', '/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_20_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_38_2747.jpg
/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_41_3550.jpg
/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_44_2601.jpg
/home/pi/Desktop/images/15042025/13/45/image_15042025_13_45_57_3636.jpg
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_17_2761.jpg
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_20_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890256","1349890223","1349890211","1349890269","1349890239","1349890236"],"photo_ids_order":["1349890211","1349890223","1349890236","1349890239","1349890256","1349890269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ecea1fcdf7b2f04b81dedee2ff3b74b.jpg","text":"TemporaryFile(/tmp/multipartBody746433260125721248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717804182,"filename":"image_15042025_13_46_17_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70d2e5ae94094ceba22b5dca23db016f.jpg","text":"TemporaryFile(/tmp/multipartBody2384764824774569616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717804182,"filename":"image_15042025_13_45_41_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e64f8c54b4aee927e2322f099b89d3b.jpg","text":"TemporaryFile(/tmp/multipartBody7162706382846891617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717804182,"filename":"image_15042025_13_45_38_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbf5e60a1a35397592c94b02734e820a.jpg","text":"TemporaryFile(/tmp/multipartBody5853986847654977896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717804182,"filename":"image_15042025_13_46_20_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a370bcaacf5a79a7eadffa84d8c29f32.jpg","text":"TemporaryFile(/tmp/multipartBody2199502346934824151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717804182,"filename":"image_15042025_13_45_57_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcdc70f5d45ac3586454b1699c65caa6.jpg","text":"TemporaryFile(/tmp/multipartBody3714130443499048479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717804182,"filename":"image_15042025_13_45_44_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890236","file1":"1349890223","file0":"1349890211","file4":"1349890256","file5":"1349890269","file3":"1349890239"},"map_files_photo_id_array":[{"photo_id":"1349890269","filename":"file5"},{"photo_id":"1349890236","filename":"file2"},{"photo_id":"1349890256","filename":"file4"},{"photo_id":"1349890223","filename":"file1"},{"photo_id":"1349890211","filename":"file0"},{"photo_id":"1349890239","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890256":["hashtag1","hashtag2"]},{"1349890223":["hashtag1","hashtag2"]},{"1349890211":["hashtag1","hashtag2"]},{"1349890269":["hashtag1","hashtag2"]},{"1349890239":["hashtag1","hashtag2"]},{"1349890236":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890256, 1349890223, 1349890211, 1349890269, 1349890239, 1349890236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83942651748657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:49:42.234317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_23_2856.jpg', '/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_26_3543.jpg', '/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_29_2582.jpg', '/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_35_3692.jpg', '/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_44_3656.jpg', '/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_51_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_23_2856.jpg
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_26_3543.jpg
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_29_2582.jpg
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_35_3692.jpg
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_44_3656.jpg
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_51_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890289","1349890294","1349890313","1349890300","1349890306","1349890320"],"photo_ids_order":["1349890289","1349890294","1349890300","1349890306","1349890313","1349890320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f379ddaa8943a2a8681de9bdf72bf8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1826746393284826795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717842985,"filename":"image_15042025_13_46_23_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7f769979fd0df884ca3ef28e2267b0c.jpg","text":"TemporaryFile(/tmp/multipartBody9014057433695858820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717842985,"filename":"image_15042025_13_46_26_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4bf7872565fd0e0e1dcd9ce57961324.jpg","text":"TemporaryFile(/tmp/multipartBody2937108554526256770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717842985,"filename":"image_15042025_13_46_44_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8315bc8cc30841843fe9449d4c166934.jpg","text":"TemporaryFile(/tmp/multipartBody4842182069057484846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717842985,"filename":"image_15042025_13_46_29_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9902c336ce197c5a6bd0eaf6daafb0b.jpg","text":"TemporaryFile(/tmp/multipartBody593544113908085190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717842985,"filename":"image_15042025_13_46_35_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/057f5a74c66382a00796f92f56a80670.jpg","text":"TemporaryFile(/tmp/multipartBody8427400286875891540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717842985,"filename":"image_15042025_13_46_51_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890300","file1":"1349890294","file0":"1349890289","file4":"1349890313","file5":"1349890320","file3":"1349890306"},"map_files_photo_id_array":[{"photo_id":"1349890320","filename":"file5"},{"photo_id":"1349890300","filename":"file2"},{"photo_id":"1349890313","filename":"file4"},{"photo_id":"1349890294","filename":"file1"},{"photo_id":"1349890289","filename":"file0"},{"photo_id":"1349890306","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890289":["hashtag1","hashtag2"]},{"1349890294":["hashtag1","hashtag2"]},{"1349890313":["hashtag1","hashtag2"]},{"1349890300":["hashtag1","hashtag2"]},{"1349890306":["hashtag1","hashtag2"]},{"1349890320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890289, 1349890294, 1349890313, 1349890300, 1349890306, 1349890320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74062418937683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:50:22.286703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_53_2740.jpg', '/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_56_2689.jpg', '/home/pi/Desktop/images/15042025/13/46/image_15042025_13_47_00_3590.jpg', '/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_05_2561.jpg', '/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_08_2884.jpg', '/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_26_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_53_2740.jpg
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_46_56_2689.jpg
/home/pi/Desktop/images/15042025/13/46/image_15042025_13_47_00_3590.jpg
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_05_2561.jpg
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_08_2884.jpg
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_26_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890391","1349890418","1349890403","1349890374","1349890383","1349890377"],"photo_ids_order":["1349890374","1349890377","1349890383","1349890391","1349890403","1349890418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/250dc2b4d3b3cad4030dbbed1510f55a.jpg","text":"TemporaryFile(/tmp/multipartBody1662163871231939162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717883016,"filename":"image_15042025_13_47_05_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa06a44f63ed25f6cd7130fc31154fd4.jpg","text":"TemporaryFile(/tmp/multipartBody1616860163353391492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717883016,"filename":"image_15042025_13_47_26_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c383df9cfa360385a78bcfd61a007de.jpg","text":"TemporaryFile(/tmp/multipartBody2255232207963160297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717883016,"filename":"image_15042025_13_47_08_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22eb91873dd9b9a5ce91cf416e423b25.jpg","text":"TemporaryFile(/tmp/multipartBody2376872395724499553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717883016,"filename":"image_15042025_13_46_53_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d80de99f6eca6eb7e317d2b74d72e1cf.jpg","text":"TemporaryFile(/tmp/multipartBody4359931217592736471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717883016,"filename":"image_15042025_13_47_00_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d508cceee44965af51f96f211cd438eb.jpg","text":"TemporaryFile(/tmp/multipartBody3212641471737813156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717883016,"filename":"image_15042025_13_46_56_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890383","file1":"1349890377","file0":"1349890374","file4":"1349890403","file5":"1349890418","file3":"1349890391"},"map_files_photo_id_array":[{"photo_id":"1349890418","filename":"file5"},{"photo_id":"1349890383","filename":"file2"},{"photo_id":"1349890403","filename":"file4"},{"photo_id":"1349890377","filename":"file1"},{"photo_id":"1349890374","filename":"file0"},{"photo_id":"1349890391","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890391":["hashtag1","hashtag2"]},{"1349890418":["hashtag1","hashtag2"]},{"1349890403":["hashtag1","hashtag2"]},{"1349890374":["hashtag1","hashtag2"]},{"1349890383":["hashtag1","hashtag2"]},{"1349890377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890391, 1349890418, 1349890403, 1349890374, 1349890383, 1349890377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71830439567566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:51:03.136673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_29_2677.jpg', '/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_32_3634.jpg', '/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_35_2690.jpg', '/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_50_3603.jpg', '/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_53_2649.jpg', '/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_56_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_29_2677.jpg
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_32_3634.jpg
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_35_2690.jpg
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_50_3603.jpg
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_53_2649.jpg
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_56_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890493","1349890469","1349890483","1349890501","1349890488","1349890497"],"photo_ids_order":["1349890469","1349890483","1349890488","1349890493","1349890497","1349890501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc802439d68f922b74030298fb80354a.jpg","text":"TemporaryFile(/tmp/multipartBody2303071302449312149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717923986,"filename":"image_15042025_13_47_50_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/036d014fbc33fb8d693b18c0dc480526.jpg","text":"TemporaryFile(/tmp/multipartBody9202287538560896803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717923986,"filename":"image_15042025_13_47_29_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cbf567f36a4e4faa44b83f5dc6df5d9.jpg","text":"TemporaryFile(/tmp/multipartBody2727568443008463959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717923986,"filename":"image_15042025_13_47_32_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a73baa5b5b785b9e3cc0c2261459a93.jpg","text":"TemporaryFile(/tmp/multipartBody273381426746534902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717923986,"filename":"image_15042025_13_47_56_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01a9a816ca0318ad54de1feb6c6fc60a.jpg","text":"TemporaryFile(/tmp/multipartBody8319804446958576047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717923986,"filename":"image_15042025_13_47_35_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e81ac92ec08b226541cb4800e669423a.jpg","text":"TemporaryFile(/tmp/multipartBody1271403081241221647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717923986,"filename":"image_15042025_13_47_53_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890488","file1":"1349890483","file0":"1349890469","file4":"1349890497","file5":"1349890501","file3":"1349890493"},"map_files_photo_id_array":[{"photo_id":"1349890501","filename":"file5"},{"photo_id":"1349890488","filename":"file2"},{"photo_id":"1349890497","filename":"file4"},{"photo_id":"1349890483","filename":"file1"},{"photo_id":"1349890469","filename":"file0"},{"photo_id":"1349890493","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890493":["hashtag1","hashtag2"]},{"1349890469":["hashtag1","hashtag2"]},{"1349890483":["hashtag1","hashtag2"]},{"1349890501":["hashtag1","hashtag2"]},{"1349890488":["hashtag1","hashtag2"]},{"1349890497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890493, 1349890469, 1349890483, 1349890501, 1349890488, 1349890497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8026762008667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:51:42.454386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_59_3556.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_05_2904.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_08_3653.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_11_2842.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_17_3251.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_20_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/47/image_15042025_13_47_59_3556.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_05_2904.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_08_3653.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_11_2842.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_17_3251.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_20_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890525","1349890519","1349890540","1349890513","1349890530","1349890533"],"photo_ids_order":["1349890513","1349890519","1349890525","1349890530","1349890533","1349890540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b62e4a1e04ca85fc6eab65285f5234ef.jpg","text":"TemporaryFile(/tmp/multipartBody5509355501515783254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717963162,"filename":"image_15042025_13_48_08_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c9dda4e27226f4d72e71498c29cb41b.jpg","text":"TemporaryFile(/tmp/multipartBody3417176429531675192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717963162,"filename":"image_15042025_13_48_05_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b3381d07b2996c1fefb5dd2eb927af3.jpg","text":"TemporaryFile(/tmp/multipartBody5265369548826556848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717963162,"filename":"image_15042025_13_48_20_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75471f05797bbc0f079d746f5feb273a.jpg","text":"TemporaryFile(/tmp/multipartBody490799174530438286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717963162,"filename":"image_15042025_13_47_59_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f2d2e3fac1a6265e2fe05b81ab268db.jpg","text":"TemporaryFile(/tmp/multipartBody4399025335353695298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717963162,"filename":"image_15042025_13_48_11_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7696546ad9f2e93edf7f4fe1c45a5f83.jpg","text":"TemporaryFile(/tmp/multipartBody7575746805344026770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744717963162,"filename":"image_15042025_13_48_17_3251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890525","file1":"1349890519","file0":"1349890513","file4":"1349890533","file5":"1349890540","file3":"1349890530"},"map_files_photo_id_array":[{"photo_id":"1349890540","filename":"file5"},{"photo_id":"1349890525","filename":"file2"},{"photo_id":"1349890533","filename":"file4"},{"photo_id":"1349890519","filename":"file1"},{"photo_id":"1349890513","filename":"file0"},{"photo_id":"1349890530","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890525":["hashtag1","hashtag2"]},{"1349890519":["hashtag1","hashtag2"]},{"1349890540":["hashtag1","hashtag2"]},{"1349890513":["hashtag1","hashtag2"]},{"1349890530":["hashtag1","hashtag2"]},{"1349890533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890525, 1349890519, 1349890540, 1349890513, 1349890530, 1349890533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40356397628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:52:22.002092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_23_2621.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_26_3590.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_32_2637.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_34_2789.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_38_3680.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_43_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_23_2621.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_26_3590.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_32_2637.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_34_2789.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_38_3680.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_43_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890577","1349890571","1349890565","1349890559","1349890556","1349890552"],"photo_ids_order":["1349890552","1349890556","1349890559","1349890565","1349890571","1349890577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/479f8ae980f507017fbdb5ce33967bf8.jpg","text":"TemporaryFile(/tmp/multipartBody5505855644487295441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718002709,"filename":"image_15042025_13_48_43_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d389a9abe111b3b4910656c3c5982df.jpg","text":"TemporaryFile(/tmp/multipartBody4639412154991041221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718002709,"filename":"image_15042025_13_48_38_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48d333957de09f9470feec721bc3a3a8.jpg","text":"TemporaryFile(/tmp/multipartBody356746222301568601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718002709,"filename":"image_15042025_13_48_34_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8061dbb82227d4d406613907806ee75.jpg","text":"TemporaryFile(/tmp/multipartBody4082919026747353406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718002709,"filename":"image_15042025_13_48_32_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd01d493f5352a26c25a69eca345a8f8.jpg","text":"TemporaryFile(/tmp/multipartBody2766463321892025354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718002709,"filename":"image_15042025_13_48_26_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11f94a544f0944ea114646bc539824fc.jpg","text":"TemporaryFile(/tmp/multipartBody624463352521725330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718002709,"filename":"image_15042025_13_48_23_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890559","file1":"1349890556","file0":"1349890552","file4":"1349890571","file5":"1349890577","file3":"1349890565"},"map_files_photo_id_array":[{"photo_id":"1349890577","filename":"file5"},{"photo_id":"1349890559","filename":"file2"},{"photo_id":"1349890571","filename":"file4"},{"photo_id":"1349890556","filename":"file1"},{"photo_id":"1349890552","filename":"file0"},{"photo_id":"1349890565","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890577":["hashtag1","hashtag2"]},{"1349890571":["hashtag1","hashtag2"]},{"1349890565":["hashtag1","hashtag2"]},{"1349890559":["hashtag1","hashtag2"]},{"1349890556":["hashtag1","hashtag2"]},{"1349890552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890577, 1349890571, 1349890565, 1349890559, 1349890556, 1349890552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67553973197937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:53:02.591781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_50_2645.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_52_2636.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_56_3712.jpg', '/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_59_2775.jpg', '/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_02_2694.jpg', '/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_04_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_50_2645.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_52_2636.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_56_3712.jpg
/home/pi/Desktop/images/15042025/13/48/image_15042025_13_48_59_2775.jpg
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_02_2694.jpg
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_04_2829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890613","1349890607","1349890627","1349890603","1349890620","1349890623"],"photo_ids_order":["1349890603","1349890607","1349890613","1349890620","1349890623","1349890627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9b07ded0c189bede07217679b8b1910.jpg","text":"TemporaryFile(/tmp/multipartBody7291220204096039703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718043490,"filename":"image_15042025_13_48_56_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ea90dc4289d66625f7224c183a1dc9f.jpg","text":"TemporaryFile(/tmp/multipartBody6137496683552210715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718043490,"filename":"image_15042025_13_48_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/723bc3a5907261b1a013d3c83cb2efc7.jpg","text":"TemporaryFile(/tmp/multipartBody2418731547874836585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718043490,"filename":"image_15042025_13_49_04_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b4e86f97faa18d8e874108abb474cc5.jpg","text":"TemporaryFile(/tmp/multipartBody8037187905346401795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718043490,"filename":"image_15042025_13_48_50_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef077a76b91cd29a30c3cb4c855616a1.jpg","text":"TemporaryFile(/tmp/multipartBody408838023467037704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718043490,"filename":"image_15042025_13_48_59_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1362faf5408c434744763c8662c01d7.jpg","text":"TemporaryFile(/tmp/multipartBody4863906600997371289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718043490,"filename":"image_15042025_13_49_02_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890613","file1":"1349890607","file0":"1349890603","file4":"1349890623","file5":"1349890627","file3":"1349890620"},"map_files_photo_id_array":[{"photo_id":"1349890627","filename":"file5"},{"photo_id":"1349890613","filename":"file2"},{"photo_id":"1349890623","filename":"file4"},{"photo_id":"1349890607","filename":"file1"},{"photo_id":"1349890603","filename":"file0"},{"photo_id":"1349890620","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890613":["hashtag1","hashtag2"]},{"1349890607":["hashtag1","hashtag2"]},{"1349890627":["hashtag1","hashtag2"]},{"1349890603":["hashtag1","hashtag2"]},{"1349890620":["hashtag1","hashtag2"]},{"1349890623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890613, 1349890607, 1349890627, 1349890603, 1349890620, 1349890623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08634352684021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:53:42.021118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_08_3819.jpg', '/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_16_2713.jpg', '/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_29_3662.jpg', '/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_34_2714.jpg', '/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_38_3603.jpg', '/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_44_2874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_08_3819.jpg
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_16_2713.jpg
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_29_3662.jpg
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_34_2714.jpg
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_38_3603.jpg
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_44_2874.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890691","1349890652","1349890657","1349890642","1349890648","1349890662"],"photo_ids_order":["1349890642","1349890648","1349890652","1349890657","1349890662","1349890691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0129ca420f932d136626586180468bd.jpg","text":"TemporaryFile(/tmp/multipartBody1081244088234738058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718082743,"filename":"image_15042025_13_49_44_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b19d81cb4341c6b506b4bbf4b9193fd.jpg","text":"TemporaryFile(/tmp/multipartBody2287550880133313131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718082743,"filename":"image_15042025_13_49_29_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df7d8a79fc4f425dbfdcb8e64d9be6ec.jpg","text":"TemporaryFile(/tmp/multipartBody1903212329080671116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718082743,"filename":"image_15042025_13_49_34_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d262fbcc11c9f795d5a4a87e016b0ba.jpg","text":"TemporaryFile(/tmp/multipartBody2696347962993810125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718082743,"filename":"image_15042025_13_49_08_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67f923f41bb32faf6b3317edc165193d.jpg","text":"TemporaryFile(/tmp/multipartBody737734552827434228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718082743,"filename":"image_15042025_13_49_16_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6e663219a111ca0bcc4e09a13c82b7f.jpg","text":"TemporaryFile(/tmp/multipartBody4695464991881474720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718082743,"filename":"image_15042025_13_49_38_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890652","file1":"1349890648","file0":"1349890642","file4":"1349890662","file5":"1349890691","file3":"1349890657"},"map_files_photo_id_array":[{"photo_id":"1349890691","filename":"file5"},{"photo_id":"1349890652","filename":"file2"},{"photo_id":"1349890662","filename":"file4"},{"photo_id":"1349890648","filename":"file1"},{"photo_id":"1349890642","filename":"file0"},{"photo_id":"1349890657","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890691":["hashtag1","hashtag2"]},{"1349890652":["hashtag1","hashtag2"]},{"1349890657":["hashtag1","hashtag2"]},{"1349890642":["hashtag1","hashtag2"]},{"1349890648":["hashtag1","hashtag2"]},{"1349890662":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890691, 1349890652, 1349890657, 1349890642, 1349890648, 1349890662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10704946517944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:54:22.669868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_55_2683.jpg', '/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_59_3620.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_02_2812.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_05_2843.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_07_2660.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_11_3796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_55_2683.jpg
/home/pi/Desktop/images/15042025/13/49/image_15042025_13_49_59_3620.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_02_2812.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_05_2843.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_07_2660.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_11_3796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890713","1349890724","1349890709","1349890717","1349890770","1349890749"],"photo_ids_order":["1349890709","1349890713","1349890717","1349890724","1349890749","1349890770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e74583368ab473fd781b650ff1c81e0.jpg","text":"TemporaryFile(/tmp/multipartBody5756958613783254155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718123403,"filename":"image_15042025_13_49_59_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a553339eaf7b0c1d0ea439d5dcedb070.jpg","text":"TemporaryFile(/tmp/multipartBody2857799737463482726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718123403,"filename":"image_15042025_13_50_05_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0031d43bdc3c8955d88786683336be46.jpg","text":"TemporaryFile(/tmp/multipartBody7364862997696337360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718123403,"filename":"image_15042025_13_49_55_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15bd2507715a912b08717982e11be070.jpg","text":"TemporaryFile(/tmp/multipartBody3193711777200309881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718123403,"filename":"image_15042025_13_50_02_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c88a7c9e1595ea1eac0f201f6b07bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8514259968377772231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718123403,"filename":"image_15042025_13_50_11_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/097fe5e4b2ea19f8ae28f334a918d944.jpg","text":"TemporaryFile(/tmp/multipartBody7207285522392405342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718123403,"filename":"image_15042025_13_50_07_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890717","file1":"1349890713","file0":"1349890709","file4":"1349890749","file5":"1349890770","file3":"1349890724"},"map_files_photo_id_array":[{"photo_id":"1349890770","filename":"file5"},{"photo_id":"1349890717","filename":"file2"},{"photo_id":"1349890749","filename":"file4"},{"photo_id":"1349890713","filename":"file1"},{"photo_id":"1349890709","filename":"file0"},{"photo_id":"1349890724","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890713":["hashtag1","hashtag2"]},{"1349890724":["hashtag1","hashtag2"]},{"1349890709":["hashtag1","hashtag2"]},{"1349890717":["hashtag1","hashtag2"]},{"1349890770":["hashtag1","hashtag2"]},{"1349890749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890713, 1349890724, 1349890709, 1349890717, 1349890770, 1349890749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22873067855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:55:02.877258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_14_2924.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_17_2633.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_22_2801.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_26_3611.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_28_2590.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_32_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_14_2924.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_17_2633.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_22_2801.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_26_3611.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_28_2590.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_32_3561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349890877","1349890864","1349890873","1349890840","1349890834","1349890851"],"photo_ids_order":["1349890834","1349890840","1349890851","1349890864","1349890873","1349890877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4ded090c2b31ec78b3f5a462649a6c2.jpg","text":"TemporaryFile(/tmp/multipartBody1478517448840845700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718163760,"filename":"image_15042025_13_50_32_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78e1df1a00223bb415f37255ece83cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3735911012168034128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718163760,"filename":"image_15042025_13_50_26_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/099f0a205c2f1ab9ac03b66384c610d2.jpg","text":"TemporaryFile(/tmp/multipartBody3202859721187981317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718163760,"filename":"image_15042025_13_50_28_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4b397be01b82ac0340071130157cebc.jpg","text":"TemporaryFile(/tmp/multipartBody1838477736319345915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718163760,"filename":"image_15042025_13_50_17_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/257d24b4262756b590b5c4bc91886748.jpg","text":"TemporaryFile(/tmp/multipartBody2032254254034892872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718163760,"filename":"image_15042025_13_50_14_2924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22920f41a3e3a39be13267c19464d24f.jpg","text":"TemporaryFile(/tmp/multipartBody9037946489901535849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718163760,"filename":"image_15042025_13_50_22_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890851","file1":"1349890840","file0":"1349890834","file4":"1349890873","file5":"1349890877","file3":"1349890864"},"map_files_photo_id_array":[{"photo_id":"1349890877","filename":"file5"},{"photo_id":"1349890851","filename":"file2"},{"photo_id":"1349890873","filename":"file4"},{"photo_id":"1349890840","filename":"file1"},{"photo_id":"1349890834","filename":"file0"},{"photo_id":"1349890864","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349890877":["hashtag1","hashtag2"]},{"1349890864":["hashtag1","hashtag2"]},{"1349890873":["hashtag1","hashtag2"]},{"1349890840":["hashtag1","hashtag2"]},{"1349890834":["hashtag1","hashtag2"]},{"1349890851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349890877, 1349890864, 1349890873, 1349890840, 1349890834, 1349890851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26888298988342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:55:42.146373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_38_3826.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_41_2803.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_44_2831.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_46_2548.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_50_3797.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_53_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_38_3826.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_41_2803.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_44_2831.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_46_2548.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_50_3797.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_53_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349891015","1349890931","1349890903","1349890995","1349890962","1349890890"],"photo_ids_order":["1349890890","1349890903","1349890931","1349890962","1349890995","1349891015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/423d87b5135bdb32b985f90ae60963a8.jpg","text":"TemporaryFile(/tmp/multipartBody5316252843704143756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718202878,"filename":"image_15042025_13_50_53_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e37d37ef5bb91634d425298a3fdad346.jpg","text":"TemporaryFile(/tmp/multipartBody1443213904163186365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718202878,"filename":"image_15042025_13_50_44_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edddc7388e3d6bc4068c1c1edfd0e913.jpg","text":"TemporaryFile(/tmp/multipartBody3500980325818422747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718202878,"filename":"image_15042025_13_50_41_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e415cb60925c8734747a47374b7da6d.jpg","text":"TemporaryFile(/tmp/multipartBody7507871621227427001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718202878,"filename":"image_15042025_13_50_50_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2172932af5cc692ce942df1beda15014.jpg","text":"TemporaryFile(/tmp/multipartBody4176767593169264241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718202878,"filename":"image_15042025_13_50_46_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4c531f329d48acfbacdbd1a3dba483e.jpg","text":"TemporaryFile(/tmp/multipartBody4518234906916636657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718202878,"filename":"image_15042025_13_50_38_3826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349890931","file1":"1349890903","file0":"1349890890","file4":"1349890995","file5":"1349891015","file3":"1349890962"},"map_files_photo_id_array":[{"photo_id":"1349891015","filename":"file5"},{"photo_id":"1349890931","filename":"file2"},{"photo_id":"1349890995","filename":"file4"},{"photo_id":"1349890903","filename":"file1"},{"photo_id":"1349890890","filename":"file0"},{"photo_id":"1349890962","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349891015":["hashtag1","hashtag2"]},{"1349890931":["hashtag1","hashtag2"]},{"1349890903":["hashtag1","hashtag2"]},{"1349890995":["hashtag1","hashtag2"]},{"1349890962":["hashtag1","hashtag2"]},{"1349890890":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349891015, 1349890931, 1349890903, 1349890995, 1349890962, 1349890890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68742561340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 13:56:21.924783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_56_2813.jpg', '/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_58_2775.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_01_2934.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_05_3743.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_08_2601.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_13_2906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_56_2813.jpg
/home/pi/Desktop/images/15042025/13/50/image_15042025_13_50_58_2775.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_01_2934.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_05_3743.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_08_2601.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_13_2906.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349891045","1349891039","1349891030","1349891071","1349891059","1349891035"],"photo_ids_order":["1349891030","1349891035","1349891039","1349891045","1349891059","1349891071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9892af4888de98e8e7a6e8c64815dfbd.jpg","text":"TemporaryFile(/tmp/multipartBody5320873640878596192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718242631,"filename":"image_15042025_13_51_05_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e198a68ee39987181f8a8d80d4e2e430.jpg","text":"TemporaryFile(/tmp/multipartBody9050451087941849921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718242631,"filename":"image_15042025_13_51_01_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/593909e2a58ecee070d2284aa5e07924.jpg","text":"TemporaryFile(/tmp/multipartBody8158564864859948011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718242631,"filename":"image_15042025_13_50_56_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87055dfbec5fef678b546720ec97d765.jpg","text":"TemporaryFile(/tmp/multipartBody1403955500673033148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718242631,"filename":"image_15042025_13_51_13_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/802655babfbc8f26abe8f57f3b996e5c.jpg","text":"TemporaryFile(/tmp/multipartBody9164565632348358194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718242631,"filename":"image_15042025_13_51_08_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0b5afaa6a6e16c8ea9779bce9d3a53c.jpg","text":"TemporaryFile(/tmp/multipartBody2109293681021843708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718242631,"filename":"image_15042025_13_50_58_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349891039","file1":"1349891035","file0":"1349891030","file4":"1349891059","file5":"1349891071","file3":"1349891045"},"map_files_photo_id_array":[{"photo_id":"1349891071","filename":"file5"},{"photo_id":"1349891039","filename":"file2"},{"photo_id":"1349891059","filename":"file4"},{"photo_id":"1349891035","filename":"file1"},{"photo_id":"1349891030","filename":"file0"},{"photo_id":"1349891045","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349891045":["hashtag1","hashtag2"]},{"1349891039":["hashtag1","hashtag2"]},{"1349891030":["hashtag1","hashtag2"]},{"1349891071":["hashtag1","hashtag2"]},{"1349891059":["hashtag1","hashtag2"]},{"1349891035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349891045, 1349891039, 1349891030, 1349891071, 1349891059, 1349891035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00356721878052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:57:02.873354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_17_3689.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_20_2791.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_29_3701.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_32_2539.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_44_3677.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_47_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_17_3689.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_20_2791.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_29_3701.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_32_2539.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_44_3677.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_47_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349891225","1349891185","1349891268","1349891085","1349891151","1349891171"],"photo_ids_order":["1349891085","1349891151","1349891171","1349891185","1349891225","1349891268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5991087bb703f8e6d6a6bfeb650dd103.jpg","text":"TemporaryFile(/tmp/multipartBody6731647137064361141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718283749,"filename":"image_15042025_13_51_44_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb04f845f20141d0b949bacc6b98d733.jpg","text":"TemporaryFile(/tmp/multipartBody460831723902021585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718283749,"filename":"image_15042025_13_51_32_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8274d1355707bb72a0754819d7b77fea.jpg","text":"TemporaryFile(/tmp/multipartBody5070242253506454339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718283749,"filename":"image_15042025_13_51_47_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/606e84a882b545ca01af215227fc7143.jpg","text":"TemporaryFile(/tmp/multipartBody6912150443811047306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718283749,"filename":"image_15042025_13_51_17_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a5ba6d8181fab48454e0a0665757e82.jpg","text":"TemporaryFile(/tmp/multipartBody8926985825322581748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718283749,"filename":"image_15042025_13_51_20_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b704cca0a59646a13e7f4578601a8b3.jpg","text":"TemporaryFile(/tmp/multipartBody3230474959864090646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718283749,"filename":"image_15042025_13_51_29_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349891171","file1":"1349891151","file0":"1349891085","file4":"1349891225","file5":"1349891268","file3":"1349891185"},"map_files_photo_id_array":[{"photo_id":"1349891268","filename":"file5"},{"photo_id":"1349891171","filename":"file2"},{"photo_id":"1349891225","filename":"file4"},{"photo_id":"1349891151","filename":"file1"},{"photo_id":"1349891085","filename":"file0"},{"photo_id":"1349891185","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349891225":["hashtag1","hashtag2"]},{"1349891185":["hashtag1","hashtag2"]},{"1349891268":["hashtag1","hashtag2"]},{"1349891085":["hashtag1","hashtag2"]},{"1349891151":["hashtag1","hashtag2"]},{"1349891171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349891225, 1349891185, 1349891268, 1349891085, 1349891151, 1349891171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.814985275268555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:57:41.898395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_49_2621.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_53_3719.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_56_2721.jpg', '/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_59_2810.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_01_2702.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_05_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_49_2621.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_53_3719.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_56_2721.jpg
/home/pi/Desktop/images/15042025/13/51/image_15042025_13_51_59_2810.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_01_2702.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_05_3780.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349891426","1349891402","1349891470","1349891437","1349891541","1349891415"],"photo_ids_order":["1349891402","1349891415","1349891426","1349891437","1349891470","1349891541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2346ae20148c3ff8d668348f617303d.jpg","text":"TemporaryFile(/tmp/multipartBody2166631616159359745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718322620,"filename":"image_15042025_13_51_56_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cde9741c9551520e7f3c5487482b4fd6.jpg","text":"TemporaryFile(/tmp/multipartBody5356733240672327549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718322620,"filename":"image_15042025_13_51_49_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20c623a79342f82cc4e16c7fdbcfd0f6.jpg","text":"TemporaryFile(/tmp/multipartBody8659018602542585223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718322620,"filename":"image_15042025_13_52_01_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eea5752b2dba9751230cddd2b164d1eb.jpg","text":"TemporaryFile(/tmp/multipartBody4333887046249164291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718322620,"filename":"image_15042025_13_51_59_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93db3baf5f0496cb0fe54e4f315a606a.jpg","text":"TemporaryFile(/tmp/multipartBody2414148345278804765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718322620,"filename":"image_15042025_13_52_05_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07f1995de6884b97720b0ae14bc0002f.jpg","text":"TemporaryFile(/tmp/multipartBody3487430616340242753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718322620,"filename":"image_15042025_13_51_53_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349891426","file1":"1349891415","file0":"1349891402","file4":"1349891470","file5":"1349891541","file3":"1349891437"},"map_files_photo_id_array":[{"photo_id":"1349891541","filename":"file5"},{"photo_id":"1349891426","filename":"file2"},{"photo_id":"1349891470","filename":"file4"},{"photo_id":"1349891415","filename":"file1"},{"photo_id":"1349891402","filename":"file0"},{"photo_id":"1349891437","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349891426":["hashtag1","hashtag2"]},{"1349891402":["hashtag1","hashtag2"]},{"1349891470":["hashtag1","hashtag2"]},{"1349891437":["hashtag1","hashtag2"]},{"1349891541":["hashtag1","hashtag2"]},{"1349891415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349891426, 1349891402, 1349891470, 1349891437, 1349891541, 1349891415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92040753364563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 13:59:03.548766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_14_3613.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_17_2610.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_19_2534.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_23_3662.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_25_2571.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_29_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_14_3613.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_17_2610.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_19_2534.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_23_3662.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_25_2571.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_29_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349892073","1349892028","1349891985","1349891905","1349892113","1349891945"],"photo_ids_order":["1349891905","1349891945","1349891985","1349892028","1349892073","1349892113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1daeaae88bf1466057646b35c6eeaac.jpg","text":"TemporaryFile(/tmp/multipartBody4826598838098226903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718404422,"filename":"image_15042025_13_52_25_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45b9ec100292f0eb8c700452bb82894b.jpg","text":"TemporaryFile(/tmp/multipartBody5320016405377061504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718404422,"filename":"image_15042025_13_52_23_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/daf1d2c2114310208e608d77d7d2f4f5.jpg","text":"TemporaryFile(/tmp/multipartBody2447383457560032807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718404422,"filename":"image_15042025_13_52_19_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/167588fed005add2dbb361343709adbe.jpg","text":"TemporaryFile(/tmp/multipartBody1998932469257288565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718404422,"filename":"image_15042025_13_52_14_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fd01256a12960d28ecfbcaf7e105667.jpg","text":"TemporaryFile(/tmp/multipartBody1268500033658503979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718404422,"filename":"image_15042025_13_52_29_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4dd79861dfcc363260b2a31d9df5a67.jpg","text":"TemporaryFile(/tmp/multipartBody1848680567092853121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718404422,"filename":"image_15042025_13_52_17_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349891985","file1":"1349891945","file0":"1349891905","file4":"1349892073","file5":"1349892113","file3":"1349892028"},"map_files_photo_id_array":[{"photo_id":"1349892113","filename":"file5"},{"photo_id":"1349891985","filename":"file2"},{"photo_id":"1349892073","filename":"file4"},{"photo_id":"1349891945","filename":"file1"},{"photo_id":"1349891905","filename":"file0"},{"photo_id":"1349892028","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349892073":["hashtag1","hashtag2"]},{"1349892028":["hashtag1","hashtag2"]},{"1349891985":["hashtag1","hashtag2"]},{"1349891905":["hashtag1","hashtag2"]},{"1349892113":["hashtag1","hashtag2"]},{"1349891945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349892073, 1349892028, 1349891985, 1349891905, 1349892113, 1349891945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.323482036590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 13:59:42.786426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_32_2613.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_34_2539.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_38_3604.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_40_2661.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_43_2706.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_47_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_32_2613.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_34_2539.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_38_3604.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_40_2661.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_43_2706.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_47_3747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349892401","1349892472","1349892343","1349892304","1349892228","1349892266"],"photo_ids_order":["1349892228","1349892266","1349892304","1349892343","1349892401","1349892472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0489d03aca9b55ac7df679a37c5730c.jpg","text":"TemporaryFile(/tmp/multipartBody2404296681892538410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718443518,"filename":"image_15042025_13_52_43_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce928044d39581e1a4bbf2e78c771d41.jpg","text":"TemporaryFile(/tmp/multipartBody4313004297552623487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718443518,"filename":"image_15042025_13_52_47_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a89c4be7069cfaeb0616d609552aafd.jpg","text":"TemporaryFile(/tmp/multipartBody6813639815172371026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718443518,"filename":"image_15042025_13_52_40_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e29cb1f02fe7dbec6e8c66ce7642e8d.jpg","text":"TemporaryFile(/tmp/multipartBody2302342073998223872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718443518,"filename":"image_15042025_13_52_38_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb60afc280ece8d155c1fd5ac9ab0290.jpg","text":"TemporaryFile(/tmp/multipartBody2546135397403290459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718443518,"filename":"image_15042025_13_52_32_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ac3fbf7e5236e46d9de49196910a44f.jpg","text":"TemporaryFile(/tmp/multipartBody590340671348091255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718443518,"filename":"image_15042025_13_52_34_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349892304","file1":"1349892266","file0":"1349892228","file4":"1349892401","file5":"1349892472","file3":"1349892343"},"map_files_photo_id_array":[{"photo_id":"1349892472","filename":"file5"},{"photo_id":"1349892304","filename":"file2"},{"photo_id":"1349892401","filename":"file4"},{"photo_id":"1349892266","filename":"file1"},{"photo_id":"1349892228","filename":"file0"},{"photo_id":"1349892343","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349892401":["hashtag1","hashtag2"]},{"1349892472":["hashtag1","hashtag2"]},{"1349892343":["hashtag1","hashtag2"]},{"1349892304":["hashtag1","hashtag2"]},{"1349892228":["hashtag1","hashtag2"]},{"1349892266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349892401, 1349892472, 1349892343, 1349892304, 1349892228, 1349892266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.565818786621094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:00:22.665302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_49_2603.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_52_2848.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_56_3571.jpg', '/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_59_2717.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_01_2775.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_04_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_49_2603.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_52_2848.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_56_3571.jpg
/home/pi/Desktop/images/15042025/13/52/image_15042025_13_52_59_2717.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_01_2775.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_04_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349892745","1349892667","1349892879","1349892705","1349892632","1349892803"],"photo_ids_order":["1349892632","1349892667","1349892705","1349892745","1349892803","1349892879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d2e8b913e1853fb28a70d3031b97279.jpg","text":"TemporaryFile(/tmp/multipartBody3218857389909488441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718483401,"filename":"image_15042025_13_52_59_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af76ed47128e3bd734f13b36a8227798.jpg","text":"TemporaryFile(/tmp/multipartBody163776160512202610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718483401,"filename":"image_15042025_13_52_52_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44a4339bc1cab4397a68afd606483b2d.jpg","text":"TemporaryFile(/tmp/multipartBody74071444674488894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718483401,"filename":"image_15042025_13_53_04_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b2959c448225608a2c70e9848199095.jpg","text":"TemporaryFile(/tmp/multipartBody5721037730912580765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718483401,"filename":"image_15042025_13_52_56_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d79d2d9406a3a20d93743ab7b616f363.jpg","text":"TemporaryFile(/tmp/multipartBody3389924326598064522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718483401,"filename":"image_15042025_13_52_49_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f06bcc93aa3dcff4d58d05d1b459666c.jpg","text":"TemporaryFile(/tmp/multipartBody9051572673325166081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718483401,"filename":"image_15042025_13_53_01_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349892705","file1":"1349892667","file0":"1349892632","file4":"1349892803","file5":"1349892879","file3":"1349892745"},"map_files_photo_id_array":[{"photo_id":"1349892879","filename":"file5"},{"photo_id":"1349892705","filename":"file2"},{"photo_id":"1349892803","filename":"file4"},{"photo_id":"1349892667","filename":"file1"},{"photo_id":"1349892632","filename":"file0"},{"photo_id":"1349892745","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349892745":["hashtag1","hashtag2"]},{"1349892667":["hashtag1","hashtag2"]},{"1349892879":["hashtag1","hashtag2"]},{"1349892705":["hashtag1","hashtag2"]},{"1349892632":["hashtag1","hashtag2"]},{"1349892803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349892745, 1349892667, 1349892879, 1349892705, 1349892632, 1349892803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47838306427002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:01:02.713426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_08_3574.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_10_2641.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_16_2670.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_19_2934.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_22_2801.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_25_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_08_3574.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_10_2641.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_16_2670.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_19_2934.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_22_2801.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_25_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349893410","1349893236","1349893676","1349893328","1349893523","1349893153"],"photo_ids_order":["1349893153","1349893236","1349893328","1349893410","1349893523","1349893676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3c20fc9d2027f76abe50a0cfacfb12b.jpg","text":"TemporaryFile(/tmp/multipartBody4847841904303603368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718523665,"filename":"image_15042025_13_53_19_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/435652a322022bf71abcf66f6087b630.jpg","text":"TemporaryFile(/tmp/multipartBody7304127448462749404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718523665,"filename":"image_15042025_13_53_10_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71a42cf5abf85ef3a37fc9385240b211.jpg","text":"TemporaryFile(/tmp/multipartBody5571137303655487106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718523665,"filename":"image_15042025_13_53_25_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3993ca8d216807e6c1b714cc97248694.jpg","text":"TemporaryFile(/tmp/multipartBody7339934381901358465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718523665,"filename":"image_15042025_13_53_16_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83082556f4e38dbbc39180b6c89de08b.jpg","text":"TemporaryFile(/tmp/multipartBody3631314254164752418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718523665,"filename":"image_15042025_13_53_22_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46d76b28a215bc9240ee4acb8c817deb.jpg","text":"TemporaryFile(/tmp/multipartBody4048674036900983716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718523665,"filename":"image_15042025_13_53_08_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349893328","file1":"1349893236","file0":"1349893153","file4":"1349893523","file5":"1349893676","file3":"1349893410"},"map_files_photo_id_array":[{"photo_id":"1349893676","filename":"file5"},{"photo_id":"1349893328","filename":"file2"},{"photo_id":"1349893523","filename":"file4"},{"photo_id":"1349893236","filename":"file1"},{"photo_id":"1349893153","filename":"file0"},{"photo_id":"1349893410","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349893410":["hashtag1","hashtag2"]},{"1349893236":["hashtag1","hashtag2"]},{"1349893676":["hashtag1","hashtag2"]},{"1349893328":["hashtag1","hashtag2"]},{"1349893523":["hashtag1","hashtag2"]},{"1349893153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349893410, 1349893236, 1349893676, 1349893328, 1349893523, 1349893153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.280898094177246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:01:41.947424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_29_3654.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_31_2728.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_34_2586.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_38_3611.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_40_2741.jpg', '/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_50_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_29_3654.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_31_2728.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_34_2586.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_38_3611.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_40_2741.jpg
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_50_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349894052","1349894291","1349893925","1349894152","1349894332","1349894227"],"photo_ids_order":["1349893925","1349894052","1349894152","1349894227","1349894291","1349894332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0795ae47e051fdbfae0c92a18c419acf.jpg","text":"TemporaryFile(/tmp/multipartBody6626605376958977486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718562652,"filename":"image_15042025_13_53_31_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74f2b5e4ecb05a955d2bfca781fb1bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6781079095765966855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718562652,"filename":"image_15042025_13_53_40_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d51499ad1c1acb74f21cebe8a69367cf.jpg","text":"TemporaryFile(/tmp/multipartBody1086960214848511407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718562652,"filename":"image_15042025_13_53_29_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46ec85111c7d5b7d6e465b9e44b2ec7a.jpg","text":"TemporaryFile(/tmp/multipartBody7893517202189088538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718562652,"filename":"image_15042025_13_53_34_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33d65558443ae88f6c74b53603eae0af.jpg","text":"TemporaryFile(/tmp/multipartBody6936093763538681146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718562652,"filename":"image_15042025_13_53_50_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78847b521c2e0ac81becad27953e73ca.jpg","text":"TemporaryFile(/tmp/multipartBody438412481182708096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718562652,"filename":"image_15042025_13_53_38_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349894152","file1":"1349894052","file0":"1349893925","file4":"1349894291","file5":"1349894332","file3":"1349894227"},"map_files_photo_id_array":[{"photo_id":"1349894332","filename":"file5"},{"photo_id":"1349894152","filename":"file2"},{"photo_id":"1349894291","filename":"file4"},{"photo_id":"1349894052","filename":"file1"},{"photo_id":"1349893925","filename":"file0"},{"photo_id":"1349894227","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349894052":["hashtag1","hashtag2"]},{"1349894291":["hashtag1","hashtag2"]},{"1349893925":["hashtag1","hashtag2"]},{"1349894152":["hashtag1","hashtag2"]},{"1349894332":["hashtag1","hashtag2"]},{"1349894227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349894052, 1349894291, 1349893925, 1349894152, 1349894332, 1349894227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9768226146698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:02:22.279427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_56_3583.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_01_2748.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_05_3711.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_07_2696.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_10_2738.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_13_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/53/image_15042025_13_53_56_3583.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_01_2748.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_05_3711.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_07_2696.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_10_2738.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_13_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349894586","1349894622","1349894654","1349894683","1349894491","1349894548"],"photo_ids_order":["1349894491","1349894548","1349894586","1349894622","1349894654","1349894683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a52b3560202199025cc602b9f6bc7a3.jpg","text":"TemporaryFile(/tmp/multipartBody4328913640802735375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718603017,"filename":"image_15042025_13_54_05_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f46240ca306561850a37b82ea95dda2e.jpg","text":"TemporaryFile(/tmp/multipartBody1894807833048345279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718603017,"filename":"image_15042025_13_54_07_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/864aa91dfd0600b8f4d24ed689879a05.jpg","text":"TemporaryFile(/tmp/multipartBody3139015257434805546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718603017,"filename":"image_15042025_13_54_10_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f28864be1cca2d78322b61ea3540ba9a.jpg","text":"TemporaryFile(/tmp/multipartBody8917193103873111722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718603017,"filename":"image_15042025_13_54_13_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b80a618a2b3bd7e81b3be15a64a399d.jpg","text":"TemporaryFile(/tmp/multipartBody5426405180988957060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718603017,"filename":"image_15042025_13_53_56_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2b049fb1999e05ad6c6128da76ead96.jpg","text":"TemporaryFile(/tmp/multipartBody7445068384405133693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718603017,"filename":"image_15042025_13_54_01_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349894586","file1":"1349894548","file0":"1349894491","file4":"1349894654","file5":"1349894683","file3":"1349894622"},"map_files_photo_id_array":[{"photo_id":"1349894683","filename":"file5"},{"photo_id":"1349894586","filename":"file2"},{"photo_id":"1349894654","filename":"file4"},{"photo_id":"1349894548","filename":"file1"},{"photo_id":"1349894491","filename":"file0"},{"photo_id":"1349894622","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349894586":["hashtag1","hashtag2"]},{"1349894622":["hashtag1","hashtag2"]},{"1349894654":["hashtag1","hashtag2"]},{"1349894683":["hashtag1","hashtag2"]},{"1349894491":["hashtag1","hashtag2"]},{"1349894548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349894586, 1349894622, 1349894654, 1349894683, 1349894491, 1349894548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.376097440719604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:03:03.303319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_17_3658.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_26_3813.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_28_2730.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_34_2776.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_38_3713.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_41_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_17_3658.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_26_3813.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_28_2730.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_34_2776.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_38_3713.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_41_2880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349894880","1349894841","1349895009","1349895067","1349895097","1349894806"],"photo_ids_order":["1349894806","1349894841","1349894880","1349895009","1349895067","1349895097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e1f083752f0c45c675ad3770bfb048e.jpg","text":"TemporaryFile(/tmp/multipartBody2278835088764995503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718644141,"filename":"image_15042025_13_54_28_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e77bbfc05cb0c6692454468be3bddd51.jpg","text":"TemporaryFile(/tmp/multipartBody7206550628242174804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718644141,"filename":"image_15042025_13_54_26_3813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a9c7c7b559e86317193b2e8a4e0ad05.jpg","text":"TemporaryFile(/tmp/multipartBody6976808206017458113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718644141,"filename":"image_15042025_13_54_34_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1876e0bfc2332d5a5aa67f179d5353ea.jpg","text":"TemporaryFile(/tmp/multipartBody5002640170437411280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718644141,"filename":"image_15042025_13_54_38_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e78ae3ca9eb421d1a65bc79739485f1e.jpg","text":"TemporaryFile(/tmp/multipartBody132092217272622234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718644141,"filename":"image_15042025_13_54_41_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06bbf80d98f208e1a3893904549c775a.jpg","text":"TemporaryFile(/tmp/multipartBody1671149853597220534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718644141,"filename":"image_15042025_13_54_17_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349894880","file1":"1349894841","file0":"1349894806","file4":"1349895067","file5":"1349895097","file3":"1349895009"},"map_files_photo_id_array":[{"photo_id":"1349895097","filename":"file5"},{"photo_id":"1349894880","filename":"file2"},{"photo_id":"1349895067","filename":"file4"},{"photo_id":"1349894841","filename":"file1"},{"photo_id":"1349894806","filename":"file0"},{"photo_id":"1349895009","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349894880":["hashtag1","hashtag2"]},{"1349894841":["hashtag1","hashtag2"]},{"1349895009":["hashtag1","hashtag2"]},{"1349895067":["hashtag1","hashtag2"]},{"1349895097":["hashtag1","hashtag2"]},{"1349894806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349894880, 1349894841, 1349895009, 1349895067, 1349895097, 1349894806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4705810546875 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:04:02.951006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_43_2673.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_52_2672.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_56_3653.jpg', '/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_58_2575.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_01_2674.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_05_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_43_2673.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_52_2672.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_56_3653.jpg
/home/pi/Desktop/images/15042025/13/54/image_15042025_13_54_58_2575.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_01_2674.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_05_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349895546","1349895453","1349895482","1349895515","1349895418","1349895393"],"photo_ids_order":["1349895393","1349895418","1349895453","1349895482","1349895515","1349895546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/407cc6bb354f3997ecc1e2d51d1adf88.jpg","text":"TemporaryFile(/tmp/multipartBody4230446795867768310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718703862,"filename":"image_15042025_13_55_05_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24286a512a501dba606c4ea41eaa296e.jpg","text":"TemporaryFile(/tmp/multipartBody8840439665642396618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718703862,"filename":"image_15042025_13_54_56_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21b36eab3b12b15afb9ad495b3471a90.jpg","text":"TemporaryFile(/tmp/multipartBody2181131624416075413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718703862,"filename":"image_15042025_13_54_58_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00da8b474e15f5097b3ad33ec9052b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7391291240960507540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718703862,"filename":"image_15042025_13_55_01_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f7afd6fb651536c8d2176180f48ee66.jpg","text":"TemporaryFile(/tmp/multipartBody7869404665107005343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718703862,"filename":"image_15042025_13_54_52_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/708945878addb38e5bcad68daad58960.jpg","text":"TemporaryFile(/tmp/multipartBody2083071109184155457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718703862,"filename":"image_15042025_13_54_43_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349895453","file1":"1349895418","file0":"1349895393","file4":"1349895515","file5":"1349895546","file3":"1349895482"},"map_files_photo_id_array":[{"photo_id":"1349895546","filename":"file5"},{"photo_id":"1349895453","filename":"file2"},{"photo_id":"1349895515","filename":"file4"},{"photo_id":"1349895418","filename":"file1"},{"photo_id":"1349895393","filename":"file0"},{"photo_id":"1349895482","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349895546":["hashtag1","hashtag2"]},{"1349895453":["hashtag1","hashtag2"]},{"1349895482":["hashtag1","hashtag2"]},{"1349895515":["hashtag1","hashtag2"]},{"1349895418":["hashtag1","hashtag2"]},{"1349895393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349895546, 1349895453, 1349895482, 1349895515, 1349895418, 1349895393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.045201778411865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:04:42.274594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_07_2081.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_13_2567.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_19_3614.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_22_2753.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_25_2898.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_31_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_07_2081.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_13_2567.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_19_3614.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_22_2753.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_25_2898.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_31_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349895810","1349895674","1349895710","1349895841","1349895748","1349895780"],"photo_ids_order":["1349895674","1349895710","1349895748","1349895780","1349895810","1349895841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c925413a240296ddc01fb795147f9ea.jpg","text":"TemporaryFile(/tmp/multipartBody973576349548815307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718743013,"filename":"image_15042025_13_55_25_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab245ab0be4a523010f82a4942e34fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8140264690835016511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718743013,"filename":"image_15042025_13_55_07_2081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b961097e983b5bc41ad0f24a934990d7.jpg","text":"TemporaryFile(/tmp/multipartBody7294275096086432295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718743013,"filename":"image_15042025_13_55_13_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2b7aa8204ef26749073fc6582d86659.jpg","text":"TemporaryFile(/tmp/multipartBody9081998756144437085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718743013,"filename":"image_15042025_13_55_31_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ece584797a8649b6d243602ec20e8306.jpg","text":"TemporaryFile(/tmp/multipartBody8756002894594498153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718743013,"filename":"image_15042025_13_55_19_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad761cf533d61ffcfd489234ca2fd5c6.jpg","text":"TemporaryFile(/tmp/multipartBody3748129372273999813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718743013,"filename":"image_15042025_13_55_22_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349895748","file1":"1349895710","file0":"1349895674","file4":"1349895810","file5":"1349895841","file3":"1349895780"},"map_files_photo_id_array":[{"photo_id":"1349895841","filename":"file5"},{"photo_id":"1349895748","filename":"file2"},{"photo_id":"1349895810","filename":"file4"},{"photo_id":"1349895710","filename":"file1"},{"photo_id":"1349895674","filename":"file0"},{"photo_id":"1349895780","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349895810":["hashtag1","hashtag2"]},{"1349895674":["hashtag1","hashtag2"]},{"1349895710":["hashtag1","hashtag2"]},{"1349895841":["hashtag1","hashtag2"]},{"1349895748":["hashtag1","hashtag2"]},{"1349895780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349895810, 1349895674, 1349895710, 1349895841, 1349895748, 1349895780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57732629776001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:05:22.061813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_38_3702.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_46_2610.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_49_3633.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_52_2613.jpg', '/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_59_3786.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_01_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_38_3702.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_46_2610.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_49_3633.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_52_2613.jpg
/home/pi/Desktop/images/15042025/13/55/image_15042025_13_55_59_3786.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_01_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349896070","1349896276","1349896129","1349896176","1349896283","1349896221"],"photo_ids_order":["1349896070","1349896129","1349896176","1349896221","1349896276","1349896283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f691171df67329cec7f650ede21021d2.jpg","text":"TemporaryFile(/tmp/multipartBody7999599307487504028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718782801,"filename":"image_15042025_13_55_38_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84d6b49373099ef1e824dd74f472cd1e.jpg","text":"TemporaryFile(/tmp/multipartBody2261882012052483038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718782801,"filename":"image_15042025_13_55_59_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1387501e65fb9cbdb6d5e1726304a83c.jpg","text":"TemporaryFile(/tmp/multipartBody1191957774762271343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718782801,"filename":"image_15042025_13_55_46_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8eea26ef04cb9812cb717799dadf66e.jpg","text":"TemporaryFile(/tmp/multipartBody2668555735666612704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718782801,"filename":"image_15042025_13_55_49_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d1f1470ff8e6be2133ba599963aa2ab.jpg","text":"TemporaryFile(/tmp/multipartBody9034020823564321781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718782801,"filename":"image_15042025_13_56_01_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53d3d4483133329bf3aae69a201e0aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6186138326921402572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718782801,"filename":"image_15042025_13_55_52_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349896176","file1":"1349896129","file0":"1349896070","file4":"1349896276","file5":"1349896283","file3":"1349896221"},"map_files_photo_id_array":[{"photo_id":"1349896283","filename":"file5"},{"photo_id":"1349896176","filename":"file2"},{"photo_id":"1349896276","filename":"file4"},{"photo_id":"1349896129","filename":"file1"},{"photo_id":"1349896070","filename":"file0"},{"photo_id":"1349896221","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349896070":["hashtag1","hashtag2"]},{"1349896276":["hashtag1","hashtag2"]},{"1349896129":["hashtag1","hashtag2"]},{"1349896176":["hashtag1","hashtag2"]},{"1349896283":["hashtag1","hashtag2"]},{"1349896221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349896070, 1349896276, 1349896129, 1349896176, 1349896283, 1349896221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.615325689315796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:06:02.763347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_04_2740.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_08_3566.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_10_2580.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_13_2593.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_19_2702.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_23_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_04_2740.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_08_3566.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_10_2580.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_13_2593.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_19_2702.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_23_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349896781","1349896571","1349896427","1349896913","1349897004","1349896970"],"photo_ids_order":["1349896427","1349896571","1349896781","1349896913","1349896970","1349897004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe43aa3ea95c3fcff6330333be0ffdbb.jpg","text":"TemporaryFile(/tmp/multipartBody8233564246416862141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718823553,"filename":"image_15042025_13_56_10_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99307c9b86979d5fba73243b1931f881.jpg","text":"TemporaryFile(/tmp/multipartBody6236044948271543994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718823553,"filename":"image_15042025_13_56_08_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acf9ebf25fe620097869a59654fa0947.jpg","text":"TemporaryFile(/tmp/multipartBody5226369989288312554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718823553,"filename":"image_15042025_13_56_04_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d83b1fc7e2de1cfba4cb9e6bb14a5384.jpg","text":"TemporaryFile(/tmp/multipartBody7022777459701610709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718823553,"filename":"image_15042025_13_56_13_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9d8b86ffdee2186b0d6754518c12fc9.jpg","text":"TemporaryFile(/tmp/multipartBody3085596162286266421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718823553,"filename":"image_15042025_13_56_23_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac8bd5e88a4fe241a12d2cf44d72a2e2.jpg","text":"TemporaryFile(/tmp/multipartBody5450644075782803498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718823553,"filename":"image_15042025_13_56_19_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349896781","file1":"1349896571","file0":"1349896427","file4":"1349896970","file5":"1349897004","file3":"1349896913"},"map_files_photo_id_array":[{"photo_id":"1349897004","filename":"file5"},{"photo_id":"1349896781","filename":"file2"},{"photo_id":"1349896970","filename":"file4"},{"photo_id":"1349896571","filename":"file1"},{"photo_id":"1349896427","filename":"file0"},{"photo_id":"1349896913","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349896781":["hashtag1","hashtag2"]},{"1349896571":["hashtag1","hashtag2"]},{"1349896427":["hashtag1","hashtag2"]},{"1349896913":["hashtag1","hashtag2"]},{"1349897004":["hashtag1","hashtag2"]},{"1349896970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349896781, 1349896571, 1349896427, 1349896913, 1349897004, 1349896970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50723743438721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:06:42.189042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_25_2623.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_28_2690.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_34_3624.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_37_2760.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_44_3649.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_46_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_25_2623.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_28_2690.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_34_3624.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_37_2760.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_44_3649.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_46_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897047","1349897097","1349897121","1349897127","1349897093","1349897075"],"photo_ids_order":["1349897047","1349897075","1349897093","1349897097","1349897121","1349897127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39bea963dd1856c807bf8c5abec3c2a5.jpg","text":"TemporaryFile(/tmp/multipartBody4775683875306468689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718862897,"filename":"image_15042025_13_56_25_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5bb7a12689e1313fc2e11cbb8b8ac0f.jpg","text":"TemporaryFile(/tmp/multipartBody3531021146058462466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718862897,"filename":"image_15042025_13_56_37_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c383384df35cf46b5c52d4c0ba9ea936.jpg","text":"TemporaryFile(/tmp/multipartBody194106230251946364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718862897,"filename":"image_15042025_13_56_44_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04ea0b2170691ee4f3aec6d8215add74.jpg","text":"TemporaryFile(/tmp/multipartBody5897924317957638835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718862897,"filename":"image_15042025_13_56_46_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6713384bed5af45e4619acda62950fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3259712415443901538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718862897,"filename":"image_15042025_13_56_34_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25f16deae7dfe1ec5f46017ce952e53c.jpg","text":"TemporaryFile(/tmp/multipartBody8482602790265208397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718862897,"filename":"image_15042025_13_56_28_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897093","file1":"1349897075","file0":"1349897047","file4":"1349897121","file5":"1349897127","file3":"1349897097"},"map_files_photo_id_array":[{"photo_id":"1349897127","filename":"file5"},{"photo_id":"1349897093","filename":"file2"},{"photo_id":"1349897121","filename":"file4"},{"photo_id":"1349897075","filename":"file1"},{"photo_id":"1349897047","filename":"file0"},{"photo_id":"1349897097","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897047":["hashtag1","hashtag2"]},{"1349897097":["hashtag1","hashtag2"]},{"1349897121":["hashtag1","hashtag2"]},{"1349897127":["hashtag1","hashtag2"]},{"1349897093":["hashtag1","hashtag2"]},{"1349897075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897047, 1349897097, 1349897121, 1349897127, 1349897093, 1349897075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.829017162323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:07:22.506248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_49_2794.jpg', '/home/pi/Desktop/images/15042025/13/56/image_15042025_13_57_01_3642.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_04_2637.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_07_2615.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_10_3573.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_13_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_56_49_2794.jpg
/home/pi/Desktop/images/15042025/13/56/image_15042025_13_57_01_3642.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_04_2637.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_07_2615.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_10_3573.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_13_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897155","1349897149","1349897140","1349897163","1349897159","1349897144"],"photo_ids_order":["1349897140","1349897144","1349897149","1349897155","1349897159","1349897163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2fef714adbf3b0556a2d5471de16956.jpg","text":"TemporaryFile(/tmp/multipartBody5497377795939482154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718903208,"filename":"image_15042025_13_57_07_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1cdf26fb7cd73ef737d6362164939608.jpg","text":"TemporaryFile(/tmp/multipartBody4222666945453525218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718903208,"filename":"image_15042025_13_57_04_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b611f144fa2710355e39fa38f2ead52.jpg","text":"TemporaryFile(/tmp/multipartBody7481587693883328704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718903208,"filename":"image_15042025_13_56_49_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64193b344082d6501572688eadaaeb33.jpg","text":"TemporaryFile(/tmp/multipartBody5171792900020023254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718903208,"filename":"image_15042025_13_57_13_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2304ec92e3ca8fb389c99865b07f78c.jpg","text":"TemporaryFile(/tmp/multipartBody3057356113071394353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718903208,"filename":"image_15042025_13_57_10_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f5453e3ab203a5f694582b42ec232ee.jpg","text":"TemporaryFile(/tmp/multipartBody1693400762203719903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718903208,"filename":"image_15042025_13_57_01_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897149","file1":"1349897144","file0":"1349897140","file4":"1349897159","file5":"1349897163","file3":"1349897155"},"map_files_photo_id_array":[{"photo_id":"1349897163","filename":"file5"},{"photo_id":"1349897149","filename":"file2"},{"photo_id":"1349897159","filename":"file4"},{"photo_id":"1349897144","filename":"file1"},{"photo_id":"1349897140","filename":"file0"},{"photo_id":"1349897155","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897155":["hashtag1","hashtag2"]},{"1349897149":["hashtag1","hashtag2"]},{"1349897140":["hashtag1","hashtag2"]},{"1349897163":["hashtag1","hashtag2"]},{"1349897159":["hashtag1","hashtag2"]},{"1349897144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897155, 1349897149, 1349897140, 1349897163, 1349897159, 1349897144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.719075441360474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:08:02.513225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_16_2767.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_22_2882.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_25_2650.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_31_3685.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_34_2696.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_40_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_16_2767.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_22_2882.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_25_2650.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_31_3685.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_34_2696.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_40_3603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897196","1349897200","1349897190","1349897205","1349897180","1349897186"],"photo_ids_order":["1349897180","1349897186","1349897190","1349897196","1349897200","1349897205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43878617545af171644ae4363f0d1b5f.jpg","text":"TemporaryFile(/tmp/multipartBody719088119400540870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718943292,"filename":"image_15042025_13_57_31_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bad43efe8d9dd9e0cad87c1356e47263.jpg","text":"TemporaryFile(/tmp/multipartBody8853247609592520277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718943292,"filename":"image_15042025_13_57_34_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb15af261043d4b56dc6a43469fd4e27.jpg","text":"TemporaryFile(/tmp/multipartBody2734413768958371374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718943292,"filename":"image_15042025_13_57_25_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca22b91ba565ec5fa6813ef61c11fda2.jpg","text":"TemporaryFile(/tmp/multipartBody8024287345398801631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718943292,"filename":"image_15042025_13_57_40_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e631c2d05c289af2c049823f932580d1.jpg","text":"TemporaryFile(/tmp/multipartBody4525236043303318164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718943292,"filename":"image_15042025_13_57_16_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/235077e9ff53b3b979b2fa1b9bef0627.jpg","text":"TemporaryFile(/tmp/multipartBody385953680822257344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744718943292,"filename":"image_15042025_13_57_22_2882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897190","file1":"1349897186","file0":"1349897180","file4":"1349897200","file5":"1349897205","file3":"1349897196"},"map_files_photo_id_array":[{"photo_id":"1349897205","filename":"file5"},{"photo_id":"1349897190","filename":"file2"},{"photo_id":"1349897200","filename":"file4"},{"photo_id":"1349897186","filename":"file1"},{"photo_id":"1349897180","filename":"file0"},{"photo_id":"1349897196","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897196":["hashtag1","hashtag2"]},{"1349897200":["hashtag1","hashtag2"]},{"1349897190":["hashtag1","hashtag2"]},{"1349897205":["hashtag1","hashtag2"]},{"1349897180":["hashtag1","hashtag2"]},{"1349897186":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897196, 1349897200, 1349897190, 1349897205, 1349897180, 1349897186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71682691574097 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:09:03.608059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_43_2870.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_49_2748.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_52_3755.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_55_2750.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_58_2616.jpg', '/home/pi/Desktop/images/15042025/13/57/image_15042025_13_58_01_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_43_2870.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_49_2748.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_52_3755.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_55_2750.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_57_58_2616.jpg
/home/pi/Desktop/images/15042025/13/57/image_15042025_13_58_01_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897237","1349897257","1349897262","1349897244","1349897267","1349897252"],"photo_ids_order":["1349897237","1349897244","1349897252","1349897257","1349897262","1349897267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4faf847c560e2ef77971b0aa43ff68d5.jpg","text":"TemporaryFile(/tmp/multipartBody7078457561545463852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719004623,"filename":"image_15042025_13_57_43_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76057ccec829e796cbccd0df7cb84f0d.jpg","text":"TemporaryFile(/tmp/multipartBody2891298402541382838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719004623,"filename":"image_15042025_13_57_55_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a50baf6596448fc356e5a62536ab4f5d.jpg","text":"TemporaryFile(/tmp/multipartBody337846256011959447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719004623,"filename":"image_15042025_13_57_58_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b44e746906b06e5c3a4e0adaa7d802fe.jpg","text":"TemporaryFile(/tmp/multipartBody3820563397004781985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719004623,"filename":"image_15042025_13_57_49_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c42daaecee3bd44e8fbf8cefb56252b8.jpg","text":"TemporaryFile(/tmp/multipartBody3915227869254491146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719004623,"filename":"image_15042025_13_58_01_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c3f855011bfeca1d8d010cdc6c16da7.jpg","text":"TemporaryFile(/tmp/multipartBody7212443971337901537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719004623,"filename":"image_15042025_13_57_52_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897252","file1":"1349897244","file0":"1349897237","file4":"1349897262","file5":"1349897267","file3":"1349897257"},"map_files_photo_id_array":[{"photo_id":"1349897267","filename":"file5"},{"photo_id":"1349897252","filename":"file2"},{"photo_id":"1349897262","filename":"file4"},{"photo_id":"1349897244","filename":"file1"},{"photo_id":"1349897237","filename":"file0"},{"photo_id":"1349897257","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897237":["hashtag1","hashtag2"]},{"1349897257":["hashtag1","hashtag2"]},{"1349897262":["hashtag1","hashtag2"]},{"1349897244":["hashtag1","hashtag2"]},{"1349897267":["hashtag1","hashtag2"]},{"1349897252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897237, 1349897257, 1349897262, 1349897244, 1349897267, 1349897252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13211750984192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:09:42.594987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_04_2851.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_07_2788.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_10_2873.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_13_2868.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_19_3595.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_22_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_04_2851.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_07_2788.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_10_2873.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_13_2868.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_19_3595.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_22_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897353","1349897281","1349897341","1349897323","1349897308","1349897291"],"photo_ids_order":["1349897281","1349897291","1349897308","1349897323","1349897341","1349897353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95136e5986c44581259fe624d3d8a5be.jpg","text":"TemporaryFile(/tmp/multipartBody4005763394635997630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719043343,"filename":"image_15042025_13_58_22_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cac6c7b3c58692e45742fe487a85b8d.jpg","text":"TemporaryFile(/tmp/multipartBody6008856012448557108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719043343,"filename":"image_15042025_13_58_04_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a71845378a7593d38d0d7760f0384deb.jpg","text":"TemporaryFile(/tmp/multipartBody7925548555704979880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719043343,"filename":"image_15042025_13_58_19_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f58b7820031d8fc1eaad94c6da4b3be6.jpg","text":"TemporaryFile(/tmp/multipartBody1154234170470348708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719043343,"filename":"image_15042025_13_58_13_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfed30ec1bb922dfc6cca84f8940fa59.jpg","text":"TemporaryFile(/tmp/multipartBody4932013699805430528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719043343,"filename":"image_15042025_13_58_10_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0791605e0bf23b2a1898359b79fc29c.jpg","text":"TemporaryFile(/tmp/multipartBody6417232057089352505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719043343,"filename":"image_15042025_13_58_07_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897308","file1":"1349897291","file0":"1349897281","file4":"1349897341","file5":"1349897353","file3":"1349897323"},"map_files_photo_id_array":[{"photo_id":"1349897353","filename":"file5"},{"photo_id":"1349897308","filename":"file2"},{"photo_id":"1349897341","filename":"file4"},{"photo_id":"1349897291","filename":"file1"},{"photo_id":"1349897281","filename":"file0"},{"photo_id":"1349897323","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897353":["hashtag1","hashtag2"]},{"1349897281":["hashtag1","hashtag2"]},{"1349897341":["hashtag1","hashtag2"]},{"1349897323":["hashtag1","hashtag2"]},{"1349897308":["hashtag1","hashtag2"]},{"1349897291":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897353, 1349897281, 1349897341, 1349897323, 1349897308, 1349897291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5724732875824 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:10:42.717148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_28_3706.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_31_2620.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_40_2683.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_46_3608.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_58_2610.jpg', '/home/pi/Desktop/images/15042025/13/58/image_15042025_13_59_00_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_28_3706.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_31_2620.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_40_2683.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_46_3608.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_58_58_2610.jpg
/home/pi/Desktop/images/15042025/13/58/image_15042025_13_59_00_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897426","1349897410","1349897430","1349897433","1349897418","1349897438"],"photo_ids_order":["1349897410","1349897418","1349897426","1349897430","1349897433","1349897438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/842f1713419281e2dd9b3554c33be1c3.jpg","text":"TemporaryFile(/tmp/multipartBody5608513453790369768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719103428,"filename":"image_15042025_13_58_40_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8df32b8d357b31577e684581041560d.jpg","text":"TemporaryFile(/tmp/multipartBody854128303916793592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719103428,"filename":"image_15042025_13_58_28_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfeb2994f73f17a9a2ce8574aeb4295d.jpg","text":"TemporaryFile(/tmp/multipartBody1655351257622847193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719103428,"filename":"image_15042025_13_58_46_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f92dcf812c46e49070151fa7bcfa544.jpg","text":"TemporaryFile(/tmp/multipartBody6084380913368564610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719103428,"filename":"image_15042025_13_58_58_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71dfe166a166667a308377933521ff0c.jpg","text":"TemporaryFile(/tmp/multipartBody1155284699057579206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719103428,"filename":"image_15042025_13_58_31_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2421c21bdaa7a3469474a77db22a3493.jpg","text":"TemporaryFile(/tmp/multipartBody464510032697761313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719103428,"filename":"image_15042025_13_59_00_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897426","file1":"1349897418","file0":"1349897410","file4":"1349897433","file5":"1349897438","file3":"1349897430"},"map_files_photo_id_array":[{"photo_id":"1349897438","filename":"file5"},{"photo_id":"1349897426","filename":"file2"},{"photo_id":"1349897433","filename":"file4"},{"photo_id":"1349897418","filename":"file1"},{"photo_id":"1349897410","filename":"file0"},{"photo_id":"1349897430","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897426":["hashtag1","hashtag2"]},{"1349897410":["hashtag1","hashtag2"]},{"1349897430":["hashtag1","hashtag2"]},{"1349897433":["hashtag1","hashtag2"]},{"1349897418":["hashtag1","hashtag2"]},{"1349897438":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897426, 1349897410, 1349897430, 1349897433, 1349897418, 1349897438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03163385391235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:11:22.749832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_04_3597.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_07_2778.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_13_2991.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_16_3597.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_19_2737.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_22_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_04_3597.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_07_2778.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_13_2991.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_16_3597.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_19_2737.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_22_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897548","1349897458","1349897518","1349897487","1349897613","1349897582"],"photo_ids_order":["1349897458","1349897487","1349897518","1349897548","1349897582","1349897613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe6d7b9d620497437a6dab80edef98a9.jpg","text":"TemporaryFile(/tmp/multipartBody3547577941474286527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719143461,"filename":"image_15042025_13_59_16_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b779340e21bf9222e4d8ca9d6da7dbcb.jpg","text":"TemporaryFile(/tmp/multipartBody2349628760778317379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719143461,"filename":"image_15042025_13_59_04_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14c2b12ce70d2608e57eef4dc3b89e91.jpg","text":"TemporaryFile(/tmp/multipartBody349550958853152957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719143461,"filename":"image_15042025_13_59_13_2991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee6ac7c9284539ed35fa4f93038607fb.jpg","text":"TemporaryFile(/tmp/multipartBody5270994138429342500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719143461,"filename":"image_15042025_13_59_07_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4adfd464aff4e5fb5897cf9a6d61189b.jpg","text":"TemporaryFile(/tmp/multipartBody7884451728911445221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719143461,"filename":"image_15042025_13_59_22_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/398e949ae59f303f37df016f98089fd5.jpg","text":"TemporaryFile(/tmp/multipartBody8533973167665690276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719143461,"filename":"image_15042025_13_59_19_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897518","file1":"1349897487","file0":"1349897458","file4":"1349897582","file5":"1349897613","file3":"1349897548"},"map_files_photo_id_array":[{"photo_id":"1349897613","filename":"file5"},{"photo_id":"1349897518","filename":"file2"},{"photo_id":"1349897582","filename":"file4"},{"photo_id":"1349897487","filename":"file1"},{"photo_id":"1349897458","filename":"file0"},{"photo_id":"1349897548","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897548":["hashtag1","hashtag2"]},{"1349897458":["hashtag1","hashtag2"]},{"1349897518":["hashtag1","hashtag2"]},{"1349897487":["hashtag1","hashtag2"]},{"1349897613":["hashtag1","hashtag2"]},{"1349897582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897548, 1349897458, 1349897518, 1349897487, 1349897613, 1349897582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36483883857727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:12:02.669529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_25_3722.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_28_2666.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_31_2758.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_34_3483.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_37_2659.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_43_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_25_3722.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_28_2666.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_31_2758.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_34_3483.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_37_2659.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_43_3748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897639","1349897644","1349897668","1349897652","1349897663","1349897657"],"photo_ids_order":["1349897639","1349897644","1349897652","1349897657","1349897663","1349897668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a263d0db7579adba0cf602b68f2ca298.jpg","text":"TemporaryFile(/tmp/multipartBody5107582807876537994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719183466,"filename":"image_15042025_13_59_25_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d6aa0fc6b97bb4a9d9efcab7af1a334.jpg","text":"TemporaryFile(/tmp/multipartBody7264986753601905283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719183466,"filename":"image_15042025_13_59_28_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63465090533056383103c7adb6d04ab9.jpg","text":"TemporaryFile(/tmp/multipartBody187451591128950087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719183466,"filename":"image_15042025_13_59_43_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d212ad3b559a6c9b7f6439c6c6b9bdd2.jpg","text":"TemporaryFile(/tmp/multipartBody3553747549433450228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719183466,"filename":"image_15042025_13_59_31_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf054973dd06c374c40d6bae6256b077.jpg","text":"TemporaryFile(/tmp/multipartBody1755789086898901826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719183466,"filename":"image_15042025_13_59_37_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d771a3e3224d7489cc2fcd1ecf9bea4.jpg","text":"TemporaryFile(/tmp/multipartBody3578612649800314096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719183466,"filename":"image_15042025_13_59_34_3483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897652","file1":"1349897644","file0":"1349897639","file4":"1349897663","file5":"1349897668","file3":"1349897657"},"map_files_photo_id_array":[{"photo_id":"1349897668","filename":"file5"},{"photo_id":"1349897652","filename":"file2"},{"photo_id":"1349897663","filename":"file4"},{"photo_id":"1349897644","filename":"file1"},{"photo_id":"1349897639","filename":"file0"},{"photo_id":"1349897657","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897639":["hashtag1","hashtag2"]},{"1349897644":["hashtag1","hashtag2"]},{"1349897668":["hashtag1","hashtag2"]},{"1349897652":["hashtag1","hashtag2"]},{"1349897663":["hashtag1","hashtag2"]},{"1349897657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897639, 1349897644, 1349897668, 1349897652, 1349897663, 1349897657)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.17673707008362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:13:03.174718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_46_2671.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_55_3868.jpg', '/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_58_2636.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_07_3012.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_11_3839.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_14_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_46_2671.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_55_3868.jpg
/home/pi/Desktop/images/15042025/13/59/image_15042025_13_59_58_2636.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_07_3012.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_11_3839.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_14_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897711","1349897705","1349897743","1349897734","1349897745","1349897720"],"photo_ids_order":["1349897705","1349897711","1349897720","1349897734","1349897743","1349897745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f6cc8dd1b71fcdcd4635c690581bf84.jpg","text":"TemporaryFile(/tmp/multipartBody2908370057277481222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719244050,"filename":"image_15042025_13_59_55_3868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3862856bcc4a7b28cfbc662ebedd745.jpg","text":"TemporaryFile(/tmp/multipartBody26558658702546133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719244050,"filename":"image_15042025_13_59_46_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c3765eb6c2dd88ca33b274e8cd041ce.jpg","text":"TemporaryFile(/tmp/multipartBody1810728492282031282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719244050,"filename":"image_15042025_14_01_11_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d49026c8fcd5a65f22a3f2a6ab67783.jpg","text":"TemporaryFile(/tmp/multipartBody2906840544130025590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719244050,"filename":"image_15042025_14_01_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4773147e2f6bb2037583c1abf0e30c1e.jpg","text":"TemporaryFile(/tmp/multipartBody6962252349032098762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719244050,"filename":"image_15042025_14_01_14_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bea0b87c48d9342e9fcbf5b24af8559.jpg","text":"TemporaryFile(/tmp/multipartBody1688208626191448215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719244050,"filename":"image_15042025_13_59_58_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897720","file1":"1349897711","file0":"1349897705","file4":"1349897743","file5":"1349897745","file3":"1349897734"},"map_files_photo_id_array":[{"photo_id":"1349897745","filename":"file5"},{"photo_id":"1349897720","filename":"file2"},{"photo_id":"1349897743","filename":"file4"},{"photo_id":"1349897711","filename":"file1"},{"photo_id":"1349897705","filename":"file0"},{"photo_id":"1349897734","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897711":["hashtag1","hashtag2"]},{"1349897705":["hashtag1","hashtag2"]},{"1349897743":["hashtag1","hashtag2"]},{"1349897734":["hashtag1","hashtag2"]},{"1349897745":["hashtag1","hashtag2"]},{"1349897720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897711, 1349897705, 1349897743, 1349897734, 1349897745, 1349897720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26993751525879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:13:42.416825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_16_2623.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_20_3653.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_25_2628.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_29_3680.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_32_2625.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_34_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_16_2623.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_20_3653.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_25_2628.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_29_3680.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_32_2625.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_34_2588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6375930309295654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:14:02.928278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_16_2623.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_20_3653.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_25_2628.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_29_3680.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_32_2625.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_34_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_16_2623.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_20_3653.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_25_2628.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_29_3680.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_32_2625.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_34_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897788","1349897818","1349897812","1349897806","1349897800","1349897793"],"photo_ids_order":["1349897788","1349897793","1349897800","1349897806","1349897812","1349897818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/685f758f83cfbd963a588190061685a9.jpg","text":"TemporaryFile(/tmp/multipartBody7034373000661674740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719303866,"filename":"image_15042025_14_01_16_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7eeef4914d37676842c03e9689a6cdb9.jpg","text":"TemporaryFile(/tmp/multipartBody3346913612887246408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719303866,"filename":"image_15042025_14_01_34_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c2adc2e68db5b4821f7cd16eaedc0a2.jpg","text":"TemporaryFile(/tmp/multipartBody1256916786521868176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719303866,"filename":"image_15042025_14_01_32_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/562ce0622c0becffb17ba9b5bfb784a8.jpg","text":"TemporaryFile(/tmp/multipartBody3387639713231921035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719303866,"filename":"image_15042025_14_01_29_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c61b3a00021b407f7ef4ebbd6645e37e.jpg","text":"TemporaryFile(/tmp/multipartBody7137757896409606394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719303866,"filename":"image_15042025_14_01_25_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8aa564c10dc88e291e44f8e9e5b7cebe.jpg","text":"TemporaryFile(/tmp/multipartBody2324191056676774338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719303866,"filename":"image_15042025_14_01_20_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897800","file1":"1349897793","file0":"1349897788","file4":"1349897812","file5":"1349897818","file3":"1349897806"},"map_files_photo_id_array":[{"photo_id":"1349897818","filename":"file5"},{"photo_id":"1349897800","filename":"file2"},{"photo_id":"1349897812","filename":"file4"},{"photo_id":"1349897793","filename":"file1"},{"photo_id":"1349897788","filename":"file0"},{"photo_id":"1349897806","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897788":["hashtag1","hashtag2"]},{"1349897818":["hashtag1","hashtag2"]},{"1349897812":["hashtag1","hashtag2"]},{"1349897806":["hashtag1","hashtag2"]},{"1349897800":["hashtag1","hashtag2"]},{"1349897793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897788, 1349897818, 1349897812, 1349897806, 1349897800, 1349897793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69840383529663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:14:42.224357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_38_3655.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_43_2651.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_47_3551.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_50_2764.jpg', '/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_59_3766.jpg', '/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_07_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_38_3655.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_43_2651.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_47_3551.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_50_2764.jpg
/home/pi/Desktop/images/15042025/14/01/image_15042025_14_01_59_3766.jpg
/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_07_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897856","1349897867","1349897852","1349897846","1349897861","1349897840"],"photo_ids_order":["1349897840","1349897846","1349897852","1349897856","1349897861","1349897867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09ebc121478443f3365ecb1b209692d1.jpg","text":"TemporaryFile(/tmp/multipartBody8982552025191375436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719342976,"filename":"image_15042025_14_01_50_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f150e5e8b2ad9c856e68b4adc4678c46.jpg","text":"TemporaryFile(/tmp/multipartBody979258025332181730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719342976,"filename":"image_15042025_14_02_07_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18ffff722e5cfcf751d31d02b38956cc.jpg","text":"TemporaryFile(/tmp/multipartBody328199867973610202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719342976,"filename":"image_15042025_14_01_47_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31df97cb89d27aa6e865505a46fa7ead.jpg","text":"TemporaryFile(/tmp/multipartBody6554464873861565036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719342976,"filename":"image_15042025_14_01_43_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5dddac8a444ec25ae42e8e76e0556e7.jpg","text":"TemporaryFile(/tmp/multipartBody7051187214538421678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719342976,"filename":"image_15042025_14_01_59_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6270203d333c0c3be2a419ac01810d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5318637380178679139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719342976,"filename":"image_15042025_14_01_38_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897852","file1":"1349897846","file0":"1349897840","file4":"1349897861","file5":"1349897867","file3":"1349897856"},"map_files_photo_id_array":[{"photo_id":"1349897867","filename":"file5"},{"photo_id":"1349897852","filename":"file2"},{"photo_id":"1349897861","filename":"file4"},{"photo_id":"1349897846","filename":"file1"},{"photo_id":"1349897840","filename":"file0"},{"photo_id":"1349897856","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897856":["hashtag1","hashtag2"]},{"1349897867":["hashtag1","hashtag2"]},{"1349897852":["hashtag1","hashtag2"]},{"1349897846":["hashtag1","hashtag2"]},{"1349897861":["hashtag1","hashtag2"]},{"1349897840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897856, 1349897867, 1349897852, 1349897846, 1349897861, 1349897840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66532850265503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:15:21.848588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_25_2690.jpg', '/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_31_2598.jpg', '/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_34_2729.jpg', '/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_46_2611.jpg', '/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_50_3693.jpg', '/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_52_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_25_2690.jpg
/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_31_2598.jpg
/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_34_2729.jpg
/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_46_2611.jpg
/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_50_3693.jpg
/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_52_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897918","1349897884","1349897923","1349897913","1349897907","1349897888"],"photo_ids_order":["1349897884","1349897888","1349897907","1349897913","1349897918","1349897923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72134c3d6a8f1dbcad6d0b652ce1f19b.jpg","text":"TemporaryFile(/tmp/multipartBody7151911168024837633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719382553,"filename":"image_15042025_14_02_50_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/404e993380ef4d9185678cdd66682baf.jpg","text":"TemporaryFile(/tmp/multipartBody4259785484085685511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719382553,"filename":"image_15042025_14_02_25_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6cdb5a6c85f76b5ddf083f8b266fb23.jpg","text":"TemporaryFile(/tmp/multipartBody7993307634516973742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719382553,"filename":"image_15042025_14_02_52_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cfa5c4fb162c688b874c24d9e5aea5f.jpg","text":"TemporaryFile(/tmp/multipartBody2211243097862275839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719382553,"filename":"image_15042025_14_02_46_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9198cfe511005fd330ec9cb5b5637e8.jpg","text":"TemporaryFile(/tmp/multipartBody6684301189154916300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719382553,"filename":"image_15042025_14_02_34_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b87a21e7d2fb5814e463d09a37a69783.jpg","text":"TemporaryFile(/tmp/multipartBody1720993961329614674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719382553,"filename":"image_15042025_14_02_31_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897907","file1":"1349897888","file0":"1349897884","file4":"1349897918","file5":"1349897923","file3":"1349897913"},"map_files_photo_id_array":[{"photo_id":"1349897923","filename":"file5"},{"photo_id":"1349897907","filename":"file2"},{"photo_id":"1349897918","filename":"file4"},{"photo_id":"1349897888","filename":"file1"},{"photo_id":"1349897884","filename":"file0"},{"photo_id":"1349897913","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897918":["hashtag1","hashtag2"]},{"1349897884":["hashtag1","hashtag2"]},{"1349897923":["hashtag1","hashtag2"]},{"1349897913":["hashtag1","hashtag2"]},{"1349897907":["hashtag1","hashtag2"]},{"1349897888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897918, 1349897884, 1349897923, 1349897913, 1349897907, 1349897888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7573664188385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:16:02.715389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_55_2720.jpg', '/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_59_3704.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_01_2583.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_04_2562.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_08_3592.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_10_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_55_2720.jpg
/home/pi/Desktop/images/15042025/14/02/image_15042025_14_02_59_3704.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_01_2583.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_04_2562.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_08_3592.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_10_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897962","1349897950","1349897938","1349897946","1349897957","1349897954"],"photo_ids_order":["1349897938","1349897946","1349897950","1349897954","1349897957","1349897962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/923249ae349bd36cc277aa3052fd9fff.jpg","text":"TemporaryFile(/tmp/multipartBody7244214440438155189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719423563,"filename":"image_15042025_14_03_10_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6418e42b011e707c8d39974cfaf867d.jpg","text":"TemporaryFile(/tmp/multipartBody1073199357079634530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719423563,"filename":"image_15042025_14_03_01_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0234b73e671d310eeb531cf9eff4d5f5.jpg","text":"TemporaryFile(/tmp/multipartBody503067342274965373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719423563,"filename":"image_15042025_14_02_55_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a290600681b2b1954db01939d3f18619.jpg","text":"TemporaryFile(/tmp/multipartBody3867083686319742303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719423563,"filename":"image_15042025_14_02_59_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3564c0d48adf122d12872fcc6ef37612.jpg","text":"TemporaryFile(/tmp/multipartBody38998155205826176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719423563,"filename":"image_15042025_14_03_08_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a995065e0b41c0ec680f0aa037e14824.jpg","text":"TemporaryFile(/tmp/multipartBody7806090517353986009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719423563,"filename":"image_15042025_14_03_04_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897950","file1":"1349897946","file0":"1349897938","file4":"1349897957","file5":"1349897962","file3":"1349897954"},"map_files_photo_id_array":[{"photo_id":"1349897962","filename":"file5"},{"photo_id":"1349897950","filename":"file2"},{"photo_id":"1349897957","filename":"file4"},{"photo_id":"1349897946","filename":"file1"},{"photo_id":"1349897938","filename":"file0"},{"photo_id":"1349897954","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897962":["hashtag1","hashtag2"]},{"1349897950":["hashtag1","hashtag2"]},{"1349897938":["hashtag1","hashtag2"]},{"1349897946":["hashtag1","hashtag2"]},{"1349897957":["hashtag1","hashtag2"]},{"1349897954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897962, 1349897950, 1349897938, 1349897946, 1349897957, 1349897954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59869027137756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:16:42.220313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_14_3659.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_16_2554.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_19_2628.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_23_3597.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_25_2774.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_28_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_14_3659.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_16_2554.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_19_2628.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_23_3597.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_25_2774.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_28_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349897995","1349898007","1349898026","1349897999","1349897990","1349897978"],"photo_ids_order":["1349897978","1349897990","1349897995","1349897999","1349898007","1349898026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6c93ca34a5e5b069987110f6389b706.jpg","text":"TemporaryFile(/tmp/multipartBody4499353315145780118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719465890,"filename":"image_15042025_14_03_19_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15eadb909aeeee8564efe5160d06c540.jpg","text":"TemporaryFile(/tmp/multipartBody8873149579123640205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719465890,"filename":"image_15042025_14_03_25_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0068ec0352524402cdcfe2625e400f4.jpg","text":"TemporaryFile(/tmp/multipartBody9173776496308071479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719465890,"filename":"image_15042025_14_03_28_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b875219a73f2fa0716f531e7109a368a.jpg","text":"TemporaryFile(/tmp/multipartBody1471192947195912912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719465890,"filename":"image_15042025_14_03_23_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30fc713e9aa4c49a5dc46e5f883852d1.jpg","text":"TemporaryFile(/tmp/multipartBody3867501413576466013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719465890,"filename":"image_15042025_14_03_16_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/601a64825957d51d611f65014e08f39e.jpg","text":"TemporaryFile(/tmp/multipartBody9189647962971704955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719465890,"filename":"image_15042025_14_03_14_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349897995","file1":"1349897990","file0":"1349897978","file4":"1349898007","file5":"1349898026","file3":"1349897999"},"map_files_photo_id_array":[{"photo_id":"1349898026","filename":"file5"},{"photo_id":"1349897995","filename":"file2"},{"photo_id":"1349898007","filename":"file4"},{"photo_id":"1349897990","filename":"file1"},{"photo_id":"1349897978","filename":"file0"},{"photo_id":"1349897999","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349897995":["hashtag1","hashtag2"]},{"1349898007":["hashtag1","hashtag2"]},{"1349898026":["hashtag1","hashtag2"]},{"1349897999":["hashtag1","hashtag2"]},{"1349897990":["hashtag1","hashtag2"]},{"1349897978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349897995, 1349898007, 1349898026, 1349897999, 1349897990, 1349897978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46240282058716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:17:22.334646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_32_3631.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_34_2662.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_37_2629.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_41_3790.jpg', '/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_53_2819.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_04_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_32_3631.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_34_2662.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_37_2629.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_41_3790.jpg
/home/pi/Desktop/images/15042025/14/03/image_15042025_14_03_53_2819.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_04_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898151","1349898104","1349898076","1349898136","1349898064","1349898124"],"photo_ids_order":["1349898064","1349898076","1349898104","1349898124","1349898136","1349898151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b39c2aff36a6d9ddeac1e55d4fed339c.jpg","text":"TemporaryFile(/tmp/multipartBody8942936401223554381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719503044,"filename":"image_15042025_14_04_04_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/315316e9f27423cb6e58c6700ba36c24.jpg","text":"TemporaryFile(/tmp/multipartBody2921615841384087464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719503044,"filename":"image_15042025_14_03_37_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/437386da7d18cc041a7b3f96f2de1c52.jpg","text":"TemporaryFile(/tmp/multipartBody5441766810330754916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719503044,"filename":"image_15042025_14_03_34_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18b107ad0ced8cb3342643f8ca3fcd63.jpg","text":"TemporaryFile(/tmp/multipartBody2766388953119219798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719503044,"filename":"image_15042025_14_03_53_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e79f6ea05818de97792011b9f52f533.jpg","text":"TemporaryFile(/tmp/multipartBody5697983084970928287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719503044,"filename":"image_15042025_14_03_32_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b683dff5890e4447547721388603251.jpg","text":"TemporaryFile(/tmp/multipartBody1868845144580997819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719503044,"filename":"image_15042025_14_03_41_3790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898104","file1":"1349898076","file0":"1349898064","file4":"1349898136","file5":"1349898151","file3":"1349898124"},"map_files_photo_id_array":[{"photo_id":"1349898151","filename":"file5"},{"photo_id":"1349898104","filename":"file2"},{"photo_id":"1349898136","filename":"file4"},{"photo_id":"1349898076","filename":"file1"},{"photo_id":"1349898064","filename":"file0"},{"photo_id":"1349898124","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898151":["hashtag1","hashtag2"]},{"1349898104":["hashtag1","hashtag2"]},{"1349898076":["hashtag1","hashtag2"]},{"1349898136":["hashtag1","hashtag2"]},{"1349898064":["hashtag1","hashtag2"]},{"1349898124":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898151, 1349898104, 1349898076, 1349898136, 1349898064, 1349898124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37102770805359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:18:03.355535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_07_2581.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_20_3666.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_22_2602.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_34_2568.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_38_3727.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_40_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_07_2581.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_20_3666.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_22_2602.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_34_2568.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_38_3727.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_40_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898319","1349898304","1349898315","1349898323","1349898218","1349898311"],"photo_ids_order":["1349898218","1349898304","1349898311","1349898315","1349898319","1349898323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5adb72debd1cbf1c9db39ee7b3f2a1f1.jpg","text":"TemporaryFile(/tmp/multipartBody4178112770559388187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719544141,"filename":"image_15042025_14_04_38_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4302ac1433cf38337e24266f720d6769.jpg","text":"TemporaryFile(/tmp/multipartBody4962042732970251823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719544141,"filename":"image_15042025_14_04_20_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fa584b853f800dec5b88a644314acf7.jpg","text":"TemporaryFile(/tmp/multipartBody3777348035990593471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719544141,"filename":"image_15042025_14_04_34_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4c0f698ed26e62deb15e6c647a1b099.jpg","text":"TemporaryFile(/tmp/multipartBody5582219178424371837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719544141,"filename":"image_15042025_14_04_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47f25a3347af659d77c0181c515aec92.jpg","text":"TemporaryFile(/tmp/multipartBody5425157517400966375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719544141,"filename":"image_15042025_14_04_07_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29e7f30018a8a2eb278e64c39032ef23.jpg","text":"TemporaryFile(/tmp/multipartBody6215861505930629111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719544141,"filename":"image_15042025_14_04_22_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898311","file1":"1349898304","file0":"1349898218","file4":"1349898319","file5":"1349898323","file3":"1349898315"},"map_files_photo_id_array":[{"photo_id":"1349898323","filename":"file5"},{"photo_id":"1349898311","filename":"file2"},{"photo_id":"1349898319","filename":"file4"},{"photo_id":"1349898304","filename":"file1"},{"photo_id":"1349898218","filename":"file0"},{"photo_id":"1349898315","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898319":["hashtag1","hashtag2"]},{"1349898304":["hashtag1","hashtag2"]},{"1349898315":["hashtag1","hashtag2"]},{"1349898323":["hashtag1","hashtag2"]},{"1349898218":["hashtag1","hashtag2"]},{"1349898311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898319, 1349898304, 1349898315, 1349898323, 1349898218, 1349898311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25064444541931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:18:42.927218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_43_2552.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_46_3653.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_49_2811.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_52_2672.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_56_3610.jpg', '/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_58_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_43_2552.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_46_3653.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_49_2811.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_52_2672.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_56_3610.jpg
/home/pi/Desktop/images/15042025/14/04/image_15042025_14_04_58_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898355","1349898339","1349898333","1349898362","1349898350","1349898344"],"photo_ids_order":["1349898333","1349898339","1349898344","1349898350","1349898355","1349898362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08734c03105d368f5107ff37c93c75c1.jpg","text":"TemporaryFile(/tmp/multipartBody6797416247468854393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719583643,"filename":"image_15042025_14_04_56_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e7adfb879ee4b269e068590deffb02a.jpg","text":"TemporaryFile(/tmp/multipartBody3911485712510537324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719583643,"filename":"image_15042025_14_04_46_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df3e1846041446ada54c794f0eb23ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8216405858319216130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719583643,"filename":"image_15042025_14_04_43_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17c16b606bc041315af036ddeb80764d.jpg","text":"TemporaryFile(/tmp/multipartBody195036175412305905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719583643,"filename":"image_15042025_14_04_58_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26d57a38ff3681c05d4ea58532cf23fd.jpg","text":"TemporaryFile(/tmp/multipartBody8740125511478347777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719583643,"filename":"image_15042025_14_04_52_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/abfcc6627bad00286f1b67d4c4866b5d.jpg","text":"TemporaryFile(/tmp/multipartBody9099359480509326322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719583643,"filename":"image_15042025_14_04_49_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898344","file1":"1349898339","file0":"1349898333","file4":"1349898355","file5":"1349898362","file3":"1349898350"},"map_files_photo_id_array":[{"photo_id":"1349898362","filename":"file5"},{"photo_id":"1349898344","filename":"file2"},{"photo_id":"1349898355","filename":"file4"},{"photo_id":"1349898339","filename":"file1"},{"photo_id":"1349898333","filename":"file0"},{"photo_id":"1349898350","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898355":["hashtag1","hashtag2"]},{"1349898339":["hashtag1","hashtag2"]},{"1349898333":["hashtag1","hashtag2"]},{"1349898362":["hashtag1","hashtag2"]},{"1349898350":["hashtag1","hashtag2"]},{"1349898344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898355, 1349898339, 1349898333, 1349898362, 1349898350, 1349898344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74130368232727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:19:22.102188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_01_2639.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_04_2879.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_07_3606.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_10_2790.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_13_2597.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_17_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_01_2639.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_04_2879.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_07_3606.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_10_2790.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_13_2597.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_17_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898391","1349898385","1349898381","1349898380","1349898401","1349898376"],"photo_ids_order":["1349898376","1349898380","1349898381","1349898385","1349898391","1349898401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f57302e9dba41d57eff458324d876259.jpg","text":"TemporaryFile(/tmp/multipartBody124433773621310431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719622820,"filename":"image_15042025_14_05_13_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1574fb26afdfaadda6bfc91bb9aab5c2.jpg","text":"TemporaryFile(/tmp/multipartBody3353066099976231271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719622820,"filename":"image_15042025_14_05_10_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e768f03acc916b72f7d74b5cf5b99d05.jpg","text":"TemporaryFile(/tmp/multipartBody2475148079908930804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719622820,"filename":"image_15042025_14_05_07_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54e31f3aa915d55953c86a672556e6d5.jpg","text":"TemporaryFile(/tmp/multipartBody652102869379585452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719622820,"filename":"image_15042025_14_05_04_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69fab64c2baf961a5f071cf847dc4c0f.jpg","text":"TemporaryFile(/tmp/multipartBody703611101931448292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719622820,"filename":"image_15042025_14_05_17_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67d935d0b250da5cd09fa1371b1be78c.jpg","text":"TemporaryFile(/tmp/multipartBody815645209071513868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719622820,"filename":"image_15042025_14_05_01_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898381","file1":"1349898380","file0":"1349898376","file4":"1349898391","file5":"1349898401","file3":"1349898385"},"map_files_photo_id_array":[{"photo_id":"1349898401","filename":"file5"},{"photo_id":"1349898381","filename":"file2"},{"photo_id":"1349898391","filename":"file4"},{"photo_id":"1349898380","filename":"file1"},{"photo_id":"1349898376","filename":"file0"},{"photo_id":"1349898385","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898391":["hashtag1","hashtag2"]},{"1349898385":["hashtag1","hashtag2"]},{"1349898381":["hashtag1","hashtag2"]},{"1349898380":["hashtag1","hashtag2"]},{"1349898401":["hashtag1","hashtag2"]},{"1349898376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898391, 1349898385, 1349898381, 1349898380, 1349898401, 1349898376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55462050437927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:20:02.593234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_19_2685.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_22_2884.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_25_2676.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_28_3601.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_31_2591.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_35_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_19_2685.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_22_2884.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_25_2676.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_28_3601.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_31_2591.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_35_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898442","1349898444","1349898438","1349898429","1349898434","1349898425"],"photo_ids_order":["1349898425","1349898429","1349898434","1349898438","1349898442","1349898444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87d19e9a5e549c60433e7ef85a54e311.jpg","text":"TemporaryFile(/tmp/multipartBody2263009668577223322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719663374,"filename":"image_15042025_14_05_31_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/792acdfe30457888707f234677314de2.jpg","text":"TemporaryFile(/tmp/multipartBody2210716046171995225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719663374,"filename":"image_15042025_14_05_35_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/543ae315823db339d9bb0045989c3c7f.jpg","text":"TemporaryFile(/tmp/multipartBody8932096603018482206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719663374,"filename":"image_15042025_14_05_28_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62b7b5f955731ae9ff8af48c22114cb2.jpg","text":"TemporaryFile(/tmp/multipartBody146744482396716523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719663374,"filename":"image_15042025_14_05_22_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48376c451da7fb59572c561fcd5760a3.jpg","text":"TemporaryFile(/tmp/multipartBody6782268604715435478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719663374,"filename":"image_15042025_14_05_25_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/689faa8ba5a3c8762f05af4cb0dc7185.jpg","text":"TemporaryFile(/tmp/multipartBody2996764889336716770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719663374,"filename":"image_15042025_14_05_19_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898434","file1":"1349898429","file0":"1349898425","file4":"1349898442","file5":"1349898444","file3":"1349898438"},"map_files_photo_id_array":[{"photo_id":"1349898444","filename":"file5"},{"photo_id":"1349898434","filename":"file2"},{"photo_id":"1349898442","filename":"file4"},{"photo_id":"1349898429","filename":"file1"},{"photo_id":"1349898425","filename":"file0"},{"photo_id":"1349898438","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898442":["hashtag1","hashtag2"]},{"1349898444":["hashtag1","hashtag2"]},{"1349898438":["hashtag1","hashtag2"]},{"1349898429":["hashtag1","hashtag2"]},{"1349898434":["hashtag1","hashtag2"]},{"1349898425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898442, 1349898444, 1349898438, 1349898429, 1349898434, 1349898425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22178053855896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:20:41.933639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_37_2795.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_40_2565.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_43_2692.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_49_2774.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_52_2784.jpg', '/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_55_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_37_2795.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_40_2565.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_43_2692.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_49_2774.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_52_2784.jpg
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_55_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898525","1349898519","1349898510","1349898513","1349898500","1349898487"],"photo_ids_order":["1349898487","1349898500","1349898510","1349898513","1349898519","1349898525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03e7bf51ed7256359063f55eac49cec5.jpg","text":"TemporaryFile(/tmp/multipartBody1185199711801642177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719702686,"filename":"image_15042025_14_05_55_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a88c6d4b1b95e6cc52e18517f412f0a5.jpg","text":"TemporaryFile(/tmp/multipartBody918712123393937548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719702686,"filename":"image_15042025_14_05_52_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df18758d593a6ae6c90a0c6de1eab1c0.jpg","text":"TemporaryFile(/tmp/multipartBody9074316887309790045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719702686,"filename":"image_15042025_14_05_43_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c361d4a4abafd036956f4b0606b725b5.jpg","text":"TemporaryFile(/tmp/multipartBody1537983151642946739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719702686,"filename":"image_15042025_14_05_49_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2edec7a73694de94d8ae37b766f1ac02.jpg","text":"TemporaryFile(/tmp/multipartBody4886054398138482974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719702686,"filename":"image_15042025_14_05_40_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c01119c1e396b8af8cadeeb22dc95cf.jpg","text":"TemporaryFile(/tmp/multipartBody668957823440553733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719702686,"filename":"image_15042025_14_05_37_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898510","file1":"1349898500","file0":"1349898487","file4":"1349898519","file5":"1349898525","file3":"1349898513"},"map_files_photo_id_array":[{"photo_id":"1349898525","filename":"file5"},{"photo_id":"1349898510","filename":"file2"},{"photo_id":"1349898519","filename":"file4"},{"photo_id":"1349898500","filename":"file1"},{"photo_id":"1349898487","filename":"file0"},{"photo_id":"1349898513","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898525":["hashtag1","hashtag2"]},{"1349898519":["hashtag1","hashtag2"]},{"1349898510":["hashtag1","hashtag2"]},{"1349898513":["hashtag1","hashtag2"]},{"1349898500":["hashtag1","hashtag2"]},{"1349898487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898525, 1349898519, 1349898510, 1349898513, 1349898500, 1349898487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25861477851868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:21:22.312286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_58_2599.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_01_2640.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_04_3748.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_07_2682.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_10_2656.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_13_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/05/image_15042025_14_05_58_2599.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_01_2640.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_04_3748.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_07_2682.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_10_2656.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_13_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898550","1349898540","1349898572","1349898545","1349898560","1349898554"],"photo_ids_order":["1349898540","1349898545","1349898550","1349898554","1349898560","1349898572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06b07f9ab7a75bdfd095f09ad96ec5c0.jpg","text":"TemporaryFile(/tmp/multipartBody1320322274383512251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719743017,"filename":"image_15042025_14_06_04_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb5a981646b4d21459f03db251200cda.jpg","text":"TemporaryFile(/tmp/multipartBody4726150042034808990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719743017,"filename":"image_15042025_14_05_58_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/748d70d8322af35bdf8a36a15d29e715.jpg","text":"TemporaryFile(/tmp/multipartBody9147213726228358040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719743017,"filename":"image_15042025_14_06_13_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97fe20edbcf71fb8e521c036f4bc98b8.jpg","text":"TemporaryFile(/tmp/multipartBody5037645680979062843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719743017,"filename":"image_15042025_14_06_01_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/267e3b70a04688f24363972e45158c6a.jpg","text":"TemporaryFile(/tmp/multipartBody5874673168674170127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719743017,"filename":"image_15042025_14_06_10_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fdc847ee767457eecfa3aeee1c24b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6801271236018034149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719743017,"filename":"image_15042025_14_06_07_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898550","file1":"1349898545","file0":"1349898540","file4":"1349898560","file5":"1349898572","file3":"1349898554"},"map_files_photo_id_array":[{"photo_id":"1349898572","filename":"file5"},{"photo_id":"1349898550","filename":"file2"},{"photo_id":"1349898560","filename":"file4"},{"photo_id":"1349898545","filename":"file1"},{"photo_id":"1349898540","filename":"file0"},{"photo_id":"1349898554","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898550":["hashtag1","hashtag2"]},{"1349898540":["hashtag1","hashtag2"]},{"1349898572":["hashtag1","hashtag2"]},{"1349898545":["hashtag1","hashtag2"]},{"1349898560":["hashtag1","hashtag2"]},{"1349898554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898550, 1349898540, 1349898572, 1349898545, 1349898560, 1349898554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.337584018707275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:22:02.362549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_16_2721.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_19_2676.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_23_3670.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_28_2626.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_31_3715.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_34_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_16_2721.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_19_2676.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_23_3670.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_28_2626.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_31_3715.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_34_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898679","1349898631","1349898669","1349898663","1349898599","1349898674"],"photo_ids_order":["1349898599","1349898631","1349898663","1349898669","1349898674","1349898679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/423a10d1de02d7a697aaac55b6ad03cb.jpg","text":"TemporaryFile(/tmp/multipartBody7220238378862292921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719783137,"filename":"image_15042025_14_06_34_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb74cf5a9bf09886096201730f283c09.jpg","text":"TemporaryFile(/tmp/multipartBody8761452866359393932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719783137,"filename":"image_15042025_14_06_19_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6befbf496a4d3b662bfcc891a21c8f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2357481303320357945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719783137,"filename":"image_15042025_14_06_28_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de76d20ac3455d79a654a46767e7f7ff.jpg","text":"TemporaryFile(/tmp/multipartBody4415135778955744992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719783137,"filename":"image_15042025_14_06_23_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8da2681d05c1caf0b35df91e01dc38ad.jpg","text":"TemporaryFile(/tmp/multipartBody146060403590689043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719783137,"filename":"image_15042025_14_06_16_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c0cb1603adf6340dcd5cf74fbfd373f.jpg","text":"TemporaryFile(/tmp/multipartBody3509596060816206610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719783137,"filename":"image_15042025_14_06_31_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898663","file1":"1349898631","file0":"1349898599","file4":"1349898674","file5":"1349898679","file3":"1349898669"},"map_files_photo_id_array":[{"photo_id":"1349898679","filename":"file5"},{"photo_id":"1349898663","filename":"file2"},{"photo_id":"1349898674","filename":"file4"},{"photo_id":"1349898631","filename":"file1"},{"photo_id":"1349898599","filename":"file0"},{"photo_id":"1349898669","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898679":["hashtag1","hashtag2"]},{"1349898631":["hashtag1","hashtag2"]},{"1349898669":["hashtag1","hashtag2"]},{"1349898663":["hashtag1","hashtag2"]},{"1349898599":["hashtag1","hashtag2"]},{"1349898674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898679, 1349898631, 1349898669, 1349898663, 1349898599, 1349898674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88689684867859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:22:41.935142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_37_2734.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_40_2621.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_43_3689.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_46_2977.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_49_2810.jpg', '/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_55_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_37_2734.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_40_2621.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_43_3689.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_46_2977.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_49_2810.jpg
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_55_3621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898697","1349898721","1349898712","1349898702","1349898707","1349898716"],"photo_ids_order":["1349898697","1349898702","1349898707","1349898712","1349898716","1349898721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b930db2db216f280781136ebf944b61.jpg","text":"TemporaryFile(/tmp/multipartBody4636409393572208280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719822658,"filename":"image_15042025_14_06_37_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/760cd25c333a3c3f351624b832bd105d.jpg","text":"TemporaryFile(/tmp/multipartBody8907541042675918714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719822658,"filename":"image_15042025_14_06_55_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5db90d1f968a577a11c903ef9981ad14.jpg","text":"TemporaryFile(/tmp/multipartBody6415813952392339941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719822658,"filename":"image_15042025_14_06_46_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dbf7e33b590ec7fe89ddeb51b22554a.jpg","text":"TemporaryFile(/tmp/multipartBody3268520741676071976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719822658,"filename":"image_15042025_14_06_40_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64c4a08d0ebd8dccbf8bf294e95aa912.jpg","text":"TemporaryFile(/tmp/multipartBody356232260535232981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719822658,"filename":"image_15042025_14_06_43_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d037801320d079ddaf790f470569b522.jpg","text":"TemporaryFile(/tmp/multipartBody1214302473079862430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719822658,"filename":"image_15042025_14_06_49_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898707","file1":"1349898702","file0":"1349898697","file4":"1349898716","file5":"1349898721","file3":"1349898712"},"map_files_photo_id_array":[{"photo_id":"1349898721","filename":"file5"},{"photo_id":"1349898707","filename":"file2"},{"photo_id":"1349898716","filename":"file4"},{"photo_id":"1349898702","filename":"file1"},{"photo_id":"1349898697","filename":"file0"},{"photo_id":"1349898712","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898697":["hashtag1","hashtag2"]},{"1349898721":["hashtag1","hashtag2"]},{"1349898712":["hashtag1","hashtag2"]},{"1349898702":["hashtag1","hashtag2"]},{"1349898707":["hashtag1","hashtag2"]},{"1349898716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898697, 1349898721, 1349898712, 1349898702, 1349898707, 1349898716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38920474052429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:23:22.326392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_58_2646.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_04_3712.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_13_3599.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_22_3589.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_28_2766.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_31_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/06/image_15042025_14_06_58_2646.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_04_3712.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_13_3599.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_22_3589.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_28_2766.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_31_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898778","1349898795","1349898783","1349898771","1349898776","1349898827"],"photo_ids_order":["1349898771","1349898776","1349898778","1349898783","1349898795","1349898827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/215c8124f659af1104a782cce95ca998.jpg","text":"TemporaryFile(/tmp/multipartBody313190558333581813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719863024,"filename":"image_15042025_14_07_13_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28d2e878c315a31871c7b1b9d1747df5.jpg","text":"TemporaryFile(/tmp/multipartBody3873640302463546921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719863024,"filename":"image_15042025_14_07_28_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/887d0dff439fa8c126ed2fc5be7ed807.jpg","text":"TemporaryFile(/tmp/multipartBody8480488162334560270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719863024,"filename":"image_15042025_14_07_22_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ec2276d3148226d91284ee19caa334b.jpg","text":"TemporaryFile(/tmp/multipartBody4279725443397521743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719863024,"filename":"image_15042025_14_06_58_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1363f6a5b1a0200651668e6d0094485.jpg","text":"TemporaryFile(/tmp/multipartBody2688743249963601892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719863024,"filename":"image_15042025_14_07_04_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bed817f1657cd5f52f4c24c7b3e5a45.jpg","text":"TemporaryFile(/tmp/multipartBody4331933947666916016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719863024,"filename":"image_15042025_14_07_31_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898778","file1":"1349898776","file0":"1349898771","file4":"1349898795","file5":"1349898827","file3":"1349898783"},"map_files_photo_id_array":[{"photo_id":"1349898827","filename":"file5"},{"photo_id":"1349898778","filename":"file2"},{"photo_id":"1349898795","filename":"file4"},{"photo_id":"1349898776","filename":"file1"},{"photo_id":"1349898771","filename":"file0"},{"photo_id":"1349898783","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898778":["hashtag1","hashtag2"]},{"1349898795":["hashtag1","hashtag2"]},{"1349898783":["hashtag1","hashtag2"]},{"1349898771":["hashtag1","hashtag2"]},{"1349898776":["hashtag1","hashtag2"]},{"1349898827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898778, 1349898795, 1349898783, 1349898771, 1349898776, 1349898827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99630856513977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:24:02.670885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_34_2700.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_37_2659.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_40_2805.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_43_3542.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_46_2748.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_49_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_34_2700.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_37_2659.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_40_2805.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_43_3542.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_46_2748.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_49_2837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349898961","1349898937","1349898925","1349898910","1349898887","1349898953"],"photo_ids_order":["1349898887","1349898910","1349898925","1349898937","1349898953","1349898961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb2bd5eb336e950b82e37c12d22c0001.jpg","text":"TemporaryFile(/tmp/multipartBody497129015846133427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719903571,"filename":"image_15042025_14_07_49_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c05fa708d425331bf02c47e16b27d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2748375237335578115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719903571,"filename":"image_15042025_14_07_43_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcf987eb84466810439e2c38d4bad999.jpg","text":"TemporaryFile(/tmp/multipartBody8281869177334245180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719903571,"filename":"image_15042025_14_07_40_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7df5363ba4a15269e988378ca55b0c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1013709184356587398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719903571,"filename":"image_15042025_14_07_37_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b365ca88ab8e3bf71b991d2f51ccc42d.jpg","text":"TemporaryFile(/tmp/multipartBody1593783805605549846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719903571,"filename":"image_15042025_14_07_34_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/720921e8bb6fe06e1c918183a257a105.jpg","text":"TemporaryFile(/tmp/multipartBody8486157963079761697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719903571,"filename":"image_15042025_14_07_46_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349898925","file1":"1349898910","file0":"1349898887","file4":"1349898953","file5":"1349898961","file3":"1349898937"},"map_files_photo_id_array":[{"photo_id":"1349898961","filename":"file5"},{"photo_id":"1349898925","filename":"file2"},{"photo_id":"1349898953","filename":"file4"},{"photo_id":"1349898910","filename":"file1"},{"photo_id":"1349898887","filename":"file0"},{"photo_id":"1349898937","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349898961":["hashtag1","hashtag2"]},{"1349898937":["hashtag1","hashtag2"]},{"1349898925":["hashtag1","hashtag2"]},{"1349898910":["hashtag1","hashtag2"]},{"1349898887":["hashtag1","hashtag2"]},{"1349898953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349898961, 1349898937, 1349898925, 1349898910, 1349898887, 1349898953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.079617500305176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:25:03.016951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_52_3690.jpg', '/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_55_2749.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_04_3794.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_07_2685.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_10_2616.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_13_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_52_3690.jpg
/home/pi/Desktop/images/15042025/14/07/image_15042025_14_07_55_2749.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_04_3794.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_07_2685.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_10_2616.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_13_3659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349899117","1349899083","1349899122","1349899052","1349899115","1349899106"],"photo_ids_order":["1349899052","1349899083","1349899106","1349899115","1349899117","1349899122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ced4295f007d8fc7a04e3d043c05ab0.jpg","text":"TemporaryFile(/tmp/multipartBody8761128616642906115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719963852,"filename":"image_15042025_14_08_10_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3200b0a2ba4b59e632552ed9d5040fb7.jpg","text":"TemporaryFile(/tmp/multipartBody6614648956388073259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719963852,"filename":"image_15042025_14_07_55_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6da591457fc69c72328b9831cd114388.jpg","text":"TemporaryFile(/tmp/multipartBody1171828212228430838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719963852,"filename":"image_15042025_14_08_13_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f2649385f6ba89d678243adfa5a3edd.jpg","text":"TemporaryFile(/tmp/multipartBody1777132727235457470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719963852,"filename":"image_15042025_14_07_52_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eef70ca2a69253320f708b188f33383d.jpg","text":"TemporaryFile(/tmp/multipartBody3163983662242139090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719963852,"filename":"image_15042025_14_08_07_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b85b108e70731ae8b41290348b37062.jpg","text":"TemporaryFile(/tmp/multipartBody7024351804229700453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744719963852,"filename":"image_15042025_14_08_04_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349899106","file1":"1349899083","file0":"1349899052","file4":"1349899117","file5":"1349899122","file3":"1349899115"},"map_files_photo_id_array":[{"photo_id":"1349899122","filename":"file5"},{"photo_id":"1349899106","filename":"file2"},{"photo_id":"1349899117","filename":"file4"},{"photo_id":"1349899083","filename":"file1"},{"photo_id":"1349899052","filename":"file0"},{"photo_id":"1349899115","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349899117":["hashtag1","hashtag2"]},{"1349899083":["hashtag1","hashtag2"]},{"1349899122":["hashtag1","hashtag2"]},{"1349899052":["hashtag1","hashtag2"]},{"1349899115":["hashtag1","hashtag2"]},{"1349899106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349899117, 1349899083, 1349899122, 1349899052, 1349899115, 1349899106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92578911781311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:26:02.710587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_16_2574.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_19_2661.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_22_3672.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_25_2639.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_28_2950.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_31_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_16_2574.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_19_2661.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_22_3672.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_25_2639.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_28_2950.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_31_3550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349899717","1349899627","1349899671","1349899725","1349899620","1349899604"],"photo_ids_order":["1349899604","1349899620","1349899627","1349899671","1349899717","1349899725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15dc09bb5111fb1b1ef81ecc90fc7533.jpg","text":"TemporaryFile(/tmp/multipartBody5094728616495744729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720023507,"filename":"image_15042025_14_08_28_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/903d74cc06d305ab11d96296668bd5b6.jpg","text":"TemporaryFile(/tmp/multipartBody9186355433157806695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720023507,"filename":"image_15042025_14_08_22_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3019e07c316deae56d6783230e332ba0.jpg","text":"TemporaryFile(/tmp/multipartBody4174262310327912939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720023507,"filename":"image_15042025_14_08_25_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b32c8bd450eeb245608d48a9357417bc.jpg","text":"TemporaryFile(/tmp/multipartBody2602376192675518157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720023507,"filename":"image_15042025_14_08_31_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ed226338d2dd1aa125c0154a3583a3f.jpg","text":"TemporaryFile(/tmp/multipartBody3977644422900765426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720023507,"filename":"image_15042025_14_08_19_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b77b5f3eefbe00a26dd845e31ad1bd2.jpg","text":"TemporaryFile(/tmp/multipartBody4214657818156933833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720023507,"filename":"image_15042025_14_08_16_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349899627","file1":"1349899620","file0":"1349899604","file4":"1349899717","file5":"1349899725","file3":"1349899671"},"map_files_photo_id_array":[{"photo_id":"1349899725","filename":"file5"},{"photo_id":"1349899627","filename":"file2"},{"photo_id":"1349899717","filename":"file4"},{"photo_id":"1349899620","filename":"file1"},{"photo_id":"1349899604","filename":"file0"},{"photo_id":"1349899671","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349899717":["hashtag1","hashtag2"]},{"1349899627":["hashtag1","hashtag2"]},{"1349899671":["hashtag1","hashtag2"]},{"1349899725":["hashtag1","hashtag2"]},{"1349899620":["hashtag1","hashtag2"]},{"1349899604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349899717, 1349899627, 1349899671, 1349899725, 1349899620, 1349899604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41672134399414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:26:42.303434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_34_2882.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_37_2718.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_39_2507.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_43_3734.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_46_2793.jpg', '/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_49_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_34_2882.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_37_2718.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_39_2507.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_43_3734.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_46_2793.jpg
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_49_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349899782","1349899776","1349899767","1349899799","1349899795","1349899759"],"photo_ids_order":["1349899759","1349899767","1349899776","1349899782","1349899795","1349899799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/189780ac0419fcc0089bbfee27aabdb3.jpg","text":"TemporaryFile(/tmp/multipartBody7676691306330669828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720063023,"filename":"image_15042025_14_08_43_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51a7e2cc4d09a83873be3480fec0fd66.jpg","text":"TemporaryFile(/tmp/multipartBody7190185372758252899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720063023,"filename":"image_15042025_14_08_39_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6840a6753986b132257b1eca8a8bc58.jpg","text":"TemporaryFile(/tmp/multipartBody512681220821550174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720063023,"filename":"image_15042025_14_08_37_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a22301edd7219198e401fd0ee50f30f0.jpg","text":"TemporaryFile(/tmp/multipartBody870246456230175681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720063023,"filename":"image_15042025_14_08_49_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/785c5fc0d0e97cb33e1275073e3cdab9.jpg","text":"TemporaryFile(/tmp/multipartBody6465903898637830709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720063023,"filename":"image_15042025_14_08_46_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5cf70a57684c8b7e1e7630d9d4ba83b.jpg","text":"TemporaryFile(/tmp/multipartBody8614785107784913945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720063023,"filename":"image_15042025_14_08_34_2882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349899776","file1":"1349899767","file0":"1349899759","file4":"1349899795","file5":"1349899799","file3":"1349899782"},"map_files_photo_id_array":[{"photo_id":"1349899799","filename":"file5"},{"photo_id":"1349899776","filename":"file2"},{"photo_id":"1349899795","filename":"file4"},{"photo_id":"1349899767","filename":"file1"},{"photo_id":"1349899759","filename":"file0"},{"photo_id":"1349899782","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349899782":["hashtag1","hashtag2"]},{"1349899776":["hashtag1","hashtag2"]},{"1349899767":["hashtag1","hashtag2"]},{"1349899799":["hashtag1","hashtag2"]},{"1349899795":["hashtag1","hashtag2"]},{"1349899759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349899782, 1349899776, 1349899767, 1349899799, 1349899795, 1349899759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1036479473114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:27:22.750777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_52_3607.jpg', '/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_04_3630.jpg', '/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_31_3678.jpg', '/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_34_2635.jpg', '/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_40_3795.jpg', '/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_43_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/08/image_15042025_14_08_52_3607.jpg
/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_04_3630.jpg
/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_31_3678.jpg
/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_34_2635.jpg
/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_40_3795.jpg
/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_43_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349899883","1349899868","1349899961","1349899876","1349899879","1349899951"],"photo_ids_order":["1349899868","1349899876","1349899879","1349899883","1349899951","1349899961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ca9cb9730d8871f2d53585949b883d7.jpg","text":"TemporaryFile(/tmp/multipartBody740910089409956698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720103491,"filename":"image_15042025_14_09_34_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00200ad1032a9235c902ea092951c01d.jpg","text":"TemporaryFile(/tmp/multipartBody8959671990087111595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720103491,"filename":"image_15042025_14_08_52_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b86656e7dad441c6a7da20cbe90f0792.jpg","text":"TemporaryFile(/tmp/multipartBody5606289591823844023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720103491,"filename":"image_15042025_14_09_43_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7279c94bb3e684f52d28cf37e9fadc4.jpg","text":"TemporaryFile(/tmp/multipartBody3587329542448919571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720103491,"filename":"image_15042025_14_09_04_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4f3fad03cc523f3761c5383e38561f2.jpg","text":"TemporaryFile(/tmp/multipartBody2577342145148246697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720103491,"filename":"image_15042025_14_09_31_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7fb29da3f85ed2588a54faf23e4f0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6645559639749345101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720103491,"filename":"image_15042025_14_09_40_3795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349899879","file1":"1349899876","file0":"1349899868","file4":"1349899951","file5":"1349899961","file3":"1349899883"},"map_files_photo_id_array":[{"photo_id":"1349899961","filename":"file5"},{"photo_id":"1349899879","filename":"file2"},{"photo_id":"1349899951","filename":"file4"},{"photo_id":"1349899876","filename":"file1"},{"photo_id":"1349899868","filename":"file0"},{"photo_id":"1349899883","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349899883":["hashtag1","hashtag2"]},{"1349899868":["hashtag1","hashtag2"]},{"1349899961":["hashtag1","hashtag2"]},{"1349899876":["hashtag1","hashtag2"]},{"1349899879":["hashtag1","hashtag2"]},{"1349899951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349899883, 1349899868, 1349899961, 1349899876, 1349899879, 1349899951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15406250953674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:28:02.619858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_58_2693.jpg', '/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_13_2732.jpg', '/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_15_2691.jpg', '/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_22_3732.jpg', '/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_25_2613.jpg', '/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_27_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/09/image_15042025_14_09_58_2693.jpg
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_13_2732.jpg
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_15_2691.jpg
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_22_3732.jpg
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_25_2613.jpg
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_27_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349899995","1349900006","1349899982","1349899988","1349899999","1349900002"],"photo_ids_order":["1349899982","1349899988","1349899995","1349899999","1349900002","1349900006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c99414b2f2189d8192a108aacfd57ddf.jpg","text":"TemporaryFile(/tmp/multipartBody9212100061161738968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720143422,"filename":"image_15042025_14_10_15_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca9933a931b2e8902c070f21789452d6.jpg","text":"TemporaryFile(/tmp/multipartBody5736421764818281377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720143422,"filename":"image_15042025_14_10_27_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b13c0b515ccaeb5996ef88217b4d5b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1357697806886514748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720143422,"filename":"image_15042025_14_09_58_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31cf1b18628cb5fe22d7e36ef683d349.jpg","text":"TemporaryFile(/tmp/multipartBody4028064801257216163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720143422,"filename":"image_15042025_14_10_13_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fae1490810fc637ae255b8d941a1b912.jpg","text":"TemporaryFile(/tmp/multipartBody889842038619374998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720143422,"filename":"image_15042025_14_10_22_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/854328af4f79acbb2de4a0af4f08ebaa.jpg","text":"TemporaryFile(/tmp/multipartBody7814533034141619417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720143422,"filename":"image_15042025_14_10_25_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349899995","file1":"1349899988","file0":"1349899982","file4":"1349900002","file5":"1349900006","file3":"1349899999"},"map_files_photo_id_array":[{"photo_id":"1349900006","filename":"file5"},{"photo_id":"1349899995","filename":"file2"},{"photo_id":"1349900002","filename":"file4"},{"photo_id":"1349899988","filename":"file1"},{"photo_id":"1349899982","filename":"file0"},{"photo_id":"1349899999","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349899995":["hashtag1","hashtag2"]},{"1349900006":["hashtag1","hashtag2"]},{"1349899982":["hashtag1","hashtag2"]},{"1349899988":["hashtag1","hashtag2"]},{"1349899999":["hashtag1","hashtag2"]},{"1349900002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349899995, 1349900006, 1349899982, 1349899988, 1349899999, 1349900002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71324586868286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:28:42.214601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_34_2699.jpg', '/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_40_3689.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_01_2698.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_03_2677.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_07_3799.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_15_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_34_2699.jpg
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_40_3689.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_01_2698.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_03_2677.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_07_3799.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_15_2670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.618354082107544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:29:03.521982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_34_2699.jpg', '/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_40_3689.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_01_2698.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_03_2677.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_07_3799.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_15_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_34_2699.jpg
/home/pi/Desktop/images/15042025/14/10/image_15042025_14_10_40_3689.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_01_2698.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_03_2677.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_07_3799.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_15_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900241","1349900217","1349900207","1349900230","1349900224","1349900212"],"photo_ids_order":["1349900207","1349900212","1349900217","1349900224","1349900230","1349900241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0d0ac1675240a4aa1b2df3e38ad14a4.jpg","text":"TemporaryFile(/tmp/multipartBody5554258133106722350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720204556,"filename":"image_15042025_14_11_15_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bda7c4c6ddf404bbe036b7f1a4388c8c.jpg","text":"TemporaryFile(/tmp/multipartBody2938721522187717759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720204556,"filename":"image_15042025_14_11_01_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f012c946c2eeb8c54c896c458931d42.jpg","text":"TemporaryFile(/tmp/multipartBody1007176144009811635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720204556,"filename":"image_15042025_14_10_34_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/424ef561041b9a4c5fc6ebaedfb55cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7650194782435136713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720204556,"filename":"image_15042025_14_11_07_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c1c44b4001e4f2ccbe0e6c9248d1558.jpg","text":"TemporaryFile(/tmp/multipartBody1976101923816211931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720204556,"filename":"image_15042025_14_11_03_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d693ad66418c8a0ebef2b5e101680672.jpg","text":"TemporaryFile(/tmp/multipartBody2450989751241208814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720204556,"filename":"image_15042025_14_10_40_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349900217","file1":"1349900212","file0":"1349900207","file4":"1349900230","file5":"1349900241","file3":"1349900224"},"map_files_photo_id_array":[{"photo_id":"1349900241","filename":"file5"},{"photo_id":"1349900217","filename":"file2"},{"photo_id":"1349900230","filename":"file4"},{"photo_id":"1349900212","filename":"file1"},{"photo_id":"1349900207","filename":"file0"},{"photo_id":"1349900224","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349900241":["hashtag1","hashtag2"]},{"1349900217":["hashtag1","hashtag2"]},{"1349900207":["hashtag1","hashtag2"]},{"1349900230":["hashtag1","hashtag2"]},{"1349900224":["hashtag1","hashtag2"]},{"1349900212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349900241, 1349900217, 1349900207, 1349900230, 1349900224, 1349900212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.805753231048584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:29:42.661616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_19_3690.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_22_2603.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_24_2640.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_28_3663.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_33_2659.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_36_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_19_3690.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_22_2603.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_24_2640.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_28_3663.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_33_2659.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_36_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900268","1349900285","1349900273","1349900282","1349900255","1349900292"],"photo_ids_order":["1349900255","1349900268","1349900273","1349900282","1349900285","1349900292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b31a1a00612e09ca9c632322cbdbe479.jpg","text":"TemporaryFile(/tmp/multipartBody3833715568449740124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720243389,"filename":"image_15042025_14_11_22_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30036f33a409d5b5d52be8d7fb85d01b.jpg","text":"TemporaryFile(/tmp/multipartBody836276019343635246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720243389,"filename":"image_15042025_14_11_33_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d862dc5f926a12da6cf861066c1aa96.jpg","text":"TemporaryFile(/tmp/multipartBody3175274591576644219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720243389,"filename":"image_15042025_14_11_24_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97929181f0407c51c7863d15f3aaee51.jpg","text":"TemporaryFile(/tmp/multipartBody7506350741299338914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720243389,"filename":"image_15042025_14_11_28_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e3c3cd2ca53eb46554e875dc21e3aed.jpg","text":"TemporaryFile(/tmp/multipartBody2412800651317633879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720243389,"filename":"image_15042025_14_11_19_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f642bc002bb8cf3e16e6a0e384a44fc.jpg","text":"TemporaryFile(/tmp/multipartBody3809057615978257134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720243389,"filename":"image_15042025_14_11_36_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349900273","file1":"1349900268","file0":"1349900255","file4":"1349900285","file5":"1349900292","file3":"1349900282"},"map_files_photo_id_array":[{"photo_id":"1349900292","filename":"file5"},{"photo_id":"1349900273","filename":"file2"},{"photo_id":"1349900285","filename":"file4"},{"photo_id":"1349900268","filename":"file1"},{"photo_id":"1349900255","filename":"file0"},{"photo_id":"1349900282","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349900268":["hashtag1","hashtag2"]},{"1349900285":["hashtag1","hashtag2"]},{"1349900273":["hashtag1","hashtag2"]},{"1349900282":["hashtag1","hashtag2"]},{"1349900255":["hashtag1","hashtag2"]},{"1349900292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349900268, 1349900285, 1349900273, 1349900282, 1349900255, 1349900292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66654634475708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:30:21.840137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_40_3533.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_42_2816.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_45_2745.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_49_3563.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_51_2725.jpg', '/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_58_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_40_3533.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_42_2816.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_45_2745.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_49_3563.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_51_2725.jpg
/home/pi/Desktop/images/15042025/14/11/image_15042025_14_11_58_3590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900325","1349900322","1349900304","1349900315","1349900330","1349900308"],"photo_ids_order":["1349900304","1349900308","1349900315","1349900322","1349900325","1349900330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65a545079ba6c470dad19a0f6248437b.jpg","text":"TemporaryFile(/tmp/multipartBody2026661486435499773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720282547,"filename":"image_15042025_14_11_51_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4b8c0a5c32d7041da8aa29cbab84f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5727616786092952969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720282547,"filename":"image_15042025_14_11_49_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15a5150b5ed783975bd12aeac5cfe7c9.jpg","text":"TemporaryFile(/tmp/multipartBody4100169340941376980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720282547,"filename":"image_15042025_14_11_40_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/515f92bb1e9395e2bbe275ac243229ea.jpg","text":"TemporaryFile(/tmp/multipartBody6933095179485301268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720282547,"filename":"image_15042025_14_11_45_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8089e822df840624a2155e82617affbf.jpg","text":"TemporaryFile(/tmp/multipartBody7047612742349172349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720282547,"filename":"image_15042025_14_11_58_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe11a08b3c8203801d5a83f3147c63cf.jpg","text":"TemporaryFile(/tmp/multipartBody2893511735865073281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720282547,"filename":"image_15042025_14_11_42_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349900315","file1":"1349900308","file0":"1349900304","file4":"1349900325","file5":"1349900330","file3":"1349900322"},"map_files_photo_id_array":[{"photo_id":"1349900330","filename":"file5"},{"photo_id":"1349900315","filename":"file2"},{"photo_id":"1349900325","filename":"file4"},{"photo_id":"1349900308","filename":"file1"},{"photo_id":"1349900304","filename":"file0"},{"photo_id":"1349900322","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349900325":["hashtag1","hashtag2"]},{"1349900322":["hashtag1","hashtag2"]},{"1349900304":["hashtag1","hashtag2"]},{"1349900315":["hashtag1","hashtag2"]},{"1349900330":["hashtag1","hashtag2"]},{"1349900308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349900325, 1349900322, 1349900304, 1349900315, 1349900330, 1349900308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22191762924194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:31:03.246515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_03_2864.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_06_2767.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_10_3777.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_13_2727.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_15_2519.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_24_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_03_2864.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_06_2767.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_10_3777.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_13_2727.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_15_2519.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_24_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900396","1349900400","1349900363","1349900380","1349900350","1349900388"],"photo_ids_order":["1349900350","1349900363","1349900380","1349900388","1349900396","1349900400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c4337cadca082c227db255494101a61.jpg","text":"TemporaryFile(/tmp/multipartBody3389732032974439141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720324047,"filename":"image_15042025_14_12_15_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb1171a8d543a82cd4792d0ed80a5812.jpg","text":"TemporaryFile(/tmp/multipartBody4138023618753543930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720324047,"filename":"image_15042025_14_12_24_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/747a51133084efefbb84d6a8fbcdebd0.jpg","text":"TemporaryFile(/tmp/multipartBody8196092903580859202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720324047,"filename":"image_15042025_14_12_06_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9b1343ab586f20bab6026c5150122e5.jpg","text":"TemporaryFile(/tmp/multipartBody2814532112017665122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720324047,"filename":"image_15042025_14_12_10_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0f75c26ffac50d1861e2df4669aca12.jpg","text":"TemporaryFile(/tmp/multipartBody4717178319891090505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720324047,"filename":"image_15042025_14_12_03_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53fd38662491e74741af00eaca21137e.jpg","text":"TemporaryFile(/tmp/multipartBody7317621869684742268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720324047,"filename":"image_15042025_14_12_13_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349900380","file1":"1349900363","file0":"1349900350","file4":"1349900396","file5":"1349900400","file3":"1349900388"},"map_files_photo_id_array":[{"photo_id":"1349900400","filename":"file5"},{"photo_id":"1349900380","filename":"file2"},{"photo_id":"1349900396","filename":"file4"},{"photo_id":"1349900363","filename":"file1"},{"photo_id":"1349900350","filename":"file0"},{"photo_id":"1349900388","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349900396":["hashtag1","hashtag2"]},{"1349900400":["hashtag1","hashtag2"]},{"1349900363":["hashtag1","hashtag2"]},{"1349900380":["hashtag1","hashtag2"]},{"1349900350":["hashtag1","hashtag2"]},{"1349900388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349900396, 1349900400, 1349900363, 1349900380, 1349900350, 1349900388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.485267162323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:31:42.484795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_28_3729.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_30_2560.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_34_3574.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_37_2612.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_39_2640.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_43_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_28_3729.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_30_2560.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_34_3574.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_37_2612.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_39_2640.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_43_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900564","1349900492","1349900542","1349900440","1349900536","1349900472"],"photo_ids_order":["1349900440","1349900472","1349900492","1349900536","1349900542","1349900564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83d641590685b92c5d85557b70c5668e.jpg","text":"TemporaryFile(/tmp/multipartBody5664433885576595610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720363208,"filename":"image_15042025_14_12_43_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34bdf80fe49bbcbdfd660aff05591d7c.jpg","text":"TemporaryFile(/tmp/multipartBody7830585122255804569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720363208,"filename":"image_15042025_14_12_34_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/773f0ac1ed67313552f9901e07bb924e.jpg","text":"TemporaryFile(/tmp/multipartBody8651117473377214820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720363208,"filename":"image_15042025_14_12_39_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/600fa1f36fcf69331c2343926b72323b.jpg","text":"TemporaryFile(/tmp/multipartBody5053637069788170029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720363208,"filename":"image_15042025_14_12_28_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d1f82d66da81b7d0d9e67dc7bb81e8a.jpg","text":"TemporaryFile(/tmp/multipartBody924943435320998504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720363208,"filename":"image_15042025_14_12_37_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/139cdb94b940302ca4e226e33f822f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3738920220800905009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720363208,"filename":"image_15042025_14_12_30_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349900492","file1":"1349900472","file0":"1349900440","file4":"1349900542","file5":"1349900564","file3":"1349900536"},"map_files_photo_id_array":[{"photo_id":"1349900564","filename":"file5"},{"photo_id":"1349900492","filename":"file2"},{"photo_id":"1349900542","filename":"file4"},{"photo_id":"1349900472","filename":"file1"},{"photo_id":"1349900440","filename":"file0"},{"photo_id":"1349900536","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349900564":["hashtag1","hashtag2"]},{"1349900492":["hashtag1","hashtag2"]},{"1349900542":["hashtag1","hashtag2"]},{"1349900440":["hashtag1","hashtag2"]},{"1349900536":["hashtag1","hashtag2"]},{"1349900472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349900564, 1349900492, 1349900542, 1349900440, 1349900536, 1349900472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.836875200271606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:32:22.553758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_45_2655.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_48_2712.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_52_3705.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_55_2634.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_57_2563.jpg', '/home/pi/Desktop/images/15042025/14/12/image_15042025_14_13_01_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_45_2655.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_48_2712.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_52_3705.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_55_2634.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_12_57_2563.jpg
/home/pi/Desktop/images/15042025/14/12/image_15042025_14_13_01_3795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900675","1349900747","1349900770","1349900603","1349900734","1349900763"],"photo_ids_order":["1349900603","1349900675","1349900734","1349900747","1349900763","1349900770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c14b010bb1ff1172b95ddc94da5d5dce.jpg","text":"TemporaryFile(/tmp/multipartBody3679025921708255294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720403233,"filename":"image_15042025_14_12_48_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd52d58432d9c0ffc1f8acde653a29b8.jpg","text":"TemporaryFile(/tmp/multipartBody7630651438933085382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720403233,"filename":"image_15042025_14_12_55_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f5060ed64fa43d8c6732474cd3115cc.jpg","text":"TemporaryFile(/tmp/multipartBody7191506936526754737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720403233,"filename":"image_15042025_14_13_01_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/671bb15aabaace1e353f7791bce74340.jpg","text":"TemporaryFile(/tmp/multipartBody7783177898174102737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720403233,"filename":"image_15042025_14_12_45_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/447e924efb19a63d0c58bccaa5a93b4b.jpg","text":"TemporaryFile(/tmp/multipartBody2237813372504956153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720403233,"filename":"image_15042025_14_12_52_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe3fabb41346cd98572f29ffae5ee52c.jpg","text":"TemporaryFile(/tmp/multipartBody394209985256133247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720403233,"filename":"image_15042025_14_12_57_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349900734","file1":"1349900675","file0":"1349900603","file4":"1349900763","file5":"1349900770","file3":"1349900747"},"map_files_photo_id_array":[{"photo_id":"1349900770","filename":"file5"},{"photo_id":"1349900734","filename":"file2"},{"photo_id":"1349900763","filename":"file4"},{"photo_id":"1349900675","filename":"file1"},{"photo_id":"1349900603","filename":"file0"},{"photo_id":"1349900747","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349900675":["hashtag1","hashtag2"]},{"1349900747":["hashtag1","hashtag2"]},{"1349900770":["hashtag1","hashtag2"]},{"1349900603":["hashtag1","hashtag2"]},{"1349900734":["hashtag1","hashtag2"]},{"1349900763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349900675, 1349900747, 1349900770, 1349900603, 1349900734, 1349900763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22305727005005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:33:03.236614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_04_2968.jpg', '/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_07_2748.jpg', '/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_09_2812.jpg', '/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_12_2761.jpg', '/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_16_3634.jpg', '/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_19_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_04_2968.jpg
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_07_2748.jpg
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_09_2812.jpg
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_12_2761.jpg
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_16_3634.jpg
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_19_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900820","1349900867","1349900846","1349900825","1349900878","1349900893"],"photo_ids_order":["1349900820","1349900825","1349900846","1349900867","1349900878","1349900893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47e1a0cc3413dbb4aec22cb75d418378.jpg","text":"TemporaryFile(/tmp/multipartBody3639875829628568118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720444105,"filename":"image_15042025_14_13_04_2968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/babbc512b0252d7739eb03da5f3761b1.jpg","text":"TemporaryFile(/tmp/multipartBody6426117306743321756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720444105,"filename":"image_15042025_14_13_12_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3c3f3fc976755c5cec979c2e452e301.jpg","text":"TemporaryFile(/tmp/multipartBody690444841263580352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720444105,"filename":"image_15042025_14_13_09_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f116a9f663418dcee7b585d2d8cf3428.jpg","text":"TemporaryFile(/tmp/multipartBody4048502816388050902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720444105,"filename":"image_15042025_14_13_07_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fd89de15562ceb5813b3e6e39deeb52.jpg","text":"TemporaryFile(/tmp/multipartBody1580478806938446931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720444105,"filename":"image_15042025_14_13_16_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98a153618855d85cf1ab220517b2c4d5.jpg","text":"TemporaryFile(/tmp/multipartBody1406719520649525424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720444105,"filename":"image_15042025_14_13_19_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349900846","file1":"1349900825","file0":"1349900820","file4":"1349900878","file5":"1349900893","file3":"1349900867"},"map_files_photo_id_array":[{"photo_id":"1349900893","filename":"file5"},{"photo_id":"1349900846","filename":"file2"},{"photo_id":"1349900878","filename":"file4"},{"photo_id":"1349900825","filename":"file1"},{"photo_id":"1349900820","filename":"file0"},{"photo_id":"1349900867","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349900820":["hashtag1","hashtag2"]},{"1349900867":["hashtag1","hashtag2"]},{"1349900846":["hashtag1","hashtag2"]},{"1349900825":["hashtag1","hashtag2"]},{"1349900878":["hashtag1","hashtag2"]},{"1349900893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349900820, 1349900867, 1349900846, 1349900825, 1349900878, 1349900893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.409648418426514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:33:42.575988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_21_2809.jpg', '/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_24_2643.jpg', '/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_36_2828.jpg', '/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_45_3588.jpg', '/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_58_3819.jpg', '/home/pi/Desktop/images/15042025/14/14/image_15042025_14_14_36_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_21_2809.jpg
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_24_2643.jpg
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_36_2828.jpg
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_45_3588.jpg
/home/pi/Desktop/images/15042025/14/13/image_15042025_14_13_58_3819.jpg
/home/pi/Desktop/images/15042025/14/14/image_15042025_14_14_36_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349900916","1349900924","1349900933","1349900961","1349900955","1349900943"],"photo_ids_order":["1349900916","1349900924","1349900933","1349900943","1349900955","1349900961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ad889652d7cd003bc1d7b1db0f341a8.jpg","text":"TemporaryFile(/tmp/multipartBody3721620242939024108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720483309,"filename":"image_15042025_14_13_21_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00919d21b48424c2df1b7add8580196f.jpg","text":"TemporaryFile(/tmp/multipartBody6121384767687886654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720483309,"filename":"image_15042025_14_13_24_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8648c82ef90b36a3172704a30e71c3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6432050172750024012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720483309,"filename":"image_15042025_14_13_36_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/918ebaefe8d43d5e604c3206c35b4258.jpg","text":"TemporaryFile(/tmp/multipartBody8231306046495173356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720483309,"filename":"image_15042025_14_14_36_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58f21893c28887914891da8056698f4c.jpg","text":"TemporaryFile(/tmp/multipartBody7628140750714384184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720483309,"filename":"image_15042025_14_13_58_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db008f7c58222a7e90304cf19c270089.jpg","text":"TemporaryFile(/tmp/multipartBody2371663406156823293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720483309,"filename":"image_15042025_14_13_45_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349900933","file1":"1349900924","file0":"1349900916","file4":"1349900955","file5":"1349900961","file3":"1349900943"},"map_files_photo_id_array":[{"photo_id":"1349900961","filename":"file5"},{"photo_id":"1349900933","filename":"file2"},{"photo_id":"1349900955","filename":"file4"},{"photo_id":"1349900924","filename":"file1"},{"photo_id":"1349900916","filename":"file0"},{"photo_id":"1349900943","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349900916":["hashtag1","hashtag2"]},{"1349900924":["hashtag1","hashtag2"]},{"1349900933":["hashtag1","hashtag2"]},{"1349900961":["hashtag1","hashtag2"]},{"1349900955":["hashtag1","hashtag2"]},{"1349900943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349900916, 1349900924, 1349900933, 1349900961, 1349900955, 1349900943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.854212522506714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:34:22.411171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/14/image_15042025_14_14_43_3567.jpg', '/home/pi/Desktop/images/15042025/14/14/image_15042025_14_14_46_2847.jpg', '/home/pi/Desktop/images/15042025/14/14/image_15042025_14_15_00_2653.jpg', '/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_04_3818.jpg', '/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_10_3087.jpg', '/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_12_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/14/image_15042025_14_14_43_3567.jpg
/home/pi/Desktop/images/15042025/14/14/image_15042025_14_14_46_2847.jpg
/home/pi/Desktop/images/15042025/14/14/image_15042025_14_15_00_2653.jpg
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_04_3818.jpg
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_10_3087.jpg
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_12_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901020","1349901044","1349900975","1349900980","1349901006","1349901015"],"photo_ids_order":["1349900975","1349900980","1349901006","1349901015","1349901020","1349901044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ba9fc5836cb771c0481c58affa8fc37.jpg","text":"TemporaryFile(/tmp/multipartBody7684678131637153308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720523107,"filename":"image_15042025_14_15_10_3087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/247770bcb71a379795bef4fe2a0fba34.jpg","text":"TemporaryFile(/tmp/multipartBody1922589884491237614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720523107,"filename":"image_15042025_14_15_12_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1441e0c3e0c9866662b99f291ac6a319.jpg","text":"TemporaryFile(/tmp/multipartBody7772818766385171143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720523107,"filename":"image_15042025_14_14_43_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c468d61af5e52c9aaebb6693354425a.jpg","text":"TemporaryFile(/tmp/multipartBody5425930811062720070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720523107,"filename":"image_15042025_14_14_46_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1e40db72e0dffdf476f210c23b41ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8645964483026219524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720523107,"filename":"image_15042025_14_15_00_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76ad007d3f317575d5ef75751107d7ec.jpg","text":"TemporaryFile(/tmp/multipartBody345846676220134807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720523107,"filename":"image_15042025_14_15_04_3818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901006","file1":"1349900980","file0":"1349900975","file4":"1349901020","file5":"1349901044","file3":"1349901015"},"map_files_photo_id_array":[{"photo_id":"1349901044","filename":"file5"},{"photo_id":"1349901006","filename":"file2"},{"photo_id":"1349901020","filename":"file4"},{"photo_id":"1349900980","filename":"file1"},{"photo_id":"1349900975","filename":"file0"},{"photo_id":"1349901015","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901020":["hashtag1","hashtag2"]},{"1349901044":["hashtag1","hashtag2"]},{"1349900975":["hashtag1","hashtag2"]},{"1349900980":["hashtag1","hashtag2"]},{"1349901006":["hashtag1","hashtag2"]},{"1349901015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901020, 1349901044, 1349900975, 1349900980, 1349901006, 1349901015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.329617500305176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:35:03.640775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_21_2762.jpg', '/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_27_2792.jpg', '/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_33_3644.jpg', '/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_39_2656.jpg', '/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_55_3715.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_12_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_21_2762.jpg
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_27_2792.jpg
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_33_3644.jpg
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_39_2656.jpg
/home/pi/Desktop/images/15042025/14/15/image_15042025_14_15_55_3715.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_12_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901116","1349901157","1349901148","1349901153","1349901123","1349901132"],"photo_ids_order":["1349901116","1349901123","1349901132","1349901148","1349901153","1349901157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1eb5cbcfe1faef2c42e4ee3920f9b244.jpg","text":"TemporaryFile(/tmp/multipartBody390080738354111782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720564473,"filename":"image_15042025_14_15_21_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2595778a863e3ff6cddbfa79c602ef6b.jpg","text":"TemporaryFile(/tmp/multipartBody7113840638807070882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720564473,"filename":"image_15042025_14_16_12_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c5f47f5b1c32cf103938d456d0894a7.jpg","text":"TemporaryFile(/tmp/multipartBody6448997659633515826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720564473,"filename":"image_15042025_14_15_39_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74f9525bdeedf8ffbde75f0df8facaba.jpg","text":"TemporaryFile(/tmp/multipartBody3741216458255980877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720564473,"filename":"image_15042025_14_15_55_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69168bef3de8dac54e5e9d16ed1cb4a4.jpg","text":"TemporaryFile(/tmp/multipartBody4091755490070947348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720564473,"filename":"image_15042025_14_15_27_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52c1c6003a79a65e983b82bf78f61517.jpg","text":"TemporaryFile(/tmp/multipartBody5355360740730993887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720564473,"filename":"image_15042025_14_15_33_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901132","file1":"1349901123","file0":"1349901116","file4":"1349901153","file5":"1349901157","file3":"1349901148"},"map_files_photo_id_array":[{"photo_id":"1349901157","filename":"file5"},{"photo_id":"1349901132","filename":"file2"},{"photo_id":"1349901153","filename":"file4"},{"photo_id":"1349901123","filename":"file1"},{"photo_id":"1349901116","filename":"file0"},{"photo_id":"1349901148","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901116":["hashtag1","hashtag2"]},{"1349901157":["hashtag1","hashtag2"]},{"1349901148":["hashtag1","hashtag2"]},{"1349901153":["hashtag1","hashtag2"]},{"1349901123":["hashtag1","hashtag2"]},{"1349901132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901116, 1349901157, 1349901148, 1349901153, 1349901123, 1349901132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51639246940613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:35:42.781040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_15_2816.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_19_3760.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_24_2740.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_27_2680.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_30_3861.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_33_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_15_2816.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_19_3760.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_24_2740.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_27_2680.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_30_3861.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_33_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901254","1349901247","1349901226","1349901241","1349901243","1349901231"],"photo_ids_order":["1349901226","1349901231","1349901241","1349901243","1349901247","1349901254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93be9f7219ea649feb7a656818cbcc59.jpg","text":"TemporaryFile(/tmp/multipartBody41682721015633266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720603509,"filename":"image_15042025_14_16_33_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e51ef3ddfa68bad931cc3b22e6f0341.jpg","text":"TemporaryFile(/tmp/multipartBody342899678460671321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720603509,"filename":"image_15042025_14_16_30_3861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7c016cfdb95229422c8ba255ae2cd90.jpg","text":"TemporaryFile(/tmp/multipartBody2470527875727985221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720603509,"filename":"image_15042025_14_16_15_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba90f5e4e6192d10aec404ad068416c5.jpg","text":"TemporaryFile(/tmp/multipartBody1650163392259129051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720603509,"filename":"image_15042025_14_16_24_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0066309212c28f8da8a1e9279aeef8fd.jpg","text":"TemporaryFile(/tmp/multipartBody2083006900484441957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720603509,"filename":"image_15042025_14_16_27_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96cb6de214f38eadb1d06c3f03ad2a2f.jpg","text":"TemporaryFile(/tmp/multipartBody7020039449135702968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720603509,"filename":"image_15042025_14_16_19_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901241","file1":"1349901231","file0":"1349901226","file4":"1349901247","file5":"1349901254","file3":"1349901243"},"map_files_photo_id_array":[{"photo_id":"1349901254","filename":"file5"},{"photo_id":"1349901241","filename":"file2"},{"photo_id":"1349901247","filename":"file4"},{"photo_id":"1349901231","filename":"file1"},{"photo_id":"1349901226","filename":"file0"},{"photo_id":"1349901243","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901254":["hashtag1","hashtag2"]},{"1349901247":["hashtag1","hashtag2"]},{"1349901226":["hashtag1","hashtag2"]},{"1349901241":["hashtag1","hashtag2"]},{"1349901243":["hashtag1","hashtag2"]},{"1349901231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901254, 1349901247, 1349901226, 1349901241, 1349901243, 1349901231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.073880672454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:36:21.870151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_36_2683.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_39_3140.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_42_2771.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_45_3654.jpg', '/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_52_4300.jpg', '/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_03_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_36_2683.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_39_3140.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_42_2771.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_45_3654.jpg
/home/pi/Desktop/images/15042025/14/16/image_15042025_14_16_52_4300.jpg
/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_03_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901263","1349901272","1349901286","1349901268","1349901277","1349901297"],"photo_ids_order":["1349901263","1349901268","1349901272","1349901277","1349901286","1349901297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33f9db247e6de90cb949ebe62387fff2.jpg","text":"TemporaryFile(/tmp/multipartBody1970643040699634595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720642575,"filename":"image_15042025_14_16_36_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5fce384797040ebfcd6a4f8f93c292c.jpg","text":"TemporaryFile(/tmp/multipartBody1614112790296577586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720642575,"filename":"image_15042025_14_16_42_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7ac49df2628eb8e2f16facd14161d98.jpg","text":"TemporaryFile(/tmp/multipartBody6753157884147905038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720642575,"filename":"image_15042025_14_16_52_4300.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a76be0433fc011ce577d045af98c107.jpg","text":"TemporaryFile(/tmp/multipartBody2766057238448300218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720642575,"filename":"image_15042025_14_16_39_3140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5685d0f0a229be95f4877f3378b84dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1743997157126660734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720642575,"filename":"image_15042025_14_16_45_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a62db72cdc3b6bb3e54379d898fc639b.jpg","text":"TemporaryFile(/tmp/multipartBody7894952838948516708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720642575,"filename":"image_15042025_14_17_03_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901272","file1":"1349901268","file0":"1349901263","file4":"1349901286","file5":"1349901297","file3":"1349901277"},"map_files_photo_id_array":[{"photo_id":"1349901297","filename":"file5"},{"photo_id":"1349901272","filename":"file2"},{"photo_id":"1349901286","filename":"file4"},{"photo_id":"1349901268","filename":"file1"},{"photo_id":"1349901263","filename":"file0"},{"photo_id":"1349901277","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901263":["hashtag1","hashtag2"]},{"1349901272":["hashtag1","hashtag2"]},{"1349901286":["hashtag1","hashtag2"]},{"1349901268":["hashtag1","hashtag2"]},{"1349901277":["hashtag1","hashtag2"]},{"1349901297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901263, 1349901272, 1349901286, 1349901268, 1349901277, 1349901297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14352893829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:37:02.513009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_09_3710.jpg', '/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_24_3809.jpg', '/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_30_2589.jpg', '/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_36_2762.jpg', '/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_46_3677.jpg', '/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_48_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_09_3710.jpg
/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_24_3809.jpg
/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_30_2589.jpg
/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_36_2762.jpg
/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_46_3677.jpg
/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_48_1590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901341","1349901337","1349901331","1349901313","1349901324","1349901318"],"photo_ids_order":["1349901313","1349901318","1349901324","1349901331","1349901337","1349901341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e1a651a0361fcdcb18770b98aaf229f.jpg","text":"TemporaryFile(/tmp/multipartBody4113380390418919978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720683369,"filename":"image_15042025_14_17_48_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8643c0032d093a41319405046ad29c76.jpg","text":"TemporaryFile(/tmp/multipartBody7144874716238543536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720683369,"filename":"image_15042025_14_17_46_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5f94effeeafa2f39243adf6dcd43189.jpg","text":"TemporaryFile(/tmp/multipartBody7091854133736737137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720683369,"filename":"image_15042025_14_17_36_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc62ed05bd55339e706e5f1eaf150ccd.jpg","text":"TemporaryFile(/tmp/multipartBody1815695694154604849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720683369,"filename":"image_15042025_14_17_09_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7eb7b53ff47298be982007b2a998f8a.jpg","text":"TemporaryFile(/tmp/multipartBody2595946889958207310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720683369,"filename":"image_15042025_14_17_30_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9e27b032e8d604ab719ecbf33abbbec.jpg","text":"TemporaryFile(/tmp/multipartBody5105081664515588929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720683369,"filename":"image_15042025_14_17_24_3809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901324","file1":"1349901318","file0":"1349901313","file4":"1349901337","file5":"1349901341","file3":"1349901331"},"map_files_photo_id_array":[{"photo_id":"1349901341","filename":"file5"},{"photo_id":"1349901324","filename":"file2"},{"photo_id":"1349901337","filename":"file4"},{"photo_id":"1349901318","filename":"file1"},{"photo_id":"1349901313","filename":"file0"},{"photo_id":"1349901331","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901341":["hashtag1","hashtag2"]},{"1349901337":["hashtag1","hashtag2"]},{"1349901331":["hashtag1","hashtag2"]},{"1349901313":["hashtag1","hashtag2"]},{"1349901324":["hashtag1","hashtag2"]},{"1349901318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901341, 1349901337, 1349901331, 1349901313, 1349901324, 1349901318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91186857223511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:37:41.924357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_51_3683.jpg', '/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_56_2625.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_05_2568.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_09_3697.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_12_2710.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_21_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_51_3683.jpg
/home/pi/Desktop/images/15042025/14/17/image_15042025_14_17_56_2625.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_05_2568.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_09_3697.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_12_2710.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_21_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901392","1349901396","1349901384","1349901378","1349901360","1349901389"],"photo_ids_order":["1349901360","1349901378","1349901384","1349901389","1349901392","1349901396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9170df907f11c9092c6a754cdb83b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody1089355364842878774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720722666,"filename":"image_15042025_14_18_12_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b4838482d61b6f6e117c5a448d02b22.jpg","text":"TemporaryFile(/tmp/multipartBody4926625497454229959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720722666,"filename":"image_15042025_14_18_21_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1679c5cc9e72605cf93498d9ea2a9428.jpg","text":"TemporaryFile(/tmp/multipartBody2496511536714262098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720722666,"filename":"image_15042025_14_18_05_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01181a90c11a355ca01b277e1e0905d7.jpg","text":"TemporaryFile(/tmp/multipartBody6228224690437176819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720722666,"filename":"image_15042025_14_17_56_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34b80f9df9688489526039d23be50fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5883777583075890925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720722666,"filename":"image_15042025_14_17_51_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ef81d1dca4597a48a5663c5407e6a56.jpg","text":"TemporaryFile(/tmp/multipartBody4656693257910567999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720722666,"filename":"image_15042025_14_18_09_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901384","file1":"1349901378","file0":"1349901360","file4":"1349901392","file5":"1349901396","file3":"1349901389"},"map_files_photo_id_array":[{"photo_id":"1349901396","filename":"file5"},{"photo_id":"1349901384","filename":"file2"},{"photo_id":"1349901392","filename":"file4"},{"photo_id":"1349901378","filename":"file1"},{"photo_id":"1349901360","filename":"file0"},{"photo_id":"1349901389","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901392":["hashtag1","hashtag2"]},{"1349901396":["hashtag1","hashtag2"]},{"1349901384":["hashtag1","hashtag2"]},{"1349901378":["hashtag1","hashtag2"]},{"1349901360":["hashtag1","hashtag2"]},{"1349901389":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901392, 1349901396, 1349901384, 1349901378, 1349901360, 1349901389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6612651348114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:38:21.943031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_32_2558.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_36_3623.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_39_2535.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_42_3641.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_45_2697.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_48_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_32_2558.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_36_3623.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_39_2535.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_42_3641.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_45_2697.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_48_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901418","1349901427","1349901441","1349901435","1349901423","1349901411"],"photo_ids_order":["1349901411","1349901418","1349901423","1349901427","1349901435","1349901441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ac01e6b414f2fc27270b73dea27a089.jpg","text":"TemporaryFile(/tmp/multipartBody3967682394643278355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720762685,"filename":"image_15042025_14_18_36_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e1b722bc4c8f9d28a27c5e9c92907ac.jpg","text":"TemporaryFile(/tmp/multipartBody8922284614833007774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720762685,"filename":"image_15042025_14_18_42_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4cc2ba78323188115dae453e86c37ed.jpg","text":"TemporaryFile(/tmp/multipartBody3531816581008255185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720762685,"filename":"image_15042025_14_18_48_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cde0fe5412de2a8238b743b1d4471fc1.jpg","text":"TemporaryFile(/tmp/multipartBody7823907822327110867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720762685,"filename":"image_15042025_14_18_45_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfa5bba1b4016ab1e7ba9888a56abebe.jpg","text":"TemporaryFile(/tmp/multipartBody956941902571275806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720762685,"filename":"image_15042025_14_18_39_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3eb2544fe0b400a755f4be10089f9195.jpg","text":"TemporaryFile(/tmp/multipartBody693652654931817219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720762685,"filename":"image_15042025_14_18_32_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901423","file1":"1349901418","file0":"1349901411","file4":"1349901435","file5":"1349901441","file3":"1349901427"},"map_files_photo_id_array":[{"photo_id":"1349901441","filename":"file5"},{"photo_id":"1349901423","filename":"file2"},{"photo_id":"1349901435","filename":"file4"},{"photo_id":"1349901418","filename":"file1"},{"photo_id":"1349901411","filename":"file0"},{"photo_id":"1349901427","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901418":["hashtag1","hashtag2"]},{"1349901427":["hashtag1","hashtag2"]},{"1349901441":["hashtag1","hashtag2"]},{"1349901435":["hashtag1","hashtag2"]},{"1349901423":["hashtag1","hashtag2"]},{"1349901411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901418, 1349901427, 1349901441, 1349901435, 1349901423, 1349901411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04852485656738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:39:03.347467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_54_2856.jpg', '/home/pi/Desktop/images/15042025/14/18/image_15042025_14_19_00_2683.jpg', '/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_03_3549.jpg', '/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_12_3642.jpg', '/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_24_2621.jpg', '/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_57_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_18_54_2856.jpg
/home/pi/Desktop/images/15042025/14/18/image_15042025_14_19_00_2683.jpg
/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_03_3549.jpg
/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_12_3642.jpg
/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_24_2621.jpg
/home/pi/Desktop/images/15042025/14/19/image_15042025_14_19_57_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901477","1349901480","1349901468","1349901453","1349901462","1349901473"],"photo_ids_order":["1349901453","1349901462","1349901468","1349901473","1349901477","1349901480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d63ab7afc50779bc01671acd81503139.jpg","text":"TemporaryFile(/tmp/multipartBody4159694730891847326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720804305,"filename":"image_15042025_14_19_24_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d27b115d6c064dd9cbab8bf86dfd55f.jpg","text":"TemporaryFile(/tmp/multipartBody5236198434716324749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720804305,"filename":"image_15042025_14_19_57_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91cfc54540bafbcb4dfa8fe3125a84d9.jpg","text":"TemporaryFile(/tmp/multipartBody5983379820846002096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720804305,"filename":"image_15042025_14_19_03_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8d9b127b5c7d18f064b1836b358d111.jpg","text":"TemporaryFile(/tmp/multipartBody1824127689380989853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720804305,"filename":"image_15042025_14_18_54_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efeb9a8d20529b56e5436bcd18aa7a78.jpg","text":"TemporaryFile(/tmp/multipartBody3007248827996914641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720804305,"filename":"image_15042025_14_19_00_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f5d90dd26ae849dfa8871a14d9f02a5.jpg","text":"TemporaryFile(/tmp/multipartBody2084169814425500460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720804305,"filename":"image_15042025_14_19_12_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901468","file1":"1349901462","file0":"1349901453","file4":"1349901477","file5":"1349901480","file3":"1349901473"},"map_files_photo_id_array":[{"photo_id":"1349901480","filename":"file5"},{"photo_id":"1349901468","filename":"file2"},{"photo_id":"1349901477","filename":"file4"},{"photo_id":"1349901462","filename":"file1"},{"photo_id":"1349901453","filename":"file0"},{"photo_id":"1349901473","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901477":["hashtag1","hashtag2"]},{"1349901480":["hashtag1","hashtag2"]},{"1349901468":["hashtag1","hashtag2"]},{"1349901453":["hashtag1","hashtag2"]},{"1349901462":["hashtag1","hashtag2"]},{"1349901473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901477, 1349901480, 1349901468, 1349901453, 1349901462, 1349901473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81559705734253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:39:42.095939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/20/image_15042025_14_20_03_3719.jpg', '/home/pi/Desktop/images/15042025/14/20/image_15042025_14_20_32_2876.jpg', '/home/pi/Desktop/images/15042025/14/20/image_15042025_14_20_41_2677.jpg', '/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_02_2997.jpg', '/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_11_2794.jpg', '/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_32_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/20/image_15042025_14_20_03_3719.jpg
/home/pi/Desktop/images/15042025/14/20/image_15042025_14_20_32_2876.jpg
/home/pi/Desktop/images/15042025/14/20/image_15042025_14_20_41_2677.jpg
/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_02_2997.jpg
/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_11_2794.jpg
/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_32_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901539","1349901524","1349901553","1349901496","1349901546","1349901491"],"photo_ids_order":["1349901491","1349901496","1349901524","1349901539","1349901546","1349901553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d7df5d3e20042dd68e0c5a537cc6343.jpg","text":"TemporaryFile(/tmp/multipartBody1917381092831883620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720842839,"filename":"image_15042025_14_21_02_2997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/046f2bf37dbd54ddfe830bfa7664fd8c.jpg","text":"TemporaryFile(/tmp/multipartBody479249942864253635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720842839,"filename":"image_15042025_14_20_41_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b7aa7c45b10b9d2213d34648db7b553.jpg","text":"TemporaryFile(/tmp/multipartBody2107059564684924031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720842839,"filename":"image_15042025_14_21_32_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fcc0ce36908050c4507164d5bfc399fc.jpg","text":"TemporaryFile(/tmp/multipartBody5172970047767822198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720842839,"filename":"image_15042025_14_20_32_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb279bb1aab5b81709206be9a7ab7e97.jpg","text":"TemporaryFile(/tmp/multipartBody7032161875905803233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720842839,"filename":"image_15042025_14_21_11_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b482c91fa008d8013a89a55dc5984691.jpg","text":"TemporaryFile(/tmp/multipartBody9144483437975411746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720842839,"filename":"image_15042025_14_20_03_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901524","file1":"1349901496","file0":"1349901491","file4":"1349901546","file5":"1349901553","file3":"1349901539"},"map_files_photo_id_array":[{"photo_id":"1349901553","filename":"file5"},{"photo_id":"1349901524","filename":"file2"},{"photo_id":"1349901546","filename":"file4"},{"photo_id":"1349901496","filename":"file1"},{"photo_id":"1349901491","filename":"file0"},{"photo_id":"1349901539","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901539":["hashtag1","hashtag2"]},{"1349901524":["hashtag1","hashtag2"]},{"1349901553":["hashtag1","hashtag2"]},{"1349901496":["hashtag1","hashtag2"]},{"1349901546":["hashtag1","hashtag2"]},{"1349901491":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901539, 1349901524, 1349901553, 1349901496, 1349901546, 1349901491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.919607400894165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:40:22.543279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_56_2735.jpg', '/home/pi/Desktop/images/15042025/14/22/image_15042025_14_22_18_3707.jpg', '/home/pi/Desktop/images/15042025/14/22/image_15042025_14_22_23_2557.jpg', '/home/pi/Desktop/images/15042025/14/23/image_15042025_14_23_08_2699.jpg', '/home/pi/Desktop/images/15042025/14/23/image_15042025_14_23_56_2735.jpg', '/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_05_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/21/image_15042025_14_21_56_2735.jpg
/home/pi/Desktop/images/15042025/14/22/image_15042025_14_22_18_3707.jpg
/home/pi/Desktop/images/15042025/14/22/image_15042025_14_22_23_2557.jpg
/home/pi/Desktop/images/15042025/14/23/image_15042025_14_23_08_2699.jpg
/home/pi/Desktop/images/15042025/14/23/image_15042025_14_23_56_2735.jpg
/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_05_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901632","1349901605","1349901589","1349901577","1349901619","1349901612"],"photo_ids_order":["1349901577","1349901589","1349901605","1349901612","1349901619","1349901632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d10260e8707a6304e2f4db5ae85adca.jpg","text":"TemporaryFile(/tmp/multipartBody3560757137796706907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720883259,"filename":"image_15042025_14_24_05_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7da897032e44be93c18a8879f1758374.jpg","text":"TemporaryFile(/tmp/multipartBody2553931468019748618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720883259,"filename":"image_15042025_14_22_23_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec3416d9e4535d1ebbb625f060b841ba.jpg","text":"TemporaryFile(/tmp/multipartBody1492122090501586150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720883259,"filename":"image_15042025_14_22_18_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/777d9bd1d3f68d036c7c75f12e531945.jpg","text":"TemporaryFile(/tmp/multipartBody6048691772900749983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720883259,"filename":"image_15042025_14_21_56_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03d9648a8e8bcd674ac138972281c592.jpg","text":"TemporaryFile(/tmp/multipartBody9153008254202014490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720883259,"filename":"image_15042025_14_23_56_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e17e0545bb7110baf7bcca4ce9f0e37d.jpg","text":"TemporaryFile(/tmp/multipartBody8578525016177536358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720883259,"filename":"image_15042025_14_23_08_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901605","file1":"1349901589","file0":"1349901577","file4":"1349901619","file5":"1349901632","file3":"1349901612"},"map_files_photo_id_array":[{"photo_id":"1349901632","filename":"file5"},{"photo_id":"1349901605","filename":"file2"},{"photo_id":"1349901619","filename":"file4"},{"photo_id":"1349901589","filename":"file1"},{"photo_id":"1349901577","filename":"file0"},{"photo_id":"1349901612","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901632":["hashtag1","hashtag2"]},{"1349901605":["hashtag1","hashtag2"]},{"1349901589":["hashtag1","hashtag2"]},{"1349901577":["hashtag1","hashtag2"]},{"1349901619":["hashtag1","hashtag2"]},{"1349901612":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901632, 1349901605, 1349901589, 1349901577, 1349901619, 1349901612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63380312919617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:41:03.435501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_08_2614.jpg', '/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_33_3685.jpg', '/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_38_2606.jpg', '/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_41_3590.jpg', '/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_44_2620.jpg', '/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_47_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_08_2614.jpg
/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_33_3685.jpg
/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_38_2606.jpg
/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_41_3590.jpg
/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_44_2620.jpg
/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_47_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901683","1349901719","1349901647","1349901661","1349901672","1349901654"],"photo_ids_order":["1349901647","1349901654","1349901661","1349901672","1349901683","1349901719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83b13b43cabb16c6fb45b1d77658edb5.jpg","text":"TemporaryFile(/tmp/multipartBody4585179446787185336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720924289,"filename":"image_15042025_14_24_44_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb0f3e0bc9c085d5fd8c0f4ff1f431b3.jpg","text":"TemporaryFile(/tmp/multipartBody5584729538475535761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720924289,"filename":"image_15042025_14_24_47_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7acca71ec03f8c397b2437193d2b670.jpg","text":"TemporaryFile(/tmp/multipartBody2009596428579869544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720924289,"filename":"image_15042025_14_24_08_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/122cd46f958c10eb59cde7fac64a8199.jpg","text":"TemporaryFile(/tmp/multipartBody4939639713500940096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720924289,"filename":"image_15042025_14_24_38_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2f297a77f31e978ecfc4eb1cbe622a6.jpg","text":"TemporaryFile(/tmp/multipartBody167982826195112506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720924289,"filename":"image_15042025_14_24_41_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98c18a877c6e166fa914e9b28e0c5b53.jpg","text":"TemporaryFile(/tmp/multipartBody5242942001683724552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720924289,"filename":"image_15042025_14_24_33_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901661","file1":"1349901654","file0":"1349901647","file4":"1349901683","file5":"1349901719","file3":"1349901672"},"map_files_photo_id_array":[{"photo_id":"1349901719","filename":"file5"},{"photo_id":"1349901661","filename":"file2"},{"photo_id":"1349901683","filename":"file4"},{"photo_id":"1349901654","filename":"file1"},{"photo_id":"1349901647","filename":"file0"},{"photo_id":"1349901672","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901683":["hashtag1","hashtag2"]},{"1349901719":["hashtag1","hashtag2"]},{"1349901647":["hashtag1","hashtag2"]},{"1349901661":["hashtag1","hashtag2"]},{"1349901672":["hashtag1","hashtag2"]},{"1349901654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901683, 1349901719, 1349901647, 1349901661, 1349901672, 1349901654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64449739456177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:41:42.728708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_51_3774.jpg', '/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_05_2651.jpg', '/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_11_3750.jpg', '/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_14_2604.jpg', '/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_30_3682.jpg', '/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_38_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/24/image_15042025_14_24_51_3774.jpg
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_05_2651.jpg
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_11_3750.jpg
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_14_2604.jpg
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_30_3682.jpg
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_38_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349901872","1349901773","1349901827","1349901795","1349901855","1349901762"],"photo_ids_order":["1349901762","1349901773","1349901795","1349901827","1349901855","1349901872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1d55662ce4d122082ad3bc42de1e7e2.jpg","text":"TemporaryFile(/tmp/multipartBody315653880375066991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720963496,"filename":"image_15042025_14_25_38_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ec177a5951cfcf3a260ce586cf7dd03.jpg","text":"TemporaryFile(/tmp/multipartBody9150196216005549128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720963496,"filename":"image_15042025_14_25_05_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64d370415f8d13202f9eaddd95f11567.jpg","text":"TemporaryFile(/tmp/multipartBody285438989967680830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720963496,"filename":"image_15042025_14_25_14_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34afbaa0b16ddae78fbef47c9a6bbb81.jpg","text":"TemporaryFile(/tmp/multipartBody4982514690103950661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720963496,"filename":"image_15042025_14_25_11_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a2e24e926cdf88828a0e341991ab0e3.jpg","text":"TemporaryFile(/tmp/multipartBody184998329367879191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720963496,"filename":"image_15042025_14_25_30_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf3abc8cbafcc6ba2d40eaaf7ee6be74.jpg","text":"TemporaryFile(/tmp/multipartBody4542741064411389020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744720963496,"filename":"image_15042025_14_24_51_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901795","file1":"1349901773","file0":"1349901762","file4":"1349901855","file5":"1349901872","file3":"1349901827"},"map_files_photo_id_array":[{"photo_id":"1349901872","filename":"file5"},{"photo_id":"1349901795","filename":"file2"},{"photo_id":"1349901855","filename":"file4"},{"photo_id":"1349901773","filename":"file1"},{"photo_id":"1349901762","filename":"file0"},{"photo_id":"1349901827","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349901872":["hashtag1","hashtag2"]},{"1349901773":["hashtag1","hashtag2"]},{"1349901827":["hashtag1","hashtag2"]},{"1349901795":["hashtag1","hashtag2"]},{"1349901855":["hashtag1","hashtag2"]},{"1349901762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349901872, 1349901773, 1349901827, 1349901795, 1349901855, 1349901762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74600601196289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:42:22.669295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_41_3622.jpg', '/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_44_2889.jpg', '/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_47_2730.jpg', '/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_53_2811.jpg', '/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_56_3689.jpg', '/home/pi/Desktop/images/15042025/14/26/image_15042025_14_26_41_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_41_3622.jpg
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_44_2889.jpg
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_47_2730.jpg
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_53_2811.jpg
/home/pi/Desktop/images/15042025/14/25/image_15042025_14_25_56_3689.jpg
/home/pi/Desktop/images/15042025/14/26/image_15042025_14_26_41_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902093","1349901935","1349901914","1349902045","1349901979","1349902011"],"photo_ids_order":["1349901914","1349901935","1349901979","1349902011","1349902045","1349902093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0acd1b7734420e1970c82b238afa28c.jpg","text":"TemporaryFile(/tmp/multipartBody8360842188882720924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721003410,"filename":"image_15042025_14_26_41_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53977aa454b593edfc973db2c78243d7.jpg","text":"TemporaryFile(/tmp/multipartBody8469738593603557028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721003410,"filename":"image_15042025_14_25_44_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3b25c3ae31e8e2fb0a1a3940840ad75.jpg","text":"TemporaryFile(/tmp/multipartBody5784719073463835195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721003410,"filename":"image_15042025_14_25_41_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10d4e5d3be8d84686a34667655c30e80.jpg","text":"TemporaryFile(/tmp/multipartBody25573571116679850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721003410,"filename":"image_15042025_14_25_56_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ecb1a086a118543ee77a92118c91570f.jpg","text":"TemporaryFile(/tmp/multipartBody1447032393782641513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721003410,"filename":"image_15042025_14_25_47_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1edf3f7c3400d1d0a459cc107eedf9c.jpg","text":"TemporaryFile(/tmp/multipartBody6944313945029208508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721003410,"filename":"image_15042025_14_25_53_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349901979","file1":"1349901935","file0":"1349901914","file4":"1349902045","file5":"1349902093","file3":"1349902011"},"map_files_photo_id_array":[{"photo_id":"1349902093","filename":"file5"},{"photo_id":"1349901979","filename":"file2"},{"photo_id":"1349902045","filename":"file4"},{"photo_id":"1349901935","filename":"file1"},{"photo_id":"1349901914","filename":"file0"},{"photo_id":"1349902011","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349902093":["hashtag1","hashtag2"]},{"1349901935":["hashtag1","hashtag2"]},{"1349901914":["hashtag1","hashtag2"]},{"1349902045":["hashtag1","hashtag2"]},{"1349901979":["hashtag1","hashtag2"]},{"1349902011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349902093, 1349901935, 1349901914, 1349902045, 1349901979, 1349902011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.042548418045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:43:03.715541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/26/image_15042025_14_26_44_3637.jpg', '/home/pi/Desktop/images/15042025/14/26/image_15042025_14_26_50_2702.jpg', '/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_17_2598.jpg', '/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_23_2656.jpg', '/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_38_2733.jpg', '/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_44_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/26/image_15042025_14_26_44_3637.jpg
/home/pi/Desktop/images/15042025/14/26/image_15042025_14_26_50_2702.jpg
/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_17_2598.jpg
/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_23_2656.jpg
/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_38_2733.jpg
/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_44_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902247","1349902171","1349902231","1349902242","1349902200","1349902137"],"photo_ids_order":["1349902137","1349902171","1349902200","1349902231","1349902242","1349902247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48835777d8de84e6f25418a8a4aa6349.jpg","text":"TemporaryFile(/tmp/multipartBody8578956279736778200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721044535,"filename":"image_15042025_14_27_44_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/febddd30246365f2d32830fe42d3b7db.jpg","text":"TemporaryFile(/tmp/multipartBody8298548678413238802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721044535,"filename":"image_15042025_14_26_50_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59de32e67a69dd0e5bbaf99f4c93a3cc.jpg","text":"TemporaryFile(/tmp/multipartBody8748003427638931694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721044535,"filename":"image_15042025_14_27_23_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/867797650e72d458b65d9cf9864113bd.jpg","text":"TemporaryFile(/tmp/multipartBody2958765808013075099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721044535,"filename":"image_15042025_14_27_38_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/034b2c8b8c1b3e0ecfc9dc9156b4f2bd.jpg","text":"TemporaryFile(/tmp/multipartBody751667762325759606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721044535,"filename":"image_15042025_14_27_17_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6897c510a7b54808c5015eaf78b4787.jpg","text":"TemporaryFile(/tmp/multipartBody5205299448167822160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721044535,"filename":"image_15042025_14_26_44_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349902200","file1":"1349902171","file0":"1349902137","file4":"1349902242","file5":"1349902247","file3":"1349902231"},"map_files_photo_id_array":[{"photo_id":"1349902247","filename":"file5"},{"photo_id":"1349902200","filename":"file2"},{"photo_id":"1349902242","filename":"file4"},{"photo_id":"1349902171","filename":"file1"},{"photo_id":"1349902137","filename":"file0"},{"photo_id":"1349902231","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349902247":["hashtag1","hashtag2"]},{"1349902171":["hashtag1","hashtag2"]},{"1349902231":["hashtag1","hashtag2"]},{"1349902242":["hashtag1","hashtag2"]},{"1349902200":["hashtag1","hashtag2"]},{"1349902137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349902247, 1349902171, 1349902231, 1349902242, 1349902200, 1349902137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25087356567383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:43:42.789338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_47_2638.jpg', '/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_49_2700.jpg', '/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_53_3691.jpg', '/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_05_2626.jpg', '/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_07_2691.jpg', '/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_23_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_47_2638.jpg
/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_49_2700.jpg
/home/pi/Desktop/images/15042025/14/27/image_15042025_14_27_53_3691.jpg
/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_05_2626.jpg
/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_07_2691.jpg
/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_23_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902352","1349902264","1349902324","1349902365","1349902359","1349902295"],"photo_ids_order":["1349902264","1349902295","1349902324","1349902352","1349902359","1349902365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9ba459791128f872ab98bd3a33e96fa.jpg","text":"TemporaryFile(/tmp/multipartBody409452404155101735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721083521,"filename":"image_15042025_14_28_05_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4dfdb1fe580259d8747f0f07e2c51cd.jpg","text":"TemporaryFile(/tmp/multipartBody7793766895862261124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721083521,"filename":"image_15042025_14_27_47_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2732d2837e7d101af72549213c74ae88.jpg","text":"TemporaryFile(/tmp/multipartBody789400184366523054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721083521,"filename":"image_15042025_14_27_53_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4526a5d9b5ec2d17cb19f43dc8152599.jpg","text":"TemporaryFile(/tmp/multipartBody2147543470409381067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721083521,"filename":"image_15042025_14_28_23_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/358dee7e6eb1f7721d73eeaeb1643bea.jpg","text":"TemporaryFile(/tmp/multipartBody3757771070195386862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721083521,"filename":"image_15042025_14_28_07_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7329260aedaf03fa07cbff0e4dc93b9.jpg","text":"TemporaryFile(/tmp/multipartBody1978605930150109038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721083521,"filename":"image_15042025_14_27_49_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349902324","file1":"1349902295","file0":"1349902264","file4":"1349902359","file5":"1349902365","file3":"1349902352"},"map_files_photo_id_array":[{"photo_id":"1349902365","filename":"file5"},{"photo_id":"1349902324","filename":"file2"},{"photo_id":"1349902359","filename":"file4"},{"photo_id":"1349902295","filename":"file1"},{"photo_id":"1349902264","filename":"file0"},{"photo_id":"1349902352","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349902352":["hashtag1","hashtag2"]},{"1349902264":["hashtag1","hashtag2"]},{"1349902324":["hashtag1","hashtag2"]},{"1349902365":["hashtag1","hashtag2"]},{"1349902359":["hashtag1","hashtag2"]},{"1349902295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349902352, 1349902264, 1349902324, 1349902365, 1349902359, 1349902295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42206072807312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:44:22.427216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_34_2555.jpg', '/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_38_3824.jpg', '/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_41_2745.jpg', '/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_02_2745.jpg', '/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_16_2701.jpg', '/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_29_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_34_2555.jpg
/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_38_3824.jpg
/home/pi/Desktop/images/15042025/14/28/image_15042025_14_28_41_2745.jpg
/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_02_2745.jpg
/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_16_2701.jpg
/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_29_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902415","1349902420","1349902408","1349902428","1349902410","1349902388"],"photo_ids_order":["1349902388","1349902408","1349902410","1349902415","1349902420","1349902428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d1302724f3b26ca467acf2bb9c127d7.jpg","text":"TemporaryFile(/tmp/multipartBody4909862862086431241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721123151,"filename":"image_15042025_14_29_02_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0eeb4818579e9cb05cfb771a7c46db3.jpg","text":"TemporaryFile(/tmp/multipartBody6289421496940126035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721123151,"filename":"image_15042025_14_29_16_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87fb12e3ae4a491c31997b2bfa66898e.jpg","text":"TemporaryFile(/tmp/multipartBody5421652112210850894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721123151,"filename":"image_15042025_14_28_38_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f9467ed866d2e07f7130a0f6e89077f.jpg","text":"TemporaryFile(/tmp/multipartBody8345649008044106854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721123151,"filename":"image_15042025_14_29_29_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9209bea8585ffd79117d8885e0ed0a6.jpg","text":"TemporaryFile(/tmp/multipartBody605501263300525245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721123151,"filename":"image_15042025_14_28_41_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34e2bd85d37f02b8d1d3bf9e96bee640.jpg","text":"TemporaryFile(/tmp/multipartBody1357379182589271449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721123151,"filename":"image_15042025_14_28_34_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349902410","file1":"1349902408","file0":"1349902388","file4":"1349902420","file5":"1349902428","file3":"1349902415"},"map_files_photo_id_array":[{"photo_id":"1349902428","filename":"file5"},{"photo_id":"1349902410","filename":"file2"},{"photo_id":"1349902420","filename":"file4"},{"photo_id":"1349902408","filename":"file1"},{"photo_id":"1349902388","filename":"file0"},{"photo_id":"1349902415","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349902415":["hashtag1","hashtag2"]},{"1349902420":["hashtag1","hashtag2"]},{"1349902408":["hashtag1","hashtag2"]},{"1349902428":["hashtag1","hashtag2"]},{"1349902410":["hashtag1","hashtag2"]},{"1349902388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349902415, 1349902420, 1349902408, 1349902428, 1349902410, 1349902388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.460461378097534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:45:02.666614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_55_2681.jpg', '/home/pi/Desktop/images/15042025/14/30/image_15042025_14_30_30_3642.jpg', '/home/pi/Desktop/images/15042025/14/30/image_15042025_14_31_00_3632.jpg', '/home/pi/Desktop/images/15042025/14/31/image_15042025_14_31_12_3698.jpg', '/home/pi/Desktop/images/15042025/14/31/image_15042025_14_31_30_3606.jpg', '/home/pi/Desktop/images/15042025/14/31/image_15042025_14_31_56_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/29/image_15042025_14_29_55_2681.jpg
/home/pi/Desktop/images/15042025/14/30/image_15042025_14_30_30_3642.jpg
/home/pi/Desktop/images/15042025/14/30/image_15042025_14_31_00_3632.jpg
/home/pi/Desktop/images/15042025/14/31/image_15042025_14_31_12_3698.jpg
/home/pi/Desktop/images/15042025/14/31/image_15042025_14_31_30_3606.jpg
/home/pi/Desktop/images/15042025/14/31/image_15042025_14_31_56_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349902517","1349902526","1349902534","1349902566","1349902521","1349902529"],"photo_ids_order":["1349902517","1349902521","1349902526","1349902529","1349902534","1349902566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76b76c97bc592c968ed1719dc153f2ac.jpg","text":"TemporaryFile(/tmp/multipartBody4612725760898837696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721163499,"filename":"image_15042025_14_29_55_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5aa7d5d5ac09444e4c082f5eea7c6a24.jpg","text":"TemporaryFile(/tmp/multipartBody4693141667984503890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721163499,"filename":"image_15042025_14_31_00_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a9e2985857a9cb324cf90a68b4fff14.jpg","text":"TemporaryFile(/tmp/multipartBody1374084792625106153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721163499,"filename":"image_15042025_14_31_30_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f34b27e0e2e7331a6ebe3af04575cf1.jpg","text":"TemporaryFile(/tmp/multipartBody7148483459188952678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721163499,"filename":"image_15042025_14_31_56_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffb3b4d3dea0b14e82712aa6ffbb653f.jpg","text":"TemporaryFile(/tmp/multipartBody5377424660536185821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721163499,"filename":"image_15042025_14_30_30_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c590edc74d7fd215984a53785b374559.jpg","text":"TemporaryFile(/tmp/multipartBody407938128389378358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721163499,"filename":"image_15042025_14_31_12_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349902526","file1":"1349902521","file0":"1349902517","file4":"1349902534","file5":"1349902566","file3":"1349902529"},"map_files_photo_id_array":[{"photo_id":"1349902566","filename":"file5"},{"photo_id":"1349902526","filename":"file2"},{"photo_id":"1349902534","filename":"file4"},{"photo_id":"1349902521","filename":"file1"},{"photo_id":"1349902517","filename":"file0"},{"photo_id":"1349902529","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349902517":["hashtag1","hashtag2"]},{"1349902526":["hashtag1","hashtag2"]},{"1349902534":["hashtag1","hashtag2"]},{"1349902566":["hashtag1","hashtag2"]},{"1349902521":["hashtag1","hashtag2"]},{"1349902529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349902517, 1349902526, 1349902534, 1349902566, 1349902521, 1349902529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.540306091308594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:45:41.847094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/31/image_15042025_14_32_00_3667.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_05_2606.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_09_3816.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_21_3751.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_26_2787.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_30_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/31/image_15042025_14_32_00_3667.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_05_2606.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_09_3816.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_21_3751.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_26_2787.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_30_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1349902643","1349902604","1349902633","1349902612","1349902609","1349902626"],"photo_ids_order":["1349902604","1349902609","1349902612","1349902626","1349902633","1349902643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/211f5423eb8160bdbe9ab9c6764a6e9c.jpg","text":"TemporaryFile(/tmp/multipartBody1292089761968140583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721202571,"filename":"image_15042025_14_32_30_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6b295c7d81801458c98a7fdef839fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3783681526097518852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721202571,"filename":"image_15042025_14_32_00_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5a7cac90f9f75ef9eb4b83a49289050.jpg","text":"TemporaryFile(/tmp/multipartBody8162999143955239367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721202571,"filename":"image_15042025_14_32_26_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ae804d98eaf4890a74b838ce82397d2.jpg","text":"TemporaryFile(/tmp/multipartBody7425438528240153521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721202571,"filename":"image_15042025_14_32_09_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55e08d19bdf90b8aa4472685e22eb354.jpg","text":"TemporaryFile(/tmp/multipartBody7106664410438515693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721202571,"filename":"image_15042025_14_32_05_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80422343513857dffb092bd06458e9df.jpg","text":"TemporaryFile(/tmp/multipartBody2916679126257099934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721202571,"filename":"image_15042025_14_32_21_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349902612","file1":"1349902609","file0":"1349902604","file4":"1349902633","file5":"1349902643","file3":"1349902626"},"map_files_photo_id_array":[{"photo_id":"1349902643","filename":"file5"},{"photo_id":"1349902612","filename":"file2"},{"photo_id":"1349902633","filename":"file4"},{"photo_id":"1349902609","filename":"file1"},{"photo_id":"1349902604","filename":"file0"},{"photo_id":"1349902626","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349902643":["hashtag1","hashtag2"]},{"1349902604":["hashtag1","hashtag2"]},{"1349902633":["hashtag1","hashtag2"]},{"1349902612":["hashtag1","hashtag2"]},{"1349902609":["hashtag1","hashtag2"]},{"1349902626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349902643, 1349902604, 1349902633, 1349902612, 1349902609, 1349902626)","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 = 1349902612 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_09_3816.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1349902612 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_09_3816.jpg";
uploaded 6 photos
time to upload: 68.16968989372253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:47:11.844039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:47:31.945799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:47:51.141733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:48:11.307482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:48:30.640124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
2025-04-15 14:49:01.891186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:49:41.915109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
2025-04-15 14:49:41.949716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:50:07.599444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:50:27.039050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/31/image_15042025_14_32_00_3667.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_05_2606.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_09_3816.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_21_3751.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_26_2787.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_30_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/31/image_15042025_14_32_00_3667.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_05_2606.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_09_3816.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_21_3751.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_26_2787.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_30_3710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903362","1349903347","1349903370","1349903328","1349903393","1349903387"],"photo_ids_order":["1349903328","1349903347","1349903362","1349903370","1349903387","1349903393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9e74c52ee69a14ef21c3323c0520b92.jpg","text":"TemporaryFile(/tmp/multipartBody3191577802907031155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721487765,"filename":"image_15042025_14_32_09_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c990faa529199196650501c81e5e6d0b.jpg","text":"TemporaryFile(/tmp/multipartBody7297947738599672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721487765,"filename":"image_15042025_14_32_05_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/156a1719903a8cec246c545cca4ef5e6.jpg","text":"TemporaryFile(/tmp/multipartBody900105444079217230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721487765,"filename":"image_15042025_14_32_21_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d927206af2ea5254c2c09a5f94097d02.jpg","text":"TemporaryFile(/tmp/multipartBody8284519486751163855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721487765,"filename":"image_15042025_14_32_00_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88a0b461cd96179ee84d3b22f4775353.jpg","text":"TemporaryFile(/tmp/multipartBody1110873139641419805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721487765,"filename":"image_15042025_14_32_30_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1dd11ae91d69f2a88b82d6573050158a.jpg","text":"TemporaryFile(/tmp/multipartBody1605087749382085776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721487765,"filename":"image_15042025_14_32_26_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349903362","file1":"1349903347","file0":"1349903328","file4":"1349903387","file5":"1349903393","file3":"1349903370"},"map_files_photo_id_array":[{"photo_id":"1349903393","filename":"file5"},{"photo_id":"1349903362","filename":"file2"},{"photo_id":"1349903387","filename":"file4"},{"photo_id":"1349903347","filename":"file1"},{"photo_id":"1349903328","filename":"file0"},{"photo_id":"1349903370","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349903362":["hashtag1","hashtag2"]},{"1349903347":["hashtag1","hashtag2"]},{"1349903370":["hashtag1","hashtag2"]},{"1349903328":["hashtag1","hashtag2"]},{"1349903393":["hashtag1","hashtag2"]},{"1349903387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349903362, 1349903347, 1349903370, 1349903328, 1349903393, 1349903387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.240888595581055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:51:22.079429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_32_2682.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_35_2804.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_41_3639.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_47_2757.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_53_2756.jpg', '/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_56_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_32_2682.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_35_2804.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_41_3639.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_47_2757.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_53_2756.jpg
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_32_56_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903581","1349903533","1349903568","1349903561","1349903549","1349903504"],"photo_ids_order":["1349903504","1349903533","1349903549","1349903561","1349903568","1349903581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4908914aed1142c103ce9f1146a84d7.jpg","text":"TemporaryFile(/tmp/multipartBody7984467356775547955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721542766,"filename":"image_15042025_14_32_56_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ed27f8f629233630e5b3f9a161fd1f1.jpg","text":"TemporaryFile(/tmp/multipartBody6200151774767824724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721542766,"filename":"image_15042025_14_32_35_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6b738c9347182be13a0afa4431408bf.jpg","text":"TemporaryFile(/tmp/multipartBody4935954766249046527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721542766,"filename":"image_15042025_14_32_53_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e97634082456c88d507983e6d1a6a4a2.jpg","text":"TemporaryFile(/tmp/multipartBody2432486478551830225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721542766,"filename":"image_15042025_14_32_47_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23d983ce85bc2df50760ab170271623a.jpg","text":"TemporaryFile(/tmp/multipartBody3774808974361151825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721542766,"filename":"image_15042025_14_32_41_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54e0a491b0ca4be4a04468c61377f87e.jpg","text":"TemporaryFile(/tmp/multipartBody7538054997024023507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721542766,"filename":"image_15042025_14_32_32_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349903549","file1":"1349903533","file0":"1349903504","file4":"1349903568","file5":"1349903581","file3":"1349903561"},"map_files_photo_id_array":[{"photo_id":"1349903581","filename":"file5"},{"photo_id":"1349903549","filename":"file2"},{"photo_id":"1349903568","filename":"file4"},{"photo_id":"1349903533","filename":"file1"},{"photo_id":"1349903504","filename":"file0"},{"photo_id":"1349903561","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349903581":["hashtag1","hashtag2"]},{"1349903533":["hashtag1","hashtag2"]},{"1349903568":["hashtag1","hashtag2"]},{"1349903561":["hashtag1","hashtag2"]},{"1349903549":["hashtag1","hashtag2"]},{"1349903504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349903581, 1349903533, 1349903568, 1349903561, 1349903549, 1349903504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.376205921173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:52:02.811680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/32/image_15042025_14_33_00_3745.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_02_2777.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_05_2773.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_08_2728.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_11_2844.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_14_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/32/image_15042025_14_33_00_3745.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_02_2777.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_05_2773.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_08_2728.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_11_2844.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_14_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903596","1349903604","1349903624","1349903621","1349903600","1349903618"],"photo_ids_order":["1349903596","1349903600","1349903604","1349903618","1349903621","1349903624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79e3380e7440124540aa806dbb8fc4b7.jpg","text":"TemporaryFile(/tmp/multipartBody4396950792279503940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721583802,"filename":"image_15042025_14_33_00_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c354c5307e31a7df8fbb9c0de49eea39.jpg","text":"TemporaryFile(/tmp/multipartBody5560082314213532431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721583802,"filename":"image_15042025_14_33_05_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53f625776b55cc3c81da516e1989d98f.jpg","text":"TemporaryFile(/tmp/multipartBody2155335916912298424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721583802,"filename":"image_15042025_14_33_14_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efc7a7f05dd1a7e31540defbfc0ac609.jpg","text":"TemporaryFile(/tmp/multipartBody4587378283480817921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721583802,"filename":"image_15042025_14_33_11_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/965b2c59b8c545816205c67e379bcb99.jpg","text":"TemporaryFile(/tmp/multipartBody7354105235268042562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721583802,"filename":"image_15042025_14_33_02_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5eb0d5fb12cf28f334022f0ba0f033fd.jpg","text":"TemporaryFile(/tmp/multipartBody1874358433690712924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721583802,"filename":"image_15042025_14_33_08_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349903604","file1":"1349903600","file0":"1349903596","file4":"1349903621","file5":"1349903624","file3":"1349903618"},"map_files_photo_id_array":[{"photo_id":"1349903624","filename":"file5"},{"photo_id":"1349903604","filename":"file2"},{"photo_id":"1349903621","filename":"file4"},{"photo_id":"1349903600","filename":"file1"},{"photo_id":"1349903596","filename":"file0"},{"photo_id":"1349903618","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349903596":["hashtag1","hashtag2"]},{"1349903604":["hashtag1","hashtag2"]},{"1349903624":["hashtag1","hashtag2"]},{"1349903621":["hashtag1","hashtag2"]},{"1349903600":["hashtag1","hashtag2"]},{"1349903618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349903596, 1349903604, 1349903624, 1349903621, 1349903600, 1349903618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.245455741882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:52:42.294993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_17_2790.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_20_2857.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_23_2627.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_26_3729.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_38_2651.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_44_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_17_2790.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_20_2857.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_23_2627.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_26_3729.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_38_2651.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_44_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903683","1349903676","1349903688","1349903648","1349903692","1349903671"],"photo_ids_order":["1349903648","1349903671","1349903676","1349903683","1349903688","1349903692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5206e007aec824cdeb852036240deddb.jpg","text":"TemporaryFile(/tmp/multipartBody3801707615984536187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721623015,"filename":"image_15042025_14_33_26_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d43782b934d3b8947ee5edc789f6a5d.jpg","text":"TemporaryFile(/tmp/multipartBody3978797836215967516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721623015,"filename":"image_15042025_14_33_23_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/460b333a4905595cc3873d720bf43249.jpg","text":"TemporaryFile(/tmp/multipartBody4064216888988621317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721623015,"filename":"image_15042025_14_33_38_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6471527090091990b8c0a017bfaa5731.jpg","text":"TemporaryFile(/tmp/multipartBody39720585576192321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721623015,"filename":"image_15042025_14_33_17_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a16cbbf6932a26ee637edce5af9eb397.jpg","text":"TemporaryFile(/tmp/multipartBody303865581677675880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721623015,"filename":"image_15042025_14_33_44_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6e47132e159c1772124b741b21a35a5.jpg","text":"TemporaryFile(/tmp/multipartBody1464368425901809995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721623015,"filename":"image_15042025_14_33_20_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349903676","file1":"1349903671","file0":"1349903648","file4":"1349903688","file5":"1349903692","file3":"1349903683"},"map_files_photo_id_array":[{"photo_id":"1349903692","filename":"file5"},{"photo_id":"1349903676","filename":"file2"},{"photo_id":"1349903688","filename":"file4"},{"photo_id":"1349903671","filename":"file1"},{"photo_id":"1349903648","filename":"file0"},{"photo_id":"1349903683","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349903683":["hashtag1","hashtag2"]},{"1349903676":["hashtag1","hashtag2"]},{"1349903688":["hashtag1","hashtag2"]},{"1349903648":["hashtag1","hashtag2"]},{"1349903692":["hashtag1","hashtag2"]},{"1349903671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349903683, 1349903676, 1349903688, 1349903648, 1349903692, 1349903671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60676097869873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:53:22.502894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_53_3507.jpg', '/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_59_3791.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_02_2708.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_05_2837.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_11_3738.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_14_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_53_3507.jpg
/home/pi/Desktop/images/15042025/14/33/image_15042025_14_33_59_3791.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_02_2708.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_05_2837.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_11_3738.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_14_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903788","1349903704","1349903713","1349903739","1349903727","1349903709"],"photo_ids_order":["1349903704","1349903709","1349903713","1349903727","1349903739","1349903788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f68be3d557e4b3f124c26f3fb1e27777.jpg","text":"TemporaryFile(/tmp/multipartBody1204050569420834181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721663194,"filename":"image_15042025_14_34_14_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64857f7d4f0477ed8be97ed5f8272902.jpg","text":"TemporaryFile(/tmp/multipartBody2146768788462689398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721663194,"filename":"image_15042025_14_33_53_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aace7db2030d3e98e31d67c30640ed53.jpg","text":"TemporaryFile(/tmp/multipartBody3226688268731727310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721663194,"filename":"image_15042025_14_34_02_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c07bb20ecd9d7b1568d80172754ff41.jpg","text":"TemporaryFile(/tmp/multipartBody79939833430132641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721663194,"filename":"image_15042025_14_34_11_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5943365b7c9895d70fe1b2df46ba221e.jpg","text":"TemporaryFile(/tmp/multipartBody4267412857940258217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721663194,"filename":"image_15042025_14_34_05_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4db65664f551b348f60f1c2358249e64.jpg","text":"TemporaryFile(/tmp/multipartBody4290080064748014629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721663194,"filename":"image_15042025_14_33_59_3791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349903713","file1":"1349903709","file0":"1349903704","file4":"1349903739","file5":"1349903788","file3":"1349903727"},"map_files_photo_id_array":[{"photo_id":"1349903788","filename":"file5"},{"photo_id":"1349903713","filename":"file2"},{"photo_id":"1349903739","filename":"file4"},{"photo_id":"1349903709","filename":"file1"},{"photo_id":"1349903704","filename":"file0"},{"photo_id":"1349903727","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349903788":["hashtag1","hashtag2"]},{"1349903704":["hashtag1","hashtag2"]},{"1349903713":["hashtag1","hashtag2"]},{"1349903739":["hashtag1","hashtag2"]},{"1349903727":["hashtag1","hashtag2"]},{"1349903709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349903788, 1349903704, 1349903713, 1349903739, 1349903727, 1349903709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38780212402344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:54:02.662141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_17_2942.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_20_2824.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_24_3745.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_26_2730.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_29_2858.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_32_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_17_2942.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_20_2824.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_24_3745.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_26_2730.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_29_2858.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_32_2859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349903953","1349903941","1349903949","1349903934","1349903945","1349903906"],"photo_ids_order":["1349903906","1349903934","1349903941","1349903945","1349903949","1349903953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c412e1e29b1749976e7f6d8e488beb43.jpg","text":"TemporaryFile(/tmp/multipartBody7173542224535443807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721703494,"filename":"image_15042025_14_34_32_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df50bba9db98eb62a8e4abb59dd06ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3559372200881927450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721703494,"filename":"image_15042025_14_34_24_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da1d68c3b6df1206e9fab43f8c44ce04.jpg","text":"TemporaryFile(/tmp/multipartBody2472556815896815853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721703494,"filename":"image_15042025_14_34_29_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1959bb9e89d00daeb6c281a2dcb56f27.jpg","text":"TemporaryFile(/tmp/multipartBody5698989176497573778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721703494,"filename":"image_15042025_14_34_20_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aca9040b7d9eea6e7981fea6ca2097d5.jpg","text":"TemporaryFile(/tmp/multipartBody571364020128845574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721703494,"filename":"image_15042025_14_34_26_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a33a3ea76576ca956110c5b8dfa1295.jpg","text":"TemporaryFile(/tmp/multipartBody8074074339062496925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721703494,"filename":"image_15042025_14_34_17_2942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349903941","file1":"1349903934","file0":"1349903906","file4":"1349903949","file5":"1349903953","file3":"1349903945"},"map_files_photo_id_array":[{"photo_id":"1349903953","filename":"file5"},{"photo_id":"1349903941","filename":"file2"},{"photo_id":"1349903949","filename":"file4"},{"photo_id":"1349903934","filename":"file1"},{"photo_id":"1349903906","filename":"file0"},{"photo_id":"1349903945","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349903953":["hashtag1","hashtag2"]},{"1349903941":["hashtag1","hashtag2"]},{"1349903949":["hashtag1","hashtag2"]},{"1349903934":["hashtag1","hashtag2"]},{"1349903945":["hashtag1","hashtag2"]},{"1349903906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349903953, 1349903941, 1349903949, 1349903934, 1349903945, 1349903906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16113638877869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 14:54:41.906831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_35_2636.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_38_3722.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_41_2563.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_47_3706.jpg', '/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_59_2625.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_13_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_35_2636.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_38_3722.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_41_2563.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_47_3706.jpg
/home/pi/Desktop/images/15042025/14/34/image_15042025_14_34_59_2625.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_13_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349904154","1349904136","1349904171","1349904165","1349904128","1349904143"],"photo_ids_order":["1349904128","1349904136","1349904143","1349904154","1349904165","1349904171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/973ef54373cd20b83aaf88a29e15a60b.jpg","text":"TemporaryFile(/tmp/multipartBody945246174240787089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721742627,"filename":"image_15042025_14_34_47_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f24f96e18dbc91f0613f217303193d9.jpg","text":"TemporaryFile(/tmp/multipartBody3241816688964682737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721742627,"filename":"image_15042025_14_34_38_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57e39b894fefd7ad7c4489217d352c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3148885622325290962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721742627,"filename":"image_15042025_14_35_13_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4331023d1a97c8e6edc0588e833b64c0.jpg","text":"TemporaryFile(/tmp/multipartBody8405842465540808688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721742627,"filename":"image_15042025_14_34_59_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db892f4faf5ace0032d39154488a009e.jpg","text":"TemporaryFile(/tmp/multipartBody7615187917084260579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721742627,"filename":"image_15042025_14_34_35_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f4572fc6f9042113066cac800f73fcd.jpg","text":"TemporaryFile(/tmp/multipartBody5842645096731190253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721742627,"filename":"image_15042025_14_34_41_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349904143","file1":"1349904136","file0":"1349904128","file4":"1349904165","file5":"1349904171","file3":"1349904154"},"map_files_photo_id_array":[{"photo_id":"1349904171","filename":"file5"},{"photo_id":"1349904143","filename":"file2"},{"photo_id":"1349904165","filename":"file4"},{"photo_id":"1349904136","filename":"file1"},{"photo_id":"1349904128","filename":"file0"},{"photo_id":"1349904154","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349904154":["hashtag1","hashtag2"]},{"1349904136":["hashtag1","hashtag2"]},{"1349904171":["hashtag1","hashtag2"]},{"1349904165":["hashtag1","hashtag2"]},{"1349904128":["hashtag1","hashtag2"]},{"1349904143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349904154, 1349904136, 1349904171, 1349904165, 1349904128, 1349904143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18019771575928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:55:22.475019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_17_3714.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_20_2610.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_26_2593.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_29_2713.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_32_3657.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_35_3034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_17_3714.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_20_2610.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_26_2593.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_29_2713.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_32_3657.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_35_3034.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349904208","1349904198","1349904189","1349904203","1349904193","1349904184"],"photo_ids_order":["1349904184","1349904189","1349904193","1349904198","1349904203","1349904208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2aa5e61ec64527a7b4326056dccdd9d.jpg","text":"TemporaryFile(/tmp/multipartBody7070589370503266082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721783159,"filename":"image_15042025_14_35_35_3034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d53c52834fb9f751d2c3b4b6b4a7eea.jpg","text":"TemporaryFile(/tmp/multipartBody8252298557039059645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721783159,"filename":"image_15042025_14_35_29_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/928e3dd91b7256ffdd22d60173774d6c.jpg","text":"TemporaryFile(/tmp/multipartBody8476571434511469983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721783159,"filename":"image_15042025_14_35_20_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5148b14561cf4766da1b2942d22186a1.jpg","text":"TemporaryFile(/tmp/multipartBody2892190224787122312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721783159,"filename":"image_15042025_14_35_32_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5045d8f0301c929c381ed93c4166d834.jpg","text":"TemporaryFile(/tmp/multipartBody4740385971241101635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721783159,"filename":"image_15042025_14_35_26_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13399ef09ab965e54d58e8cda8fe4660.jpg","text":"TemporaryFile(/tmp/multipartBody4766231172240414239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721783159,"filename":"image_15042025_14_35_17_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349904193","file1":"1349904189","file0":"1349904184","file4":"1349904203","file5":"1349904208","file3":"1349904198"},"map_files_photo_id_array":[{"photo_id":"1349904208","filename":"file5"},{"photo_id":"1349904193","filename":"file2"},{"photo_id":"1349904203","filename":"file4"},{"photo_id":"1349904189","filename":"file1"},{"photo_id":"1349904184","filename":"file0"},{"photo_id":"1349904198","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349904208":["hashtag1","hashtag2"]},{"1349904198":["hashtag1","hashtag2"]},{"1349904189":["hashtag1","hashtag2"]},{"1349904203":["hashtag1","hashtag2"]},{"1349904193":["hashtag1","hashtag2"]},{"1349904184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349904208, 1349904198, 1349904189, 1349904203, 1349904193, 1349904184)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.13855767250061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 14:56:22.452466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_41_2682.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_43_2699.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_47_3578.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_50_2537.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_52_2803.jpg', '/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_56_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_41_2682.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_43_2699.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_47_3578.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_50_2537.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_52_2803.jpg
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_56_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349904399","1349904372","1349904344","1349904385","1349904289","1349904322"],"photo_ids_order":["1349904289","1349904322","1349904344","1349904372","1349904385","1349904399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a59367d26e8d3d781fef78fc4220a9c8.jpg","text":"TemporaryFile(/tmp/multipartBody6998443983191554650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721843134,"filename":"image_15042025_14_35_56_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61933fe853d7ce14a7c72056828f8193.jpg","text":"TemporaryFile(/tmp/multipartBody5494810638917938685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721843134,"filename":"image_15042025_14_35_50_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0274341eff5b16502f50a91f87b5bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5144171378711906443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721843134,"filename":"image_15042025_14_35_47_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dccb0be56c9ec917f7fd00b042c0b55d.jpg","text":"TemporaryFile(/tmp/multipartBody6359658882054195418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721843134,"filename":"image_15042025_14_35_52_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/154301ba594fc8d936337648c1f71be9.jpg","text":"TemporaryFile(/tmp/multipartBody7882342656516567810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721843134,"filename":"image_15042025_14_35_41_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c534fe6b5b3584b00aa5707c3784ca7.jpg","text":"TemporaryFile(/tmp/multipartBody476547676750855008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721843134,"filename":"image_15042025_14_35_43_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349904344","file1":"1349904322","file0":"1349904289","file4":"1349904385","file5":"1349904399","file3":"1349904372"},"map_files_photo_id_array":[{"photo_id":"1349904399","filename":"file5"},{"photo_id":"1349904344","filename":"file2"},{"photo_id":"1349904385","filename":"file4"},{"photo_id":"1349904322","filename":"file1"},{"photo_id":"1349904289","filename":"file0"},{"photo_id":"1349904372","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349904399":["hashtag1","hashtag2"]},{"1349904372":["hashtag1","hashtag2"]},{"1349904344":["hashtag1","hashtag2"]},{"1349904385":["hashtag1","hashtag2"]},{"1349904289":["hashtag1","hashtag2"]},{"1349904322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349904399, 1349904372, 1349904344, 1349904385, 1349904289, 1349904322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.485936403274536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:57:02.639639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_59_2755.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_01_2642.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_05_3650.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_08_2584.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_17_2682.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_26_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/35/image_15042025_14_35_59_2755.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_01_2642.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_05_3650.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_08_2584.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_17_2682.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_26_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349904430","1349904458","1349904443","1349904493","1349904469","1349904421"],"photo_ids_order":["1349904421","1349904430","1349904443","1349904458","1349904469","1349904493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2553f59168966d54bb94e93c99ce1942.jpg","text":"TemporaryFile(/tmp/multipartBody5376780949090174987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721883480,"filename":"image_15042025_14_36_01_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39fdc3a06d2280c8a547a9e82b386990.jpg","text":"TemporaryFile(/tmp/multipartBody4332764145542436504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721883480,"filename":"image_15042025_14_36_08_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fae1b908f97cdca9ed2e6d8287044f36.jpg","text":"TemporaryFile(/tmp/multipartBody5563087514880287158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721883480,"filename":"image_15042025_14_36_05_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4af13eb649a8c2eb0be57dcd57ccfcc.jpg","text":"TemporaryFile(/tmp/multipartBody341146145386489996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721883480,"filename":"image_15042025_14_36_26_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51cd7760ead0afb51d1fb8e8488d602f.jpg","text":"TemporaryFile(/tmp/multipartBody3040837606110234620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721883480,"filename":"image_15042025_14_36_17_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4059ce29bbb5f2feeb00daf8a5c3e56.jpg","text":"TemporaryFile(/tmp/multipartBody1727703287203373530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744721883480,"filename":"image_15042025_14_35_59_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349904443","file1":"1349904430","file0":"1349904421","file4":"1349904469","file5":"1349904493","file3":"1349904458"},"map_files_photo_id_array":[{"photo_id":"1349904493","filename":"file5"},{"photo_id":"1349904443","filename":"file2"},{"photo_id":"1349904469","filename":"file4"},{"photo_id":"1349904430","filename":"file1"},{"photo_id":"1349904421","filename":"file0"},{"photo_id":"1349904458","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349904430":["hashtag1","hashtag2"]},{"1349904458":["hashtag1","hashtag2"]},{"1349904443":["hashtag1","hashtag2"]},{"1349904493":["hashtag1","hashtag2"]},{"1349904469":["hashtag1","hashtag2"]},{"1349904421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349904430, 1349904458, 1349904443, 1349904493, 1349904469, 1349904421)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.40054631233215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 14:59:03.423276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_29_2848.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_32_3521.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_37_2686.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_46_2691.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_50_3782.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_53_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_29_2848.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_32_3521.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_37_2686.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_46_2691.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_50_3782.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_53_2543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349904820","1349904984","1349905023","1349904881","1349905072","1349904931"],"photo_ids_order":["1349904820","1349904881","1349904931","1349904984","1349905023","1349905072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96b61145e2032f69f8befbdb44f07436.jpg","text":"TemporaryFile(/tmp/multipartBody1038059845072484723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722004356,"filename":"image_15042025_14_36_29_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84955ef83076c9b320b911615dd8eaec.jpg","text":"TemporaryFile(/tmp/multipartBody2579203034282470727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722004356,"filename":"image_15042025_14_36_46_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ceff16784bb01180857799699424065.jpg","text":"TemporaryFile(/tmp/multipartBody1928940581014435252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722004356,"filename":"image_15042025_14_36_50_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/476cc25089c604bbf2a69fb4c8f22231.jpg","text":"TemporaryFile(/tmp/multipartBody357206282576097389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722004356,"filename":"image_15042025_14_36_32_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/499e22b69fbe1d4960c92c4bc410e3ed.jpg","text":"TemporaryFile(/tmp/multipartBody7185229251154109220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722004356,"filename":"image_15042025_14_36_53_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec6f49daa9a1860a1e7f98191a12ff9c.jpg","text":"TemporaryFile(/tmp/multipartBody1069240508786614967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722004356,"filename":"image_15042025_14_36_37_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349904931","file1":"1349904881","file0":"1349904820","file4":"1349905023","file5":"1349905072","file3":"1349904984"},"map_files_photo_id_array":[{"photo_id":"1349905072","filename":"file5"},{"photo_id":"1349904931","filename":"file2"},{"photo_id":"1349905023","filename":"file4"},{"photo_id":"1349904881","filename":"file1"},{"photo_id":"1349904820","filename":"file0"},{"photo_id":"1349904984","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349904820":["hashtag1","hashtag2"]},{"1349904984":["hashtag1","hashtag2"]},{"1349905023":["hashtag1","hashtag2"]},{"1349904881":["hashtag1","hashtag2"]},{"1349905072":["hashtag1","hashtag2"]},{"1349904931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349904820, 1349904984, 1349905023, 1349904881, 1349905072, 1349904931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30597448348999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:00:02.665079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_55_2636.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_59_3708.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_02_2580.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_08_3541.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_11_2734.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_13_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_55_2636.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_59_3708.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_02_2580.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_08_3541.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_11_2734.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_13_2800.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7490866184234619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:00:22.204939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_55_2636.jpg', '/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_59_3708.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_02_2580.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_08_3541.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_11_2734.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_13_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_55_2636.jpg
/home/pi/Desktop/images/15042025/14/36/image_15042025_14_36_59_3708.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_02_2580.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_08_3541.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_11_2734.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_13_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349905560","1349905694","1349905748","1349905820","1349905637","1349905492"],"photo_ids_order":["1349905492","1349905560","1349905637","1349905694","1349905748","1349905820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61f8a315d55b476d0be2ea25a311cc5b.jpg","text":"TemporaryFile(/tmp/multipartBody1663412513804085100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722082904,"filename":"image_15042025_14_36_59_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3892244bb340a1151efebd0559d8168e.jpg","text":"TemporaryFile(/tmp/multipartBody207766701410927451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722082904,"filename":"image_15042025_14_37_08_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a9f4b79b3dcebb06d4caf0873ea6b1c.jpg","text":"TemporaryFile(/tmp/multipartBody3499355779514607575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722082904,"filename":"image_15042025_14_37_11_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68b571582f331a2f511922703a1e0644.jpg","text":"TemporaryFile(/tmp/multipartBody3230331734514648757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722082904,"filename":"image_15042025_14_37_13_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62d98d712a200d32fca4fe50b5017a46.jpg","text":"TemporaryFile(/tmp/multipartBody2821112751374703677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722082904,"filename":"image_15042025_14_37_02_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd7031718f4886c8d174c486c09e636f.jpg","text":"TemporaryFile(/tmp/multipartBody8083734681018329947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722082904,"filename":"image_15042025_14_36_55_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349905637","file1":"1349905560","file0":"1349905492","file4":"1349905748","file5":"1349905820","file3":"1349905694"},"map_files_photo_id_array":[{"photo_id":"1349905820","filename":"file5"},{"photo_id":"1349905637","filename":"file2"},{"photo_id":"1349905748","filename":"file4"},{"photo_id":"1349905560","filename":"file1"},{"photo_id":"1349905492","filename":"file0"},{"photo_id":"1349905694","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349905560":["hashtag1","hashtag2"]},{"1349905694":["hashtag1","hashtag2"]},{"1349905748":["hashtag1","hashtag2"]},{"1349905820":["hashtag1","hashtag2"]},{"1349905637":["hashtag1","hashtag2"]},{"1349905492":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349905560, 1349905694, 1349905748, 1349905820, 1349905637, 1349905492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67301034927368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:01:03.275399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_17_3574.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_23_2920.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_25_2715.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_29_3567.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_32_2776.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_41_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_17_3574.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_23_2920.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_25_2715.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_29_3567.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_32_2776.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_41_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349906445","1349906180","1349906036","1349906368","1349906281","1349906107"],"photo_ids_order":["1349906036","1349906107","1349906180","1349906281","1349906368","1349906445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/141bd4921d62dae6a6fa4905845aae1c.jpg","text":"TemporaryFile(/tmp/multipartBody6871934237218679721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722124113,"filename":"image_15042025_14_37_41_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed9b4aa09ae3fcc84942ea62d06a2b9b.jpg","text":"TemporaryFile(/tmp/multipartBody2854211110108956876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722124113,"filename":"image_15042025_14_37_25_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba11040e29b807ad4e2050956f5ddb34.jpg","text":"TemporaryFile(/tmp/multipartBody2806429075086921777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722124113,"filename":"image_15042025_14_37_17_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2323a522797fadcdcb1fc7b2a02b1d04.jpg","text":"TemporaryFile(/tmp/multipartBody8514291566809833227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722124113,"filename":"image_15042025_14_37_32_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd3347c03ec6aaba52e501b709299911.jpg","text":"TemporaryFile(/tmp/multipartBody6157547491645813251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722124113,"filename":"image_15042025_14_37_29_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9964c40d37f0fcfa42d8f5a4d6311562.jpg","text":"TemporaryFile(/tmp/multipartBody7491901027270130073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722124113,"filename":"image_15042025_14_37_23_2920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349906180","file1":"1349906107","file0":"1349906036","file4":"1349906368","file5":"1349906445","file3":"1349906281"},"map_files_photo_id_array":[{"photo_id":"1349906445","filename":"file5"},{"photo_id":"1349906180","filename":"file2"},{"photo_id":"1349906368","filename":"file4"},{"photo_id":"1349906107","filename":"file1"},{"photo_id":"1349906036","filename":"file0"},{"photo_id":"1349906281","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349906445":["hashtag1","hashtag2"]},{"1349906180":["hashtag1","hashtag2"]},{"1349906036":["hashtag1","hashtag2"]},{"1349906368":["hashtag1","hashtag2"]},{"1349906281":["hashtag1","hashtag2"]},{"1349906107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349906445, 1349906180, 1349906036, 1349906368, 1349906281, 1349906107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9798903465271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:01:42.340657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_43_2647.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_47_3544.jpg', '/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_52_2692.jpg', '/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_05_3777.jpg', '/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_20_2660.jpg', '/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_22_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_43_2647.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_47_3544.jpg
/home/pi/Desktop/images/15042025/14/37/image_15042025_14_37_52_2692.jpg
/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_05_3777.jpg
/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_20_2660.jpg
/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_22_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349906699","1349906978","1349907046","1349906801","1349906889","1349907108"],"photo_ids_order":["1349906699","1349906801","1349906889","1349906978","1349907046","1349907108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03f11a1656f5660b583697c773137083.jpg","text":"TemporaryFile(/tmp/multipartBody5731908838995803418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722163023,"filename":"image_15042025_14_37_43_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c32fc891e39a6fe564bb065e2a5d542.jpg","text":"TemporaryFile(/tmp/multipartBody5088643359843751303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722163023,"filename":"image_15042025_14_38_05_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3d53f2f3cf6e7cb1d8a16c261d4e02d.jpg","text":"TemporaryFile(/tmp/multipartBody1340012120326530872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722163023,"filename":"image_15042025_14_38_20_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2d5d6478dbb20370dade26d752bdf7a.jpg","text":"TemporaryFile(/tmp/multipartBody4855887055207198868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722163023,"filename":"image_15042025_14_37_47_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afa3c5f1aca8089d8eec3d8299a83c3f.jpg","text":"TemporaryFile(/tmp/multipartBody373492078450390861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722163023,"filename":"image_15042025_14_37_52_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9279b7b4cebd16b5e23940e1b2a19d36.jpg","text":"TemporaryFile(/tmp/multipartBody2726082154387243383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722163023,"filename":"image_15042025_14_38_22_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349906889","file1":"1349906801","file0":"1349906699","file4":"1349907046","file5":"1349907108","file3":"1349906978"},"map_files_photo_id_array":[{"photo_id":"1349907108","filename":"file5"},{"photo_id":"1349906889","filename":"file2"},{"photo_id":"1349907046","filename":"file4"},{"photo_id":"1349906801","filename":"file1"},{"photo_id":"1349906699","filename":"file0"},{"photo_id":"1349906978","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349906699":["hashtag1","hashtag2"]},{"1349906978":["hashtag1","hashtag2"]},{"1349907046":["hashtag1","hashtag2"]},{"1349906801":["hashtag1","hashtag2"]},{"1349906889":["hashtag1","hashtag2"]},{"1349907108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349906699, 1349906978, 1349907046, 1349906801, 1349906889, 1349907108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49352669715881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:02:21.960981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_26_3667.jpg', '/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_31_2666.jpg', '/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_35_3770.jpg', '/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_38_2603.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_05_2707.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_11_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_26_3667.jpg
/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_31_2666.jpg
/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_35_3770.jpg
/home/pi/Desktop/images/15042025/14/38/image_15042025_14_38_38_2603.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_05_2707.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_11_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349907542","1349907397","1349907484","1349907370","1349907328","1349907429"],"photo_ids_order":["1349907328","1349907370","1349907397","1349907429","1349907484","1349907542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c555a7de068925b0b1d97a29fc1a0f4.jpg","text":"TemporaryFile(/tmp/multipartBody7703214082255120395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722202685,"filename":"image_15042025_14_39_11_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b94c8337fa67de5d78b5e57397a43b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1539804442752039422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722202685,"filename":"image_15042025_14_38_35_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7793cfa1a03aab3960a09ea0544e02f8.jpg","text":"TemporaryFile(/tmp/multipartBody4093298980221049918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722202685,"filename":"image_15042025_14_39_05_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f4abdc353c6a9ea2ee96ee8ac566951.jpg","text":"TemporaryFile(/tmp/multipartBody6385876155459931792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722202685,"filename":"image_15042025_14_38_31_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a58b042a2c439cab592646605be995a3.jpg","text":"TemporaryFile(/tmp/multipartBody4778918715019300921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722202685,"filename":"image_15042025_14_38_26_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f174ab08158d05c44aff327f8d366315.jpg","text":"TemporaryFile(/tmp/multipartBody3712494924008716436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722202685,"filename":"image_15042025_14_38_38_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349907397","file1":"1349907370","file0":"1349907328","file4":"1349907484","file5":"1349907542","file3":"1349907429"},"map_files_photo_id_array":[{"photo_id":"1349907542","filename":"file5"},{"photo_id":"1349907397","filename":"file2"},{"photo_id":"1349907484","filename":"file4"},{"photo_id":"1349907370","filename":"file1"},{"photo_id":"1349907328","filename":"file0"},{"photo_id":"1349907429","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349907542":["hashtag1","hashtag2"]},{"1349907397":["hashtag1","hashtag2"]},{"1349907484":["hashtag1","hashtag2"]},{"1349907370":["hashtag1","hashtag2"]},{"1349907328":["hashtag1","hashtag2"]},{"1349907429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349907542, 1349907397, 1349907484, 1349907370, 1349907328, 1349907429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.724709272384644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:03:02.952376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_14_2806.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_16_2612.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_19_2590.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_23_3731.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_26_2736.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_28_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_14_2806.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_16_2612.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_19_2590.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_23_3731.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_26_2736.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_28_2547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349907806","1349907778","1349907751","1349907715","1349907834","1349907758"],"photo_ids_order":["1349907715","1349907751","1349907758","1349907778","1349907806","1349907834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbb8e4834882d8053393a650afe30804.jpg","text":"TemporaryFile(/tmp/multipartBody5305441526244907965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722243767,"filename":"image_15042025_14_39_26_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/810cdb16383f12c1ff7d7ebe35c1fc31.jpg","text":"TemporaryFile(/tmp/multipartBody7945891420095433656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722243767,"filename":"image_15042025_14_39_23_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5706f815e40ddd8e5fc09ab249b87c30.jpg","text":"TemporaryFile(/tmp/multipartBody9051517911136776605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722243767,"filename":"image_15042025_14_39_16_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55ca55c658c6f52583c88d6fcf7d50e8.jpg","text":"TemporaryFile(/tmp/multipartBody8474396884037424574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722243767,"filename":"image_15042025_14_39_14_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a596252f6a81d8fbb3c25dba19eb0717.jpg","text":"TemporaryFile(/tmp/multipartBody6469008856480311026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722243767,"filename":"image_15042025_14_39_28_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c7bf99f76eeafcbda05b82e7a5eac18.jpg","text":"TemporaryFile(/tmp/multipartBody4400126592516666054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722243767,"filename":"image_15042025_14_39_19_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349907758","file1":"1349907751","file0":"1349907715","file4":"1349907806","file5":"1349907834","file3":"1349907778"},"map_files_photo_id_array":[{"photo_id":"1349907834","filename":"file5"},{"photo_id":"1349907758","filename":"file2"},{"photo_id":"1349907806","filename":"file4"},{"photo_id":"1349907751","filename":"file1"},{"photo_id":"1349907715","filename":"file0"},{"photo_id":"1349907778","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349907806":["hashtag1","hashtag2"]},{"1349907778":["hashtag1","hashtag2"]},{"1349907751":["hashtag1","hashtag2"]},{"1349907715":["hashtag1","hashtag2"]},{"1349907834":["hashtag1","hashtag2"]},{"1349907758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349907806, 1349907778, 1349907751, 1349907715, 1349907834, 1349907758)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.4418888092041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:04:02.740160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_32_3696.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_35_2823.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_37_2659.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_41_3526.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_52_2594.jpg', '/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_55_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_32_3696.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_35_2823.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_37_2659.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_41_3526.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_52_2594.jpg
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_55_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908301","1349908192","1349908144","1349908101","1349908274","1349908244"],"photo_ids_order":["1349908101","1349908144","1349908192","1349908244","1349908274","1349908301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbcf092e4369da6d2b6408e68f8b7c70.jpg","text":"TemporaryFile(/tmp/multipartBody8413539791933195564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722303643,"filename":"image_15042025_14_39_55_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10cb5237e48b7e7a52adef95dd5404d9.jpg","text":"TemporaryFile(/tmp/multipartBody5581081239147886031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722303643,"filename":"image_15042025_14_39_37_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/798bf347a24e401c68cedd732de1b9f0.jpg","text":"TemporaryFile(/tmp/multipartBody4704649102243000451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722303643,"filename":"image_15042025_14_39_35_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccdf2336536b49099ad9d9652514ccc6.jpg","text":"TemporaryFile(/tmp/multipartBody7778607550175523901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722303643,"filename":"image_15042025_14_39_32_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/906e09c0f89d353b32683aa75b2bb8f2.jpg","text":"TemporaryFile(/tmp/multipartBody8942167542438427688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722303643,"filename":"image_15042025_14_39_52_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94b3e4d7341b73344d682355e5885af0.jpg","text":"TemporaryFile(/tmp/multipartBody7986920806313734658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722303643,"filename":"image_15042025_14_39_41_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349908192","file1":"1349908144","file0":"1349908101","file4":"1349908274","file5":"1349908301","file3":"1349908244"},"map_files_photo_id_array":[{"photo_id":"1349908301","filename":"file5"},{"photo_id":"1349908192","filename":"file2"},{"photo_id":"1349908274","filename":"file4"},{"photo_id":"1349908144","filename":"file1"},{"photo_id":"1349908101","filename":"file0"},{"photo_id":"1349908244","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349908301":["hashtag1","hashtag2"]},{"1349908192":["hashtag1","hashtag2"]},{"1349908144":["hashtag1","hashtag2"]},{"1349908101":["hashtag1","hashtag2"]},{"1349908274":["hashtag1","hashtag2"]},{"1349908244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349908301, 1349908192, 1349908144, 1349908101, 1349908274, 1349908244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76873016357422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:04:41.948698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_59_3662.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_04_2762.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_08_3627.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_10_2555.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_13_2786.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_17_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/39/image_15042025_14_39_59_3662.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_04_2762.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_08_3627.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_10_2555.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_13_2786.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_17_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908523","1349908579","1349908494","1349908557","1349908484","1349908463"],"photo_ids_order":["1349908463","1349908484","1349908494","1349908523","1349908557","1349908579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cef14bad56892666ff7c14b3583005e8.jpg","text":"TemporaryFile(/tmp/multipartBody5450994474208480671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722342621,"filename":"image_15042025_14_40_10_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb325cbe2a5bb0410bde90d68860348f.jpg","text":"TemporaryFile(/tmp/multipartBody3138915198561917847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722342621,"filename":"image_15042025_14_40_17_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc770edd3eac91c355887fc040c386f7.jpg","text":"TemporaryFile(/tmp/multipartBody4065650726578809421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722342621,"filename":"image_15042025_14_40_08_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c17573cdfbea9cc62aacadf05ffe8387.jpg","text":"TemporaryFile(/tmp/multipartBody4111986070907385293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722342621,"filename":"image_15042025_14_40_13_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cadce55770421f221451494bc181b517.jpg","text":"TemporaryFile(/tmp/multipartBody4147118888907860803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722342621,"filename":"image_15042025_14_40_04_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0593438e582bb20d3778a36e87d2ce65.jpg","text":"TemporaryFile(/tmp/multipartBody8393746429489585692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722342621,"filename":"image_15042025_14_39_59_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349908494","file1":"1349908484","file0":"1349908463","file4":"1349908557","file5":"1349908579","file3":"1349908523"},"map_files_photo_id_array":[{"photo_id":"1349908579","filename":"file5"},{"photo_id":"1349908494","filename":"file2"},{"photo_id":"1349908557","filename":"file4"},{"photo_id":"1349908484","filename":"file1"},{"photo_id":"1349908463","filename":"file0"},{"photo_id":"1349908523","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349908523":["hashtag1","hashtag2"]},{"1349908579":["hashtag1","hashtag2"]},{"1349908494":["hashtag1","hashtag2"]},{"1349908557":["hashtag1","hashtag2"]},{"1349908484":["hashtag1","hashtag2"]},{"1349908463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349908523, 1349908579, 1349908494, 1349908557, 1349908484, 1349908463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1057288646698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:05:22.694026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_20_2838.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_22_2883.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_31_2715.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_37_2828.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_41_3800.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_43_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_20_2838.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_22_2883.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_31_2715.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_37_2828.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_41_3800.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_43_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908700","1349908692","1349908671","1349908665","1349908649","1349908613"],"photo_ids_order":["1349908613","1349908649","1349908665","1349908671","1349908692","1349908700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/747f55264a37f089b4788b8ccc6f81c3.jpg","text":"TemporaryFile(/tmp/multipartBody7085101612959312761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722383370,"filename":"image_15042025_14_40_43_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f6e706ebbc98ecb5dfe436c0c41a339.jpg","text":"TemporaryFile(/tmp/multipartBody6288342108945471789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722383370,"filename":"image_15042025_14_40_41_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a10a71ecce75e520475e9e349130ddfd.jpg","text":"TemporaryFile(/tmp/multipartBody8448993456861578002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722383370,"filename":"image_15042025_14_40_37_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c09fa566a5463e2fb4f94c1fcd2e51e4.jpg","text":"TemporaryFile(/tmp/multipartBody5461947732224175964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722383370,"filename":"image_15042025_14_40_31_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f4d16945e9cec2e1ba36043cc5dd8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8484790555557568212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722383370,"filename":"image_15042025_14_40_22_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c7eb453dc2f6e53d0fc5a84341ae808.jpg","text":"TemporaryFile(/tmp/multipartBody8364471688645146761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722383370,"filename":"image_15042025_14_40_20_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349908665","file1":"1349908649","file0":"1349908613","file4":"1349908692","file5":"1349908700","file3":"1349908671"},"map_files_photo_id_array":[{"photo_id":"1349908700","filename":"file5"},{"photo_id":"1349908665","filename":"file2"},{"photo_id":"1349908692","filename":"file4"},{"photo_id":"1349908649","filename":"file1"},{"photo_id":"1349908613","filename":"file0"},{"photo_id":"1349908671","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349908700":["hashtag1","hashtag2"]},{"1349908692":["hashtag1","hashtag2"]},{"1349908671":["hashtag1","hashtag2"]},{"1349908665":["hashtag1","hashtag2"]},{"1349908649":["hashtag1","hashtag2"]},{"1349908613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349908700, 1349908692, 1349908671, 1349908665, 1349908649, 1349908613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58132791519165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:06:02.767874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_46_2717.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_50_3641.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_52_2615.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_55_2765.jpg', '/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_58_2689.jpg', '/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_02_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_46_2717.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_50_3641.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_52_2615.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_55_2765.jpg
/home/pi/Desktop/images/15042025/14/40/image_15042025_14_40_58_2689.jpg
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_02_3772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908736","1349908720","1349908731","1349908740","1349908716","1349908725"],"photo_ids_order":["1349908716","1349908720","1349908725","1349908731","1349908736","1349908740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a36568dfbe34ba62e20177ff30e5edc0.jpg","text":"TemporaryFile(/tmp/multipartBody7304584988447813354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722423532,"filename":"image_15042025_14_40_58_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c770384e8b3814a2031aa9465ee51f8.jpg","text":"TemporaryFile(/tmp/multipartBody1337222379186291665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722423532,"filename":"image_15042025_14_40_50_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc11e19e4f7c95e2f0371ca94bd0ddb2.jpg","text":"TemporaryFile(/tmp/multipartBody4402977623719772548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722423532,"filename":"image_15042025_14_40_55_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4af27920ac46732e7ce9f0b3fdfbae4c.jpg","text":"TemporaryFile(/tmp/multipartBody4054492940026161859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722423532,"filename":"image_15042025_14_41_02_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/167c314b86c8c7224029b461b3cd68c7.jpg","text":"TemporaryFile(/tmp/multipartBody4034050358935727252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722423532,"filename":"image_15042025_14_40_46_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f20ffa1eeb4e500fa798904bf1a7b65.jpg","text":"TemporaryFile(/tmp/multipartBody5234321888372172729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722423532,"filename":"image_15042025_14_40_52_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349908725","file1":"1349908720","file0":"1349908716","file4":"1349908736","file5":"1349908740","file3":"1349908731"},"map_files_photo_id_array":[{"photo_id":"1349908740","filename":"file5"},{"photo_id":"1349908725","filename":"file2"},{"photo_id":"1349908736","filename":"file4"},{"photo_id":"1349908720","filename":"file1"},{"photo_id":"1349908716","filename":"file0"},{"photo_id":"1349908731","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349908736":["hashtag1","hashtag2"]},{"1349908720":["hashtag1","hashtag2"]},{"1349908731":["hashtag1","hashtag2"]},{"1349908740":["hashtag1","hashtag2"]},{"1349908716":["hashtag1","hashtag2"]},{"1349908725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349908736, 1349908720, 1349908731, 1349908740, 1349908716, 1349908725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8311493396759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:06:42.116743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_04_2629.jpg', '/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_07_2678.jpg', '/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_13_2598.jpg', '/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_25_2694.jpg', '/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_28_3619.jpg', '/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_31_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_04_2629.jpg
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_07_2678.jpg
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_13_2598.jpg
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_25_2694.jpg
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_28_3619.jpg
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_31_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908780","1349908768","1349908758","1349908773","1349908763","1349908754"],"photo_ids_order":["1349908754","1349908758","1349908763","1349908768","1349908773","1349908780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/813ed9a3b2493ac88012ac443b538330.jpg","text":"TemporaryFile(/tmp/multipartBody8875356372021545880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722462801,"filename":"image_15042025_14_41_31_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96448d7aaee4c24b9c0b77e2cd297b29.jpg","text":"TemporaryFile(/tmp/multipartBody2604111480478237453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722462801,"filename":"image_15042025_14_41_25_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3acc117ad57905c590ed4fa4736ff1b1.jpg","text":"TemporaryFile(/tmp/multipartBody155839686641046435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722462801,"filename":"image_15042025_14_41_07_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/584df07aba4b745d9c7c87c905fde9e8.jpg","text":"TemporaryFile(/tmp/multipartBody6797919789849410879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722462801,"filename":"image_15042025_14_41_28_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d2555ec442795a6a0b9949efca16a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7941724187606343359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722462801,"filename":"image_15042025_14_41_13_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c03d8eee2d890f243c671217cbe7da5.jpg","text":"TemporaryFile(/tmp/multipartBody6210976844009118835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722462801,"filename":"image_15042025_14_41_04_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349908763","file1":"1349908758","file0":"1349908754","file4":"1349908773","file5":"1349908780","file3":"1349908768"},"map_files_photo_id_array":[{"photo_id":"1349908780","filename":"file5"},{"photo_id":"1349908763","filename":"file2"},{"photo_id":"1349908773","filename":"file4"},{"photo_id":"1349908758","filename":"file1"},{"photo_id":"1349908754","filename":"file0"},{"photo_id":"1349908768","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349908780":["hashtag1","hashtag2"]},{"1349908768":["hashtag1","hashtag2"]},{"1349908758":["hashtag1","hashtag2"]},{"1349908773":["hashtag1","hashtag2"]},{"1349908763":["hashtag1","hashtag2"]},{"1349908754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349908780, 1349908768, 1349908758, 1349908773, 1349908763, 1349908754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25862789154053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:07:22.566665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_37_3649.jpg', '/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_40_2763.jpg', '/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_43_2788.jpg', '/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_13_2592.jpg', '/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_17_3625.jpg', '/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_44_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_37_3649.jpg
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_40_2763.jpg
/home/pi/Desktop/images/15042025/14/41/image_15042025_14_41_43_2788.jpg
/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_13_2592.jpg
/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_17_3625.jpg
/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_44_3603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349908834","1349908825","1349908845","1349908812","1349908838","1349908805"],"photo_ids_order":["1349908805","1349908812","1349908825","1349908834","1349908838","1349908845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f812f319217479319ed8eb614c03975a.jpg","text":"TemporaryFile(/tmp/multipartBody352721466044808717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722503243,"filename":"image_15042025_14_42_13_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/428988f34c1f28527c6c42667688ca14.jpg","text":"TemporaryFile(/tmp/multipartBody4485997138257611153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722503243,"filename":"image_15042025_14_41_43_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebd90b1509317318f7685cc384b353db.jpg","text":"TemporaryFile(/tmp/multipartBody4653556301415017964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722503243,"filename":"image_15042025_14_42_44_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b83675a7a84af05cf2e82ec8cc6f2f4.jpg","text":"TemporaryFile(/tmp/multipartBody3880965783741539538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722503243,"filename":"image_15042025_14_41_40_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65d79ca7b5fa46530dd2a7fd15ea8dc1.jpg","text":"TemporaryFile(/tmp/multipartBody3792150774702172018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722503243,"filename":"image_15042025_14_42_17_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7550031b862a34c6b81a0245ba260623.jpg","text":"TemporaryFile(/tmp/multipartBody7187903698346290291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722503243,"filename":"image_15042025_14_41_37_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349908825","file1":"1349908812","file0":"1349908805","file4":"1349908838","file5":"1349908845","file3":"1349908834"},"map_files_photo_id_array":[{"photo_id":"1349908845","filename":"file5"},{"photo_id":"1349908825","filename":"file2"},{"photo_id":"1349908838","filename":"file4"},{"photo_id":"1349908812","filename":"file1"},{"photo_id":"1349908805","filename":"file0"},{"photo_id":"1349908834","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349908834":["hashtag1","hashtag2"]},{"1349908825":["hashtag1","hashtag2"]},{"1349908845":["hashtag1","hashtag2"]},{"1349908812":["hashtag1","hashtag2"]},{"1349908838":["hashtag1","hashtag2"]},{"1349908805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349908834, 1349908825, 1349908845, 1349908812, 1349908838, 1349908805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91671824455261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:08:03.020949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_53_3586.jpg', '/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_04_2653.jpg', '/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_07_2638.jpg', '/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_13_3620.jpg', '/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_16_2842.jpg', '/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_25_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/42/image_15042025_14_42_53_3586.jpg
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_04_2653.jpg
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_07_2638.jpg
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_13_3620.jpg
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_16_2842.jpg
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_25_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349909029","1349908888","1349909036","1349908905","1349908982","1349908871"],"photo_ids_order":["1349908871","1349908888","1349908905","1349908982","1349909029","1349909036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd3bf6bd7f17a4239219f510ee3561f6.jpg","text":"TemporaryFile(/tmp/multipartBody8019806799773546284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722543796,"filename":"image_15042025_14_43_16_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0935ffb519dc24aade9b3c4098edf4c4.jpg","text":"TemporaryFile(/tmp/multipartBody7331192089331020859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722543796,"filename":"image_15042025_14_43_04_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/890d92f66cae0d5c5640ffbb84620da6.jpg","text":"TemporaryFile(/tmp/multipartBody7297185404157099519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722543796,"filename":"image_15042025_14_43_25_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f409aa5e3677a4b14695fd20122a4517.jpg","text":"TemporaryFile(/tmp/multipartBody4836410498096885344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722543796,"filename":"image_15042025_14_43_07_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93cb866c68f3592e2d92d9f4a7d815ba.jpg","text":"TemporaryFile(/tmp/multipartBody8047300389533114494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722543796,"filename":"image_15042025_14_43_13_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/618efbbf4c46df3723e6396937902ff5.jpg","text":"TemporaryFile(/tmp/multipartBody724045661315056860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722543796,"filename":"image_15042025_14_42_53_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349908905","file1":"1349908888","file0":"1349908871","file4":"1349909029","file5":"1349909036","file3":"1349908982"},"map_files_photo_id_array":[{"photo_id":"1349909036","filename":"file5"},{"photo_id":"1349908905","filename":"file2"},{"photo_id":"1349909029","filename":"file4"},{"photo_id":"1349908888","filename":"file1"},{"photo_id":"1349908871","filename":"file0"},{"photo_id":"1349908982","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349909029":["hashtag1","hashtag2"]},{"1349908888":["hashtag1","hashtag2"]},{"1349909036":["hashtag1","hashtag2"]},{"1349908905":["hashtag1","hashtag2"]},{"1349908982":["hashtag1","hashtag2"]},{"1349908871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349909029, 1349908888, 1349909036, 1349908905, 1349908982, 1349908871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3768846988678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:09:03.607512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_28_2544.jpg', '/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_34_3644.jpg', '/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_46_2791.jpg', '/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_53_3655.jpg', '/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_55_2613.jpg', '/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_16_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_28_2544.jpg
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_34_3644.jpg
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_46_2791.jpg
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_53_3655.jpg
/home/pi/Desktop/images/15042025/14/43/image_15042025_14_43_55_2613.jpg
/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_16_2592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349909337","1349909325","1349909310","1349909288","1349909333","1349909321"],"photo_ids_order":["1349909288","1349909310","1349909321","1349909325","1349909333","1349909337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee3e4507b38a856f436bf7bae7823b53.jpg","text":"TemporaryFile(/tmp/multipartBody4799735912375907565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722604500,"filename":"image_15042025_14_44_16_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5665995763d9f07f24a351480a569e1.jpg","text":"TemporaryFile(/tmp/multipartBody2231552499697807107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722604500,"filename":"image_15042025_14_43_53_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c6fa145ba1da0d10356bbc49421d07d.jpg","text":"TemporaryFile(/tmp/multipartBody227518397058345648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722604500,"filename":"image_15042025_14_43_34_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3da402457814ece6fa59b1e0eb213fe8.jpg","text":"TemporaryFile(/tmp/multipartBody4322406491469107296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722604500,"filename":"image_15042025_14_43_28_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ec46a6f21d712e0cd38121cd4ed583a.jpg","text":"TemporaryFile(/tmp/multipartBody8875194828717275126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722604500,"filename":"image_15042025_14_43_55_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6e376df9a750fd731790fb81dbe2067.jpg","text":"TemporaryFile(/tmp/multipartBody6763451036116522260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722604500,"filename":"image_15042025_14_43_46_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349909321","file1":"1349909310","file0":"1349909288","file4":"1349909333","file5":"1349909337","file3":"1349909325"},"map_files_photo_id_array":[{"photo_id":"1349909337","filename":"file5"},{"photo_id":"1349909321","filename":"file2"},{"photo_id":"1349909333","filename":"file4"},{"photo_id":"1349909310","filename":"file1"},{"photo_id":"1349909288","filename":"file0"},{"photo_id":"1349909325","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349909337":["hashtag1","hashtag2"]},{"1349909325":["hashtag1","hashtag2"]},{"1349909310":["hashtag1","hashtag2"]},{"1349909288":["hashtag1","hashtag2"]},{"1349909333":["hashtag1","hashtag2"]},{"1349909321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349909337, 1349909325, 1349909310, 1349909288, 1349909333, 1349909321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18570613861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:09:42.501872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_40_3680.jpg', '/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_46_2791.jpg', '/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_49_2702.jpg', '/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_55_2785.jpg', '/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_01_2891.jpg', '/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_04_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_40_3680.jpg
/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_46_2791.jpg
/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_49_2702.jpg
/home/pi/Desktop/images/15042025/14/44/image_15042025_14_44_55_2785.jpg
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_01_2891.jpg
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_04_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349909383","1349909355","1349909424","1349909393","1349909375","1349909408"],"photo_ids_order":["1349909355","1349909375","1349909383","1349909393","1349909408","1349909424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05415573fa0c81bce76b0c04567cbe7c.jpg","text":"TemporaryFile(/tmp/multipartBody7758989276207537891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722643171,"filename":"image_15042025_14_44_49_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47a3019142cc40acff550c0e83c8f5d0.jpg","text":"TemporaryFile(/tmp/multipartBody6510966334012866298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722643171,"filename":"image_15042025_14_44_40_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1dde9eabcb5c0b218e2f0b4467165787.jpg","text":"TemporaryFile(/tmp/multipartBody537612721606710501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722643171,"filename":"image_15042025_14_45_04_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92c3b518354616b9441c5e249d993d89.jpg","text":"TemporaryFile(/tmp/multipartBody6880797049955902447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722643171,"filename":"image_15042025_14_44_55_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/faa2f81e995137af1330b1ae7c440f58.jpg","text":"TemporaryFile(/tmp/multipartBody1583364474174520059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722643171,"filename":"image_15042025_14_44_46_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/341dcb8c3209405cd9d78cb33e991765.jpg","text":"TemporaryFile(/tmp/multipartBody1333983803349323515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722643171,"filename":"image_15042025_14_45_01_2891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349909383","file1":"1349909375","file0":"1349909355","file4":"1349909408","file5":"1349909424","file3":"1349909393"},"map_files_photo_id_array":[{"photo_id":"1349909424","filename":"file5"},{"photo_id":"1349909383","filename":"file2"},{"photo_id":"1349909408","filename":"file4"},{"photo_id":"1349909375","filename":"file1"},{"photo_id":"1349909355","filename":"file0"},{"photo_id":"1349909393","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349909383":["hashtag1","hashtag2"]},{"1349909355":["hashtag1","hashtag2"]},{"1349909424":["hashtag1","hashtag2"]},{"1349909393":["hashtag1","hashtag2"]},{"1349909375":["hashtag1","hashtag2"]},{"1349909408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349909383, 1349909355, 1349909424, 1349909393, 1349909375, 1349909408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20169401168823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:10:22.578117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_07_2932.jpg', '/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_16_3541.jpg', '/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_40_3644.jpg', '/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_43_2661.jpg', '/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_46_2662.jpg', '/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_52_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_07_2932.jpg
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_16_3541.jpg
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_40_3644.jpg
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_43_2661.jpg
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_46_2662.jpg
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_52_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349909581","1349909458","1349909545","1349909509","1349909462","1349909471"],"photo_ids_order":["1349909458","1349909462","1349909471","1349909509","1349909545","1349909581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09d65d426aaea3b740e48f1cc1f1d497.jpg","text":"TemporaryFile(/tmp/multipartBody6949613656968375110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722683272,"filename":"image_15042025_14_45_52_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3294f536d789ccb465ab0c207609af68.jpg","text":"TemporaryFile(/tmp/multipartBody7190159672517432651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722683272,"filename":"image_15042025_14_45_07_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14856f93e4d2c7b270bec2e986fd4ac8.jpg","text":"TemporaryFile(/tmp/multipartBody3579607222541668218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722683272,"filename":"image_15042025_14_45_46_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5020d49db312f5cd0f3a6ff0a6d0ecbd.jpg","text":"TemporaryFile(/tmp/multipartBody134744323941762106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722683272,"filename":"image_15042025_14_45_43_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0eb5b879380b42219d60251922605bf.jpg","text":"TemporaryFile(/tmp/multipartBody2014100258988849389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722683272,"filename":"image_15042025_14_45_16_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5dc2dccc7bca73707195f681983b8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1371111119778987280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722683272,"filename":"image_15042025_14_45_40_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349909471","file1":"1349909462","file0":"1349909458","file4":"1349909545","file5":"1349909581","file3":"1349909509"},"map_files_photo_id_array":[{"photo_id":"1349909581","filename":"file5"},{"photo_id":"1349909471","filename":"file2"},{"photo_id":"1349909545","filename":"file4"},{"photo_id":"1349909462","filename":"file1"},{"photo_id":"1349909458","filename":"file0"},{"photo_id":"1349909509","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349909581":["hashtag1","hashtag2"]},{"1349909458":["hashtag1","hashtag2"]},{"1349909545":["hashtag1","hashtag2"]},{"1349909509":["hashtag1","hashtag2"]},{"1349909462":["hashtag1","hashtag2"]},{"1349909471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349909581, 1349909458, 1349909545, 1349909509, 1349909462, 1349909471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93107795715332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:11:02.808331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_55_2762.jpg', '/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_58_3607.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_01_2613.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_03_2541.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_13_3593.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_16_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_55_2762.jpg
/home/pi/Desktop/images/15042025/14/45/image_15042025_14_45_58_3607.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_01_2613.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_03_2541.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_13_3593.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_16_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349909944","1349909839","1349909897","1349909690","1349909999","1349910018"],"photo_ids_order":["1349909690","1349909839","1349909897","1349909944","1349909999","1349910018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b262a587b5c0e96cb06ebbbbe4a06759.jpg","text":"TemporaryFile(/tmp/multipartBody3620938094981585115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722723618,"filename":"image_15042025_14_46_03_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5537af52d439d364fcea377c57a8573.jpg","text":"TemporaryFile(/tmp/multipartBody2205820274145595395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722723618,"filename":"image_15042025_14_45_58_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd9237a4fb1ffb1a502c50b0cef16455.jpg","text":"TemporaryFile(/tmp/multipartBody7369159554241590886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722723618,"filename":"image_15042025_14_46_01_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e69803c215543ca03356396243cf118d.jpg","text":"TemporaryFile(/tmp/multipartBody7781400779863671158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722723618,"filename":"image_15042025_14_45_55_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d9feaa227db7308278971797f8fa366.jpg","text":"TemporaryFile(/tmp/multipartBody6241894274471054676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722723618,"filename":"image_15042025_14_46_13_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7f817319e108194629e93944981a123.jpg","text":"TemporaryFile(/tmp/multipartBody1809968023062091383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722723618,"filename":"image_15042025_14_46_16_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349909897","file1":"1349909839","file0":"1349909690","file4":"1349909999","file5":"1349910018","file3":"1349909944"},"map_files_photo_id_array":[{"photo_id":"1349910018","filename":"file5"},{"photo_id":"1349909897","filename":"file2"},{"photo_id":"1349909999","filename":"file4"},{"photo_id":"1349909839","filename":"file1"},{"photo_id":"1349909690","filename":"file0"},{"photo_id":"1349909944","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349909944":["hashtag1","hashtag2"]},{"1349909839":["hashtag1","hashtag2"]},{"1349909897":["hashtag1","hashtag2"]},{"1349909690":["hashtag1","hashtag2"]},{"1349909999":["hashtag1","hashtag2"]},{"1349910018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349909944, 1349909839, 1349909897, 1349909690, 1349909999, 1349910018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.24219250679016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:12:03.289357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_19_2634.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_22_3634.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_25_2728.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_28_2671.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_31_3578.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_34_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_19_2634.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_22_3634.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_25_2728.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_28_2671.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_31_3578.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_34_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349910038","1349910270","1349910186","1349910045","1349910033","1349910098"],"photo_ids_order":["1349910033","1349910038","1349910045","1349910098","1349910186","1349910270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/134a739ff29c6bc7e526f467800fa11f.jpg","text":"TemporaryFile(/tmp/multipartBody258239956311891616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722784083,"filename":"image_15042025_14_46_22_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a78b43027e7d703a564430637dfc324.jpg","text":"TemporaryFile(/tmp/multipartBody8874090710457615220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722784083,"filename":"image_15042025_14_46_34_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/483e6de8fe5e3d401271f295b2d31eea.jpg","text":"TemporaryFile(/tmp/multipartBody3085795874215861590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722784083,"filename":"image_15042025_14_46_31_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09c7be178650e251dcf9da5f2d9265a4.jpg","text":"TemporaryFile(/tmp/multipartBody6326752778620793061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722784083,"filename":"image_15042025_14_46_25_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d553b1bdcb7a39363a51397f3bda4973.jpg","text":"TemporaryFile(/tmp/multipartBody7946119665221428131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722784083,"filename":"image_15042025_14_46_19_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c1ec222670a5686eb633e6a1a5c66f5.jpg","text":"TemporaryFile(/tmp/multipartBody5161103240021076381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722784083,"filename":"image_15042025_14_46_28_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349910045","file1":"1349910038","file0":"1349910033","file4":"1349910186","file5":"1349910270","file3":"1349910098"},"map_files_photo_id_array":[{"photo_id":"1349910270","filename":"file5"},{"photo_id":"1349910045","filename":"file2"},{"photo_id":"1349910186","filename":"file4"},{"photo_id":"1349910038","filename":"file1"},{"photo_id":"1349910033","filename":"file0"},{"photo_id":"1349910098","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349910038":["hashtag1","hashtag2"]},{"1349910270":["hashtag1","hashtag2"]},{"1349910186":["hashtag1","hashtag2"]},{"1349910045":["hashtag1","hashtag2"]},{"1349910033":["hashtag1","hashtag2"]},{"1349910098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349910038, 1349910270, 1349910186, 1349910045, 1349910033, 1349910098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16634273529053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:12:42.719814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_36_2580.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_39_2851.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_43_3560.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_46_2752.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_48_2747.jpg', '/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_52_3743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_36_2580.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_39_2851.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_43_3560.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_46_2752.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_48_2747.jpg
/home/pi/Desktop/images/15042025/14/46/image_15042025_14_46_52_3743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349910475","1349910454","1349910418","1349910526","1349910511","1349910491"],"photo_ids_order":["1349910418","1349910454","1349910475","1349910491","1349910511","1349910526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4469ac404767a60b48dcacf311c36bd0.jpg","text":"TemporaryFile(/tmp/multipartBody7483238270117804174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722823402,"filename":"image_15042025_14_46_43_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/141cefca49c2aa10585e339b92fb03af.jpg","text":"TemporaryFile(/tmp/multipartBody7641967841408788600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722823402,"filename":"image_15042025_14_46_39_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/320e3cfae85fe1d2a9429ccc3ffbb6ac.jpg","text":"TemporaryFile(/tmp/multipartBody2665336735537103683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722823402,"filename":"image_15042025_14_46_36_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4c72ba918dfade13593d17dfca1dc47.jpg","text":"TemporaryFile(/tmp/multipartBody3007254137810993242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722823402,"filename":"image_15042025_14_46_52_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8860d4fdb76ce282e463e55b573919e.jpg","text":"TemporaryFile(/tmp/multipartBody6533762789624101296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722823402,"filename":"image_15042025_14_46_48_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cab73a71a1943e3b7be28c3177b2f6e4.jpg","text":"TemporaryFile(/tmp/multipartBody415602486085416121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722823402,"filename":"image_15042025_14_46_46_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349910475","file1":"1349910454","file0":"1349910418","file4":"1349910511","file5":"1349910526","file3":"1349910491"},"map_files_photo_id_array":[{"photo_id":"1349910526","filename":"file5"},{"photo_id":"1349910475","filename":"file2"},{"photo_id":"1349910511","filename":"file4"},{"photo_id":"1349910454","filename":"file1"},{"photo_id":"1349910418","filename":"file0"},{"photo_id":"1349910491","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349910475":["hashtag1","hashtag2"]},{"1349910454":["hashtag1","hashtag2"]},{"1349910418":["hashtag1","hashtag2"]},{"1349910526":["hashtag1","hashtag2"]},{"1349910511":["hashtag1","hashtag2"]},{"1349910491":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349910475, 1349910454, 1349910418, 1349910526, 1349910511, 1349910491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55947804450989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:13:21.978456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_04_2763.jpg', '/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_06_2695.jpg', '/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_10_3581.jpg', '/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_29_1829.jpg', '/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_19_1626.jpg', '/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_32_12758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_04_2763.jpg
/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_06_2695.jpg
/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_10_3581.jpg
/home/pi/Desktop/images/15042025/14/47/image_15042025_14_47_29_1829.jpg
/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_19_1626.jpg
/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_32_12758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349910559","1349910556","1349910660","1349910633","1349910603","1349910572"],"photo_ids_order":["1349910556","1349910559","1349910572","1349910603","1349910633","1349910660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa199dd476fe0bcf17244ace4b1abc1b.jpg","text":"TemporaryFile(/tmp/multipartBody8213325327800938299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722862663,"filename":"image_15042025_14_47_06_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79ea432c7344b33dc273044108910fba.jpg","text":"TemporaryFile(/tmp/multipartBody8669390526863337925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722862663,"filename":"image_15042025_14_47_04_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8671bb8161102f676acaf68cfa659b5.jpg","text":"TemporaryFile(/tmp/multipartBody8511487870388709726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722862663,"filename":"image_15042025_14_48_32_12758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/384b8ea15a1da631b5705fe301bf85ae.jpg","text":"TemporaryFile(/tmp/multipartBody4226569247753382104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722862663,"filename":"image_15042025_14_48_19_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d5bc3eabf664de43cdaad04e269ded8.jpg","text":"TemporaryFile(/tmp/multipartBody5904842035471874006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722862663,"filename":"image_15042025_14_47_29_1829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df998689a4635006604949cf0fe37730.jpg","text":"TemporaryFile(/tmp/multipartBody5945935008403906573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722862663,"filename":"image_15042025_14_47_10_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349910572","file1":"1349910559","file0":"1349910556","file4":"1349910633","file5":"1349910660","file3":"1349910603"},"map_files_photo_id_array":[{"photo_id":"1349910660","filename":"file5"},{"photo_id":"1349910572","filename":"file2"},{"photo_id":"1349910633","filename":"file4"},{"photo_id":"1349910559","filename":"file1"},{"photo_id":"1349910556","filename":"file0"},{"photo_id":"1349910603","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349910559":["hashtag1","hashtag2"]},{"1349910556":["hashtag1","hashtag2"]},{"1349910660":["hashtag1","hashtag2"]},{"1349910633":["hashtag1","hashtag2"]},{"1349910603":["hashtag1","hashtag2"]},{"1349910572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349910559, 1349910556, 1349910660, 1349910633, 1349910603, 1349910572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62587070465088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:14:03.206964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_37_1561.jpg', '/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_46_1570.jpg', '/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_51_1641.jpg', '/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_52_1700.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_10_13211.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_12_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_37_1561.jpg
/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_46_1570.jpg
/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_51_1641.jpg
/home/pi/Desktop/images/15042025/14/48/image_15042025_14_48_52_1700.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_10_13211.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_12_1596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349910897","1349910876","1349910822","1349910893","1349910846","1349910869"],"photo_ids_order":["1349910822","1349910846","1349910869","1349910876","1349910893","1349910897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b0f5062886e9f161679670968c75fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3496641016485072155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722904016,"filename":"image_15042025_14_49_12_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bd96ee14dfa5aa5d2d590ac2fbd20b5.jpg","text":"TemporaryFile(/tmp/multipartBody3165268968859141242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722904016,"filename":"image_15042025_14_48_52_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ad9083a547777aff975aea95a5404a6.jpg","text":"TemporaryFile(/tmp/multipartBody2617475775386257700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722904016,"filename":"image_15042025_14_48_37_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11eefa2e2f0a119f39adc57169f13a92.jpg","text":"TemporaryFile(/tmp/multipartBody7082645157118656619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722904016,"filename":"image_15042025_14_49_10_13211.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c67ee411151e8c6fe30ae28f5dc67b1.jpg","text":"TemporaryFile(/tmp/multipartBody8945401942971517075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722904016,"filename":"image_15042025_14_48_46_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be9b0dad114c0f44bd189d296238e281.jpg","text":"TemporaryFile(/tmp/multipartBody3026463396484860543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722904016,"filename":"image_15042025_14_48_51_1641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349910869","file1":"1349910846","file0":"1349910822","file4":"1349910893","file5":"1349910897","file3":"1349910876"},"map_files_photo_id_array":[{"photo_id":"1349910897","filename":"file5"},{"photo_id":"1349910869","filename":"file2"},{"photo_id":"1349910893","filename":"file4"},{"photo_id":"1349910846","filename":"file1"},{"photo_id":"1349910822","filename":"file0"},{"photo_id":"1349910876","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349910897":["hashtag1","hashtag2"]},{"1349910876":["hashtag1","hashtag2"]},{"1349910822":["hashtag1","hashtag2"]},{"1349910893":["hashtag1","hashtag2"]},{"1349910846":["hashtag1","hashtag2"]},{"1349910869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349910897, 1349910876, 1349910822, 1349910893, 1349910846, 1349910869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.589699506759644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:14:42.344625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_20_8044.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_29_1706.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_30_1721.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_32_1586.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_34_1671.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_35_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_20_8044.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_29_1706.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_30_1721.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_32_1586.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_34_1671.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_35_1743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911077","1349911047","1349911014","1349911107","1349911025","1349910959"],"photo_ids_order":["1349910959","1349911014","1349911025","1349911047","1349911077","1349911107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b02b4c7ff22038589bcde610311ff52d.jpg","text":"TemporaryFile(/tmp/multipartBody5348703531985374480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722943055,"filename":"image_15042025_14_49_34_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1239a01b813ef88b7bd8691c25ec8dc1.jpg","text":"TemporaryFile(/tmp/multipartBody6228954758293432415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722943055,"filename":"image_15042025_14_49_32_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3fe5440e34a84c45924282997f06ecab.jpg","text":"TemporaryFile(/tmp/multipartBody3849889542326054227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722943055,"filename":"image_15042025_14_49_29_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5b1421ded68552fb10e02229853498a.jpg","text":"TemporaryFile(/tmp/multipartBody8142578098243104168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722943055,"filename":"image_15042025_14_49_35_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d96e7f649d528f62eb044c9e6308693.jpg","text":"TemporaryFile(/tmp/multipartBody4030389603007559983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722943055,"filename":"image_15042025_14_49_30_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cca74b8d5c950f5e0cc7e27f791155db.jpg","text":"TemporaryFile(/tmp/multipartBody3797009908458810284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722943055,"filename":"image_15042025_14_49_20_8044.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911025","file1":"1349911014","file0":"1349910959","file4":"1349911077","file5":"1349911107","file3":"1349911047"},"map_files_photo_id_array":[{"photo_id":"1349911107","filename":"file5"},{"photo_id":"1349911025","filename":"file2"},{"photo_id":"1349911077","filename":"file4"},{"photo_id":"1349911014","filename":"file1"},{"photo_id":"1349910959","filename":"file0"},{"photo_id":"1349911047","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349911077":["hashtag1","hashtag2"]},{"1349911047":["hashtag1","hashtag2"]},{"1349911014":["hashtag1","hashtag2"]},{"1349911107":["hashtag1","hashtag2"]},{"1349911025":["hashtag1","hashtag2"]},{"1349910959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349911077, 1349911047, 1349911014, 1349911107, 1349911025, 1349910959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40638566017151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:15:21.974916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_37_1762.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_40_2545.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_42_2661.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_45_2862.jpg', '/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_49_3743.jpg', '/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_01_11865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_37_1762.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_40_2545.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_42_2661.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_45_2862.jpg
/home/pi/Desktop/images/15042025/14/49/image_15042025_14_49_49_3743.jpg
/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_01_11865.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911174","1349911177","1349911182","1349911187","1349911172","1349911165"],"photo_ids_order":["1349911165","1349911172","1349911174","1349911177","1349911182","1349911187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1458f66f6a4c1d124b8d026faf503d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4056313669704909839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722982662,"filename":"image_15042025_14_49_42_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d181235b57ded812e3a406495be6d715.jpg","text":"TemporaryFile(/tmp/multipartBody7744859124993158436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722982662,"filename":"image_15042025_14_49_45_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80b3e75be05c7f1324c989236acf8f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3168891765487667983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722982662,"filename":"image_15042025_14_49_49_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92f77a7df819a5ac1391817bd9e02fad.jpg","text":"TemporaryFile(/tmp/multipartBody6818868219246147009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722982662,"filename":"image_15042025_14_50_01_11865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ccc560cbbe27d38833ebc3b3f8a86e2.jpg","text":"TemporaryFile(/tmp/multipartBody9125084596266898295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722982662,"filename":"image_15042025_14_49_40_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99804914ba35d9f979e3b48c19d05a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6751765727350858930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744722982662,"filename":"image_15042025_14_49_37_1762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911174","file1":"1349911172","file0":"1349911165","file4":"1349911182","file5":"1349911187","file3":"1349911177"},"map_files_photo_id_array":[{"photo_id":"1349911187","filename":"file5"},{"photo_id":"1349911174","filename":"file2"},{"photo_id":"1349911182","filename":"file4"},{"photo_id":"1349911172","filename":"file1"},{"photo_id":"1349911165","filename":"file0"},{"photo_id":"1349911177","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349911174":["hashtag1","hashtag2"]},{"1349911177":["hashtag1","hashtag2"]},{"1349911182":["hashtag1","hashtag2"]},{"1349911187":["hashtag1","hashtag2"]},{"1349911172":["hashtag1","hashtag2"]},{"1349911165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349911174, 1349911177, 1349911182, 1349911187, 1349911172, 1349911165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49227428436279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:16:02.877262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_04_1601.jpg', '/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_06_1580.jpg', '/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_07_1747.jpg', '/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_09_1640.jpg', '/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_11_1671.jpg', '/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_19_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_04_1601.jpg
/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_06_1580.jpg
/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_07_1747.jpg
/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_09_1640.jpg
/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_11_1671.jpg
/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_19_3762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911300","1349911293","1349911266","1349911289","1349911283","1349911297"],"photo_ids_order":["1349911266","1349911283","1349911289","1349911293","1349911297","1349911300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0eb15ad9751648114a18ff69bf50cdda.jpg","text":"TemporaryFile(/tmp/multipartBody7564097511956349295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723023627,"filename":"image_15042025_14_50_19_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25a87dd9a4a9eea051cf93acd63e881f.jpg","text":"TemporaryFile(/tmp/multipartBody7500039934417751250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723023627,"filename":"image_15042025_14_50_09_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e2adae6bc10e40306520c62a742a7b6.jpg","text":"TemporaryFile(/tmp/multipartBody6967865632630709912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723023627,"filename":"image_15042025_14_50_04_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ab4c5e5de518dce76a0e6b199f4738f.jpg","text":"TemporaryFile(/tmp/multipartBody8324545093532519074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723023627,"filename":"image_15042025_14_50_07_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d00ab443ea543aa6d47d13ab0593cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6558790399811435850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723023627,"filename":"image_15042025_14_50_06_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90221dc6023e91032701cb15f9955f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5432121473094757292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723023627,"filename":"image_15042025_14_50_11_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911289","file1":"1349911283","file0":"1349911266","file4":"1349911297","file5":"1349911300","file3":"1349911293"},"map_files_photo_id_array":[{"photo_id":"1349911300","filename":"file5"},{"photo_id":"1349911289","filename":"file2"},{"photo_id":"1349911297","filename":"file4"},{"photo_id":"1349911283","filename":"file1"},{"photo_id":"1349911266","filename":"file0"},{"photo_id":"1349911293","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349911300":["hashtag1","hashtag2"]},{"1349911293":["hashtag1","hashtag2"]},{"1349911266":["hashtag1","hashtag2"]},{"1349911289":["hashtag1","hashtag2"]},{"1349911283":["hashtag1","hashtag2"]},{"1349911297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349911300, 1349911293, 1349911266, 1349911289, 1349911283, 1349911297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33456802368164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:16:42.381787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_54_35464.jpg', '/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_07_7716.jpg', '/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_09_1673.jpg', '/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_10_1640.jpg', '/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_52_1681.jpg', '/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_04_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/50/image_15042025_14_50_54_35464.jpg
/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_07_7716.jpg
/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_09_1673.jpg
/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_10_1640.jpg
/home/pi/Desktop/images/15042025/14/51/image_15042025_14_51_52_1681.jpg
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_04_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911353","1349911364","1349911316","1349911346","1349911328","1349911357"],"photo_ids_order":["1349911316","1349911328","1349911346","1349911353","1349911357","1349911364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3451f306ad7b5c962bb3f14da29b56b3.jpg","text":"TemporaryFile(/tmp/multipartBody3977790044514147490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723063065,"filename":"image_15042025_14_51_10_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bb2eb9f556dfe0ad518c9cf658df409.jpg","text":"TemporaryFile(/tmp/multipartBody5742042558273201540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723063065,"filename":"image_15042025_14_53_04_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d144b02f31f72020ec5813af1e45431.jpg","text":"TemporaryFile(/tmp/multipartBody1116487813136482538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723063065,"filename":"image_15042025_14_50_54_35464.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6ad23384dd3c86941db78537c61fe66.jpg","text":"TemporaryFile(/tmp/multipartBody2217164199295010300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723063065,"filename":"image_15042025_14_51_09_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4615f855f69364e76c659912e2628308.jpg","text":"TemporaryFile(/tmp/multipartBody1434012333331311066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723063065,"filename":"image_15042025_14_51_07_7716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aed48e61b19e103e253f31751edbfa74.jpg","text":"TemporaryFile(/tmp/multipartBody2433425263403370090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723063065,"filename":"image_15042025_14_51_52_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911346","file1":"1349911328","file0":"1349911316","file4":"1349911357","file5":"1349911364","file3":"1349911353"},"map_files_photo_id_array":[{"photo_id":"1349911364","filename":"file5"},{"photo_id":"1349911346","filename":"file2"},{"photo_id":"1349911357","filename":"file4"},{"photo_id":"1349911328","filename":"file1"},{"photo_id":"1349911316","filename":"file0"},{"photo_id":"1349911353","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349911353":["hashtag1","hashtag2"]},{"1349911364":["hashtag1","hashtag2"]},{"1349911316":["hashtag1","hashtag2"]},{"1349911346":["hashtag1","hashtag2"]},{"1349911328":["hashtag1","hashtag2"]},{"1349911357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349911353, 1349911364, 1349911316, 1349911346, 1349911328, 1349911357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20448136329651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:17:22.634296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_06_2637.jpg', '/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_09_2547.jpg', '/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_12_3651.jpg', '/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_15_2701.jpg', '/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_18_2707.jpg', '/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_22_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_06_2637.jpg
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_09_2547.jpg
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_12_3651.jpg
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_15_2701.jpg
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_18_2707.jpg
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_22_3699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911537","1349911519","1349911530","1349911385","1349911487","1349911498"],"photo_ids_order":["1349911385","1349911487","1349911498","1349911519","1349911530","1349911537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cab4e364a052973bc626c36097c6d451.jpg","text":"TemporaryFile(/tmp/multipartBody5771692114268168613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723103298,"filename":"image_15042025_14_53_22_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9f35f22e851bbd0fa4d71bd66e5a037.jpg","text":"TemporaryFile(/tmp/multipartBody7703616638993566475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723103298,"filename":"image_15042025_14_53_15_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f95b8ddf33f364525aec58b92ebb5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1202516986843396737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723103298,"filename":"image_15042025_14_53_18_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4e08b42c6f6dd5fe4f0ade68e4fe4b7.jpg","text":"TemporaryFile(/tmp/multipartBody4091520582445028321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723103298,"filename":"image_15042025_14_53_06_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2e77aac8049eb7521aeee3c55f43f71.jpg","text":"TemporaryFile(/tmp/multipartBody4921270603443494930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723103298,"filename":"image_15042025_14_53_09_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e29f67351db3541420a857aff82edee8.jpg","text":"TemporaryFile(/tmp/multipartBody5537964115388901889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723103298,"filename":"image_15042025_14_53_12_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911498","file1":"1349911487","file0":"1349911385","file4":"1349911530","file5":"1349911537","file3":"1349911519"},"map_files_photo_id_array":[{"photo_id":"1349911537","filename":"file5"},{"photo_id":"1349911498","filename":"file2"},{"photo_id":"1349911530","filename":"file4"},{"photo_id":"1349911487","filename":"file1"},{"photo_id":"1349911385","filename":"file0"},{"photo_id":"1349911519","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349911537":["hashtag1","hashtag2"]},{"1349911519":["hashtag1","hashtag2"]},{"1349911530":["hashtag1","hashtag2"]},{"1349911385":["hashtag1","hashtag2"]},{"1349911487":["hashtag1","hashtag2"]},{"1349911498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349911537, 1349911519, 1349911530, 1349911385, 1349911487, 1349911498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.582704067230225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:18:22.162972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_45_2519.jpg', '/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_51_2723.jpg', '/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_54_2790.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_09_3493.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_12_2715.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_15_3523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_45_2519.jpg
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_51_2723.jpg
/home/pi/Desktop/images/15042025/14/53/image_15042025_14_53_54_2790.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_09_3493.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_12_2715.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_15_3523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911732","1349911648","1349911704","1349911598","1349911679","1349911622"],"photo_ids_order":["1349911598","1349911622","1349911648","1349911679","1349911704","1349911732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6243b0be4cd23eb832c56a7d967494d.jpg","text":"TemporaryFile(/tmp/multipartBody1750804512490462811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723162834,"filename":"image_15042025_14_54_15_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/383b2e7f00750df7a2f3660a4d2435ac.jpg","text":"TemporaryFile(/tmp/multipartBody34732074039040283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723162834,"filename":"image_15042025_14_53_54_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a22d0b6e099579469dd1a6939a20e4e1.jpg","text":"TemporaryFile(/tmp/multipartBody7440929745002429837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723162834,"filename":"image_15042025_14_54_12_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f66b5557acd04239483c16c1fdcd6d3.jpg","text":"TemporaryFile(/tmp/multipartBody6346063104359251164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723162834,"filename":"image_15042025_14_53_45_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/844e132447c2bfa033c7ff913e72a7e6.jpg","text":"TemporaryFile(/tmp/multipartBody3778820782602558467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723162834,"filename":"image_15042025_14_54_09_3493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29a2b96505575613a14b91ba166fc777.jpg","text":"TemporaryFile(/tmp/multipartBody1413767873558320450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723162834,"filename":"image_15042025_14_53_51_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911648","file1":"1349911622","file0":"1349911598","file4":"1349911704","file5":"1349911732","file3":"1349911679"},"map_files_photo_id_array":[{"photo_id":"1349911732","filename":"file5"},{"photo_id":"1349911648","filename":"file2"},{"photo_id":"1349911704","filename":"file4"},{"photo_id":"1349911622","filename":"file1"},{"photo_id":"1349911598","filename":"file0"},{"photo_id":"1349911679","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349911732":["hashtag1","hashtag2"]},{"1349911648":["hashtag1","hashtag2"]},{"1349911704":["hashtag1","hashtag2"]},{"1349911598":["hashtag1","hashtag2"]},{"1349911679":["hashtag1","hashtag2"]},{"1349911622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349911732, 1349911648, 1349911704, 1349911598, 1349911679, 1349911622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.645872592926025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:19:03.294786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_18_2767.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_21_2613.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_24_3634.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_33_2548.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_36_3633.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_39_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_18_2767.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_21_2613.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_24_3634.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_33_2548.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_36_3633.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_39_2536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911762","1349911773","1349911781","1349911786","1349911789","1349911768"],"photo_ids_order":["1349911762","1349911768","1349911773","1349911781","1349911786","1349911789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/765f6251aae510c33700d7fb6dbb7d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4008350476024937280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723204217,"filename":"image_15042025_14_54_18_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1403244ddc52de76e7f97f3069cdd482.jpg","text":"TemporaryFile(/tmp/multipartBody6676147994015345038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723204217,"filename":"image_15042025_14_54_24_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82404039d7834b5aa55b3e361c030e0c.jpg","text":"TemporaryFile(/tmp/multipartBody2377728916040273886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723204217,"filename":"image_15042025_14_54_33_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/776fe4d88241a401b85338497753cbfe.jpg","text":"TemporaryFile(/tmp/multipartBody4316322385157541236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723204217,"filename":"image_15042025_14_54_36_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e565685c592ac0e6f8f82a25aa165f62.jpg","text":"TemporaryFile(/tmp/multipartBody255819796534542959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723204217,"filename":"image_15042025_14_54_39_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2acd7374d9c73a981776f900dfe00141.jpg","text":"TemporaryFile(/tmp/multipartBody8272536997771335581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723204217,"filename":"image_15042025_14_54_21_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911773","file1":"1349911768","file0":"1349911762","file4":"1349911786","file5":"1349911789","file3":"1349911781"},"map_files_photo_id_array":[{"photo_id":"1349911789","filename":"file5"},{"photo_id":"1349911773","filename":"file2"},{"photo_id":"1349911786","filename":"file4"},{"photo_id":"1349911768","filename":"file1"},{"photo_id":"1349911762","filename":"file0"},{"photo_id":"1349911781","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349911762":["hashtag1","hashtag2"]},{"1349911773":["hashtag1","hashtag2"]},{"1349911781":["hashtag1","hashtag2"]},{"1349911786":["hashtag1","hashtag2"]},{"1349911789":["hashtag1","hashtag2"]},{"1349911768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349911762, 1349911773, 1349911781, 1349911786, 1349911789, 1349911768)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.44918155670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:20:02.806455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_42_3534.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_45_2778.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_48_2569.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_51_3648.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_54_2724.jpg', '/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_57_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_42_3534.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_45_2778.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_48_2569.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_51_3648.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_54_2724.jpg
/home/pi/Desktop/images/15042025/14/54/image_15042025_14_54_57_2824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911837","1349911848","1349911908","1349911886","1349911871","1349911844"],"photo_ids_order":["1349911837","1349911844","1349911848","1349911871","1349911886","1349911908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/187ca0bc5cd16f6828936770af63e858.jpg","text":"TemporaryFile(/tmp/multipartBody7146341070305638023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723263543,"filename":"image_15042025_14_54_42_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97d5257d4fa5806f5b420dc0affe9c45.jpg","text":"TemporaryFile(/tmp/multipartBody1299667309704625719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723263543,"filename":"image_15042025_14_54_48_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05705182525df17eb01b7f522b22ef03.jpg","text":"TemporaryFile(/tmp/multipartBody4124193995062883905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723263543,"filename":"image_15042025_14_54_57_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/045c9981bea5dd45c6b8b0f491602099.jpg","text":"TemporaryFile(/tmp/multipartBody5573522222095084052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723263543,"filename":"image_15042025_14_54_54_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31e8fec634b117dcb73a633320984b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8680693904699097060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723263543,"filename":"image_15042025_14_54_51_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20837d14b23826a2a466e2a3dac495f2.jpg","text":"TemporaryFile(/tmp/multipartBody2065598811874386570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723263543,"filename":"image_15042025_14_54_45_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911848","file1":"1349911844","file0":"1349911837","file4":"1349911886","file5":"1349911908","file3":"1349911871"},"map_files_photo_id_array":[{"photo_id":"1349911908","filename":"file5"},{"photo_id":"1349911848","filename":"file2"},{"photo_id":"1349911886","filename":"file4"},{"photo_id":"1349911844","filename":"file1"},{"photo_id":"1349911837","filename":"file0"},{"photo_id":"1349911871","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349911837":["hashtag1","hashtag2"]},{"1349911848":["hashtag1","hashtag2"]},{"1349911908":["hashtag1","hashtag2"]},{"1349911886":["hashtag1","hashtag2"]},{"1349911871":["hashtag1","hashtag2"]},{"1349911844":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349911837, 1349911848, 1349911908, 1349911886, 1349911871, 1349911844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25371551513672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:20:42.196655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_15_2878.jpg', '/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_27_2839.jpg', '/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_30_3568.jpg', '/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_36_2599.jpg', '/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_39_3564.jpg', '/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_45_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_15_2878.jpg
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_27_2839.jpg
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_30_3568.jpg
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_36_2599.jpg
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_39_3564.jpg
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_45_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349911936","1349911995","1349911962","1349912022","1349911985","1349911981"],"photo_ids_order":["1349911936","1349911962","1349911981","1349911985","1349911995","1349912022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5b5090786cb616eee647c2dc5ae2367.jpg","text":"TemporaryFile(/tmp/multipartBody8584414415065083581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723302859,"filename":"image_15042025_14_55_15_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3655a1b695cb7efb5d9cb2bb8462d1d5.jpg","text":"TemporaryFile(/tmp/multipartBody3960503755739942506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723302859,"filename":"image_15042025_14_55_39_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e2c2e7580a3bf7a8206aa8f96f8f54a.jpg","text":"TemporaryFile(/tmp/multipartBody3332658341024463271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723302859,"filename":"image_15042025_14_55_27_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38095916dca9c7742c50b12549d90e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5658273879539577389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723302859,"filename":"image_15042025_14_55_45_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7320f31eb6401dad396e2534ba28c0e.jpg","text":"TemporaryFile(/tmp/multipartBody720020786000517300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723302859,"filename":"image_15042025_14_55_36_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f46aa5ff682f57d328edea75bc07f27b.jpg","text":"TemporaryFile(/tmp/multipartBody6600777366599328528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723302859,"filename":"image_15042025_14_55_30_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349911981","file1":"1349911962","file0":"1349911936","file4":"1349911995","file5":"1349912022","file3":"1349911985"},"map_files_photo_id_array":[{"photo_id":"1349912022","filename":"file5"},{"photo_id":"1349911981","filename":"file2"},{"photo_id":"1349911995","filename":"file4"},{"photo_id":"1349911962","filename":"file1"},{"photo_id":"1349911936","filename":"file0"},{"photo_id":"1349911985","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349911936":["hashtag1","hashtag2"]},{"1349911995":["hashtag1","hashtag2"]},{"1349911962":["hashtag1","hashtag2"]},{"1349912022":["hashtag1","hashtag2"]},{"1349911985":["hashtag1","hashtag2"]},{"1349911981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349911936, 1349911995, 1349911962, 1349912022, 1349911985, 1349911981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25385618209839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:21:23.330878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_48_3607.jpg', '/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_54_2572.jpg', '/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_57_3557.jpg', '/home/pi/Desktop/images/15042025/14/55/image_15042025_14_56_00_2648.jpg', '/home/pi/Desktop/images/15042025/14/56/image_15042025_14_56_09_2692.jpg', '/home/pi/Desktop/images/15042025/14/56/image_15042025_14_56_24_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_48_3607.jpg
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_54_2572.jpg
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_55_57_3557.jpg
/home/pi/Desktop/images/15042025/14/55/image_15042025_14_56_00_2648.jpg
/home/pi/Desktop/images/15042025/14/56/image_15042025_14_56_09_2692.jpg
/home/pi/Desktop/images/15042025/14/56/image_15042025_14_56_24_2808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912037","1349912040","1349912034","1349912053","1349912047","1349912056"],"photo_ids_order":["1349912034","1349912037","1349912040","1349912047","1349912053","1349912056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8abc4a9c36ec2a221e45d221faaf516c.jpg","text":"TemporaryFile(/tmp/multipartBody8912978560533226582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723344000,"filename":"image_15042025_14_55_54_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3a21db60bafef656f4f8d605efb3feb.jpg","text":"TemporaryFile(/tmp/multipartBody6353574976491598617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723344000,"filename":"image_15042025_14_55_57_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20b6e8b018b7ea4837c62576b1373525.jpg","text":"TemporaryFile(/tmp/multipartBody7228006968464917352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723344000,"filename":"image_15042025_14_55_48_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/085f6c58b982e940f255b563612c7a35.jpg","text":"TemporaryFile(/tmp/multipartBody3949020795218430044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723344000,"filename":"image_15042025_14_56_09_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4790fceed6930094144e6cee9dba476.jpg","text":"TemporaryFile(/tmp/multipartBody6066863416089083144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723344000,"filename":"image_15042025_14_56_00_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0148b1225427965216c0eba6148e8e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6263144911518019634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723344000,"filename":"image_15042025_14_56_24_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912040","file1":"1349912037","file0":"1349912034","file4":"1349912053","file5":"1349912056","file3":"1349912047"},"map_files_photo_id_array":[{"photo_id":"1349912056","filename":"file5"},{"photo_id":"1349912040","filename":"file2"},{"photo_id":"1349912053","filename":"file4"},{"photo_id":"1349912037","filename":"file1"},{"photo_id":"1349912034","filename":"file0"},{"photo_id":"1349912047","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912037":["hashtag1","hashtag2"]},{"1349912040":["hashtag1","hashtag2"]},{"1349912034":["hashtag1","hashtag2"]},{"1349912053":["hashtag1","hashtag2"]},{"1349912047":["hashtag1","hashtag2"]},{"1349912056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912037, 1349912040, 1349912034, 1349912053, 1349912047, 1349912056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82116889953613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:22:03.042112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/56/image_15042025_14_56_27_3630.jpg', '/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_21_3582.jpg', '/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_26_2795.jpg', '/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_42_2575.jpg', '/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_51_2782.jpg', '/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_53_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/56/image_15042025_14_56_27_3630.jpg
/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_21_3582.jpg
/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_26_2795.jpg
/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_42_2575.jpg
/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_51_2782.jpg
/home/pi/Desktop/images/15042025/14/57/image_15042025_14_57_53_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912137","1349912079","1349912133","1349912075","1349912131","1349912140"],"photo_ids_order":["1349912075","1349912079","1349912131","1349912133","1349912137","1349912140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdd25ff409484850b00cf2d9f89b365c.jpg","text":"TemporaryFile(/tmp/multipartBody4321059084849031837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723383796,"filename":"image_15042025_14_57_51_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3ae0706281da415c5aab3acead71d85.jpg","text":"TemporaryFile(/tmp/multipartBody789182711823378407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723383796,"filename":"image_15042025_14_57_21_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5f5e11d2b708cf0e95e4972f061ecfe.jpg","text":"TemporaryFile(/tmp/multipartBody2294197897648002789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723383796,"filename":"image_15042025_14_57_42_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b0d8dc759d07fb0c8e252700a330d27.jpg","text":"TemporaryFile(/tmp/multipartBody6381632659510682389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723383796,"filename":"image_15042025_14_56_27_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1c5c204303d8e407204b3e0bddab26b.jpg","text":"TemporaryFile(/tmp/multipartBody5299582878831783212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723383796,"filename":"image_15042025_14_57_26_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c293b84b0b402c620ad5daac8d9a6099.jpg","text":"TemporaryFile(/tmp/multipartBody4068334771987703396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723383796,"filename":"image_15042025_14_57_53_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912131","file1":"1349912079","file0":"1349912075","file4":"1349912137","file5":"1349912140","file3":"1349912133"},"map_files_photo_id_array":[{"photo_id":"1349912140","filename":"file5"},{"photo_id":"1349912131","filename":"file2"},{"photo_id":"1349912137","filename":"file4"},{"photo_id":"1349912079","filename":"file1"},{"photo_id":"1349912075","filename":"file0"},{"photo_id":"1349912133","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912137":["hashtag1","hashtag2"]},{"1349912079":["hashtag1","hashtag2"]},{"1349912133":["hashtag1","hashtag2"]},{"1349912075":["hashtag1","hashtag2"]},{"1349912131":["hashtag1","hashtag2"]},{"1349912140":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912137, 1349912079, 1349912133, 1349912075, 1349912131, 1349912140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01654887199402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:22:42.552766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/57/image_15042025_14_58_00_2750.jpg', '/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_06_3558.jpg', '/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_09_2681.jpg', '/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_11_2646.jpg', '/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_15_3821.jpg', '/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_18_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/57/image_15042025_14_58_00_2750.jpg
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_06_3558.jpg
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_09_2681.jpg
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_11_2646.jpg
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_15_3821.jpg
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_18_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912268","1349912277","1349912165","1349912237","1349912170","1349912158"],"photo_ids_order":["1349912158","1349912165","1349912170","1349912237","1349912268","1349912277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb12426ca95029e808224604ee856af8.jpg","text":"TemporaryFile(/tmp/multipartBody579068327602915324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723423234,"filename":"image_15042025_14_58_15_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/059b5d847a02a66c3537aa6a2eacc9c2.jpg","text":"TemporaryFile(/tmp/multipartBody7845157184406259944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723423234,"filename":"image_15042025_14_58_18_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd7c6ea250166c4c3d1ca5ac70919c80.jpg","text":"TemporaryFile(/tmp/multipartBody5925621625041245896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723423234,"filename":"image_15042025_14_58_06_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b263609b4227ad8a9d0fb5a37129450.jpg","text":"TemporaryFile(/tmp/multipartBody4315009225498491834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723423234,"filename":"image_15042025_14_58_11_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/180b1175832e6694615c837c93c5a9b5.jpg","text":"TemporaryFile(/tmp/multipartBody4568472206807130446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723423234,"filename":"image_15042025_14_58_09_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48e25bc03638e01994a6479ebcc66178.jpg","text":"TemporaryFile(/tmp/multipartBody9011831537437635099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723423234,"filename":"image_15042025_14_58_00_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912170","file1":"1349912165","file0":"1349912158","file4":"1349912268","file5":"1349912277","file3":"1349912237"},"map_files_photo_id_array":[{"photo_id":"1349912277","filename":"file5"},{"photo_id":"1349912170","filename":"file2"},{"photo_id":"1349912268","filename":"file4"},{"photo_id":"1349912165","filename":"file1"},{"photo_id":"1349912158","filename":"file0"},{"photo_id":"1349912237","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912268":["hashtag1","hashtag2"]},{"1349912277":["hashtag1","hashtag2"]},{"1349912165":["hashtag1","hashtag2"]},{"1349912237":["hashtag1","hashtag2"]},{"1349912170":["hashtag1","hashtag2"]},{"1349912158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912268, 1349912277, 1349912165, 1349912237, 1349912170, 1349912158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87311339378357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:23:21.940232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_20_2804.jpg', '/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_33_3687.jpg', '/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_38_2589.jpg', '/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_43_4177.jpg', '/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_44_1665.jpg', '/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_15_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_20_2804.jpg
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_33_3687.jpg
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_38_2589.jpg
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_43_4177.jpg
/home/pi/Desktop/images/15042025/14/58/image_15042025_14_58_44_1665.jpg
/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_15_2864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912390","1349912309","1349912287","1349912398","1349912290","1349912284"],"photo_ids_order":["1349912284","1349912287","1349912290","1349912309","1349912390","1349912398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f6e4f2c50b562249cc6471d72b7bfb6.jpg","text":"TemporaryFile(/tmp/multipartBody1350674413542733087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723462629,"filename":"image_15042025_14_58_44_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c24fa61b45e127425849280fdc1c169a.jpg","text":"TemporaryFile(/tmp/multipartBody5193471251348944947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723462629,"filename":"image_15042025_14_58_43_4177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10daf2c12d0925deef7bc365008dd09a.jpg","text":"TemporaryFile(/tmp/multipartBody32624664738528014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723462629,"filename":"image_15042025_14_58_33_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e09cbebd38d693aee26ffc791ad4f66.jpg","text":"TemporaryFile(/tmp/multipartBody6896028014897434542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723462629,"filename":"image_15042025_14_59_15_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/350d1788071b6ba60662e47d8be122f5.jpg","text":"TemporaryFile(/tmp/multipartBody2328209331674544015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723462629,"filename":"image_15042025_14_58_38_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/248b91466c929b6036163df9618f2e00.jpg","text":"TemporaryFile(/tmp/multipartBody6006760513882625110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723462629,"filename":"image_15042025_14_58_20_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912290","file1":"1349912287","file0":"1349912284","file4":"1349912390","file5":"1349912398","file3":"1349912309"},"map_files_photo_id_array":[{"photo_id":"1349912398","filename":"file5"},{"photo_id":"1349912290","filename":"file2"},{"photo_id":"1349912390","filename":"file4"},{"photo_id":"1349912287","filename":"file1"},{"photo_id":"1349912284","filename":"file0"},{"photo_id":"1349912309","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912390":["hashtag1","hashtag2"]},{"1349912309":["hashtag1","hashtag2"]},{"1349912287":["hashtag1","hashtag2"]},{"1349912398":["hashtag1","hashtag2"]},{"1349912290":["hashtag1","hashtag2"]},{"1349912284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912390, 1349912309, 1349912287, 1349912398, 1349912290, 1349912284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50422477722168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:24:02.761845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_20_2703.jpg', '/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_27_3706.jpg', '/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_36_2615.jpg', '/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_39_2973.jpg', '/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_45_3741.jpg', '/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_50_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_20_2703.jpg
/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_27_3706.jpg
/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_36_2615.jpg
/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_39_2973.jpg
/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_45_3741.jpg
/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_50_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912451","1349912448","1349912456","1349912444","1349912467","1349912458"],"photo_ids_order":["1349912444","1349912448","1349912451","1349912456","1349912458","1349912467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2d7fbf059a887a9bc768e9ffc3c85a9.jpg","text":"TemporaryFile(/tmp/multipartBody1913024859165988638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723503585,"filename":"image_15042025_14_59_36_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fc938b06b5ba246c0f6e3bf63f56e37.jpg","text":"TemporaryFile(/tmp/multipartBody1677970447746930537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723503585,"filename":"image_15042025_14_59_27_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96a7183712dad919f6f41921c88dc398.jpg","text":"TemporaryFile(/tmp/multipartBody8491572411594419941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723503585,"filename":"image_15042025_14_59_39_2973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/590e7367790d47018766dcefbf558e82.jpg","text":"TemporaryFile(/tmp/multipartBody1627689098169435456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723503585,"filename":"image_15042025_14_59_20_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c806d041070b1d3f20ec88014dd7a44e.jpg","text":"TemporaryFile(/tmp/multipartBody5889332940431666860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723503585,"filename":"image_15042025_14_59_50_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97caf1ea1338cd9b9c214996aaad257c.jpg","text":"TemporaryFile(/tmp/multipartBody6561110299490216918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723503585,"filename":"image_15042025_14_59_45_3741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912451","file1":"1349912448","file0":"1349912444","file4":"1349912458","file5":"1349912467","file3":"1349912456"},"map_files_photo_id_array":[{"photo_id":"1349912467","filename":"file5"},{"photo_id":"1349912451","filename":"file2"},{"photo_id":"1349912458","filename":"file4"},{"photo_id":"1349912448","filename":"file1"},{"photo_id":"1349912444","filename":"file0"},{"photo_id":"1349912456","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912451":["hashtag1","hashtag2"]},{"1349912448":["hashtag1","hashtag2"]},{"1349912456":["hashtag1","hashtag2"]},{"1349912444":["hashtag1","hashtag2"]},{"1349912467":["hashtag1","hashtag2"]},{"1349912458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912451, 1349912448, 1349912456, 1349912444, 1349912467, 1349912458)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.74201822280884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:25:02.887337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:25:23.681297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_54_3603.jpg', '/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_59_2646.jpg', '/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_11_3698.jpg', '/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_14_2929.jpg', '/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_17_2615.jpg', '/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_20_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_54_3603.jpg
/home/pi/Desktop/images/15042025/14/59/image_15042025_14_59_59_2646.jpg
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_11_3698.jpg
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_14_2929.jpg
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_17_2615.jpg
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_20_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912565","1349912581","1349912575","1349912569","1349912560","1349912557"],"photo_ids_order":["1349912557","1349912560","1349912565","1349912569","1349912575","1349912581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b07fdf2c55553669832a41d399b06a3.jpg","text":"TemporaryFile(/tmp/multipartBody5776621564603656497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723584900,"filename":"image_15042025_15_00_11_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21adfaa7bd8a0d0d4244d02fb215e038.jpg","text":"TemporaryFile(/tmp/multipartBody1706251660501454099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723584900,"filename":"image_15042025_15_00_20_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5f572ea930aab55b61aa64068bd07b0.jpg","text":"TemporaryFile(/tmp/multipartBody3743387229509828097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723584900,"filename":"image_15042025_15_00_17_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0651fa3ba6d22ee7f866c64b22a3db2e.jpg","text":"TemporaryFile(/tmp/multipartBody8308061096886587988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723584900,"filename":"image_15042025_15_00_14_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8dcc93b0d001cb03dab1304868fd0214.jpg","text":"TemporaryFile(/tmp/multipartBody3393258038219226504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723584900,"filename":"image_15042025_14_59_59_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a26601f83e915b149fb14e9112663600.jpg","text":"TemporaryFile(/tmp/multipartBody3143857768832288269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723584900,"filename":"image_15042025_14_59_54_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912565","file1":"1349912560","file0":"1349912557","file4":"1349912575","file5":"1349912581","file3":"1349912569"},"map_files_photo_id_array":[{"photo_id":"1349912581","filename":"file5"},{"photo_id":"1349912565","filename":"file2"},{"photo_id":"1349912575","filename":"file4"},{"photo_id":"1349912560","filename":"file1"},{"photo_id":"1349912557","filename":"file0"},{"photo_id":"1349912569","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912565":["hashtag1","hashtag2"]},{"1349912581":["hashtag1","hashtag2"]},{"1349912575":["hashtag1","hashtag2"]},{"1349912569":["hashtag1","hashtag2"]},{"1349912560":["hashtag1","hashtag2"]},{"1349912557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912565, 1349912581, 1349912575, 1349912569, 1349912560, 1349912557)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.54830980300903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:26:23.137614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_23_2820.jpg', '/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_26_2563.jpg', '/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_29_3592.jpg', '/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_35_3545.jpg', '/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_43_2712.jpg', '/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_05_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_23_2820.jpg
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_26_2563.jpg
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_29_3592.jpg
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_35_3545.jpg
/home/pi/Desktop/images/15042025/15/00/image_15042025_15_00_43_2712.jpg
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_05_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912670","1349912664","1349912634","1349912659","1349912656","1349912641"],"photo_ids_order":["1349912634","1349912641","1349912656","1349912659","1349912664","1349912670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06b1f6866f4c2df5bb156aeec4feeb41.jpg","text":"TemporaryFile(/tmp/multipartBody3385812127125667699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723643813,"filename":"image_15042025_15_01_05_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c71a7fa8756b1dd1c145b91240d77f74.jpg","text":"TemporaryFile(/tmp/multipartBody6177344954482007243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723643813,"filename":"image_15042025_15_00_43_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85620771be005f5ce85a14e444746146.jpg","text":"TemporaryFile(/tmp/multipartBody8181199551870566614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723643813,"filename":"image_15042025_15_00_23_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/730eb028fc7817badece1ac3cf00ac5a.jpg","text":"TemporaryFile(/tmp/multipartBody1277901256658584704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723643813,"filename":"image_15042025_15_00_35_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dda98306a22942f294e22a5a0302176e.jpg","text":"TemporaryFile(/tmp/multipartBody5315812099270276687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723643813,"filename":"image_15042025_15_00_29_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf192d1a8587cc34e8757fef90bb5688.jpg","text":"TemporaryFile(/tmp/multipartBody930012013039571710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723643813,"filename":"image_15042025_15_00_26_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912656","file1":"1349912641","file0":"1349912634","file4":"1349912664","file5":"1349912670","file3":"1349912659"},"map_files_photo_id_array":[{"photo_id":"1349912670","filename":"file5"},{"photo_id":"1349912656","filename":"file2"},{"photo_id":"1349912664","filename":"file4"},{"photo_id":"1349912641","filename":"file1"},{"photo_id":"1349912634","filename":"file0"},{"photo_id":"1349912659","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912670":["hashtag1","hashtag2"]},{"1349912664":["hashtag1","hashtag2"]},{"1349912634":["hashtag1","hashtag2"]},{"1349912659":["hashtag1","hashtag2"]},{"1349912656":["hashtag1","hashtag2"]},{"1349912641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912670, 1349912664, 1349912634, 1349912659, 1349912656, 1349912641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86343312263489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:27:03.199460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_14_2821.jpg', '/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_20_3575.jpg', '/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_26_2645.jpg', '/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_28_2603.jpg', '/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_32_3820.jpg', '/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_41_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_14_2821.jpg
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_20_3575.jpg
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_26_2645.jpg
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_28_2603.jpg
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_32_3820.jpg
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_41_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912725","1349912721","1349912786","1349912750","1349912752","1349912728"],"photo_ids_order":["1349912721","1349912725","1349912728","1349912750","1349912752","1349912786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ba7af8d632d8082802c0c972cab623c.jpg","text":"TemporaryFile(/tmp/multipartBody2075002239660653020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723684288,"filename":"image_15042025_15_01_20_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7093388ef8b43d8fecd77fe8d09e05a.jpg","text":"TemporaryFile(/tmp/multipartBody6806384022391945745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723684288,"filename":"image_15042025_15_01_14_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0c40753070065564a20b2a17c3bd6a4.jpg","text":"TemporaryFile(/tmp/multipartBody7389279479463695548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723684288,"filename":"image_15042025_15_01_41_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5f9fb793583243c2e7c8856e21b43dd.jpg","text":"TemporaryFile(/tmp/multipartBody7238056896981970019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723684288,"filename":"image_15042025_15_01_28_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48cc3823195dd1e1c9db972599d686e6.jpg","text":"TemporaryFile(/tmp/multipartBody2991451687671329026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723684288,"filename":"image_15042025_15_01_32_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f024d6b68193301aebbfc336dfad21d8.jpg","text":"TemporaryFile(/tmp/multipartBody5466507253524602757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723684288,"filename":"image_15042025_15_01_26_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912728","file1":"1349912725","file0":"1349912721","file4":"1349912752","file5":"1349912786","file3":"1349912750"},"map_files_photo_id_array":[{"photo_id":"1349912786","filename":"file5"},{"photo_id":"1349912728","filename":"file2"},{"photo_id":"1349912752","filename":"file4"},{"photo_id":"1349912725","filename":"file1"},{"photo_id":"1349912721","filename":"file0"},{"photo_id":"1349912750","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912725":["hashtag1","hashtag2"]},{"1349912721":["hashtag1","hashtag2"]},{"1349912786":["hashtag1","hashtag2"]},{"1349912750":["hashtag1","hashtag2"]},{"1349912752":["hashtag1","hashtag2"]},{"1349912728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912725, 1349912721, 1349912786, 1349912750, 1349912752, 1349912728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71623992919922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:27:42.316126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_50_3810.jpg', '/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_53_2687.jpg', '/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_56_2663.jpg', '/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_59_3669.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_02_2609.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_08_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_50_3810.jpg
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_53_2687.jpg
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_56_2663.jpg
/home/pi/Desktop/images/15042025/15/01/image_15042025_15_01_59_3669.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_02_2609.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_08_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912824","1349912820","1349912814","1349912808","1349912802","1349912827"],"photo_ids_order":["1349912802","1349912808","1349912814","1349912820","1349912824","1349912827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/732a0060d18421c9cbaa28ded4e02dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6330095369697320732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723723039,"filename":"image_15042025_15_02_02_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/987af26a7295336c85c1e6a447f0228b.jpg","text":"TemporaryFile(/tmp/multipartBody4636527360575072728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723723039,"filename":"image_15042025_15_01_59_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae68351802ae24b92973e7c30a699a16.jpg","text":"TemporaryFile(/tmp/multipartBody6858709178330079200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723723039,"filename":"image_15042025_15_01_56_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb7d54b15dbbc6ef88919504e57f9f6c.jpg","text":"TemporaryFile(/tmp/multipartBody7852140731897901103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723723039,"filename":"image_15042025_15_01_53_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fccc61d88682de14efde77a3264880eb.jpg","text":"TemporaryFile(/tmp/multipartBody3208246646968444123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723723039,"filename":"image_15042025_15_01_50_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a77c2663d31bf9b9bf52604f685074d.jpg","text":"TemporaryFile(/tmp/multipartBody8339352798055570492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723723039,"filename":"image_15042025_15_02_08_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912814","file1":"1349912808","file0":"1349912802","file4":"1349912824","file5":"1349912827","file3":"1349912820"},"map_files_photo_id_array":[{"photo_id":"1349912827","filename":"file5"},{"photo_id":"1349912814","filename":"file2"},{"photo_id":"1349912824","filename":"file4"},{"photo_id":"1349912808","filename":"file1"},{"photo_id":"1349912802","filename":"file0"},{"photo_id":"1349912820","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912824":["hashtag1","hashtag2"]},{"1349912820":["hashtag1","hashtag2"]},{"1349912814":["hashtag1","hashtag2"]},{"1349912808":["hashtag1","hashtag2"]},{"1349912802":["hashtag1","hashtag2"]},{"1349912827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912824, 1349912820, 1349912814, 1349912808, 1349912802, 1349912827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.355817556381226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:28:22.795991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_11_2741.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_13_2680.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_17_3675.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_20_2654.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_26_3738.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_29_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_11_2741.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_13_2680.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_17_3675.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_20_2654.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_26_3738.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_29_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349912862","1349912841","1349912847","1349912852","1349912837","1349912857"],"photo_ids_order":["1349912837","1349912841","1349912847","1349912852","1349912857","1349912862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72430869cb18badbd5d55a229021cdf6.jpg","text":"TemporaryFile(/tmp/multipartBody2935523614243633461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723763518,"filename":"image_15042025_15_02_29_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67c97697bea3456f5deb7cb034ba746a.jpg","text":"TemporaryFile(/tmp/multipartBody5052587790450284878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723763518,"filename":"image_15042025_15_02_13_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55e1f9622c522d817f3a57b08dc48a89.jpg","text":"TemporaryFile(/tmp/multipartBody1458040209369450534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723763518,"filename":"image_15042025_15_02_17_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4dec8e1351476966611ed2a66de8be40.jpg","text":"TemporaryFile(/tmp/multipartBody1499511615575654605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723763518,"filename":"image_15042025_15_02_20_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa02fac580929117a18c48b608708641.jpg","text":"TemporaryFile(/tmp/multipartBody1087519245453808144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723763518,"filename":"image_15042025_15_02_11_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/471eda6e948bda92c3bb8db0d5b44d2c.jpg","text":"TemporaryFile(/tmp/multipartBody8335811068928757303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723763518,"filename":"image_15042025_15_02_26_3738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349912847","file1":"1349912841","file0":"1349912837","file4":"1349912857","file5":"1349912862","file3":"1349912852"},"map_files_photo_id_array":[{"photo_id":"1349912862","filename":"file5"},{"photo_id":"1349912847","filename":"file2"},{"photo_id":"1349912857","filename":"file4"},{"photo_id":"1349912841","filename":"file1"},{"photo_id":"1349912837","filename":"file0"},{"photo_id":"1349912852","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349912862":["hashtag1","hashtag2"]},{"1349912841":["hashtag1","hashtag2"]},{"1349912847":["hashtag1","hashtag2"]},{"1349912852":["hashtag1","hashtag2"]},{"1349912837":["hashtag1","hashtag2"]},{"1349912857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349912862, 1349912841, 1349912847, 1349912852, 1349912837, 1349912857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55061888694763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:29:03.212171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_34_2792.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_44_2630.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_47_3632.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_50_2537.jpg', '/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_52_2642.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_05_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_34_2792.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_44_2630.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_47_3632.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_50_2537.jpg
/home/pi/Desktop/images/15042025/15/02/image_15042025_15_02_52_2642.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_05_3693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913030","1349913207","1349913209","1349913151","1349912938","1349913214"],"photo_ids_order":["1349912938","1349913030","1349913151","1349913207","1349913209","1349913214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/799ddbc91191e93dcf952c636ed8e495.jpg","text":"TemporaryFile(/tmp/multipartBody8305961991455166120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723807252,"filename":"image_15042025_15_02_44_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ac59a96052ce6d3af5c22c5aa5d8e29.jpg","text":"TemporaryFile(/tmp/multipartBody5744819386830476342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723807252,"filename":"image_15042025_15_02_50_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d93cdbf32b916f8b549b523acdb434ad.jpg","text":"TemporaryFile(/tmp/multipartBody2468463611239275200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723807252,"filename":"image_15042025_15_02_52_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52c6fe3c3b43569e6a754a4e5c66f54a.jpg","text":"TemporaryFile(/tmp/multipartBody4219765782531292872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723807252,"filename":"image_15042025_15_02_47_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e079bea0a4ccba71961fdac59b85b16.jpg","text":"TemporaryFile(/tmp/multipartBody2737959373561071141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723807252,"filename":"image_15042025_15_02_34_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6909990b3340c070a1f7a1a536f9a81c.jpg","text":"TemporaryFile(/tmp/multipartBody8026672183251960745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723807252,"filename":"image_15042025_15_03_05_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913151","file1":"1349913030","file0":"1349912938","file4":"1349913209","file5":"1349913214","file3":"1349913207"},"map_files_photo_id_array":[{"photo_id":"1349913214","filename":"file5"},{"photo_id":"1349913151","filename":"file2"},{"photo_id":"1349913209","filename":"file4"},{"photo_id":"1349913030","filename":"file1"},{"photo_id":"1349912938","filename":"file0"},{"photo_id":"1349913207","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913030":["hashtag1","hashtag2"]},{"1349913207":["hashtag1","hashtag2"]},{"1349913209":["hashtag1","hashtag2"]},{"1349913151":["hashtag1","hashtag2"]},{"1349912938":["hashtag1","hashtag2"]},{"1349913214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913030, 1349913207, 1349913209, 1349913151, 1349912938, 1349913214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14200830459595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:30:03.357036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_08_2601.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_10_2588.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_14_3620.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_19_2653.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_26_3682.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_28_2497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_08_2601.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_10_2588.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_14_3620.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_19_2653.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_26_3682.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_28_2497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913339","1349913327","1349913324","1349913320","1349913334","1349913313"],"photo_ids_order":["1349913313","1349913320","1349913324","1349913327","1349913334","1349913339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d7bb9c704975cd975642241d166a043.jpg","text":"TemporaryFile(/tmp/multipartBody7692438369887141472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723868258,"filename":"image_15042025_15_03_28_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5015dfb8a23d828b15e1ba5d92aa42c7.jpg","text":"TemporaryFile(/tmp/multipartBody4633359308576279846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723868258,"filename":"image_15042025_15_03_19_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/904e4c67546b7a08f8145684d623ecea.jpg","text":"TemporaryFile(/tmp/multipartBody1926251245569652446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723868258,"filename":"image_15042025_15_03_14_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6dc328922ecb9afa1122b8c360368ebd.jpg","text":"TemporaryFile(/tmp/multipartBody8989696015804129666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723868258,"filename":"image_15042025_15_03_10_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f2f362d6dca50a52c297cfef0076161.jpg","text":"TemporaryFile(/tmp/multipartBody4013419397963775762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723868258,"filename":"image_15042025_15_03_26_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfdc63301f94d55dddb8861c00a13380.jpg","text":"TemporaryFile(/tmp/multipartBody3777482297200279368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723868258,"filename":"image_15042025_15_03_08_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913324","file1":"1349913320","file0":"1349913313","file4":"1349913334","file5":"1349913339","file3":"1349913327"},"map_files_photo_id_array":[{"photo_id":"1349913339","filename":"file5"},{"photo_id":"1349913324","filename":"file2"},{"photo_id":"1349913334","filename":"file4"},{"photo_id":"1349913320","filename":"file1"},{"photo_id":"1349913313","filename":"file0"},{"photo_id":"1349913327","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913339":["hashtag1","hashtag2"]},{"1349913327":["hashtag1","hashtag2"]},{"1349913324":["hashtag1","hashtag2"]},{"1349913320":["hashtag1","hashtag2"]},{"1349913334":["hashtag1","hashtag2"]},{"1349913313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913339, 1349913327, 1349913324, 1349913320, 1349913334, 1349913313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14906048774719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:31:03.341472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_32_3781.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_35_2751.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_38_2700.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_47_2725.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_49_2740.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_53_3521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_32_3781.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_35_2751.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_38_2700.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_47_2725.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_49_2740.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_53_3521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913435","1349913414","1349913417","1349913405","1349913431","1349913410"],"photo_ids_order":["1349913405","1349913410","1349913414","1349913417","1349913431","1349913435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0248d47562912da34f3e741051dd642.jpg","text":"TemporaryFile(/tmp/multipartBody7717079726543382989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723924332,"filename":"image_15042025_15_03_53_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d86216fc826e5973fc8900f85e91541.jpg","text":"TemporaryFile(/tmp/multipartBody261726719261228442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723924332,"filename":"image_15042025_15_03_38_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73ffafea90525074d9cd192e2f8eace9.jpg","text":"TemporaryFile(/tmp/multipartBody6835707231451301634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723924332,"filename":"image_15042025_15_03_47_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e5d1ad6076d453c402d36e15a0c8afd.jpg","text":"TemporaryFile(/tmp/multipartBody8767469331869509115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723924332,"filename":"image_15042025_15_03_32_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c41aa1677bc0d41bfa8e4cc7fa7d8bef.jpg","text":"TemporaryFile(/tmp/multipartBody5140885538251690357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723924332,"filename":"image_15042025_15_03_49_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ba8c41cf150f99d1afcb59b0fad997a.jpg","text":"TemporaryFile(/tmp/multipartBody3146759920092009289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723924332,"filename":"image_15042025_15_03_35_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913414","file1":"1349913410","file0":"1349913405","file4":"1349913431","file5":"1349913435","file3":"1349913417"},"map_files_photo_id_array":[{"photo_id":"1349913435","filename":"file5"},{"photo_id":"1349913414","filename":"file2"},{"photo_id":"1349913431","filename":"file4"},{"photo_id":"1349913410","filename":"file1"},{"photo_id":"1349913405","filename":"file0"},{"photo_id":"1349913417","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913435":["hashtag1","hashtag2"]},{"1349913414":["hashtag1","hashtag2"]},{"1349913417":["hashtag1","hashtag2"]},{"1349913405":["hashtag1","hashtag2"]},{"1349913431":["hashtag1","hashtag2"]},{"1349913410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913435, 1349913414, 1349913417, 1349913405, 1349913431, 1349913410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88725209236145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:31:42.427367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_55_2627.jpg', '/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_58_2670.jpg', '/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_02_3689.jpg', '/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_05_2714.jpg', '/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_07_2745.jpg', '/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_11_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_55_2627.jpg
/home/pi/Desktop/images/15042025/15/03/image_15042025_15_03_58_2670.jpg
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_02_3689.jpg
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_05_2714.jpg
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_07_2745.jpg
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_11_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913450","1349913473","1349913455","1349913464","1349913478","1349913469"],"photo_ids_order":["1349913450","1349913455","1349913464","1349913469","1349913473","1349913478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c41276c0ff169a5b432b939cc016c9d.jpg","text":"TemporaryFile(/tmp/multipartBody5169235585208459756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723963140,"filename":"image_15042025_15_03_55_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01ee4169048c7a436b7161e17db8607e.jpg","text":"TemporaryFile(/tmp/multipartBody2366266290471866721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723963140,"filename":"image_15042025_15_04_07_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10252c0b49d5f0aad802dd0e811e22e4.jpg","text":"TemporaryFile(/tmp/multipartBody2728969683419752791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723963140,"filename":"image_15042025_15_03_58_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffc64de2cdf2f6a80a79c89cb48a526a.jpg","text":"TemporaryFile(/tmp/multipartBody3469594837146360743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723963140,"filename":"image_15042025_15_04_02_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d33fbd5e0a4b920cf2b5aa1856e00e4.jpg","text":"TemporaryFile(/tmp/multipartBody3051069586169931294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723963140,"filename":"image_15042025_15_04_11_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce84698374727096cae676473a7867c1.jpg","text":"TemporaryFile(/tmp/multipartBody2154330706781860302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744723963140,"filename":"image_15042025_15_04_05_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913464","file1":"1349913455","file0":"1349913450","file4":"1349913473","file5":"1349913478","file3":"1349913469"},"map_files_photo_id_array":[{"photo_id":"1349913478","filename":"file5"},{"photo_id":"1349913464","filename":"file2"},{"photo_id":"1349913473","filename":"file4"},{"photo_id":"1349913455","filename":"file1"},{"photo_id":"1349913450","filename":"file0"},{"photo_id":"1349913469","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913450":["hashtag1","hashtag2"]},{"1349913473":["hashtag1","hashtag2"]},{"1349913455":["hashtag1","hashtag2"]},{"1349913464":["hashtag1","hashtag2"]},{"1349913478":["hashtag1","hashtag2"]},{"1349913469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913450, 1349913473, 1349913455, 1349913464, 1349913478, 1349913469)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.26742696762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:32:43.931155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_17_2871.jpg', '/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_19_2710.jpg', '/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_23_3716.jpg', '/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_26_2575.jpg', '/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_46_2635.jpg', '/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_08_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_17_2871.jpg
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_19_2710.jpg
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_23_3716.jpg
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_26_2575.jpg
/home/pi/Desktop/images/15042025/15/04/image_15042025_15_04_46_2635.jpg
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_08_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913732","1349913711","1349913677","1349913728","1349913725","1349913660"],"photo_ids_order":["1349913660","1349913677","1349913711","1349913725","1349913728","1349913732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1aa7a00cc0bf1dd12ab1af4d7a9a0ca.jpg","text":"TemporaryFile(/tmp/multipartBody7841652998078273957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724024881,"filename":"image_15042025_15_05_08_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ad8afefc93d3c8084a2d69f3847920e.jpg","text":"TemporaryFile(/tmp/multipartBody2898322614984981327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724024881,"filename":"image_15042025_15_04_23_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5c7694b84f83ca3cb0eb818aa6c938e.jpg","text":"TemporaryFile(/tmp/multipartBody488245963006691816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724024881,"filename":"image_15042025_15_04_19_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/807b2e16b9321e704c5cd935c212b054.jpg","text":"TemporaryFile(/tmp/multipartBody5656537984689710299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724024881,"filename":"image_15042025_15_04_46_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbdd958388ec592893bf2e253f521913.jpg","text":"TemporaryFile(/tmp/multipartBody6897691790608630257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724024881,"filename":"image_15042025_15_04_26_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/600b155a89d1d17679c47db1c57119e6.jpg","text":"TemporaryFile(/tmp/multipartBody3133232238592402146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724024881,"filename":"image_15042025_15_04_17_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913711","file1":"1349913677","file0":"1349913660","file4":"1349913728","file5":"1349913732","file3":"1349913725"},"map_files_photo_id_array":[{"photo_id":"1349913732","filename":"file5"},{"photo_id":"1349913711","filename":"file2"},{"photo_id":"1349913728","filename":"file4"},{"photo_id":"1349913677","filename":"file1"},{"photo_id":"1349913660","filename":"file0"},{"photo_id":"1349913725","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913732":["hashtag1","hashtag2"]},{"1349913711":["hashtag1","hashtag2"]},{"1349913677":["hashtag1","hashtag2"]},{"1349913728":["hashtag1","hashtag2"]},{"1349913725":["hashtag1","hashtag2"]},{"1349913660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913732, 1349913711, 1349913677, 1349913728, 1349913725, 1349913660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.809815406799316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:33:22.076387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_20_2750.jpg', '/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_22_2646.jpg', '/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_25_2902.jpg', '/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_29_3748.jpg', '/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_43_2978.jpg', '/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_46_2923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_20_2750.jpg
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_22_2646.jpg
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_25_2902.jpg
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_29_3748.jpg
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_43_2978.jpg
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_46_2923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913800","1349913823","1349913772","1349913751","1349913739","1349913783"],"photo_ids_order":["1349913739","1349913751","1349913772","1349913783","1349913800","1349913823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c07ba5dd7e886154e2cd49462a83682f.jpg","text":"TemporaryFile(/tmp/multipartBody2855372360064148547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724062805,"filename":"image_15042025_15_05_43_2978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50d69c862a8c2775956b129d1082aab4.jpg","text":"TemporaryFile(/tmp/multipartBody7746798733176720833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724062805,"filename":"image_15042025_15_05_46_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35e473286eb0ee8a26e5c0e8c85cbe4b.jpg","text":"TemporaryFile(/tmp/multipartBody4749960755628565757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724062805,"filename":"image_15042025_15_05_25_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/519b69bfd6c0af737d599961ee208d9f.jpg","text":"TemporaryFile(/tmp/multipartBody4263026497492036860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724062805,"filename":"image_15042025_15_05_22_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1dfc854b1b75c67f7b285080e55e8bad.jpg","text":"TemporaryFile(/tmp/multipartBody637955182576589067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724062805,"filename":"image_15042025_15_05_20_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae063755127831f7cd5ec2c233a9d770.jpg","text":"TemporaryFile(/tmp/multipartBody4005129241602662166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724062805,"filename":"image_15042025_15_05_29_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913772","file1":"1349913751","file0":"1349913739","file4":"1349913800","file5":"1349913823","file3":"1349913783"},"map_files_photo_id_array":[{"photo_id":"1349913823","filename":"file5"},{"photo_id":"1349913772","filename":"file2"},{"photo_id":"1349913800","filename":"file4"},{"photo_id":"1349913751","filename":"file1"},{"photo_id":"1349913739","filename":"file0"},{"photo_id":"1349913783","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913800":["hashtag1","hashtag2"]},{"1349913823":["hashtag1","hashtag2"]},{"1349913772":["hashtag1","hashtag2"]},{"1349913751":["hashtag1","hashtag2"]},{"1349913739":["hashtag1","hashtag2"]},{"1349913783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913800, 1349913823, 1349913772, 1349913751, 1349913739, 1349913783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35209107398987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:34:03.065936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_50_3590.jpg', '/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_52_2650.jpg', '/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_55_2699.jpg', '/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_59_3699.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_01_2667.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_04_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_50_3590.jpg
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_52_2650.jpg
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_55_2699.jpg
/home/pi/Desktop/images/15042025/15/05/image_15042025_15_05_59_3699.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_01_2667.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_04_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913861","1349913857","1349913854","1349913848","1349913841","1349913838"],"photo_ids_order":["1349913838","1349913841","1349913848","1349913854","1349913857","1349913861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38c72dd148fb5c3fee7ad3db5416709b.jpg","text":"TemporaryFile(/tmp/multipartBody3017901813234526815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724103863,"filename":"image_15042025_15_06_04_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34e2e71a4b0ab7859a6d492ed090a9e7.jpg","text":"TemporaryFile(/tmp/multipartBody5141414799836447246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724103863,"filename":"image_15042025_15_06_01_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ddee4d3b75cd103f6e8f260cd3d842a1.jpg","text":"TemporaryFile(/tmp/multipartBody4779134785633094943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724103863,"filename":"image_15042025_15_05_59_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89ee176ec7573edd8e6ad78d8590dde7.jpg","text":"TemporaryFile(/tmp/multipartBody2663976339697249022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724103863,"filename":"image_15042025_15_05_55_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36a58aa8f918114f3b689a742ce22752.jpg","text":"TemporaryFile(/tmp/multipartBody1828630275238655281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724103863,"filename":"image_15042025_15_05_52_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93ecbb816b643de27c2e396498dc269c.jpg","text":"TemporaryFile(/tmp/multipartBody8912283750457958426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724103863,"filename":"image_15042025_15_05_50_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913848","file1":"1349913841","file0":"1349913838","file4":"1349913857","file5":"1349913861","file3":"1349913854"},"map_files_photo_id_array":[{"photo_id":"1349913861","filename":"file5"},{"photo_id":"1349913848","filename":"file2"},{"photo_id":"1349913857","filename":"file4"},{"photo_id":"1349913841","filename":"file1"},{"photo_id":"1349913838","filename":"file0"},{"photo_id":"1349913854","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913861":["hashtag1","hashtag2"]},{"1349913857":["hashtag1","hashtag2"]},{"1349913854":["hashtag1","hashtag2"]},{"1349913848":["hashtag1","hashtag2"]},{"1349913841":["hashtag1","hashtag2"]},{"1349913838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913861, 1349913857, 1349913854, 1349913848, 1349913841, 1349913838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.244872093200684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:34:42.398124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_08_3609.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_10_2583.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_13_2667.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_16_2848.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_20_3694.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_22_2908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_08_3609.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_10_2583.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_13_2667.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_16_2848.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_20_3694.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_22_2908.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913900","1349913903","1349913884","1349913877","1349913891","1349913870"],"photo_ids_order":["1349913870","1349913877","1349913884","1349913891","1349913900","1349913903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ccd090b68ad098c07391b3d0591714f.jpg","text":"TemporaryFile(/tmp/multipartBody6199991319770038934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724143091,"filename":"image_15042025_15_06_20_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a9f7283069641ae0b6df6e689e135a3.jpg","text":"TemporaryFile(/tmp/multipartBody4800861360633145625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724143091,"filename":"image_15042025_15_06_22_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fedaa731ac8f815654baeccdd8a22f28.jpg","text":"TemporaryFile(/tmp/multipartBody2475676725272090781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724143091,"filename":"image_15042025_15_06_13_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8217ee7f5cdc788b8f3a744a9e66f35c.jpg","text":"TemporaryFile(/tmp/multipartBody7905439347629178070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724143091,"filename":"image_15042025_15_06_10_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcbc126171d6686a6221bd875be11bcd.jpg","text":"TemporaryFile(/tmp/multipartBody7467821944722765948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724143091,"filename":"image_15042025_15_06_16_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21fb14c30a1080c4ed021f946ca7dce9.jpg","text":"TemporaryFile(/tmp/multipartBody2937671766430587628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724143091,"filename":"image_15042025_15_06_08_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913884","file1":"1349913877","file0":"1349913870","file4":"1349913900","file5":"1349913903","file3":"1349913891"},"map_files_photo_id_array":[{"photo_id":"1349913903","filename":"file5"},{"photo_id":"1349913884","filename":"file2"},{"photo_id":"1349913900","filename":"file4"},{"photo_id":"1349913877","filename":"file1"},{"photo_id":"1349913870","filename":"file0"},{"photo_id":"1349913891","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913900":["hashtag1","hashtag2"]},{"1349913903":["hashtag1","hashtag2"]},{"1349913884":["hashtag1","hashtag2"]},{"1349913877":["hashtag1","hashtag2"]},{"1349913891":["hashtag1","hashtag2"]},{"1349913870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913900, 1349913903, 1349913884, 1349913877, 1349913891, 1349913870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71179795265198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:35:22.865773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_25_2539.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_29_3551.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_34_2685.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_38_3855.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_40_2669.jpg', '/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_58_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_25_2539.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_29_3551.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_34_2685.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_38_3855.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_40_2669.jpg
/home/pi/Desktop/images/15042025/15/06/image_15042025_15_06_58_2526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913909","1349913930","1349913924","1349913912","1349913935","1349913917"],"photo_ids_order":["1349913909","1349913912","1349913917","1349913924","1349913930","1349913935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe43007a5054fdda479387c37eefd587.jpg","text":"TemporaryFile(/tmp/multipartBody3121303524488090777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724183554,"filename":"image_15042025_15_06_25_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4437e9d36617e8d6203a442d859211e.jpg","text":"TemporaryFile(/tmp/multipartBody4177549160636154555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724183554,"filename":"image_15042025_15_06_40_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9812f9aea97863742f4b393d19f4f364.jpg","text":"TemporaryFile(/tmp/multipartBody68312950204646156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724183554,"filename":"image_15042025_15_06_38_3855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9676550cbd000f8325e59638225544f2.jpg","text":"TemporaryFile(/tmp/multipartBody4972226495092134966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724183554,"filename":"image_15042025_15_06_29_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa1bc42d7ce3a7b44f207b914b256b11.jpg","text":"TemporaryFile(/tmp/multipartBody8427496238761640822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724183554,"filename":"image_15042025_15_06_58_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47da03075392598e849275334ab3b8b8.jpg","text":"TemporaryFile(/tmp/multipartBody1316178788617450693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724183554,"filename":"image_15042025_15_06_34_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913917","file1":"1349913912","file0":"1349913909","file4":"1349913930","file5":"1349913935","file3":"1349913924"},"map_files_photo_id_array":[{"photo_id":"1349913935","filename":"file5"},{"photo_id":"1349913917","filename":"file2"},{"photo_id":"1349913930","filename":"file4"},{"photo_id":"1349913912","filename":"file1"},{"photo_id":"1349913909","filename":"file0"},{"photo_id":"1349913924","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913909":["hashtag1","hashtag2"]},{"1349913930":["hashtag1","hashtag2"]},{"1349913924":["hashtag1","hashtag2"]},{"1349913912":["hashtag1","hashtag2"]},{"1349913935":["hashtag1","hashtag2"]},{"1349913917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913909, 1349913930, 1349913924, 1349913912, 1349913935, 1349913917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02403211593628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:36:02.733886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_02_3742.jpg', '/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_11_3536.jpg', '/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_13_2721.jpg', '/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_29_3668.jpg', '/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_52_2935.jpg', '/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_59_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_02_3742.jpg
/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_11_3536.jpg
/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_13_2721.jpg
/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_29_3668.jpg
/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_52_2935.jpg
/home/pi/Desktop/images/15042025/15/07/image_15042025_15_07_59_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349913969","1349913974","1349913962","1349913964","1349913958","1349913972"],"photo_ids_order":["1349913958","1349913962","1349913964","1349913969","1349913972","1349913974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94c1fbb6cdcd5ba60980301fd9bec150.jpg","text":"TemporaryFile(/tmp/multipartBody7358611851670216553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724223552,"filename":"image_15042025_15_07_29_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4044ac0b50fc9085df37a3858b736732.jpg","text":"TemporaryFile(/tmp/multipartBody5290961771440118928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724223552,"filename":"image_15042025_15_07_59_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6450da04916609aea8e2eb47791343fe.jpg","text":"TemporaryFile(/tmp/multipartBody603193764034717328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724223552,"filename":"image_15042025_15_07_11_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84c950bb9e1d05368d84333306e087fd.jpg","text":"TemporaryFile(/tmp/multipartBody3870883109316575149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724223552,"filename":"image_15042025_15_07_13_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43e16b071d168500e20a5c6aa44472b8.jpg","text":"TemporaryFile(/tmp/multipartBody6346977056335018298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724223552,"filename":"image_15042025_15_07_02_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16136f2b940b4c4e5137fd5c43260b3e.jpg","text":"TemporaryFile(/tmp/multipartBody3861122373085855803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724223552,"filename":"image_15042025_15_07_52_2935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349913964","file1":"1349913962","file0":"1349913958","file4":"1349913972","file5":"1349913974","file3":"1349913969"},"map_files_photo_id_array":[{"photo_id":"1349913974","filename":"file5"},{"photo_id":"1349913964","filename":"file2"},{"photo_id":"1349913972","filename":"file4"},{"photo_id":"1349913962","filename":"file1"},{"photo_id":"1349913958","filename":"file0"},{"photo_id":"1349913969","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349913969":["hashtag1","hashtag2"]},{"1349913974":["hashtag1","hashtag2"]},{"1349913962":["hashtag1","hashtag2"]},{"1349913964":["hashtag1","hashtag2"]},{"1349913958":["hashtag1","hashtag2"]},{"1349913972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349913969, 1349913974, 1349913962, 1349913964, 1349913958, 1349913972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46822953224182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:36:42.185946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/08/image_15042025_15_08_01_2690.jpg', '/home/pi/Desktop/images/15042025/15/08/image_15042025_15_08_26_3567.jpg', '/home/pi/Desktop/images/15042025/15/08/image_15042025_15_08_37_2573.jpg', '/home/pi/Desktop/images/15042025/15/09/image_15042025_15_09_19_2787.jpg', '/home/pi/Desktop/images/15042025/15/09/image_15042025_15_09_46_2746.jpg', '/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_04_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/08/image_15042025_15_08_01_2690.jpg
/home/pi/Desktop/images/15042025/15/08/image_15042025_15_08_26_3567.jpg
/home/pi/Desktop/images/15042025/15/08/image_15042025_15_08_37_2573.jpg
/home/pi/Desktop/images/15042025/15/09/image_15042025_15_09_19_2787.jpg
/home/pi/Desktop/images/15042025/15/09/image_15042025_15_09_46_2746.jpg
/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_04_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914017","1349914002","1349914011","1349913995","1349914006","1349913987"],"photo_ids_order":["1349913987","1349913995","1349914002","1349914006","1349914011","1349914017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c56d8caf4f04b4f115c3c4d29567af01.jpg","text":"TemporaryFile(/tmp/multipartBody3912541430736976726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724263397,"filename":"image_15042025_15_10_04_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d9c57e69caf80e60fab799405577a7b.jpg","text":"TemporaryFile(/tmp/multipartBody700774708071963103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724263397,"filename":"image_15042025_15_08_37_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc01b957ac2e926a499a8b4f33f45ce9.jpg","text":"TemporaryFile(/tmp/multipartBody4138792874629867678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724263397,"filename":"image_15042025_15_09_46_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd6a0be6df4a7a79ffbc5ae60bb5d0c3.jpg","text":"TemporaryFile(/tmp/multipartBody5912977918551422640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724263397,"filename":"image_15042025_15_08_26_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c233a5fff845552d1f270497d256a65d.jpg","text":"TemporaryFile(/tmp/multipartBody805002402211878188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724263397,"filename":"image_15042025_15_09_19_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3f0c6a21690d074110806c5acd0d943.jpg","text":"TemporaryFile(/tmp/multipartBody3694541761435266344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724263397,"filename":"image_15042025_15_08_01_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914002","file1":"1349913995","file0":"1349913987","file4":"1349914011","file5":"1349914017","file3":"1349914006"},"map_files_photo_id_array":[{"photo_id":"1349914017","filename":"file5"},{"photo_id":"1349914002","filename":"file2"},{"photo_id":"1349914011","filename":"file4"},{"photo_id":"1349913995","filename":"file1"},{"photo_id":"1349913987","filename":"file0"},{"photo_id":"1349914006","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914017":["hashtag1","hashtag2"]},{"1349914002":["hashtag1","hashtag2"]},{"1349914011":["hashtag1","hashtag2"]},{"1349913995":["hashtag1","hashtag2"]},{"1349914006":["hashtag1","hashtag2"]},{"1349913987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914017, 1349914002, 1349914011, 1349913995, 1349914006, 1349913987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55406975746155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:37:22.481798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_19_2770.jpg', '/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_25_3599.jpg', '/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_34_2635.jpg', '/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_49_2694.jpg', '/home/pi/Desktop/images/15042025/15/11/image_15042025_15_11_10_3249.jpg', '/home/pi/Desktop/images/15042025/15/11/image_15042025_15_11_16_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_19_2770.jpg
/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_25_3599.jpg
/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_34_2635.jpg
/home/pi/Desktop/images/15042025/15/10/image_15042025_15_10_49_2694.jpg
/home/pi/Desktop/images/15042025/15/11/image_15042025_15_11_10_3249.jpg
/home/pi/Desktop/images/15042025/15/11/image_15042025_15_11_16_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914061","1349914043","1349914037","1349914052","1349914031","1349914027"],"photo_ids_order":["1349914027","1349914031","1349914037","1349914043","1349914052","1349914061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fcf565b938a9ae10782fa08b2b0c8ae.jpg","text":"TemporaryFile(/tmp/multipartBody5236617414797574573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724303176,"filename":"image_15042025_15_11_16_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4eb4b3ae25696b54d7eb6953f04e610e.jpg","text":"TemporaryFile(/tmp/multipartBody2649684591393343711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724303176,"filename":"image_15042025_15_10_49_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3a35416133a1e807530a0d010de2457.jpg","text":"TemporaryFile(/tmp/multipartBody7221743069088932216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724303176,"filename":"image_15042025_15_10_34_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3e5b94df8d9538e4e8c80070825a493.jpg","text":"TemporaryFile(/tmp/multipartBody6302828637081249802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724303176,"filename":"image_15042025_15_11_10_3249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49406c0c4a2c6b2d8afd0c40b8df9d94.jpg","text":"TemporaryFile(/tmp/multipartBody3850587963243458476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724303176,"filename":"image_15042025_15_10_25_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71e2474a5740730445ae1643f8b246bb.jpg","text":"TemporaryFile(/tmp/multipartBody6184255926934311281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724303176,"filename":"image_15042025_15_10_19_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914037","file1":"1349914031","file0":"1349914027","file4":"1349914052","file5":"1349914061","file3":"1349914043"},"map_files_photo_id_array":[{"photo_id":"1349914061","filename":"file5"},{"photo_id":"1349914037","filename":"file2"},{"photo_id":"1349914052","filename":"file4"},{"photo_id":"1349914031","filename":"file1"},{"photo_id":"1349914027","filename":"file0"},{"photo_id":"1349914043","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914061":["hashtag1","hashtag2"]},{"1349914043":["hashtag1","hashtag2"]},{"1349914037":["hashtag1","hashtag2"]},{"1349914052":["hashtag1","hashtag2"]},{"1349914031":["hashtag1","hashtag2"]},{"1349914027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914061, 1349914043, 1349914037, 1349914052, 1349914031, 1349914027)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.2706253528595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:38:41.878902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/11/image_15042025_15_11_55_3654.jpg', '/home/pi/Desktop/images/15042025/15/12/image_15042025_15_12_18_2565.jpg', '/home/pi/Desktop/images/15042025/15/12/image_15042025_15_12_22_3741.jpg', '/home/pi/Desktop/images/15042025/15/12/image_15042025_15_12_40_3658.jpg', '/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_01_2703.jpg', '/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_09_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/11/image_15042025_15_11_55_3654.jpg
/home/pi/Desktop/images/15042025/15/12/image_15042025_15_12_18_2565.jpg
/home/pi/Desktop/images/15042025/15/12/image_15042025_15_12_22_3741.jpg
/home/pi/Desktop/images/15042025/15/12/image_15042025_15_12_40_3658.jpg
/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_01_2703.jpg
/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_09_2534.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914130","1349914150","1349914135","1349914144","1349914125","1349914140"],"photo_ids_order":["1349914125","1349914130","1349914135","1349914140","1349914144","1349914150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e72cc492dfa0b4f3c7cc99ef4818b735.jpg","text":"TemporaryFile(/tmp/multipartBody3793277425358845478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724382579,"filename":"image_15042025_15_12_18_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5f8081ae6d0363e8fd7d7c7bb86350a.jpg","text":"TemporaryFile(/tmp/multipartBody3066446434876024787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724382579,"filename":"image_15042025_15_13_09_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45038c9a3bd093c37488ba25ef46539d.jpg","text":"TemporaryFile(/tmp/multipartBody615790026271904406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724382579,"filename":"image_15042025_15_12_22_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67195af1082ae957712450c97c248678.jpg","text":"TemporaryFile(/tmp/multipartBody1943957923601318476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724382579,"filename":"image_15042025_15_13_01_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b52a0b49b70a3640798946880bdb11a.jpg","text":"TemporaryFile(/tmp/multipartBody716596139729193059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724382579,"filename":"image_15042025_15_11_55_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a99801ef9131be516e19d24a410afea.jpg","text":"TemporaryFile(/tmp/multipartBody3234564161040632528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724382579,"filename":"image_15042025_15_12_40_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914135","file1":"1349914130","file0":"1349914125","file4":"1349914144","file5":"1349914150","file3":"1349914140"},"map_files_photo_id_array":[{"photo_id":"1349914150","filename":"file5"},{"photo_id":"1349914135","filename":"file2"},{"photo_id":"1349914144","filename":"file4"},{"photo_id":"1349914130","filename":"file1"},{"photo_id":"1349914125","filename":"file0"},{"photo_id":"1349914140","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914130":["hashtag1","hashtag2"]},{"1349914150":["hashtag1","hashtag2"]},{"1349914135":["hashtag1","hashtag2"]},{"1349914144":["hashtag1","hashtag2"]},{"1349914125":["hashtag1","hashtag2"]},{"1349914140":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914130, 1349914150, 1349914135, 1349914144, 1349914125, 1349914140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17259645462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:39:22.175476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_16_2693.jpg', '/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_21_2773.jpg', '/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_25_3574.jpg', '/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_27_2622.jpg', '/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_34_2612.jpg', '/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_55_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_16_2693.jpg
/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_21_2773.jpg
/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_25_3574.jpg
/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_27_2622.jpg
/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_34_2612.jpg
/home/pi/Desktop/images/15042025/15/13/image_15042025_15_13_55_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914200","1349914195","1349914186","1349914189","1349914213","1349914204"],"photo_ids_order":["1349914186","1349914189","1349914195","1349914200","1349914204","1349914213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0930eee88e459a2abe87e7258ba9ba4f.jpg","text":"TemporaryFile(/tmp/multipartBody3932432170752886648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724422859,"filename":"image_15042025_15_13_27_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ccd6cc574bf033fff866dc403ee9a82.jpg","text":"TemporaryFile(/tmp/multipartBody9016643267087203407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724422859,"filename":"image_15042025_15_13_25_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc0e03ae0df8a036b87ef4b30b85da8d.jpg","text":"TemporaryFile(/tmp/multipartBody4686365668353010716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724422859,"filename":"image_15042025_15_13_16_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b9f536222a41ddfe5892a03b7beb59b.jpg","text":"TemporaryFile(/tmp/multipartBody7073898202363868655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724422859,"filename":"image_15042025_15_13_21_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/642fb8b6548ec8a28afb6d06522c4db4.jpg","text":"TemporaryFile(/tmp/multipartBody8379907813728417826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724422859,"filename":"image_15042025_15_13_55_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/612c3790d9dbfd4d9c367b29648cd151.jpg","text":"TemporaryFile(/tmp/multipartBody1042667910963866249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724422859,"filename":"image_15042025_15_13_34_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914195","file1":"1349914189","file0":"1349914186","file4":"1349914204","file5":"1349914213","file3":"1349914200"},"map_files_photo_id_array":[{"photo_id":"1349914213","filename":"file5"},{"photo_id":"1349914195","filename":"file2"},{"photo_id":"1349914204","filename":"file4"},{"photo_id":"1349914189","filename":"file1"},{"photo_id":"1349914186","filename":"file0"},{"photo_id":"1349914200","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914200":["hashtag1","hashtag2"]},{"1349914195":["hashtag1","hashtag2"]},{"1349914186":["hashtag1","hashtag2"]},{"1349914189":["hashtag1","hashtag2"]},{"1349914213":["hashtag1","hashtag2"]},{"1349914204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914200, 1349914195, 1349914186, 1349914189, 1349914213, 1349914204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86700081825256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:40:02.571597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_07_2596.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_09_2667.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_13_3799.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_16_2660.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_28_2754.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_34_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_07_2596.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_09_2667.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_13_3799.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_16_2660.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_28_2754.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_34_3623.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7563560009002686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:40:21.896861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_07_2596.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_09_2667.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_13_3799.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_16_2660.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_28_2754.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_34_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_07_2596.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_09_2667.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_13_3799.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_16_2660.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_28_2754.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_34_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914268","1349914256","1349914301","1349914260","1349914278","1349914251"],"photo_ids_order":["1349914251","1349914256","1349914260","1349914268","1349914278","1349914301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f09215e0c7b25f9d55eb813c1d509cdc.jpg","text":"TemporaryFile(/tmp/multipartBody7063483029492591676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724482574,"filename":"image_15042025_15_14_16_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fae0f3a41526c4feca51bd45d6b8e0e.jpg","text":"TemporaryFile(/tmp/multipartBody66644041268732164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724482574,"filename":"image_15042025_15_14_09_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ef6d75cda3f441251df558cfaf52810.jpg","text":"TemporaryFile(/tmp/multipartBody4054344603218412949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724482574,"filename":"image_15042025_15_14_34_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5dc9c0b36b32e3ac88af190c0340f228.jpg","text":"TemporaryFile(/tmp/multipartBody6999309663481988764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724482574,"filename":"image_15042025_15_14_13_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1f159aa8cc99535c5a53ab88d13f6ed.jpg","text":"TemporaryFile(/tmp/multipartBody455894148808279356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724482574,"filename":"image_15042025_15_14_28_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0807a2f286a6a663454dcc5019beac1.jpg","text":"TemporaryFile(/tmp/multipartBody4301669495710967408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724482574,"filename":"image_15042025_15_14_07_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914260","file1":"1349914256","file0":"1349914251","file4":"1349914278","file5":"1349914301","file3":"1349914268"},"map_files_photo_id_array":[{"photo_id":"1349914301","filename":"file5"},{"photo_id":"1349914260","filename":"file2"},{"photo_id":"1349914278","filename":"file4"},{"photo_id":"1349914256","filename":"file1"},{"photo_id":"1349914251","filename":"file0"},{"photo_id":"1349914268","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914268":["hashtag1","hashtag2"]},{"1349914256":["hashtag1","hashtag2"]},{"1349914301":["hashtag1","hashtag2"]},{"1349914260":["hashtag1","hashtag2"]},{"1349914278":["hashtag1","hashtag2"]},{"1349914251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914268, 1349914256, 1349914301, 1349914260, 1349914278, 1349914251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.03480243682861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:41:22.674773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_39_2566.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_43_3844.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_46_2828.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_48_2751.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_51_2971.jpg', '/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_58_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_39_2566.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_43_3844.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_46_2828.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_48_2751.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_51_2971.jpg
/home/pi/Desktop/images/15042025/15/14/image_15042025_15_14_58_3748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914385","1349914364","1349914346","1349914348","1349914353","1349914377"],"photo_ids_order":["1349914346","1349914348","1349914353","1349914364","1349914377","1349914385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27884e5a7b908d8295517b080ac45c99.jpg","text":"TemporaryFile(/tmp/multipartBody7493390544641167190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724543354,"filename":"image_15042025_15_14_58_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/937a142829cc4f6ba97934f238539286.jpg","text":"TemporaryFile(/tmp/multipartBody8172941166693244602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724543354,"filename":"image_15042025_15_14_48_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58e73f78528ce6c34a09b7d0bc02126c.jpg","text":"TemporaryFile(/tmp/multipartBody3005666194463197499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724543354,"filename":"image_15042025_15_14_39_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e9361dc4381b41a31f42523e69b2b52.jpg","text":"TemporaryFile(/tmp/multipartBody568200435283593563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724543354,"filename":"image_15042025_15_14_43_3844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94e92df47abd7ea4bf9c254c77221b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8384286009689683340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724543354,"filename":"image_15042025_15_14_46_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a491e02eb2bf673d34c27cdc9b64902a.jpg","text":"TemporaryFile(/tmp/multipartBody7962716063482083069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724543354,"filename":"image_15042025_15_14_51_2971.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914353","file1":"1349914348","file0":"1349914346","file4":"1349914377","file5":"1349914385","file3":"1349914364"},"map_files_photo_id_array":[{"photo_id":"1349914385","filename":"file5"},{"photo_id":"1349914353","filename":"file2"},{"photo_id":"1349914377","filename":"file4"},{"photo_id":"1349914348","filename":"file1"},{"photo_id":"1349914346","filename":"file0"},{"photo_id":"1349914364","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914385":["hashtag1","hashtag2"]},{"1349914364":["hashtag1","hashtag2"]},{"1349914346":["hashtag1","hashtag2"]},{"1349914348":["hashtag1","hashtag2"]},{"1349914353":["hashtag1","hashtag2"]},{"1349914377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914385, 1349914364, 1349914346, 1349914348, 1349914353, 1349914377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49047064781189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:42:02.577360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_01_2590.jpg', '/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_10_3563.jpg', '/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_21_2689.jpg', '/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_27_2673.jpg', '/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_36_2689.jpg', '/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_45_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_01_2590.jpg
/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_10_3563.jpg
/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_21_2689.jpg
/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_27_2673.jpg
/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_36_2689.jpg
/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_45_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914472","1349914445","1349914424","1349914438","1349914447","1349914443"],"photo_ids_order":["1349914424","1349914438","1349914443","1349914445","1349914447","1349914472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e62f3e80669203a235e4d6a3f2b6f85.jpg","text":"TemporaryFile(/tmp/multipartBody5649024962987669963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724583374,"filename":"image_15042025_15_15_45_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f76bea290ad6010ae68db2e6133ca70.jpg","text":"TemporaryFile(/tmp/multipartBody8429955375110827117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724583374,"filename":"image_15042025_15_15_27_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f623f2177f09d02e112e8af43c1515da.jpg","text":"TemporaryFile(/tmp/multipartBody8362122664492535523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724583374,"filename":"image_15042025_15_15_01_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e808df318cd2dde00dc2e6e5acbb04c.jpg","text":"TemporaryFile(/tmp/multipartBody7506444093826732946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724583374,"filename":"image_15042025_15_15_10_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0c86c8a23116586ece29150040978c4.jpg","text":"TemporaryFile(/tmp/multipartBody58652749076241880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724583374,"filename":"image_15042025_15_15_36_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba505c09552fb80ebf6733c5b1a4deff.jpg","text":"TemporaryFile(/tmp/multipartBody6529018834870549815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724583374,"filename":"image_15042025_15_15_21_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914443","file1":"1349914438","file0":"1349914424","file4":"1349914447","file5":"1349914472","file3":"1349914445"},"map_files_photo_id_array":[{"photo_id":"1349914472","filename":"file5"},{"photo_id":"1349914443","filename":"file2"},{"photo_id":"1349914447","filename":"file4"},{"photo_id":"1349914438","filename":"file1"},{"photo_id":"1349914424","filename":"file0"},{"photo_id":"1349914445","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914472":["hashtag1","hashtag2"]},{"1349914445":["hashtag1","hashtag2"]},{"1349914424":["hashtag1","hashtag2"]},{"1349914438":["hashtag1","hashtag2"]},{"1349914447":["hashtag1","hashtag2"]},{"1349914443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914472, 1349914445, 1349914424, 1349914438, 1349914447, 1349914443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01545715332031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:42:42.026390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_58_3702.jpg', '/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_03_2668.jpg', '/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_07_3738.jpg', '/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_12_2682.jpg', '/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_37_3809.jpg', '/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_46_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/15/image_15042025_15_15_58_3702.jpg
/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_03_2668.jpg
/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_07_3738.jpg
/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_12_2682.jpg
/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_37_3809.jpg
/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_46_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914493","1349914517","1349914513","1349914504","1349914548","1349914521"],"photo_ids_order":["1349914493","1349914504","1349914513","1349914517","1349914521","1349914548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6c04925bfc47d556715429ed5dfd6bd.jpg","text":"TemporaryFile(/tmp/multipartBody4326598653685659916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724622778,"filename":"image_15042025_15_15_58_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4b21b2900f4590f576e964a2381e79a.jpg","text":"TemporaryFile(/tmp/multipartBody1920212379855678796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724622778,"filename":"image_15042025_15_16_12_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6a681e44d184991609e4e01814ceac2.jpg","text":"TemporaryFile(/tmp/multipartBody5173080341048996264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724622778,"filename":"image_15042025_15_16_07_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff03cad885bed826c48c83943cafa180.jpg","text":"TemporaryFile(/tmp/multipartBody8764030074227091298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724622778,"filename":"image_15042025_15_16_03_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7797826a46258c4707944dd3203dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody1899433483858788584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724622778,"filename":"image_15042025_15_16_46_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86230c5308bb59a3a19a866491dcc636.jpg","text":"TemporaryFile(/tmp/multipartBody2115815107501860198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724622778,"filename":"image_15042025_15_16_37_3809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914513","file1":"1349914504","file0":"1349914493","file4":"1349914521","file5":"1349914548","file3":"1349914517"},"map_files_photo_id_array":[{"photo_id":"1349914548","filename":"file5"},{"photo_id":"1349914513","filename":"file2"},{"photo_id":"1349914521","filename":"file4"},{"photo_id":"1349914504","filename":"file1"},{"photo_id":"1349914493","filename":"file0"},{"photo_id":"1349914517","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914493":["hashtag1","hashtag2"]},{"1349914517":["hashtag1","hashtag2"]},{"1349914513":["hashtag1","hashtag2"]},{"1349914504":["hashtag1","hashtag2"]},{"1349914548":["hashtag1","hashtag2"]},{"1349914521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914493, 1349914517, 1349914513, 1349914504, 1349914548, 1349914521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15823459625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:43:22.498924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_58_3642.jpg', '/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_15_2823.jpg', '/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_19_3685.jpg', '/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_21_2725.jpg', '/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_24_2617.jpg', '/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_28_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/16/image_15042025_15_16_58_3642.jpg
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_15_2823.jpg
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_19_3685.jpg
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_21_2725.jpg
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_24_2617.jpg
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_28_3751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914625","1349914612","1349914615","1349914632","1349914641","1349914620"],"photo_ids_order":["1349914612","1349914615","1349914620","1349914625","1349914632","1349914641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e18b9ae276f8e752cd411a3bf6f9ae53.jpg","text":"TemporaryFile(/tmp/multipartBody1545945963459506560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724663181,"filename":"image_15042025_15_17_21_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cc26872373345a1f3d003f2f2cc9624.jpg","text":"TemporaryFile(/tmp/multipartBody5951978026899361549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724663181,"filename":"image_15042025_15_16_58_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f95b2a210c37e30be23c199257147fd.jpg","text":"TemporaryFile(/tmp/multipartBody7114006636853840642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724663181,"filename":"image_15042025_15_17_15_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ae6c2da9eb71600f01fcb8e3bf67cb0.jpg","text":"TemporaryFile(/tmp/multipartBody1791760834818156600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724663181,"filename":"image_15042025_15_17_24_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/579a67f540af4c279a5f3d648e93a43b.jpg","text":"TemporaryFile(/tmp/multipartBody5536265901696269543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724663181,"filename":"image_15042025_15_17_28_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ab971ffbd5c35aa84fcd1d7d45adab4.jpg","text":"TemporaryFile(/tmp/multipartBody4641208269668244906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724663181,"filename":"image_15042025_15_17_19_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914620","file1":"1349914615","file0":"1349914612","file4":"1349914632","file5":"1349914641","file3":"1349914625"},"map_files_photo_id_array":[{"photo_id":"1349914641","filename":"file5"},{"photo_id":"1349914620","filename":"file2"},{"photo_id":"1349914632","filename":"file4"},{"photo_id":"1349914615","filename":"file1"},{"photo_id":"1349914612","filename":"file0"},{"photo_id":"1349914625","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914625":["hashtag1","hashtag2"]},{"1349914612":["hashtag1","hashtag2"]},{"1349914615":["hashtag1","hashtag2"]},{"1349914632":["hashtag1","hashtag2"]},{"1349914641":["hashtag1","hashtag2"]},{"1349914620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914625, 1349914612, 1349914615, 1349914632, 1349914641, 1349914620)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.060195446014404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:44:24.235296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_30_2591.jpg', '/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_42_2838.jpg', '/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_48_3670.jpg', '/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_51_2587.jpg', '/home/pi/Desktop/images/15042025/15/17/image_15042025_15_18_00_2622.jpg', '/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_06_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_30_2591.jpg
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_42_2838.jpg
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_48_3670.jpg
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_17_51_2587.jpg
/home/pi/Desktop/images/15042025/15/17/image_15042025_15_18_00_2622.jpg
/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_06_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914694","1349914709","1349914687","1349914678","1349914683","1349914680"],"photo_ids_order":["1349914678","1349914680","1349914683","1349914687","1349914694","1349914709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7acf7903c99e55c0bd96170189df0c1.jpg","text":"TemporaryFile(/tmp/multipartBody8098883360201339310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724727329,"filename":"image_15042025_15_18_00_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80c65af468a6e0f77a1546d3c874150a.jpg","text":"TemporaryFile(/tmp/multipartBody299051774404041634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724727329,"filename":"image_15042025_15_18_06_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a7744a9c89af6c2194e9a6f2e1a9e1e.jpg","text":"TemporaryFile(/tmp/multipartBody269082060258343113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724727329,"filename":"image_15042025_15_17_51_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa62c9c078be2d031ffcfb0098f24ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3422375170962113896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724727329,"filename":"image_15042025_15_17_30_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc51ac0c1d5581cae066ccfe5e3cdfcd.jpg","text":"TemporaryFile(/tmp/multipartBody630696019478711510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724727329,"filename":"image_15042025_15_17_48_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21b9eca666c2995057258386ce0e6278.jpg","text":"TemporaryFile(/tmp/multipartBody608496187239261569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724727329,"filename":"image_15042025_15_17_42_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914683","file1":"1349914680","file0":"1349914678","file4":"1349914694","file5":"1349914709","file3":"1349914687"},"map_files_photo_id_array":[{"photo_id":"1349914709","filename":"file5"},{"photo_id":"1349914683","filename":"file2"},{"photo_id":"1349914694","filename":"file4"},{"photo_id":"1349914680","filename":"file1"},{"photo_id":"1349914678","filename":"file0"},{"photo_id":"1349914687","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914694":["hashtag1","hashtag2"]},{"1349914709":["hashtag1","hashtag2"]},{"1349914687":["hashtag1","hashtag2"]},{"1349914678":["hashtag1","hashtag2"]},{"1349914683":["hashtag1","hashtag2"]},{"1349914680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914694, 1349914709, 1349914687, 1349914678, 1349914683, 1349914680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84390878677368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:45:02.874573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:45:22.142792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_18_2788.jpg', '/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_25_3820.jpg', '/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_36_2616.jpg', '/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_06_2594.jpg', '/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_09_2724.jpg', '/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_30_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_18_2788.jpg
/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_25_3820.jpg
/home/pi/Desktop/images/15042025/15/18/image_15042025_15_18_36_2616.jpg
/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_06_2594.jpg
/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_09_2724.jpg
/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_30_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914765","1349914747","1349914741","1349914758","1349914752","1349914743"],"photo_ids_order":["1349914741","1349914743","1349914747","1349914752","1349914758","1349914765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/261d82da05b96712cd5b5794d2e2846e.jpg","text":"TemporaryFile(/tmp/multipartBody3485136617508223519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724782839,"filename":"image_15042025_15_19_30_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7fc8e60ab6919f252e7c177a92fb9c40.jpg","text":"TemporaryFile(/tmp/multipartBody8900151389058550444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724782839,"filename":"image_15042025_15_18_36_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a219ffeb3ee909a58c0b627a6b66f1ee.jpg","text":"TemporaryFile(/tmp/multipartBody9103347203316431539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724782839,"filename":"image_15042025_15_18_18_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85a9fc671e0769aa9cd6575816b4abc1.jpg","text":"TemporaryFile(/tmp/multipartBody550607999154175866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724782839,"filename":"image_15042025_15_19_09_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9103fa3d37f41917abe7ce110be11f2.jpg","text":"TemporaryFile(/tmp/multipartBody5607627761008093863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724782839,"filename":"image_15042025_15_19_06_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5356d5cb5399aeff5b6b0bf8dee10f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4281240852549125496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724782839,"filename":"image_15042025_15_18_25_3820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914747","file1":"1349914743","file0":"1349914741","file4":"1349914758","file5":"1349914765","file3":"1349914752"},"map_files_photo_id_array":[{"photo_id":"1349914765","filename":"file5"},{"photo_id":"1349914747","filename":"file2"},{"photo_id":"1349914758","filename":"file4"},{"photo_id":"1349914743","filename":"file1"},{"photo_id":"1349914741","filename":"file0"},{"photo_id":"1349914752","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914765":["hashtag1","hashtag2"]},{"1349914747":["hashtag1","hashtag2"]},{"1349914741":["hashtag1","hashtag2"]},{"1349914758":["hashtag1","hashtag2"]},{"1349914752":["hashtag1","hashtag2"]},{"1349914743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914765, 1349914747, 1349914741, 1349914758, 1349914752, 1349914743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55672526359558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:46:02.959348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_39_2763.jpg', '/home/pi/Desktop/images/15042025/15/20/image_15042025_15_20_36_3859.jpg', '/home/pi/Desktop/images/15042025/15/20/image_15042025_15_20_48_2557.jpg', '/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_15_2664.jpg', '/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_27_2891.jpg', '/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_29_2920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/19/image_15042025_15_19_39_2763.jpg
/home/pi/Desktop/images/15042025/15/20/image_15042025_15_20_36_3859.jpg
/home/pi/Desktop/images/15042025/15/20/image_15042025_15_20_48_2557.jpg
/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_15_2664.jpg
/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_27_2891.jpg
/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_29_2920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914781","1349914792","1349914795","1349914777","1349914788","1349914785"],"photo_ids_order":["1349914777","1349914781","1349914785","1349914788","1349914792","1349914795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1fc39fa3cae560f2a65ce824b582f741.jpg","text":"TemporaryFile(/tmp/multipartBody5561336808970382761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724823718,"filename":"image_15042025_15_20_36_3859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2abad86a5c20628f45bb648da6c49f0.jpg","text":"TemporaryFile(/tmp/multipartBody609345049311863719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724823718,"filename":"image_15042025_15_21_27_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bbe9e9d36138aad592c488ab3231fc1.jpg","text":"TemporaryFile(/tmp/multipartBody3229739336394353426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724823718,"filename":"image_15042025_15_21_29_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ebde80b809a1af60a0396511b57839d.jpg","text":"TemporaryFile(/tmp/multipartBody7726913875987713781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724823718,"filename":"image_15042025_15_19_39_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/096218dcbeec10921260f513926fbee4.jpg","text":"TemporaryFile(/tmp/multipartBody8030689194436299654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724823718,"filename":"image_15042025_15_21_15_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7aa05e55ed5c1ee2e1a716b25b1a2b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2904584971197374140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724823718,"filename":"image_15042025_15_20_48_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914785","file1":"1349914781","file0":"1349914777","file4":"1349914792","file5":"1349914795","file3":"1349914788"},"map_files_photo_id_array":[{"photo_id":"1349914795","filename":"file5"},{"photo_id":"1349914785","filename":"file2"},{"photo_id":"1349914792","filename":"file4"},{"photo_id":"1349914781","filename":"file1"},{"photo_id":"1349914777","filename":"file0"},{"photo_id":"1349914788","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914781":["hashtag1","hashtag2"]},{"1349914792":["hashtag1","hashtag2"]},{"1349914795":["hashtag1","hashtag2"]},{"1349914777":["hashtag1","hashtag2"]},{"1349914788":["hashtag1","hashtag2"]},{"1349914785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914781, 1349914792, 1349914795, 1349914777, 1349914788, 1349914785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17416334152222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:46:42.519876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_38_2661.jpg', '/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_42_3625.jpg', '/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_03_3532.jpg', '/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_06_2761.jpg', '/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_09_2721.jpg', '/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_15_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_38_2661.jpg
/home/pi/Desktop/images/15042025/15/21/image_15042025_15_21_42_3625.jpg
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_03_3532.jpg
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_06_2761.jpg
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_09_2721.jpg
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_15_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914824","1349914808","1349914864","1349914840","1349914843","1349914815"],"photo_ids_order":["1349914808","1349914815","1349914824","1349914840","1349914843","1349914864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec0504550aaa0e6e6a455ebdb34390b9.jpg","text":"TemporaryFile(/tmp/multipartBody6150951044187508064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724863206,"filename":"image_15042025_15_22_03_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33df56ba773f1c951215907ad7a9690d.jpg","text":"TemporaryFile(/tmp/multipartBody1819502277929127411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724863206,"filename":"image_15042025_15_21_38_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ca506a2dc12051cf98aafe7133aee9a.jpg","text":"TemporaryFile(/tmp/multipartBody8968695552901137259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724863206,"filename":"image_15042025_15_22_15_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79838a54f07bce729cb1d24cd2cab7bb.jpg","text":"TemporaryFile(/tmp/multipartBody8232006564472207772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724863206,"filename":"image_15042025_15_22_06_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03f6f5689d52b7a093e648c8c2ddd136.jpg","text":"TemporaryFile(/tmp/multipartBody7247454931807157531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724863206,"filename":"image_15042025_15_22_09_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd3d936592379ecf384b995d5ac39e8e.jpg","text":"TemporaryFile(/tmp/multipartBody1514288735840798865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724863206,"filename":"image_15042025_15_21_42_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914824","file1":"1349914815","file0":"1349914808","file4":"1349914843","file5":"1349914864","file3":"1349914840"},"map_files_photo_id_array":[{"photo_id":"1349914864","filename":"file5"},{"photo_id":"1349914824","filename":"file2"},{"photo_id":"1349914843","filename":"file4"},{"photo_id":"1349914815","filename":"file1"},{"photo_id":"1349914808","filename":"file0"},{"photo_id":"1349914840","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914824":["hashtag1","hashtag2"]},{"1349914808":["hashtag1","hashtag2"]},{"1349914864":["hashtag1","hashtag2"]},{"1349914840":["hashtag1","hashtag2"]},{"1349914843":["hashtag1","hashtag2"]},{"1349914815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914824, 1349914808, 1349914864, 1349914840, 1349914843, 1349914815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04088759422302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:47:22.399574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_18_2719.jpg', '/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_24_3661.jpg', '/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_30_2665.jpg', '/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_45_2541.jpg', '/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_51_3597.jpg', '/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_59_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_18_2719.jpg
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_24_3661.jpg
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_30_2665.jpg
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_45_2541.jpg
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_51_3597.jpg
/home/pi/Desktop/images/15042025/15/22/image_15042025_15_22_59_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914897","1349914882","1349914876","1349914915","1349914906","1349914878"],"photo_ids_order":["1349914876","1349914878","1349914882","1349914897","1349914906","1349914915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95c06644b135194aefa8d9d6bd0e0442.jpg","text":"TemporaryFile(/tmp/multipartBody5656912265539755352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724903090,"filename":"image_15042025_15_22_45_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1cc74763ac75c1aecb420aa9378f33d.jpg","text":"TemporaryFile(/tmp/multipartBody3747676136158478312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724903090,"filename":"image_15042025_15_22_30_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21e454e061173d77ab33bbc50561ca63.jpg","text":"TemporaryFile(/tmp/multipartBody6473063962525802566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724903090,"filename":"image_15042025_15_22_18_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cd9b1ba4b43c681f83c95c0621f540d.jpg","text":"TemporaryFile(/tmp/multipartBody4890421413699622582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724903090,"filename":"image_15042025_15_22_59_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92e5413b162df27e49e197f5e4f12447.jpg","text":"TemporaryFile(/tmp/multipartBody2631498428502447587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724903090,"filename":"image_15042025_15_22_51_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3920255da487eeb7bf363983956f4659.jpg","text":"TemporaryFile(/tmp/multipartBody6232574631139917947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724903090,"filename":"image_15042025_15_22_24_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914882","file1":"1349914878","file0":"1349914876","file4":"1349914906","file5":"1349914915","file3":"1349914897"},"map_files_photo_id_array":[{"photo_id":"1349914915","filename":"file5"},{"photo_id":"1349914882","filename":"file2"},{"photo_id":"1349914906","filename":"file4"},{"photo_id":"1349914878","filename":"file1"},{"photo_id":"1349914876","filename":"file0"},{"photo_id":"1349914897","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914897":["hashtag1","hashtag2"]},{"1349914882":["hashtag1","hashtag2"]},{"1349914876":["hashtag1","hashtag2"]},{"1349914915":["hashtag1","hashtag2"]},{"1349914906":["hashtag1","hashtag2"]},{"1349914878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914897, 1349914882, 1349914876, 1349914915, 1349914906, 1349914878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.217737913131714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:48:02.386793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_08_2683.jpg', '/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_17_2676.jpg', '/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_20_2740.jpg', '/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_27_2577.jpg', '/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_29_2645.jpg', '/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_36_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_08_2683.jpg
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_17_2676.jpg
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_20_2740.jpg
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_27_2577.jpg
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_29_2645.jpg
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_36_2846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349914973","1349914961","1349914943","1349914963","1349914957","1349914947"],"photo_ids_order":["1349914943","1349914947","1349914957","1349914961","1349914963","1349914973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a369d5dd024949b7a1a58f79d3372c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7145083016713951496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724945869,"filename":"image_15042025_15_23_36_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39ca3ad474a4524dc4903ab70d0ecfcb.jpg","text":"TemporaryFile(/tmp/multipartBody8134032210604978324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724945869,"filename":"image_15042025_15_23_27_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52118238d92e4328614343f39002abcc.jpg","text":"TemporaryFile(/tmp/multipartBody6341924877077294064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724945869,"filename":"image_15042025_15_23_08_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/261154a9f945f51f465ac5806e84b21e.jpg","text":"TemporaryFile(/tmp/multipartBody5812021672233485675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724945869,"filename":"image_15042025_15_23_29_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cd86dbd32281c38f53bd2fccb58f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody333596494519993486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724945869,"filename":"image_15042025_15_23_20_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8513ca1ed8fa664173dc9801c065443b.jpg","text":"TemporaryFile(/tmp/multipartBody2657459447060155127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744724945869,"filename":"image_15042025_15_23_17_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349914957","file1":"1349914947","file0":"1349914943","file4":"1349914963","file5":"1349914973","file3":"1349914961"},"map_files_photo_id_array":[{"photo_id":"1349914973","filename":"file5"},{"photo_id":"1349914957","filename":"file2"},{"photo_id":"1349914963","filename":"file4"},{"photo_id":"1349914947","filename":"file1"},{"photo_id":"1349914943","filename":"file0"},{"photo_id":"1349914961","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349914973":["hashtag1","hashtag2"]},{"1349914961":["hashtag1","hashtag2"]},{"1349914943":["hashtag1","hashtag2"]},{"1349914963":["hashtag1","hashtag2"]},{"1349914957":["hashtag1","hashtag2"]},{"1349914947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349914973, 1349914961, 1349914943, 1349914963, 1349914957, 1349914947)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.70524883270264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:49:03.242538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_39_2663.jpg', '/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_45_3708.jpg', '/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_50_2548.jpg', '/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_54_3637.jpg', '/home/pi/Desktop/images/15042025/15/23/image_15042025_15_24_00_3704.jpg', '/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_03_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_39_2663.jpg
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_45_3708.jpg
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_50_2548.jpg
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_23_54_3637.jpg
/home/pi/Desktop/images/15042025/15/23/image_15042025_15_24_00_3704.jpg
/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_03_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915060","1349915074","1349915067","1349915082","1349915070","1349915078"],"photo_ids_order":["1349915060","1349915067","1349915070","1349915074","1349915078","1349915082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad721d3bbcf26236c6a7dfcff067e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody7211465617585128880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725004283,"filename":"image_15042025_15_23_39_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42199cdedb539429ca526e6abb92c632.jpg","text":"TemporaryFile(/tmp/multipartBody5878468918646305099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725004283,"filename":"image_15042025_15_23_54_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf2d568062a9be3e1f9c836ffc2885b6.jpg","text":"TemporaryFile(/tmp/multipartBody2863642010547060320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725004283,"filename":"image_15042025_15_23_45_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ac7ace8d57f26ef294d3f9deb0e026b.jpg","text":"TemporaryFile(/tmp/multipartBody1204762746865932781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725004283,"filename":"image_15042025_15_24_03_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d6d56e31223baee923001c426bfda2f.jpg","text":"TemporaryFile(/tmp/multipartBody9054619475581723899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725004283,"filename":"image_15042025_15_23_50_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30c48e2c697e8d4e9d14bc2e2d9832f2.jpg","text":"TemporaryFile(/tmp/multipartBody2990318339279663806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725004283,"filename":"image_15042025_15_24_00_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915070","file1":"1349915067","file0":"1349915060","file4":"1349915078","file5":"1349915082","file3":"1349915074"},"map_files_photo_id_array":[{"photo_id":"1349915082","filename":"file5"},{"photo_id":"1349915070","filename":"file2"},{"photo_id":"1349915078","filename":"file4"},{"photo_id":"1349915067","filename":"file1"},{"photo_id":"1349915060","filename":"file0"},{"photo_id":"1349915074","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915060":["hashtag1","hashtag2"]},{"1349915074":["hashtag1","hashtag2"]},{"1349915067":["hashtag1","hashtag2"]},{"1349915082":["hashtag1","hashtag2"]},{"1349915070":["hashtag1","hashtag2"]},{"1349915078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915060, 1349915074, 1349915067, 1349915082, 1349915070, 1349915078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.763707876205444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:49:42.339035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_09_3573.jpg', '/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_18_3759.jpg', '/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_27_3587.jpg', '/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_30_2675.jpg', '/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_50_2690.jpg', '/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_54_3781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_09_3573.jpg
/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_18_3759.jpg
/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_27_3587.jpg
/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_30_2675.jpg
/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_50_2690.jpg
/home/pi/Desktop/images/15042025/15/24/image_15042025_15_24_54_3781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915132","1349915105","1349915140","1349915112","1349915109","1349915093"],"photo_ids_order":["1349915093","1349915105","1349915109","1349915112","1349915132","1349915140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f804f03bf6080f4604af7a35a219eacd.jpg","text":"TemporaryFile(/tmp/multipartBody5618704578618213558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725043062,"filename":"image_15042025_15_24_50_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4af4d15534d7dcba907c3eaaab51b406.jpg","text":"TemporaryFile(/tmp/multipartBody2119361995099134073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725043062,"filename":"image_15042025_15_24_18_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b035052efa9cf454993438f8e7ba175c.jpg","text":"TemporaryFile(/tmp/multipartBody1441950455488420284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725043062,"filename":"image_15042025_15_24_54_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28754c957eb14c6b7465db707044b482.jpg","text":"TemporaryFile(/tmp/multipartBody46192864661435952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725043062,"filename":"image_15042025_15_24_30_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec02bbf4d9972a1fd1f9eebd8871403b.jpg","text":"TemporaryFile(/tmp/multipartBody2938711865441341714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725043062,"filename":"image_15042025_15_24_27_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da616292801ec9689fe45a04ab6ba261.jpg","text":"TemporaryFile(/tmp/multipartBody3373507286481620868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725043062,"filename":"image_15042025_15_24_09_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915109","file1":"1349915105","file0":"1349915093","file4":"1349915132","file5":"1349915140","file3":"1349915112"},"map_files_photo_id_array":[{"photo_id":"1349915140","filename":"file5"},{"photo_id":"1349915109","filename":"file2"},{"photo_id":"1349915132","filename":"file4"},{"photo_id":"1349915105","filename":"file1"},{"photo_id":"1349915093","filename":"file0"},{"photo_id":"1349915112","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915132":["hashtag1","hashtag2"]},{"1349915105":["hashtag1","hashtag2"]},{"1349915140":["hashtag1","hashtag2"]},{"1349915112":["hashtag1","hashtag2"]},{"1349915109":["hashtag1","hashtag2"]},{"1349915093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915132, 1349915105, 1349915140, 1349915112, 1349915109, 1349915093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24860119819641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:50:21.806932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_02_2640.jpg', '/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_06_3738.jpg', '/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_17_2727.jpg', '/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_20_2631.jpg', '/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_33_3767.jpg', '/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_36_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_02_2640.jpg
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_06_3738.jpg
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_17_2727.jpg
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_20_2631.jpg
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_33_3767.jpg
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_36_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915210","1349915200","1349915203","1349915229","1349915220","1349915205"],"photo_ids_order":["1349915200","1349915203","1349915205","1349915210","1349915220","1349915229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c8365fb8a6285a1145b4dc1cbe2b61e.jpg","text":"TemporaryFile(/tmp/multipartBody5974790517650168702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725082580,"filename":"image_15042025_15_25_20_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46c41a4fda3392838b66be18c7cd1377.jpg","text":"TemporaryFile(/tmp/multipartBody9103395881936763380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725082580,"filename":"image_15042025_15_25_02_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0cc286562d0e33becb1eaafbef457da.jpg","text":"TemporaryFile(/tmp/multipartBody8442615117111147093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725082580,"filename":"image_15042025_15_25_06_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99e8a2311d1da78f91c0ad88d11b4c2d.jpg","text":"TemporaryFile(/tmp/multipartBody2796348185981856195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725082580,"filename":"image_15042025_15_25_36_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7348e8fbe01fc6f73ca0678181698620.jpg","text":"TemporaryFile(/tmp/multipartBody8086840701172879198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725082580,"filename":"image_15042025_15_25_33_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8425691e24b3a8423e5ed156d6af55ff.jpg","text":"TemporaryFile(/tmp/multipartBody4698084948815168820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725082580,"filename":"image_15042025_15_25_17_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915205","file1":"1349915203","file0":"1349915200","file4":"1349915220","file5":"1349915229","file3":"1349915210"},"map_files_photo_id_array":[{"photo_id":"1349915229","filename":"file5"},{"photo_id":"1349915205","filename":"file2"},{"photo_id":"1349915220","filename":"file4"},{"photo_id":"1349915203","filename":"file1"},{"photo_id":"1349915200","filename":"file0"},{"photo_id":"1349915210","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915210":["hashtag1","hashtag2"]},{"1349915200":["hashtag1","hashtag2"]},{"1349915203":["hashtag1","hashtag2"]},{"1349915229":["hashtag1","hashtag2"]},{"1349915220":["hashtag1","hashtag2"]},{"1349915205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915210, 1349915200, 1349915203, 1349915229, 1349915220, 1349915205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70986771583557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:51:04.934212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:51:24.136963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_38_2725.jpg', '/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_53_2696.jpg', '/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_06_3499.jpg', '/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_09_2558.jpg', '/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_12_3344.jpg', '/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_24_8975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_38_2725.jpg
/home/pi/Desktop/images/15042025/15/25/image_15042025_15_25_53_2696.jpg
/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_06_3499.jpg
/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_09_2558.jpg
/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_12_3344.jpg
/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_24_8975.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915273","1349915284","1349915266","1349915262","1349915279","1349915270"],"photo_ids_order":["1349915262","1349915266","1349915270","1349915273","1349915279","1349915284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ea2d0957f0949b8f162c9ac115c3a67.jpg","text":"TemporaryFile(/tmp/multipartBody4634421699086577653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725144811,"filename":"image_15042025_15_26_09_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fe35e5aae3c8e858c6a9d896af16edc.jpg","text":"TemporaryFile(/tmp/multipartBody5218528018108393529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725144811,"filename":"image_15042025_15_26_24_8975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09f67ac7ba8fd62091207baba9be0a74.jpg","text":"TemporaryFile(/tmp/multipartBody6521988218139411790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725144811,"filename":"image_15042025_15_25_53_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74be447f3d067390eb9a5ca8b020dc62.jpg","text":"TemporaryFile(/tmp/multipartBody4728662226198621545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725144811,"filename":"image_15042025_15_25_38_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b297f16e70efba085aa53366bf86c9c.jpg","text":"TemporaryFile(/tmp/multipartBody4832106077078470596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725144811,"filename":"image_15042025_15_26_12_3344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cbce67cff682248d6d6729faee68687.jpg","text":"TemporaryFile(/tmp/multipartBody3015587115204844258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725144811,"filename":"image_15042025_15_26_06_3499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915270","file1":"1349915266","file0":"1349915262","file4":"1349915279","file5":"1349915284","file3":"1349915273"},"map_files_photo_id_array":[{"photo_id":"1349915284","filename":"file5"},{"photo_id":"1349915270","filename":"file2"},{"photo_id":"1349915279","filename":"file4"},{"photo_id":"1349915266","filename":"file1"},{"photo_id":"1349915262","filename":"file0"},{"photo_id":"1349915273","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915273":["hashtag1","hashtag2"]},{"1349915284":["hashtag1","hashtag2"]},{"1349915266":["hashtag1","hashtag2"]},{"1349915262":["hashtag1","hashtag2"]},{"1349915279":["hashtag1","hashtag2"]},{"1349915270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915273, 1349915284, 1349915266, 1349915262, 1349915279, 1349915270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47457146644592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:52:02.464957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_25_1643.jpg', '/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_51_1649.jpg', '/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_07_1607.jpg', '/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_17_2784.jpg', '/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_23_2852.jpg', '/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_28_4492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_25_1643.jpg
/home/pi/Desktop/images/15042025/15/26/image_15042025_15_26_51_1649.jpg
/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_07_1607.jpg
/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_17_2784.jpg
/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_23_2852.jpg
/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_28_4492.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915327","1349915324","1349915302","1349915319","1349915313","1349915307"],"photo_ids_order":["1349915302","1349915307","1349915313","1349915319","1349915324","1349915327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec1c0bc52d17e9eaf59856423bf826c8.jpg","text":"TemporaryFile(/tmp/multipartBody8032827204839744897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725183225,"filename":"image_15042025_15_27_28_4492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53d425a8cca45321fdec7aeaacdf2e43.jpg","text":"TemporaryFile(/tmp/multipartBody3032881928121351756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725183225,"filename":"image_15042025_15_27_23_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ed4372a736a26143a8e17144bf8ea03.jpg","text":"TemporaryFile(/tmp/multipartBody1482250717886204531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725183225,"filename":"image_15042025_15_26_25_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1fb09d1359a8630f997d920a0383bc8.jpg","text":"TemporaryFile(/tmp/multipartBody543588513244809825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725183225,"filename":"image_15042025_15_27_17_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0d1614ba6ed6871a81f025f206bf333.jpg","text":"TemporaryFile(/tmp/multipartBody7481394878577981905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725183225,"filename":"image_15042025_15_27_07_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/664b5b3d524de58229c1e6c2aea6561b.jpg","text":"TemporaryFile(/tmp/multipartBody951108960408126426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725183225,"filename":"image_15042025_15_26_51_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915313","file1":"1349915307","file0":"1349915302","file4":"1349915324","file5":"1349915327","file3":"1349915319"},"map_files_photo_id_array":[{"photo_id":"1349915327","filename":"file5"},{"photo_id":"1349915313","filename":"file2"},{"photo_id":"1349915324","filename":"file4"},{"photo_id":"1349915307","filename":"file1"},{"photo_id":"1349915302","filename":"file0"},{"photo_id":"1349915319","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915327":["hashtag1","hashtag2"]},{"1349915324":["hashtag1","hashtag2"]},{"1349915302":["hashtag1","hashtag2"]},{"1349915319":["hashtag1","hashtag2"]},{"1349915313":["hashtag1","hashtag2"]},{"1349915307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915327, 1349915324, 1349915302, 1349915319, 1349915313, 1349915307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98465967178345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:52:41.881537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_43_5381.jpg', '/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_01_1562.jpg', '/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_23_2637.jpg', '/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_29_2596.jpg', '/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_44_3703.jpg', '/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_12_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/27/image_15042025_15_27_43_5381.jpg
/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_01_1562.jpg
/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_23_2637.jpg
/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_29_2596.jpg
/home/pi/Desktop/images/15042025/15/28/image_15042025_15_28_44_3703.jpg
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_12_3550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915507","1349915341","1349915437","1349915344","1349915349","1349915337"],"photo_ids_order":["1349915337","1349915341","1349915344","1349915349","1349915437","1349915507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69952168c64c0c560122c8b7c76219f8.jpg","text":"TemporaryFile(/tmp/multipartBody7143842583724578776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725222556,"filename":"image_15042025_15_29_12_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16a3c284b4274af015573fe278f1f261.jpg","text":"TemporaryFile(/tmp/multipartBody6623063399910516640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725222556,"filename":"image_15042025_15_28_01_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e105d18ccfc4e6bf81fa0628ed2af7fe.jpg","text":"TemporaryFile(/tmp/multipartBody4283847311862081683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725222556,"filename":"image_15042025_15_28_44_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5ad5949085d807dc834ba0389a9c2e7.jpg","text":"TemporaryFile(/tmp/multipartBody5365462423825898545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725222556,"filename":"image_15042025_15_28_23_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c726c6898d772d7959ebdb80e5ceb17.jpg","text":"TemporaryFile(/tmp/multipartBody6527555191960063363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725222556,"filename":"image_15042025_15_28_29_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a59676bef43f542b6c54b07c9907cc4d.jpg","text":"TemporaryFile(/tmp/multipartBody1926075727601317164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725222556,"filename":"image_15042025_15_27_43_5381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915344","file1":"1349915341","file0":"1349915337","file4":"1349915437","file5":"1349915507","file3":"1349915349"},"map_files_photo_id_array":[{"photo_id":"1349915507","filename":"file5"},{"photo_id":"1349915344","filename":"file2"},{"photo_id":"1349915437","filename":"file4"},{"photo_id":"1349915341","filename":"file1"},{"photo_id":"1349915337","filename":"file0"},{"photo_id":"1349915349","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915507":["hashtag1","hashtag2"]},{"1349915341":["hashtag1","hashtag2"]},{"1349915437":["hashtag1","hashtag2"]},{"1349915344":["hashtag1","hashtag2"]},{"1349915349":["hashtag1","hashtag2"]},{"1349915337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915507, 1349915341, 1349915437, 1349915344, 1349915349, 1349915337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.234004497528076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:53:22.557946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_29_2624.jpg', '/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_32_2773.jpg', '/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_35_3835.jpg', '/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_38_2822.jpg', '/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_41_2789.jpg', '/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_44_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_29_2624.jpg
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_32_2773.jpg
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_35_3835.jpg
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_38_2822.jpg
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_41_2789.jpg
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_44_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915564","1349915558","1349915568","1349915553","1349915547","1349915541"],"photo_ids_order":["1349915541","1349915547","1349915553","1349915558","1349915564","1349915568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/851147af2d7527727621bee4348764b7.jpg","text":"TemporaryFile(/tmp/multipartBody4531600579168646874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725263240,"filename":"image_15042025_15_29_41_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8122da6d9505c18121275f3fb0c7c602.jpg","text":"TemporaryFile(/tmp/multipartBody2526705844177632453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725263240,"filename":"image_15042025_15_29_38_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f14284698689a854384bddaedc4f941.jpg","text":"TemporaryFile(/tmp/multipartBody953122737865148433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725263240,"filename":"image_15042025_15_29_44_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/195c4b80cd723fe4a73e573d51fbc2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5056350099604224676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725263240,"filename":"image_15042025_15_29_35_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1d2934f4679a6824399fef8c0a7aebb.jpg","text":"TemporaryFile(/tmp/multipartBody6296926948755846236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725263240,"filename":"image_15042025_15_29_32_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/448df31a623d66a5a215fa18b936b447.jpg","text":"TemporaryFile(/tmp/multipartBody5096159994451378604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725263240,"filename":"image_15042025_15_29_29_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915553","file1":"1349915547","file0":"1349915541","file4":"1349915564","file5":"1349915568","file3":"1349915558"},"map_files_photo_id_array":[{"photo_id":"1349915568","filename":"file5"},{"photo_id":"1349915553","filename":"file2"},{"photo_id":"1349915564","filename":"file4"},{"photo_id":"1349915547","filename":"file1"},{"photo_id":"1349915541","filename":"file0"},{"photo_id":"1349915558","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915564":["hashtag1","hashtag2"]},{"1349915558":["hashtag1","hashtag2"]},{"1349915568":["hashtag1","hashtag2"]},{"1349915553":["hashtag1","hashtag2"]},{"1349915547":["hashtag1","hashtag2"]},{"1349915541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915564, 1349915558, 1349915568, 1349915553, 1349915547, 1349915541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.506985664367676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:54:02.898756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_50_3671.jpg', '/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_53_2705.jpg', '/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_56_2623.jpg', '/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_59_3818.jpg', '/home/pi/Desktop/images/15042025/15/30/image_15042025_15_30_07_3012.jpg', '/home/pi/Desktop/images/15042025/15/30/image_15042025_15_30_29_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_50_3671.jpg
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_53_2705.jpg
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_56_2623.jpg
/home/pi/Desktop/images/15042025/15/29/image_15042025_15_29_59_3818.jpg
/home/pi/Desktop/images/15042025/15/30/image_15042025_15_30_07_3012.jpg
/home/pi/Desktop/images/15042025/15/30/image_15042025_15_30_29_3760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915605","1349915598","1349915583","1349915601","1349915594","1349915588"],"photo_ids_order":["1349915583","1349915588","1349915594","1349915598","1349915601","1349915605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a43ddb4ead14df310b98a006e6d2923.jpg","text":"TemporaryFile(/tmp/multipartBody1477324990770904146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725303716,"filename":"image_15042025_15_30_29_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a89af6ed3fafe84ac4d1ccd4d0d4527.jpg","text":"TemporaryFile(/tmp/multipartBody4371595013377548896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725303716,"filename":"image_15042025_15_29_59_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6895323ce874c712a298a682b741dccb.jpg","text":"TemporaryFile(/tmp/multipartBody2029054465237077239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725303716,"filename":"image_15042025_15_29_50_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45186abcfe10eb4aa7ddeeab4c191807.jpg","text":"TemporaryFile(/tmp/multipartBody4139943042476333486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725303716,"filename":"image_15042025_15_30_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb1512248c1bf9cd5797aed59b472bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1657385059385278191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725303716,"filename":"image_15042025_15_29_56_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a575cd597e3969e93bb52192764d76f.jpg","text":"TemporaryFile(/tmp/multipartBody3048725065575699671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725303716,"filename":"image_15042025_15_29_53_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915594","file1":"1349915588","file0":"1349915583","file4":"1349915601","file5":"1349915605","file3":"1349915598"},"map_files_photo_id_array":[{"photo_id":"1349915605","filename":"file5"},{"photo_id":"1349915594","filename":"file2"},{"photo_id":"1349915601","filename":"file4"},{"photo_id":"1349915588","filename":"file1"},{"photo_id":"1349915583","filename":"file0"},{"photo_id":"1349915598","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915605":["hashtag1","hashtag2"]},{"1349915598":["hashtag1","hashtag2"]},{"1349915583":["hashtag1","hashtag2"]},{"1349915601":["hashtag1","hashtag2"]},{"1349915594":["hashtag1","hashtag2"]},{"1349915588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915605, 1349915598, 1349915583, 1349915601, 1349915594, 1349915588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74339437484741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:54:42.088178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/31/image_15042025_15_31_07_2613.jpg', '/home/pi/Desktop/images/15042025/15/31/image_15042025_15_31_43_2698.jpg', '/home/pi/Desktop/images/15042025/15/32/image_15042025_15_32_50_3704.jpg', '/home/pi/Desktop/images/15042025/15/33/image_15042025_15_33_30_1801.jpg', '/home/pi/Desktop/images/15042025/15/34/image_15042025_15_34_43_2558.jpg', '/home/pi/Desktop/images/15042025/15/34/image_15042025_15_34_58_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/31/image_15042025_15_31_07_2613.jpg
/home/pi/Desktop/images/15042025/15/31/image_15042025_15_31_43_2698.jpg
/home/pi/Desktop/images/15042025/15/32/image_15042025_15_32_50_3704.jpg
/home/pi/Desktop/images/15042025/15/33/image_15042025_15_33_30_1801.jpg
/home/pi/Desktop/images/15042025/15/34/image_15042025_15_34_43_2558.jpg
/home/pi/Desktop/images/15042025/15/34/image_15042025_15_34_58_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915627","1349915674","1349915653","1349915662","1349915620","1349915614"],"photo_ids_order":["1349915614","1349915620","1349915627","1349915653","1349915662","1349915674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c9ec273f6ab0b8088fcebf6a4d29f09.jpg","text":"TemporaryFile(/tmp/multipartBody2971543814084055793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725342777,"filename":"image_15042025_15_32_50_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87b0fa1c8268e149eeee9eb29c947ad9.jpg","text":"TemporaryFile(/tmp/multipartBody8053759545290901901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725342777,"filename":"image_15042025_15_34_58_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f209659e296311e760682ecd37e6fcf0.jpg","text":"TemporaryFile(/tmp/multipartBody4677941501222548792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725342777,"filename":"image_15042025_15_33_30_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc0402a889d87fda4fbf2f6b3f47a4e2.jpg","text":"TemporaryFile(/tmp/multipartBody4098848116110764398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725342777,"filename":"image_15042025_15_34_43_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b35d2d3703dc317d794cce92ba9b8a3.jpg","text":"TemporaryFile(/tmp/multipartBody3880694395255753404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725342777,"filename":"image_15042025_15_31_43_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc767c869126e8b405e3e17ab0a38636.jpg","text":"TemporaryFile(/tmp/multipartBody8717941953264813177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725342777,"filename":"image_15042025_15_31_07_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915627","file1":"1349915620","file0":"1349915614","file4":"1349915662","file5":"1349915674","file3":"1349915653"},"map_files_photo_id_array":[{"photo_id":"1349915674","filename":"file5"},{"photo_id":"1349915627","filename":"file2"},{"photo_id":"1349915662","filename":"file4"},{"photo_id":"1349915620","filename":"file1"},{"photo_id":"1349915614","filename":"file0"},{"photo_id":"1349915653","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915627":["hashtag1","hashtag2"]},{"1349915674":["hashtag1","hashtag2"]},{"1349915653":["hashtag1","hashtag2"]},{"1349915662":["hashtag1","hashtag2"]},{"1349915620":["hashtag1","hashtag2"]},{"1349915614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915627, 1349915674, 1349915653, 1349915662, 1349915620, 1349915614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9137647151947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:55:22.641228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_19_2605.jpg', '/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_23_3857.jpg', '/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_43_2639.jpg', '/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_46_3770.jpg', '/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_49_2684.jpg', '/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_58_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_19_2605.jpg
/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_23_3857.jpg
/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_43_2639.jpg
/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_46_3770.jpg
/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_49_2684.jpg
/home/pi/Desktop/images/15042025/15/35/image_15042025_15_35_58_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915702","1349915689","1349915686","1349915710","1349915697","1349915706"],"photo_ids_order":["1349915686","1349915689","1349915697","1349915702","1349915706","1349915710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99c4835365e824cf3cee3e6b23ba1ba2.jpg","text":"TemporaryFile(/tmp/multipartBody8126963966970535316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725383324,"filename":"image_15042025_15_35_46_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/636fb4b5d1f959b881e777a3ae1a1553.jpg","text":"TemporaryFile(/tmp/multipartBody7992409884076501560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725383324,"filename":"image_15042025_15_35_23_3857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b930549cc7db31e544f6f8a9e6050e73.jpg","text":"TemporaryFile(/tmp/multipartBody8026430785767632494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725383324,"filename":"image_15042025_15_35_19_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/942dba2540d4e2b0063316d01867838b.jpg","text":"TemporaryFile(/tmp/multipartBody461883208855933984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725383324,"filename":"image_15042025_15_35_58_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b3d417a3aaf168886d3a76e99ab4811.jpg","text":"TemporaryFile(/tmp/multipartBody1326663530517951634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725383324,"filename":"image_15042025_15_35_43_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/125d98873a2d6c39b620cf90b433b870.jpg","text":"TemporaryFile(/tmp/multipartBody736626362556875955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725383324,"filename":"image_15042025_15_35_49_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915697","file1":"1349915689","file0":"1349915686","file4":"1349915706","file5":"1349915710","file3":"1349915702"},"map_files_photo_id_array":[{"photo_id":"1349915710","filename":"file5"},{"photo_id":"1349915697","filename":"file2"},{"photo_id":"1349915706","filename":"file4"},{"photo_id":"1349915689","filename":"file1"},{"photo_id":"1349915686","filename":"file0"},{"photo_id":"1349915702","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915702":["hashtag1","hashtag2"]},{"1349915689":["hashtag1","hashtag2"]},{"1349915686":["hashtag1","hashtag2"]},{"1349915710":["hashtag1","hashtag2"]},{"1349915697":["hashtag1","hashtag2"]},{"1349915706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915702, 1349915689, 1349915686, 1349915710, 1349915697, 1349915706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71018123626709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:56:02.709597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_13_2684.jpg', '/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_16_3666.jpg', '/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_19_2615.jpg', '/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_23_3624.jpg', '/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_28_2751.jpg', '/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_37_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_13_2684.jpg
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_16_3666.jpg
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_19_2615.jpg
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_23_3624.jpg
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_28_2751.jpg
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_37_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915759","1349915750","1349915726","1349915716","1349915754","1349915721"],"photo_ids_order":["1349915716","1349915721","1349915726","1349915750","1349915754","1349915759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93ab11b464ac8b7c4734e90c9f5df071.jpg","text":"TemporaryFile(/tmp/multipartBody830471444330621610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725423482,"filename":"image_15042025_15_36_37_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca3597ec4eabb4dd48989113efe3f90f.jpg","text":"TemporaryFile(/tmp/multipartBody1537546914988292341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725423482,"filename":"image_15042025_15_36_23_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62304163ee23f3830a5b051971b87a35.jpg","text":"TemporaryFile(/tmp/multipartBody7161116930428339108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725423482,"filename":"image_15042025_15_36_19_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45c46db6ee56df83bc67d3908c1a669f.jpg","text":"TemporaryFile(/tmp/multipartBody2360196391398715250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725423482,"filename":"image_15042025_15_36_13_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/546e6c23076b6ce74f29b88d3ad7c8cc.jpg","text":"TemporaryFile(/tmp/multipartBody8344941424475374156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725423482,"filename":"image_15042025_15_36_28_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72b1bc37a77d60108583f16e91051b7f.jpg","text":"TemporaryFile(/tmp/multipartBody9092200825076179515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725423482,"filename":"image_15042025_15_36_16_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915726","file1":"1349915721","file0":"1349915716","file4":"1349915754","file5":"1349915759","file3":"1349915750"},"map_files_photo_id_array":[{"photo_id":"1349915759","filename":"file5"},{"photo_id":"1349915726","filename":"file2"},{"photo_id":"1349915754","filename":"file4"},{"photo_id":"1349915721","filename":"file1"},{"photo_id":"1349915716","filename":"file0"},{"photo_id":"1349915750","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915759":["hashtag1","hashtag2"]},{"1349915750":["hashtag1","hashtag2"]},{"1349915726":["hashtag1","hashtag2"]},{"1349915716":["hashtag1","hashtag2"]},{"1349915754":["hashtag1","hashtag2"]},{"1349915721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915759, 1349915750, 1349915726, 1349915716, 1349915754, 1349915721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.940497398376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 15:56:42.159440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_40_2645.jpg', '/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_43_2765.jpg', '/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_46_3664.jpg', '/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_49_2693.jpg', '/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_04_2668.jpg', '/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_16_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_40_2645.jpg
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_43_2765.jpg
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_46_3664.jpg
/home/pi/Desktop/images/15042025/15/36/image_15042025_15_36_49_2693.jpg
/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_04_2668.jpg
/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_16_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915807","1349915782","1349915787","1349915796","1349915792","1349915771"],"photo_ids_order":["1349915771","1349915782","1349915787","1349915792","1349915796","1349915807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/359e10aa336fd6a63934224cacaf904d.jpg","text":"TemporaryFile(/tmp/multipartBody3077990020500032532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725462854,"filename":"image_15042025_15_37_16_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f00ad5c8e44dc39c65820d1a716fab7d.jpg","text":"TemporaryFile(/tmp/multipartBody3443971941372334112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725462854,"filename":"image_15042025_15_36_43_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6fefcf36a3f32426d4646491b4a2aec.jpg","text":"TemporaryFile(/tmp/multipartBody5424270295231011020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725462854,"filename":"image_15042025_15_36_46_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2ff4cb0013721b6d456f0be3b329e08.jpg","text":"TemporaryFile(/tmp/multipartBody1810074941739885349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725462854,"filename":"image_15042025_15_37_04_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b056cdccf2862b30fb0c554f1f338a4.jpg","text":"TemporaryFile(/tmp/multipartBody1616662827950726066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725462854,"filename":"image_15042025_15_36_49_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6066f32fb48e45bb6c120c37907dc37.jpg","text":"TemporaryFile(/tmp/multipartBody2520872801826076400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725462854,"filename":"image_15042025_15_36_40_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915787","file1":"1349915782","file0":"1349915771","file4":"1349915796","file5":"1349915807","file3":"1349915792"},"map_files_photo_id_array":[{"photo_id":"1349915807","filename":"file5"},{"photo_id":"1349915787","filename":"file2"},{"photo_id":"1349915796","filename":"file4"},{"photo_id":"1349915782","filename":"file1"},{"photo_id":"1349915771","filename":"file0"},{"photo_id":"1349915792","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915807":["hashtag1","hashtag2"]},{"1349915782":["hashtag1","hashtag2"]},{"1349915787":["hashtag1","hashtag2"]},{"1349915796":["hashtag1","hashtag2"]},{"1349915792":["hashtag1","hashtag2"]},{"1349915771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915807, 1349915782, 1349915787, 1349915796, 1349915792, 1349915771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.178486824035645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 15:57:22.579037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_19_2767.jpg', '/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_31_3672.jpg', '/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_37_2540.jpg', '/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_43_2633.jpg', '/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_52_2582.jpg', '/home/pi/Desktop/images/15042025/15/38/image_15042025_15_38_13_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_19_2767.jpg
/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_31_3672.jpg
/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_37_2540.jpg
/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_43_2633.jpg
/home/pi/Desktop/images/15042025/15/37/image_15042025_15_37_52_2582.jpg
/home/pi/Desktop/images/15042025/15/38/image_15042025_15_38_13_2762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349915986","1349915831","1349915875","1349915848","1349915827","1349915931"],"photo_ids_order":["1349915827","1349915831","1349915848","1349915875","1349915931","1349915986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b41002d6da85a6804b4e46132b14f64.jpg","text":"TemporaryFile(/tmp/multipartBody8505314918728647522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725503268,"filename":"image_15042025_15_38_13_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf99ab882ff6c9b95533fd75cd3a1048.jpg","text":"TemporaryFile(/tmp/multipartBody8205196330767408507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725503268,"filename":"image_15042025_15_37_31_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0663ca62e03b9de9298112b5388e8348.jpg","text":"TemporaryFile(/tmp/multipartBody3761760652752568090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725503268,"filename":"image_15042025_15_37_43_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81b581ebeff6c914a7e9c2cd61291235.jpg","text":"TemporaryFile(/tmp/multipartBody6211588330546476721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725503268,"filename":"image_15042025_15_37_37_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/daa609428b43df3f332f500abf53cc7a.jpg","text":"TemporaryFile(/tmp/multipartBody7188772047375532804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725503268,"filename":"image_15042025_15_37_19_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de4a6aebb77a20fc8754a668827e157f.jpg","text":"TemporaryFile(/tmp/multipartBody1311261845433750456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725503268,"filename":"image_15042025_15_37_52_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349915848","file1":"1349915831","file0":"1349915827","file4":"1349915931","file5":"1349915986","file3":"1349915875"},"map_files_photo_id_array":[{"photo_id":"1349915986","filename":"file5"},{"photo_id":"1349915848","filename":"file2"},{"photo_id":"1349915931","filename":"file4"},{"photo_id":"1349915831","filename":"file1"},{"photo_id":"1349915827","filename":"file0"},{"photo_id":"1349915875","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349915986":["hashtag1","hashtag2"]},{"1349915831":["hashtag1","hashtag2"]},{"1349915875":["hashtag1","hashtag2"]},{"1349915848":["hashtag1","hashtag2"]},{"1349915827":["hashtag1","hashtag2"]},{"1349915931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349915986, 1349915831, 1349915875, 1349915848, 1349915827, 1349915931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.374611139297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 15:59:03.015749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/38/image_15042025_15_38_25_2795.jpg', '/home/pi/Desktop/images/15042025/15/39/image_15042025_15_39_25_1564.jpg', '/home/pi/Desktop/images/15042025/15/39/image_15042025_15_39_49_1602.jpg', '/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_02_3673.jpg', '/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_03_1801.jpg', '/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_10_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/38/image_15042025_15_38_25_2795.jpg
/home/pi/Desktop/images/15042025/15/39/image_15042025_15_39_25_1564.jpg
/home/pi/Desktop/images/15042025/15/39/image_15042025_15_39_49_1602.jpg
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_02_3673.jpg
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_03_1801.jpg
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_10_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349916862","1349916910","1349916843","1349916941","1349916872","1349916851"],"photo_ids_order":["1349916843","1349916851","1349916862","1349916872","1349916910","1349916941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fa33784f9655dd71822f5e195c56d97.jpg","text":"TemporaryFile(/tmp/multipartBody7076722612349899197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725603816,"filename":"image_15042025_15_39_49_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc27081f07b0e055d0a112af0903b75b.jpg","text":"TemporaryFile(/tmp/multipartBody3035298065348849537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725603816,"filename":"image_15042025_15_40_03_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec703eadadbfe76fbf955f31030e8a2a.jpg","text":"TemporaryFile(/tmp/multipartBody3341932397734532836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725603816,"filename":"image_15042025_15_38_25_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/399b9f971d8c9bf463e6978c46ff382b.jpg","text":"TemporaryFile(/tmp/multipartBody2887468311460431199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725603816,"filename":"image_15042025_15_40_10_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2179fc347b2a7fa71ba5c2e1b2e1b9de.jpg","text":"TemporaryFile(/tmp/multipartBody4357156294973901060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725603816,"filename":"image_15042025_15_40_02_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c023571b5a3fbe76c3b236be7020aa9.jpg","text":"TemporaryFile(/tmp/multipartBody7744683547659736753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725603816,"filename":"image_15042025_15_39_25_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349916862","file1":"1349916851","file0":"1349916843","file4":"1349916910","file5":"1349916941","file3":"1349916872"},"map_files_photo_id_array":[{"photo_id":"1349916941","filename":"file5"},{"photo_id":"1349916862","filename":"file2"},{"photo_id":"1349916910","filename":"file4"},{"photo_id":"1349916851","filename":"file1"},{"photo_id":"1349916843","filename":"file0"},{"photo_id":"1349916872","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349916862":["hashtag1","hashtag2"]},{"1349916910":["hashtag1","hashtag2"]},{"1349916843":["hashtag1","hashtag2"]},{"1349916941":["hashtag1","hashtag2"]},{"1349916872":["hashtag1","hashtag2"]},{"1349916851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349916862, 1349916910, 1349916843, 1349916941, 1349916872, 1349916851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31870985031128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:00:02.539646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_13_2792.jpg', '/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_31_3674.jpg', '/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_34_2585.jpg', '/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_36_2640.jpg', '/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_46_3557.jpg', '/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_49_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_13_2792.jpg
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_31_3674.jpg
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_34_2585.jpg
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_36_2640.jpg
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_46_3557.jpg
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_49_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349917120","1349917278","1349917245","1349917311","1349917212","1349917159"],"photo_ids_order":["1349917120","1349917159","1349917212","1349917245","1349917278","1349917311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87b636a77aa89da13b290beb5e9318a6.jpg","text":"TemporaryFile(/tmp/multipartBody7687965498806753518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725663322,"filename":"image_15042025_15_40_13_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/880d28714bde7312ea872e7980b7e057.jpg","text":"TemporaryFile(/tmp/multipartBody7534174962607409653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725663322,"filename":"image_15042025_15_40_46_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef44369b28c9cc3774f19e0cda0339a6.jpg","text":"TemporaryFile(/tmp/multipartBody7491438920035379568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725663322,"filename":"image_15042025_15_40_36_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c03cf03b1d1daa9ddcc81769a62664d.jpg","text":"TemporaryFile(/tmp/multipartBody4088738577807582909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725663322,"filename":"image_15042025_15_40_49_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/377ab692519875a1870fe6577f8d3287.jpg","text":"TemporaryFile(/tmp/multipartBody1324141685177579823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725663322,"filename":"image_15042025_15_40_34_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c109f4ab8fb18e5b17019b9fa7226a85.jpg","text":"TemporaryFile(/tmp/multipartBody5548478537945951936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725663322,"filename":"image_15042025_15_40_31_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349917212","file1":"1349917159","file0":"1349917120","file4":"1349917278","file5":"1349917311","file3":"1349917245"},"map_files_photo_id_array":[{"photo_id":"1349917311","filename":"file5"},{"photo_id":"1349917212","filename":"file2"},{"photo_id":"1349917278","filename":"file4"},{"photo_id":"1349917159","filename":"file1"},{"photo_id":"1349917120","filename":"file0"},{"photo_id":"1349917245","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349917120":["hashtag1","hashtag2"]},{"1349917278":["hashtag1","hashtag2"]},{"1349917245":["hashtag1","hashtag2"]},{"1349917311":["hashtag1","hashtag2"]},{"1349917212":["hashtag1","hashtag2"]},{"1349917159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349917120, 1349917278, 1349917245, 1349917311, 1349917212, 1349917159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.795443058013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:00:42.033990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_51_2636.jpg', '/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_58_2855.jpg', '/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_06_2911.jpg', '/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_10_3734.jpg', '/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_24_2575.jpg', '/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_31_3784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_51_2636.jpg
/home/pi/Desktop/images/15042025/15/40/image_15042025_15_40_58_2855.jpg
/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_06_2911.jpg
/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_10_3734.jpg
/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_24_2575.jpg
/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_31_3784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349917438","1349917645","1349917686","1349917343","1349917669","1349917555"],"photo_ids_order":["1349917343","1349917438","1349917555","1349917645","1349917669","1349917686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32e365581afa98b2757a85f4f66b7820.jpg","text":"TemporaryFile(/tmp/multipartBody890893734902910615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725702727,"filename":"image_15042025_15_40_58_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a420c6094ab62bcb1c6d39e806ce0d32.jpg","text":"TemporaryFile(/tmp/multipartBody3228203922586729375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725702727,"filename":"image_15042025_15_41_10_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce2dd989c28062cda124461ba73e3d99.jpg","text":"TemporaryFile(/tmp/multipartBody2895317087667666671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725702727,"filename":"image_15042025_15_41_31_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a605e87d6b535b6bd9fd3a0f4c500d4.jpg","text":"TemporaryFile(/tmp/multipartBody8771412409278706214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725702727,"filename":"image_15042025_15_40_51_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3d9abe7313153434b82d50e1bbab747.jpg","text":"TemporaryFile(/tmp/multipartBody8710456241889184135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725702727,"filename":"image_15042025_15_41_24_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e232ac297d25ab475b6f635674de1a59.jpg","text":"TemporaryFile(/tmp/multipartBody8367799635051316217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725702727,"filename":"image_15042025_15_41_06_2911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349917555","file1":"1349917438","file0":"1349917343","file4":"1349917669","file5":"1349917686","file3":"1349917645"},"map_files_photo_id_array":[{"photo_id":"1349917686","filename":"file5"},{"photo_id":"1349917555","filename":"file2"},{"photo_id":"1349917669","filename":"file4"},{"photo_id":"1349917438","filename":"file1"},{"photo_id":"1349917343","filename":"file0"},{"photo_id":"1349917645","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349917438":["hashtag1","hashtag2"]},{"1349917645":["hashtag1","hashtag2"]},{"1349917686":["hashtag1","hashtag2"]},{"1349917343":["hashtag1","hashtag2"]},{"1349917669":["hashtag1","hashtag2"]},{"1349917555":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349917438, 1349917645, 1349917686, 1349917343, 1349917669, 1349917555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.572259187698364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:01:22.312635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_43_3766.jpg', '/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_46_2667.jpg', '/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_52_3571.jpg', '/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_57_2650.jpg', '/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_04_2794.jpg', '/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_06_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_43_3766.jpg
/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_46_2667.jpg
/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_52_3571.jpg
/home/pi/Desktop/images/15042025/15/41/image_15042025_15_41_57_2650.jpg
/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_04_2794.jpg
/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_06_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918085","1349917794","1349918046","1349917983","1349917956","1349917848"],"photo_ids_order":["1349917794","1349917848","1349917956","1349917983","1349918046","1349918085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51daaf2376e28edbf1cda0c84c79ce0a.jpg","text":"TemporaryFile(/tmp/multipartBody7643572441186497021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725742993,"filename":"image_15042025_15_42_06_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d23f4d3fa3a862a2c607aa4fb2e50380.jpg","text":"TemporaryFile(/tmp/multipartBody4629893347086638680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725742993,"filename":"image_15042025_15_41_43_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3fd23fe9bf81d40b0b40b7ec78229c97.jpg","text":"TemporaryFile(/tmp/multipartBody8722317053873569517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725742993,"filename":"image_15042025_15_42_04_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad292f4bb5de3c28c795d983966715ce.jpg","text":"TemporaryFile(/tmp/multipartBody9133007303147077694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725742993,"filename":"image_15042025_15_41_57_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3a9630491a4cace927dd3771858ef1d.jpg","text":"TemporaryFile(/tmp/multipartBody1088945269750228491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725742993,"filename":"image_15042025_15_41_52_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0dd97caac26fd92be679df10efb34114.jpg","text":"TemporaryFile(/tmp/multipartBody5238566539474030830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725742993,"filename":"image_15042025_15_41_46_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349917956","file1":"1349917848","file0":"1349917794","file4":"1349918046","file5":"1349918085","file3":"1349917983"},"map_files_photo_id_array":[{"photo_id":"1349918085","filename":"file5"},{"photo_id":"1349917956","filename":"file2"},{"photo_id":"1349918046","filename":"file4"},{"photo_id":"1349917848","filename":"file1"},{"photo_id":"1349917794","filename":"file0"},{"photo_id":"1349917983","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349918085":["hashtag1","hashtag2"]},{"1349917794":["hashtag1","hashtag2"]},{"1349918046":["hashtag1","hashtag2"]},{"1349917983":["hashtag1","hashtag2"]},{"1349917956":["hashtag1","hashtag2"]},{"1349917848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349918085, 1349917794, 1349918046, 1349917983, 1349917956, 1349917848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57308292388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:02:03.078780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_31_3762.jpg', '/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_37_3551.jpg', '/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_40_2681.jpg', '/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_45_2856.jpg', '/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_49_3678.jpg', '/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_58_3820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_31_3762.jpg
/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_37_3551.jpg
/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_40_2681.jpg
/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_45_2856.jpg
/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_49_3678.jpg
/home/pi/Desktop/images/15042025/15/42/image_15042025_15_42_58_3820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918172","1349918202","1349918211","1349918183","1349918150","1349918207"],"photo_ids_order":["1349918150","1349918172","1349918183","1349918202","1349918207","1349918211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07c72ddbb9b23823fb7b8f40887ee797.jpg","text":"TemporaryFile(/tmp/multipartBody171612401485396067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725783873,"filename":"image_15042025_15_42_37_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/351380d08704578e5a6f8df36774bc77.jpg","text":"TemporaryFile(/tmp/multipartBody176885177075948222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725783873,"filename":"image_15042025_15_42_45_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a54cf6683e63435a8518c8eeb3afbcb6.jpg","text":"TemporaryFile(/tmp/multipartBody7375516475074123576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725783873,"filename":"image_15042025_15_42_58_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67d1adfd3a7d81442968c7ccd7b90265.jpg","text":"TemporaryFile(/tmp/multipartBody4784326627361375520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725783873,"filename":"image_15042025_15_42_40_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0de107c88fc2eb6065974461c1b95a30.jpg","text":"TemporaryFile(/tmp/multipartBody4056765702617357821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725783873,"filename":"image_15042025_15_42_31_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/340afa04423c43085a01bc59f5ed829f.jpg","text":"TemporaryFile(/tmp/multipartBody8803415812404298744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725783873,"filename":"image_15042025_15_42_49_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349918183","file1":"1349918172","file0":"1349918150","file4":"1349918207","file5":"1349918211","file3":"1349918202"},"map_files_photo_id_array":[{"photo_id":"1349918211","filename":"file5"},{"photo_id":"1349918183","filename":"file2"},{"photo_id":"1349918207","filename":"file4"},{"photo_id":"1349918172","filename":"file1"},{"photo_id":"1349918150","filename":"file0"},{"photo_id":"1349918202","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349918172":["hashtag1","hashtag2"]},{"1349918202":["hashtag1","hashtag2"]},{"1349918211":["hashtag1","hashtag2"]},{"1349918183":["hashtag1","hashtag2"]},{"1349918150":["hashtag1","hashtag2"]},{"1349918207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349918172, 1349918202, 1349918211, 1349918183, 1349918150, 1349918207)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.53568911552429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:03:02.922019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_07_3659.jpg', '/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_12_2704.jpg', '/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_15_2702.jpg', '/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_21_2693.jpg', '/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_31_3768.jpg', '/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_34_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_07_3659.jpg
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_12_2704.jpg
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_15_2702.jpg
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_21_2693.jpg
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_31_3768.jpg
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_34_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918481","1349918508","1349918495","1349918444","1349918414","1349918473"],"photo_ids_order":["1349918414","1349918444","1349918473","1349918481","1349918495","1349918508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bbeecdcfe7bcd81012bfff5392d0e6a.jpg","text":"TemporaryFile(/tmp/multipartBody2398986421172204771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725843720,"filename":"image_15042025_15_43_21_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4b1c0f3fc80254ad430c43897a0bb02.jpg","text":"TemporaryFile(/tmp/multipartBody1319414237492632765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725843720,"filename":"image_15042025_15_43_34_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7540201ba852f7545381737dbcf6e13.jpg","text":"TemporaryFile(/tmp/multipartBody2579379432077018488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725843720,"filename":"image_15042025_15_43_31_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63139547efa306b75c516f947b1aade8.jpg","text":"TemporaryFile(/tmp/multipartBody6253002145010869952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725843720,"filename":"image_15042025_15_43_12_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ede813335c4e000b7908ef0a58c9507e.jpg","text":"TemporaryFile(/tmp/multipartBody6260661821130520904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725843720,"filename":"image_15042025_15_43_07_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/077a98edf1593f895aa3bbbdead97582.jpg","text":"TemporaryFile(/tmp/multipartBody2776193489766735243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725843720,"filename":"image_15042025_15_43_15_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349918473","file1":"1349918444","file0":"1349918414","file4":"1349918495","file5":"1349918508","file3":"1349918481"},"map_files_photo_id_array":[{"photo_id":"1349918508","filename":"file5"},{"photo_id":"1349918473","filename":"file2"},{"photo_id":"1349918495","filename":"file4"},{"photo_id":"1349918444","filename":"file1"},{"photo_id":"1349918414","filename":"file0"},{"photo_id":"1349918481","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349918481":["hashtag1","hashtag2"]},{"1349918508":["hashtag1","hashtag2"]},{"1349918495":["hashtag1","hashtag2"]},{"1349918444":["hashtag1","hashtag2"]},{"1349918414":["hashtag1","hashtag2"]},{"1349918473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349918481, 1349918508, 1349918495, 1349918444, 1349918414, 1349918473)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.829716205596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:04:02.723326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_49_3687.jpg', '/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_51_2669.jpg', '/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_54_2770.jpg', '/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_57_2879.jpg', '/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_06_2826.jpg', '/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_15_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_49_3687.jpg
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_51_2669.jpg
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_54_2770.jpg
/home/pi/Desktop/images/15042025/15/43/image_15042025_15_43_57_2879.jpg
/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_06_2826.jpg
/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_15_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918697","1349918730","1349918652","1349918648","1349918756","1349918641"],"photo_ids_order":["1349918641","1349918648","1349918652","1349918697","1349918730","1349918756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f74d84d192a71a703c9c4fb91f0e794d.jpg","text":"TemporaryFile(/tmp/multipartBody1516053699408397432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725903504,"filename":"image_15042025_15_43_57_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c27095860b2a92615cbd13fc6e83408.jpg","text":"TemporaryFile(/tmp/multipartBody5337792296237648937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725903504,"filename":"image_15042025_15_44_06_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96cb781a52bb40071263506afdbf625e.jpg","text":"TemporaryFile(/tmp/multipartBody8005383752817777042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725903504,"filename":"image_15042025_15_43_54_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c11242bbdebb3dcef0d16ed58f8ff93.jpg","text":"TemporaryFile(/tmp/multipartBody1138978873063107139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725903504,"filename":"image_15042025_15_43_51_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2d53136f77a77fae3a65861aa735e8d.jpg","text":"TemporaryFile(/tmp/multipartBody7376559912669273721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725903504,"filename":"image_15042025_15_44_15_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af403146439d2bd9444b418cf33c0f63.jpg","text":"TemporaryFile(/tmp/multipartBody330609400451146594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725903504,"filename":"image_15042025_15_43_49_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349918652","file1":"1349918648","file0":"1349918641","file4":"1349918730","file5":"1349918756","file3":"1349918697"},"map_files_photo_id_array":[{"photo_id":"1349918756","filename":"file5"},{"photo_id":"1349918652","filename":"file2"},{"photo_id":"1349918730","filename":"file4"},{"photo_id":"1349918648","filename":"file1"},{"photo_id":"1349918641","filename":"file0"},{"photo_id":"1349918697","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349918697":["hashtag1","hashtag2"]},{"1349918730":["hashtag1","hashtag2"]},{"1349918652":["hashtag1","hashtag2"]},{"1349918648":["hashtag1","hashtag2"]},{"1349918756":["hashtag1","hashtag2"]},{"1349918641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349918697, 1349918730, 1349918652, 1349918648, 1349918756, 1349918641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.017340898513794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:04:41.985918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_27_2715.jpg', '/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_33_2818.jpg', '/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_36_2623.jpg', '/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_40_3602.jpg', '/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_26_1851.jpg', '/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_32_1693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_27_2715.jpg
/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_33_2818.jpg
/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_36_2623.jpg
/home/pi/Desktop/images/15042025/15/44/image_15042025_15_44_40_3602.jpg
/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_26_1851.jpg
/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_32_1693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918803","1349918796","1349918769","1349918777","1349918791","1349918784"],"photo_ids_order":["1349918769","1349918777","1349918784","1349918791","1349918796","1349918803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/539e437705b64498f7a2cbc9ceb8aa07.jpg","text":"TemporaryFile(/tmp/multipartBody5106040924008217899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725942677,"filename":"image_15042025_15_45_32_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7edadf9ee3cfe10b0a8b7ca8a18887b7.jpg","text":"TemporaryFile(/tmp/multipartBody5676282571888404174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725942677,"filename":"image_15042025_15_45_26_1851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d41ab7659214149a76acbde0e4cd9ae.jpg","text":"TemporaryFile(/tmp/multipartBody2667643160927510946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725942677,"filename":"image_15042025_15_44_27_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49a0557030b22613f6e5e0809fc21d3a.jpg","text":"TemporaryFile(/tmp/multipartBody8648113702546815042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725942677,"filename":"image_15042025_15_44_33_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b3da69cf9745e249652c63cdfb009d6.jpg","text":"TemporaryFile(/tmp/multipartBody6605991109094485437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725942677,"filename":"image_15042025_15_44_40_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fca3c4549b45d44d7f9fca72de01ba9e.jpg","text":"TemporaryFile(/tmp/multipartBody3959091962008520461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725942677,"filename":"image_15042025_15_44_36_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349918784","file1":"1349918777","file0":"1349918769","file4":"1349918796","file5":"1349918803","file3":"1349918791"},"map_files_photo_id_array":[{"photo_id":"1349918803","filename":"file5"},{"photo_id":"1349918784","filename":"file2"},{"photo_id":"1349918796","filename":"file4"},{"photo_id":"1349918777","filename":"file1"},{"photo_id":"1349918769","filename":"file0"},{"photo_id":"1349918791","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349918803":["hashtag1","hashtag2"]},{"1349918796":["hashtag1","hashtag2"]},{"1349918769":["hashtag1","hashtag2"]},{"1349918777":["hashtag1","hashtag2"]},{"1349918791":["hashtag1","hashtag2"]},{"1349918784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349918803, 1349918796, 1349918769, 1349918777, 1349918791, 1349918784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86207890510559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:05:22.221100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_40_3085.jpg', '/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_48_1729.jpg', '/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_52_1612.jpg', '/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_01_7295.jpg', '/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_33_2739.jpg', '/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_48_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_40_3085.jpg
/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_48_1729.jpg
/home/pi/Desktop/images/15042025/15/45/image_15042025_15_45_52_1612.jpg
/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_01_7295.jpg
/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_33_2739.jpg
/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_48_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918835","1349918820","1349918855","1349918851","1349918845","1349918815"],"photo_ids_order":["1349918815","1349918820","1349918835","1349918845","1349918851","1349918855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1213a2793012d66de6343ec64abd9cd6.jpg","text":"TemporaryFile(/tmp/multipartBody6284907126049318293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725982933,"filename":"image_15042025_15_45_52_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e92155a08fdbf62efda49edaccf6b02b.jpg","text":"TemporaryFile(/tmp/multipartBody5365252990341202979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725982933,"filename":"image_15042025_15_45_48_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b3dbefd166f16875deef7430b8f5841.jpg","text":"TemporaryFile(/tmp/multipartBody2300092347899264437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725982933,"filename":"image_15042025_15_46_48_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/402e06be802810c523fb59cc73894801.jpg","text":"TemporaryFile(/tmp/multipartBody4795986059905357178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725982933,"filename":"image_15042025_15_46_33_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65422e7a50c106c25dfe9896c1a36692.jpg","text":"TemporaryFile(/tmp/multipartBody4091988611871308609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725982933,"filename":"image_15042025_15_46_01_7295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74724a0d5394743ec5bbef49d5e70d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1088384450837368970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744725982933,"filename":"image_15042025_15_45_40_3085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349918835","file1":"1349918820","file0":"1349918815","file4":"1349918851","file5":"1349918855","file3":"1349918845"},"map_files_photo_id_array":[{"photo_id":"1349918855","filename":"file5"},{"photo_id":"1349918835","filename":"file2"},{"photo_id":"1349918851","filename":"file4"},{"photo_id":"1349918820","filename":"file1"},{"photo_id":"1349918815","filename":"file0"},{"photo_id":"1349918845","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349918835":["hashtag1","hashtag2"]},{"1349918820":["hashtag1","hashtag2"]},{"1349918855":["hashtag1","hashtag2"]},{"1349918851":["hashtag1","hashtag2"]},{"1349918845":["hashtag1","hashtag2"]},{"1349918815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349918835, 1349918820, 1349918855, 1349918851, 1349918845, 1349918815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.685094118118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:06:03.122004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_54_2787.jpg', '/home/pi/Desktop/images/15042025/15/46/image_15042025_15_47_00_3555.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_03_2588.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_06_3619.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_09_2695.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_12_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/46/image_15042025_15_46_54_2787.jpg
/home/pi/Desktop/images/15042025/15/46/image_15042025_15_47_00_3555.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_03_2588.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_06_3619.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_09_2695.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_12_2881.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918904","1349918894","1349918913","1349918909","1349918935","1349918917"],"photo_ids_order":["1349918894","1349918904","1349918909","1349918913","1349918917","1349918935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5efa20bb6c2551b5134e5bfc12d506fa.jpg","text":"TemporaryFile(/tmp/multipartBody5858445295074825757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726023912,"filename":"image_15042025_15_47_00_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c50f1b5228d56016512be08ffece072d.jpg","text":"TemporaryFile(/tmp/multipartBody6330411339700949071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726023912,"filename":"image_15042025_15_46_54_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79f713ed10b158da854642ada5f0778c.jpg","text":"TemporaryFile(/tmp/multipartBody6146333521056262235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726023912,"filename":"image_15042025_15_47_06_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/359796d768ad46af44ea9aa69e433172.jpg","text":"TemporaryFile(/tmp/multipartBody2544520723080334420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726023912,"filename":"image_15042025_15_47_03_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db5f19279780e303f6167543f6725246.jpg","text":"TemporaryFile(/tmp/multipartBody6270980210036405774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726023912,"filename":"image_15042025_15_47_12_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cff3240c62da58c71ce88d867752b1e.jpg","text":"TemporaryFile(/tmp/multipartBody440143903410177996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726023912,"filename":"image_15042025_15_47_09_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349918909","file1":"1349918904","file0":"1349918894","file4":"1349918917","file5":"1349918935","file3":"1349918913"},"map_files_photo_id_array":[{"photo_id":"1349918935","filename":"file5"},{"photo_id":"1349918909","filename":"file2"},{"photo_id":"1349918917","filename":"file4"},{"photo_id":"1349918904","filename":"file1"},{"photo_id":"1349918894","filename":"file0"},{"photo_id":"1349918913","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349918904":["hashtag1","hashtag2"]},{"1349918894":["hashtag1","hashtag2"]},{"1349918913":["hashtag1","hashtag2"]},{"1349918909":["hashtag1","hashtag2"]},{"1349918935":["hashtag1","hashtag2"]},{"1349918917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349918904, 1349918894, 1349918913, 1349918909, 1349918935, 1349918917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23496866226196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:06:42.455690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_15_2592.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_18_3614.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_23_2636.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_27_3612.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_30_2672.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_33_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_15_2592.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_18_3614.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_23_2636.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_27_3612.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_30_2672.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_33_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349918991","1349918949","1349918984","1349918968","1349919004","1349918997"],"photo_ids_order":["1349918949","1349918968","1349918984","1349918991","1349918997","1349919004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7beb8e6938671d826c2c6c0df80ba94b.jpg","text":"TemporaryFile(/tmp/multipartBody2436967619494292502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726063121,"filename":"image_15042025_15_47_27_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d71cbc315dd0eecbf565f56fb220770e.jpg","text":"TemporaryFile(/tmp/multipartBody7003236360437677540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726063121,"filename":"image_15042025_15_47_15_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d674b320f67cf2be373d5c256568afbe.jpg","text":"TemporaryFile(/tmp/multipartBody6897545607144261496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726063121,"filename":"image_15042025_15_47_23_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/304712d47f6896f7e9a504772cf7b240.jpg","text":"TemporaryFile(/tmp/multipartBody1373403227377684459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726063121,"filename":"image_15042025_15_47_18_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1517cc8a39d440605e983f93d3e3bb49.jpg","text":"TemporaryFile(/tmp/multipartBody3898223657811972629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726063121,"filename":"image_15042025_15_47_33_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3254478914dfebf530f425952ff67a03.jpg","text":"TemporaryFile(/tmp/multipartBody5020401633122930274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726063121,"filename":"image_15042025_15_47_30_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349918984","file1":"1349918968","file0":"1349918949","file4":"1349918997","file5":"1349919004","file3":"1349918991"},"map_files_photo_id_array":[{"photo_id":"1349919004","filename":"file5"},{"photo_id":"1349918984","filename":"file2"},{"photo_id":"1349918997","filename":"file4"},{"photo_id":"1349918968","filename":"file1"},{"photo_id":"1349918949","filename":"file0"},{"photo_id":"1349918991","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349918991":["hashtag1","hashtag2"]},{"1349918949":["hashtag1","hashtag2"]},{"1349918984":["hashtag1","hashtag2"]},{"1349918968":["hashtag1","hashtag2"]},{"1349919004":["hashtag1","hashtag2"]},{"1349918997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349918991, 1349918949, 1349918984, 1349918968, 1349919004, 1349918997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65888285636902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:07:21.870725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_36_2836.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_39_2591.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_42_2783.jpg', '/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_45_3709.jpg', '/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_27_3254.jpg', '/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_30_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_36_2836.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_39_2591.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_42_2783.jpg
/home/pi/Desktop/images/15042025/15/47/image_15042025_15_47_45_3709.jpg
/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_27_3254.jpg
/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_30_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349919059","1349919026","1349919140","1349919020","1349919014","1349919106"],"photo_ids_order":["1349919014","1349919020","1349919026","1349919059","1349919106","1349919140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e987b54a2d30530cb2bdc3dfdfccf5a.jpg","text":"TemporaryFile(/tmp/multipartBody1903901137272119163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726102520,"filename":"image_15042025_15_47_45_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d4b42392973385b741cfb2ad7c960ad.jpg","text":"TemporaryFile(/tmp/multipartBody542148753783494779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726102520,"filename":"image_15042025_15_47_42_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/261ef927e07e83c1cd686709f5948b79.jpg","text":"TemporaryFile(/tmp/multipartBody1263363650790309038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726102520,"filename":"image_15042025_15_48_30_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f3896c8a2dc20b9aa9bcf4f88b15f67.jpg","text":"TemporaryFile(/tmp/multipartBody6298212781096016488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726102520,"filename":"image_15042025_15_47_39_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e52df8629b6ff512c1930d55dbe3f45.jpg","text":"TemporaryFile(/tmp/multipartBody1008049156484791950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726102520,"filename":"image_15042025_15_47_36_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34febc1e92949846d38d24c03087370d.jpg","text":"TemporaryFile(/tmp/multipartBody2813615184450229642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726102520,"filename":"image_15042025_15_48_27_3254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349919026","file1":"1349919020","file0":"1349919014","file4":"1349919106","file5":"1349919140","file3":"1349919059"},"map_files_photo_id_array":[{"photo_id":"1349919140","filename":"file5"},{"photo_id":"1349919026","filename":"file2"},{"photo_id":"1349919106","filename":"file4"},{"photo_id":"1349919020","filename":"file1"},{"photo_id":"1349919014","filename":"file0"},{"photo_id":"1349919059","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349919059":["hashtag1","hashtag2"]},{"1349919026":["hashtag1","hashtag2"]},{"1349919140":["hashtag1","hashtag2"]},{"1349919020":["hashtag1","hashtag2"]},{"1349919014":["hashtag1","hashtag2"]},{"1349919106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349919059, 1349919026, 1349919140, 1349919020, 1349919014, 1349919106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28796029090881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:08:02.697531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_33_2758.jpg', '/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_36_3573.jpg', '/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_42_2686.jpg', '/home/pi/Desktop/images/15042025/15/48/image_15042025_15_49_00_3633.jpg', '/home/pi/Desktop/images/15042025/15/49/image_15042025_15_49_39_3720.jpg', '/home/pi/Desktop/images/15042025/15/50/image_15042025_15_50_18_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_33_2758.jpg
/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_36_3573.jpg
/home/pi/Desktop/images/15042025/15/48/image_15042025_15_48_42_2686.jpg
/home/pi/Desktop/images/15042025/15/48/image_15042025_15_49_00_3633.jpg
/home/pi/Desktop/images/15042025/15/49/image_15042025_15_49_39_3720.jpg
/home/pi/Desktop/images/15042025/15/50/image_15042025_15_50_18_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349919273","1349919252","1349919234","1349919300","1349919245","1349919217"],"photo_ids_order":["1349919217","1349919234","1349919245","1349919252","1349919273","1349919300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9dc5c4b303557c8910740b735fae5b70.jpg","text":"TemporaryFile(/tmp/multipartBody6610155362678769502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726146177,"filename":"image_15042025_15_49_39_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87ab8166ff81a6c6f1df76e5dd00cc59.jpg","text":"TemporaryFile(/tmp/multipartBody6104432747743168105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726146177,"filename":"image_15042025_15_49_00_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a74acf665da4d0fd17bf71823588c51a.jpg","text":"TemporaryFile(/tmp/multipartBody264993758929550280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726146177,"filename":"image_15042025_15_48_36_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2fe99ad48ec6f57d29e64009d2b92050.jpg","text":"TemporaryFile(/tmp/multipartBody4257367918274500112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726146177,"filename":"image_15042025_15_50_18_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d946d29c57cafddcca477b4b4ffe5df.jpg","text":"TemporaryFile(/tmp/multipartBody6746539743563591148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726146177,"filename":"image_15042025_15_48_42_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3ec68f83749b818e812abff78143ec0.jpg","text":"TemporaryFile(/tmp/multipartBody6083865311743626089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726146177,"filename":"image_15042025_15_48_33_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349919245","file1":"1349919234","file0":"1349919217","file4":"1349919273","file5":"1349919300","file3":"1349919252"},"map_files_photo_id_array":[{"photo_id":"1349919300","filename":"file5"},{"photo_id":"1349919245","filename":"file2"},{"photo_id":"1349919273","filename":"file4"},{"photo_id":"1349919234","filename":"file1"},{"photo_id":"1349919217","filename":"file0"},{"photo_id":"1349919252","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349919273":["hashtag1","hashtag2"]},{"1349919252":["hashtag1","hashtag2"]},{"1349919234":["hashtag1","hashtag2"]},{"1349919300":["hashtag1","hashtag2"]},{"1349919245":["hashtag1","hashtag2"]},{"1349919217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349919273, 1349919252, 1349919234, 1349919300, 1349919245, 1349919217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28888988494873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:08:42.204632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_06_2124.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_09_3617.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_11_1840.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_13_1743.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_21_8013.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_22_1504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_06_2124.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_09_3617.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_11_1840.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_13_1743.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_21_8013.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_22_1504.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349919408","1349919501","1349919530","1349919469","1349919376","1349919439"],"photo_ids_order":["1349919376","1349919408","1349919439","1349919469","1349919501","1349919530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f138fbb58b208643583dfc60ac946036.jpg","text":"TemporaryFile(/tmp/multipartBody3638831930373975406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726182980,"filename":"image_15042025_15_51_09_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/146e0a06eed72b426d5db08399212e05.jpg","text":"TemporaryFile(/tmp/multipartBody1973703687690762478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726182980,"filename":"image_15042025_15_51_21_8013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6010420ac86344a4b3e00ddd6a9fef43.jpg","text":"TemporaryFile(/tmp/multipartBody122907510092634724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726182980,"filename":"image_15042025_15_51_22_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1cfae8e8a9c70b6679ed9bb27101a126.jpg","text":"TemporaryFile(/tmp/multipartBody813772202938748037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726182980,"filename":"image_15042025_15_51_13_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8b7628574336710bf80e77cd68cfe6b.jpg","text":"TemporaryFile(/tmp/multipartBody7989967383245746666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726182980,"filename":"image_15042025_15_51_06_2124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32f7d9079825c7ae25498c6ac56a465e.jpg","text":"TemporaryFile(/tmp/multipartBody4398706249899604235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726182980,"filename":"image_15042025_15_51_11_1840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349919439","file1":"1349919408","file0":"1349919376","file4":"1349919501","file5":"1349919530","file3":"1349919469"},"map_files_photo_id_array":[{"photo_id":"1349919530","filename":"file5"},{"photo_id":"1349919439","filename":"file2"},{"photo_id":"1349919501","filename":"file4"},{"photo_id":"1349919408","filename":"file1"},{"photo_id":"1349919376","filename":"file0"},{"photo_id":"1349919469","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349919408":["hashtag1","hashtag2"]},{"1349919501":["hashtag1","hashtag2"]},{"1349919530":["hashtag1","hashtag2"]},{"1349919469":["hashtag1","hashtag2"]},{"1349919376":["hashtag1","hashtag2"]},{"1349919439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349919408, 1349919501, 1349919530, 1349919469, 1349919376, 1349919439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.721691370010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:09:21.957902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_24_1675.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_26_1758.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_30_2622.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_37_6890.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_39_1644.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_51_10289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_24_1675.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_26_1758.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_30_2622.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_37_6890.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_39_1644.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_51_10289.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349919630","1349919638","1349919667","1349919652","1349919567","1349919648"],"photo_ids_order":["1349919567","1349919630","1349919638","1349919648","1349919652","1349919667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db4036274a9c9b73482e9020de88570a.jpg","text":"TemporaryFile(/tmp/multipartBody7660094775517371578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726222645,"filename":"image_15042025_15_51_26_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1266b8206a078544fe2c3cab031a62ec.jpg","text":"TemporaryFile(/tmp/multipartBody837895666958874340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726222645,"filename":"image_15042025_15_51_30_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6126163bf8a7f2b5cdd35442a4dd3933.jpg","text":"TemporaryFile(/tmp/multipartBody3559781259179667395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726222645,"filename":"image_15042025_15_51_51_10289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bfcd98a7a80fbcc1da0ad7148f3431d.jpg","text":"TemporaryFile(/tmp/multipartBody2546975011625457943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726222645,"filename":"image_15042025_15_51_39_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6fe000558d8d2328e3f8bc3cffc8750.jpg","text":"TemporaryFile(/tmp/multipartBody8339130337741980037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726222645,"filename":"image_15042025_15_51_24_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dabcd2753fc545c2fdc14a92c649afc.jpg","text":"TemporaryFile(/tmp/multipartBody6245207965528101043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726222645,"filename":"image_15042025_15_51_37_6890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349919638","file1":"1349919630","file0":"1349919567","file4":"1349919652","file5":"1349919667","file3":"1349919648"},"map_files_photo_id_array":[{"photo_id":"1349919667","filename":"file5"},{"photo_id":"1349919638","filename":"file2"},{"photo_id":"1349919652","filename":"file4"},{"photo_id":"1349919630","filename":"file1"},{"photo_id":"1349919567","filename":"file0"},{"photo_id":"1349919648","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349919630":["hashtag1","hashtag2"]},{"1349919638":["hashtag1","hashtag2"]},{"1349919667":["hashtag1","hashtag2"]},{"1349919652":["hashtag1","hashtag2"]},{"1349919567":["hashtag1","hashtag2"]},{"1349919648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349919630, 1349919638, 1349919667, 1349919652, 1349919567, 1349919648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86719822883606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:10:02.770544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_53_1862.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_58_1846.jpg', '/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_59_1533.jpg', '/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_01_1622.jpg', '/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_04_3260.jpg', '/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_10_1698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_53_1862.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_58_1846.jpg
/home/pi/Desktop/images/15042025/15/51/image_15042025_15_51_59_1533.jpg
/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_01_1622.jpg
/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_04_3260.jpg
/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_10_1698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349919756","1349919720","1349919728","1349919701","1349919766","1349919694"],"photo_ids_order":["1349919694","1349919701","1349919720","1349919728","1349919756","1349919766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/899882f64ce651b351755ac4ea3fcc8e.jpg","text":"TemporaryFile(/tmp/multipartBody5977214495101366036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726263539,"filename":"image_15042025_15_52_04_3260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e5d8ad1932e8e92822020a1b80ec589.jpg","text":"TemporaryFile(/tmp/multipartBody7569043638898870747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726263539,"filename":"image_15042025_15_51_59_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cf1d4af45153dcf25cc6bbfe8b185d4.jpg","text":"TemporaryFile(/tmp/multipartBody6873148321622184353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726263539,"filename":"image_15042025_15_52_01_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f9b0246dd1321b5796ff775b987d12f.jpg","text":"TemporaryFile(/tmp/multipartBody768517652342806624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726263539,"filename":"image_15042025_15_51_58_1846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ecd475510d1762c421cf5a1111f0ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody1523702605963702784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726263539,"filename":"image_15042025_15_52_10_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f4a82711f3de5d3866baeb95da571fe.jpg","text":"TemporaryFile(/tmp/multipartBody7924221550723955535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726263539,"filename":"image_15042025_15_51_53_1862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349919720","file1":"1349919701","file0":"1349919694","file4":"1349919756","file5":"1349919766","file3":"1349919728"},"map_files_photo_id_array":[{"photo_id":"1349919766","filename":"file5"},{"photo_id":"1349919720","filename":"file2"},{"photo_id":"1349919756","filename":"file4"},{"photo_id":"1349919701","filename":"file1"},{"photo_id":"1349919694","filename":"file0"},{"photo_id":"1349919728","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349919756":["hashtag1","hashtag2"]},{"1349919720":["hashtag1","hashtag2"]},{"1349919728":["hashtag1","hashtag2"]},{"1349919701":["hashtag1","hashtag2"]},{"1349919766":["hashtag1","hashtag2"]},{"1349919694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349919756, 1349919720, 1349919728, 1349919701, 1349919766, 1349919694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36687231063843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:10:42.170912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_14_2805.jpg', '/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_23_2595.jpg', '/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_30_2697.jpg', '/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_51_2942.jpg', '/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_14_2672.jpg', '/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_41_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_14_2805.jpg
/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_23_2595.jpg
/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_30_2697.jpg
/home/pi/Desktop/images/15042025/15/52/image_15042025_15_52_51_2942.jpg
/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_14_2672.jpg
/home/pi/Desktop/images/15042025/15/53/image_15042025_15_53_41_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920000","1349919956","1349919785","1349919848","1349919901","1349919808"],"photo_ids_order":["1349919785","1349919808","1349919848","1349919901","1349919956","1349920000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bea1d5f101f0c127353b74f1778c190a.jpg","text":"TemporaryFile(/tmp/multipartBody5064511646783555923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726302864,"filename":"image_15042025_15_53_41_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f78c956892e44986946c0cf31e33ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1897386659894551006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726302864,"filename":"image_15042025_15_53_14_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c33a2470881709b495bb664662b26854.jpg","text":"TemporaryFile(/tmp/multipartBody2822725562362344184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726302864,"filename":"image_15042025_15_52_14_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c862b5f63a9210c653e34d67c97b5ae.jpg","text":"TemporaryFile(/tmp/multipartBody1828744946476438565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726302864,"filename":"image_15042025_15_52_30_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13b899a068d82a9d7edc28597b222b31.jpg","text":"TemporaryFile(/tmp/multipartBody5840665067824804006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726302864,"filename":"image_15042025_15_52_51_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4166195a4a4e7b1a2f21a7f25d0d9f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6078634028054603362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726302864,"filename":"image_15042025_15_52_23_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349919848","file1":"1349919808","file0":"1349919785","file4":"1349919956","file5":"1349920000","file3":"1349919901"},"map_files_photo_id_array":[{"photo_id":"1349920000","filename":"file5"},{"photo_id":"1349919848","filename":"file2"},{"photo_id":"1349919956","filename":"file4"},{"photo_id":"1349919808","filename":"file1"},{"photo_id":"1349919785","filename":"file0"},{"photo_id":"1349919901","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349920000":["hashtag1","hashtag2"]},{"1349919956":["hashtag1","hashtag2"]},{"1349919785":["hashtag1","hashtag2"]},{"1349919848":["hashtag1","hashtag2"]},{"1349919901":["hashtag1","hashtag2"]},{"1349919808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349920000, 1349919956, 1349919785, 1349919848, 1349919901, 1349919808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59951567649841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:11:22.349011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_02_2650.jpg', '/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_11_2630.jpg', '/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_35_3618.jpg', '/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_44_2784.jpg', '/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_47_2725.jpg', '/home/pi/Desktop/images/15042025/15/55/image_15042025_15_55_11_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_02_2650.jpg
/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_11_2630.jpg
/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_35_3618.jpg
/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_44_2784.jpg
/home/pi/Desktop/images/15042025/15/54/image_15042025_15_54_47_2725.jpg
/home/pi/Desktop/images/15042025/15/55/image_15042025_15_55_11_2837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920080","1349920103","1349920093","1349920168","1349920114","1349920144"],"photo_ids_order":["1349920080","1349920093","1349920103","1349920114","1349920144","1349920168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8147221c96351e07cfdeffcb698f983a.jpg","text":"TemporaryFile(/tmp/multipartBody5897338737244458541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726343039,"filename":"image_15042025_15_54_02_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c397f2174f9b77c75520c31fee8f3aa3.jpg","text":"TemporaryFile(/tmp/multipartBody2116054620843242658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726343039,"filename":"image_15042025_15_54_35_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67e3949b30327030bf81ebea503f95c3.jpg","text":"TemporaryFile(/tmp/multipartBody2402689459593246549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726343039,"filename":"image_15042025_15_54_11_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e5869c7a1fd69542d86abcae97ffc3b.jpg","text":"TemporaryFile(/tmp/multipartBody5018245673625030340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726343039,"filename":"image_15042025_15_55_11_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c3c05e97ecb5e62938b9355427322bb.jpg","text":"TemporaryFile(/tmp/multipartBody1191072455639519401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726343039,"filename":"image_15042025_15_54_44_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fce5366e8e37c4810fa47fa048c3ad57.jpg","text":"TemporaryFile(/tmp/multipartBody9189054637045568717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726343039,"filename":"image_15042025_15_54_47_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349920103","file1":"1349920093","file0":"1349920080","file4":"1349920144","file5":"1349920168","file3":"1349920114"},"map_files_photo_id_array":[{"photo_id":"1349920168","filename":"file5"},{"photo_id":"1349920103","filename":"file2"},{"photo_id":"1349920144","filename":"file4"},{"photo_id":"1349920093","filename":"file1"},{"photo_id":"1349920080","filename":"file0"},{"photo_id":"1349920114","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349920080":["hashtag1","hashtag2"]},{"1349920103":["hashtag1","hashtag2"]},{"1349920093":["hashtag1","hashtag2"]},{"1349920168":["hashtag1","hashtag2"]},{"1349920114":["hashtag1","hashtag2"]},{"1349920144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349920080, 1349920103, 1349920093, 1349920168, 1349920114, 1349920144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0585618019104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:12:03.139928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/55/image_15042025_15_55_42_3897.jpg', '/home/pi/Desktop/images/15042025/15/56/image_15042025_15_56_38_2839.jpg', '/home/pi/Desktop/images/15042025/15/57/image_15042025_15_57_35_3593.jpg', '/home/pi/Desktop/images/15042025/15/57/image_15042025_15_57_41_3623.jpg', '/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_05_3683.jpg', '/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_08_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/55/image_15042025_15_55_42_3897.jpg
/home/pi/Desktop/images/15042025/15/56/image_15042025_15_56_38_2839.jpg
/home/pi/Desktop/images/15042025/15/57/image_15042025_15_57_35_3593.jpg
/home/pi/Desktop/images/15042025/15/57/image_15042025_15_57_41_3623.jpg
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_05_3683.jpg
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_08_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920236","1349920229","1349920244","1349920304","1349920270","1349920213"],"photo_ids_order":["1349920213","1349920229","1349920236","1349920244","1349920270","1349920304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93cb740fcf7972730d9a885e8def7a23.jpg","text":"TemporaryFile(/tmp/multipartBody8987200461885199203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726383946,"filename":"image_15042025_15_57_35_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1c0155b93e70760c2eec2c63d8d31c1.jpg","text":"TemporaryFile(/tmp/multipartBody4741332841928348828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726383946,"filename":"image_15042025_15_56_38_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fcf0ae5d33558f6c9cf0eba87f667f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3475946743762257598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726383946,"filename":"image_15042025_15_57_41_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd86eb2d84a08b47f835d95e1ab6b184.jpg","text":"TemporaryFile(/tmp/multipartBody740086203718907793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726383946,"filename":"image_15042025_15_58_08_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6274071b42394e84b1b05898c9114904.jpg","text":"TemporaryFile(/tmp/multipartBody5685182746319650062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726383946,"filename":"image_15042025_15_58_05_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90df75fee660770764259d53caea0c8b.jpg","text":"TemporaryFile(/tmp/multipartBody8980885234261611077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726383946,"filename":"image_15042025_15_55_42_3897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349920236","file1":"1349920229","file0":"1349920213","file4":"1349920270","file5":"1349920304","file3":"1349920244"},"map_files_photo_id_array":[{"photo_id":"1349920304","filename":"file5"},{"photo_id":"1349920236","filename":"file2"},{"photo_id":"1349920270","filename":"file4"},{"photo_id":"1349920229","filename":"file1"},{"photo_id":"1349920213","filename":"file0"},{"photo_id":"1349920244","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349920236":["hashtag1","hashtag2"]},{"1349920229":["hashtag1","hashtag2"]},{"1349920244":["hashtag1","hashtag2"]},{"1349920304":["hashtag1","hashtag2"]},{"1349920270":["hashtag1","hashtag2"]},{"1349920213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349920236, 1349920229, 1349920244, 1349920304, 1349920270, 1349920213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.577561378479004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:12:42.746906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_20_2579.jpg', '/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_29_2729.jpg', '/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_38_2761.jpg', '/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_56_2737.jpg', '/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_05_3572.jpg', '/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_14_3801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_20_2579.jpg
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_29_2729.jpg
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_38_2761.jpg
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_56_2737.jpg
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_05_3572.jpg
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_14_3801.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6061697006225586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:13:03.195121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_20_2579.jpg', '/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_29_2729.jpg', '/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_38_2761.jpg', '/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_56_2737.jpg', '/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_05_3572.jpg', '/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_14_3801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_20_2579.jpg
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_29_2729.jpg
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_38_2761.jpg
/home/pi/Desktop/images/15042025/15/58/image_15042025_15_58_56_2737.jpg
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_05_3572.jpg
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_14_3801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920491","1349920527","1349920484","1349920469","1349920480","1349920474"],"photo_ids_order":["1349920469","1349920474","1349920480","1349920484","1349920491","1349920527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c80b876799764fb3f273053c1a6e7ddb.jpg","text":"TemporaryFile(/tmp/multipartBody8059582531813666043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726444070,"filename":"image_15042025_15_59_05_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90c55ecd48828f9b94a92ca127771534.jpg","text":"TemporaryFile(/tmp/multipartBody293987587510186413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726444070,"filename":"image_15042025_15_59_14_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b42bc706f0f412c4fa6a8a87c1f2496.jpg","text":"TemporaryFile(/tmp/multipartBody9174028567538828901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726444070,"filename":"image_15042025_15_58_56_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a8f5601cf46812fea5f97d7b3204cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6613593526279153080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726444070,"filename":"image_15042025_15_58_20_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a5591f3504ec112885e19fe1692086c.jpg","text":"TemporaryFile(/tmp/multipartBody5708782204980652186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726444070,"filename":"image_15042025_15_58_38_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/599c42c49bc1422896124800af96cf48.jpg","text":"TemporaryFile(/tmp/multipartBody7953997632773508912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726444070,"filename":"image_15042025_15_58_29_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349920480","file1":"1349920474","file0":"1349920469","file4":"1349920491","file5":"1349920527","file3":"1349920484"},"map_files_photo_id_array":[{"photo_id":"1349920527","filename":"file5"},{"photo_id":"1349920480","filename":"file2"},{"photo_id":"1349920491","filename":"file4"},{"photo_id":"1349920474","filename":"file1"},{"photo_id":"1349920469","filename":"file0"},{"photo_id":"1349920484","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349920491":["hashtag1","hashtag2"]},{"1349920527":["hashtag1","hashtag2"]},{"1349920484":["hashtag1","hashtag2"]},{"1349920469":["hashtag1","hashtag2"]},{"1349920480":["hashtag1","hashtag2"]},{"1349920474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349920491, 1349920527, 1349920484, 1349920469, 1349920480, 1349920474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59336876869202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:13:42.548361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_26_3760.jpg', '/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_29_2739.jpg', '/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_34_2658.jpg', '/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_41_2704.jpg', '/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_47_3585.jpg', '/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_59_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_26_3760.jpg
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_29_2739.jpg
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_34_2658.jpg
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_41_2704.jpg
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_47_3585.jpg
/home/pi/Desktop/images/15042025/15/59/image_15042025_15_59_59_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920653","1349920679","1349920631","1349920640","1349920601","1349920612"],"photo_ids_order":["1349920601","1349920612","1349920631","1349920640","1349920653","1349920679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97f81be13dfdb5f6288949d68de95d87.jpg","text":"TemporaryFile(/tmp/multipartBody1199740160716390217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726483245,"filename":"image_15042025_15_59_47_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4625cadf2dd2843fb772dcf76ad32e8.jpg","text":"TemporaryFile(/tmp/multipartBody7420932096895772360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726483245,"filename":"image_15042025_15_59_59_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82e1e1fd0889f2cf0a559bf5fd47d6bb.jpg","text":"TemporaryFile(/tmp/multipartBody2977818152225720296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726483245,"filename":"image_15042025_15_59_34_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0ebf64f7a652d39be69caaa5a98b248.jpg","text":"TemporaryFile(/tmp/multipartBody1902005563827672626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726483245,"filename":"image_15042025_15_59_41_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2d1f3543708bb2ff9ebca4087e08302.jpg","text":"TemporaryFile(/tmp/multipartBody4206312673525819596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726483245,"filename":"image_15042025_15_59_26_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb89951a37ad5569bcdd99bf9c6ad83b.jpg","text":"TemporaryFile(/tmp/multipartBody5651587692910966326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726483245,"filename":"image_15042025_15_59_29_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349920631","file1":"1349920612","file0":"1349920601","file4":"1349920653","file5":"1349920679","file3":"1349920640"},"map_files_photo_id_array":[{"photo_id":"1349920679","filename":"file5"},{"photo_id":"1349920631","filename":"file2"},{"photo_id":"1349920653","filename":"file4"},{"photo_id":"1349920612","filename":"file1"},{"photo_id":"1349920601","filename":"file0"},{"photo_id":"1349920640","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349920653":["hashtag1","hashtag2"]},{"1349920679":["hashtag1","hashtag2"]},{"1349920631":["hashtag1","hashtag2"]},{"1349920640":["hashtag1","hashtag2"]},{"1349920601":["hashtag1","hashtag2"]},{"1349920612":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349920653, 1349920679, 1349920631, 1349920640, 1349920601, 1349920612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16633319854736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:14:22.470818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_07_3011.jpg', '/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_16_3589.jpg', '/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_22_2750.jpg', '/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_25_3645.jpg', '/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_28_2873.jpg', '/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_34_2984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_07_3011.jpg
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_16_3589.jpg
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_22_2750.jpg
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_25_3645.jpg
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_28_2873.jpg
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_34_2984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920737","1349920724","1349920715","1349920709","1349920720","1349920702"],"photo_ids_order":["1349920702","1349920709","1349920715","1349920720","1349920724","1349920737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0dac25942be38ea96b10a4ae2dd1693.jpg","text":"TemporaryFile(/tmp/multipartBody8056536219287916863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726523171,"filename":"image_15042025_16_01_34_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0d600d171bed0bb26056f093d47328f.jpg","text":"TemporaryFile(/tmp/multipartBody6307194560764193816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726523171,"filename":"image_15042025_16_01_28_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/362c63c84469c31d421a57bdd9c4c767.jpg","text":"TemporaryFile(/tmp/multipartBody3291969411801130084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726523171,"filename":"image_15042025_16_01_22_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3075d55ea543c969e5cd7f4a2c0ab0a8.jpg","text":"TemporaryFile(/tmp/multipartBody968369484557337034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726523171,"filename":"image_15042025_16_01_16_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94fb52e13e0d8862b06b6da55ace2cfc.jpg","text":"TemporaryFile(/tmp/multipartBody5620850295507031925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726523171,"filename":"image_15042025_16_01_25_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1cc20a803fc1e260dbe8a5bc0c33fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1713039177052729371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726523171,"filename":"image_15042025_16_01_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349920715","file1":"1349920709","file0":"1349920702","file4":"1349920724","file5":"1349920737","file3":"1349920720"},"map_files_photo_id_array":[{"photo_id":"1349920737","filename":"file5"},{"photo_id":"1349920715","filename":"file2"},{"photo_id":"1349920724","filename":"file4"},{"photo_id":"1349920709","filename":"file1"},{"photo_id":"1349920702","filename":"file0"},{"photo_id":"1349920720","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349920737":["hashtag1","hashtag2"]},{"1349920724":["hashtag1","hashtag2"]},{"1349920715":["hashtag1","hashtag2"]},{"1349920709":["hashtag1","hashtag2"]},{"1349920720":["hashtag1","hashtag2"]},{"1349920702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349920737, 1349920724, 1349920715, 1349920709, 1349920720, 1349920702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.474321603775024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:15:02.574541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_37_2608.jpg', '/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_40_3780.jpg', '/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_43_2712.jpg', '/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_52_2616.jpg', '/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_55_2728.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_01_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_37_2608.jpg
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_40_3780.jpg
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_43_2712.jpg
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_52_2616.jpg
/home/pi/Desktop/images/15042025/16/01/image_15042025_16_01_55_2728.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_01_2515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349920898","1349920836","1349920853","1349920891","1349920849","1349920903"],"photo_ids_order":["1349920836","1349920849","1349920853","1349920891","1349920898","1349920903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ada3e19c9b5d20985a7aedcf7db5275c.jpg","text":"TemporaryFile(/tmp/multipartBody3160325372222255987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726563403,"filename":"image_15042025_16_01_55_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17800c8ced7117558ff59c79f8b2fd26.jpg","text":"TemporaryFile(/tmp/multipartBody347764149356225253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726563403,"filename":"image_15042025_16_01_37_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7214794f9b2130a1cfc1c3c96e0cf65.jpg","text":"TemporaryFile(/tmp/multipartBody3644081657708497505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726563403,"filename":"image_15042025_16_01_43_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/544a566c13d5d2f96f61d8baa73ebc5b.jpg","text":"TemporaryFile(/tmp/multipartBody6831163849540018907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726563403,"filename":"image_15042025_16_01_52_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/100e651a3b681da00b607c0fefb9b2fc.jpg","text":"TemporaryFile(/tmp/multipartBody3119506962889446081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726563403,"filename":"image_15042025_16_01_40_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ce5585359cc0f12229bdac7cd51c069.jpg","text":"TemporaryFile(/tmp/multipartBody276461880130708514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726563403,"filename":"image_15042025_16_02_01_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349920853","file1":"1349920849","file0":"1349920836","file4":"1349920898","file5":"1349920903","file3":"1349920891"},"map_files_photo_id_array":[{"photo_id":"1349920903","filename":"file5"},{"photo_id":"1349920853","filename":"file2"},{"photo_id":"1349920898","filename":"file4"},{"photo_id":"1349920849","filename":"file1"},{"photo_id":"1349920836","filename":"file0"},{"photo_id":"1349920891","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349920898":["hashtag1","hashtag2"]},{"1349920836":["hashtag1","hashtag2"]},{"1349920853":["hashtag1","hashtag2"]},{"1349920891":["hashtag1","hashtag2"]},{"1349920849":["hashtag1","hashtag2"]},{"1349920903":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349920898, 1349920836, 1349920853, 1349920891, 1349920849, 1349920903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1833815574646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:15:41.886355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_13_2707.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_22_2653.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_25_2808.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_28_3591.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_31_2552.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_34_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_13_2707.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_22_2653.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_25_2808.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_28_3591.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_31_2552.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_34_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349921279","1349921153","1349921038","1349921350","1349921373","1349921331"],"photo_ids_order":["1349921038","1349921153","1349921279","1349921331","1349921350","1349921373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/460a214d4fc7c0c47b72a3f44723696f.jpg","text":"TemporaryFile(/tmp/multipartBody8125637239093506345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726602570,"filename":"image_15042025_16_02_25_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2bce3575ac61f8644c37d2316e79876.jpg","text":"TemporaryFile(/tmp/multipartBody6736759403824230927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726602570,"filename":"image_15042025_16_02_22_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38b78e64c82e7ff36975fcb89676d50a.jpg","text":"TemporaryFile(/tmp/multipartBody5989034879263009597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726602570,"filename":"image_15042025_16_02_13_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/858709ccfc7ecc12e62a76d14c41ffba.jpg","text":"TemporaryFile(/tmp/multipartBody2280836543086861354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726602570,"filename":"image_15042025_16_02_31_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5222af2c3a96fc74014de9e3792f2330.jpg","text":"TemporaryFile(/tmp/multipartBody1731727984263720229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726602570,"filename":"image_15042025_16_02_34_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5721eab1d0cb8ff8123d93820e67bb6b.jpg","text":"TemporaryFile(/tmp/multipartBody7778194947186430362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726602570,"filename":"image_15042025_16_02_28_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349921279","file1":"1349921153","file0":"1349921038","file4":"1349921350","file5":"1349921373","file3":"1349921331"},"map_files_photo_id_array":[{"photo_id":"1349921373","filename":"file5"},{"photo_id":"1349921279","filename":"file2"},{"photo_id":"1349921350","filename":"file4"},{"photo_id":"1349921153","filename":"file1"},{"photo_id":"1349921038","filename":"file0"},{"photo_id":"1349921331","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349921279":["hashtag1","hashtag2"]},{"1349921153":["hashtag1","hashtag2"]},{"1349921038":["hashtag1","hashtag2"]},{"1349921350":["hashtag1","hashtag2"]},{"1349921373":["hashtag1","hashtag2"]},{"1349921331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349921279, 1349921153, 1349921038, 1349921350, 1349921373, 1349921331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.044811725616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:16:22.228946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_37_3741.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_43_2764.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_45_2839.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_49_3594.jpg', '/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_58_3740.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_04_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_37_3741.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_43_2764.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_45_2839.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_49_3594.jpg
/home/pi/Desktop/images/15042025/16/02/image_15042025_16_02_58_3740.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_04_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349921460","1349921456","1349921465","1349921452","1349921440","1349921443"],"photo_ids_order":["1349921440","1349921443","1349921452","1349921456","1349921460","1349921465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdfc7f4d1e3ef9ce2e16b052cca9f408.jpg","text":"TemporaryFile(/tmp/multipartBody7435542545290458228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726642979,"filename":"image_15042025_16_02_58_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0593f6449c2b6c796f0f73dffa76914b.jpg","text":"TemporaryFile(/tmp/multipartBody1626447973522884579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726642979,"filename":"image_15042025_16_02_49_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b486fca367f9b2a2da4e2fea93349e88.jpg","text":"TemporaryFile(/tmp/multipartBody7768630026653082125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726642979,"filename":"image_15042025_16_03_04_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbe1260ba0d2697bd13345fb77b8f5ba.jpg","text":"TemporaryFile(/tmp/multipartBody8344695794546374497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726642979,"filename":"image_15042025_16_02_45_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/011b2af33c686a803c1d183043c869f5.jpg","text":"TemporaryFile(/tmp/multipartBody6335648157517864543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726642979,"filename":"image_15042025_16_02_37_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3088a0bd330acfdb706c0a557449839.jpg","text":"TemporaryFile(/tmp/multipartBody1508943078069251395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726642979,"filename":"image_15042025_16_02_43_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349921452","file1":"1349921443","file0":"1349921440","file4":"1349921460","file5":"1349921465","file3":"1349921456"},"map_files_photo_id_array":[{"photo_id":"1349921465","filename":"file5"},{"photo_id":"1349921452","filename":"file2"},{"photo_id":"1349921460","filename":"file4"},{"photo_id":"1349921443","filename":"file1"},{"photo_id":"1349921440","filename":"file0"},{"photo_id":"1349921456","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349921460":["hashtag1","hashtag2"]},{"1349921456":["hashtag1","hashtag2"]},{"1349921465":["hashtag1","hashtag2"]},{"1349921452":["hashtag1","hashtag2"]},{"1349921440":["hashtag1","hashtag2"]},{"1349921443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349921460, 1349921456, 1349921465, 1349921452, 1349921440, 1349921443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.811991930007935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:17:03.088016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_07_3712.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_19_2696.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_22_2664.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_31_2772.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_34_2767.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_46_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_07_3712.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_19_2696.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_22_2664.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_31_2772.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_34_2767.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_46_3758.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.743812084197998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:17:22.341999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_07_3712.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_19_2696.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_22_2664.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_31_2772.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_34_2767.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_46_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_07_3712.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_19_2696.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_22_2664.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_31_2772.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_34_2767.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_46_3758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349921678","1349921753","1349921612","1349921593","1349921641","1349921716"],"photo_ids_order":["1349921593","1349921612","1349921641","1349921678","1349921716","1349921753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ffd4fe89b553b582d7723e409c0bbbc.jpg","text":"TemporaryFile(/tmp/multipartBody5395281364385973360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726703015,"filename":"image_15042025_16_03_31_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/476069752d23b610cdaea82e71ee1e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6330837844851946438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726703015,"filename":"image_15042025_16_03_46_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e2c9e037481fc7ff428cd156202b12b.jpg","text":"TemporaryFile(/tmp/multipartBody47121969650046636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726703015,"filename":"image_15042025_16_03_19_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/861207435bf4ad3d4a1801184ccbe618.jpg","text":"TemporaryFile(/tmp/multipartBody1816878340888322480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726703015,"filename":"image_15042025_16_03_07_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2452c9e2d0ccd4cf40b5b07e907751b9.jpg","text":"TemporaryFile(/tmp/multipartBody7217082669001889813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726703015,"filename":"image_15042025_16_03_22_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/062ed6bb79a0ad37d9a722d3611ee2ed.jpg","text":"TemporaryFile(/tmp/multipartBody6513684940142279331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726703015,"filename":"image_15042025_16_03_34_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349921641","file1":"1349921612","file0":"1349921593","file4":"1349921716","file5":"1349921753","file3":"1349921678"},"map_files_photo_id_array":[{"photo_id":"1349921753","filename":"file5"},{"photo_id":"1349921641","filename":"file2"},{"photo_id":"1349921716","filename":"file4"},{"photo_id":"1349921612","filename":"file1"},{"photo_id":"1349921593","filename":"file0"},{"photo_id":"1349921678","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349921678":["hashtag1","hashtag2"]},{"1349921753":["hashtag1","hashtag2"]},{"1349921612":["hashtag1","hashtag2"]},{"1349921593":["hashtag1","hashtag2"]},{"1349921641":["hashtag1","hashtag2"]},{"1349921716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349921678, 1349921753, 1349921612, 1349921593, 1349921641, 1349921716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28944659233093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:18:02.584498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_49_2643.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_51_2665.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_55_3677.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_58_2670.jpg', '/home/pi/Desktop/images/15042025/16/03/image_15042025_16_04_00_2680.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_04_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_49_2643.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_51_2665.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_55_3677.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_03_58_2670.jpg
/home/pi/Desktop/images/15042025/16/03/image_15042025_16_04_00_2680.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_04_3586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349921922","1349921925","1349921927","1349921915","1349921854","1349921886"],"photo_ids_order":["1349921854","1349921886","1349921915","1349921922","1349921925","1349921927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee6c799cfb0af71daa9f0a2fea8c4b23.jpg","text":"TemporaryFile(/tmp/multipartBody559703165804661576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726743328,"filename":"image_15042025_16_03_58_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8dc7e114227ab0d57b7fece6baee79a4.jpg","text":"TemporaryFile(/tmp/multipartBody3927170982172054209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726743328,"filename":"image_15042025_16_04_00_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c0bd957e57a94b095674e5194894735.jpg","text":"TemporaryFile(/tmp/multipartBody4862452583880264313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726743328,"filename":"image_15042025_16_04_04_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cae179398d2fb2e5b9344de5376a4e5.jpg","text":"TemporaryFile(/tmp/multipartBody5922810335895432972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726743328,"filename":"image_15042025_16_03_55_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3adafddb42b7a0546876fe3e03043e58.jpg","text":"TemporaryFile(/tmp/multipartBody7638275259691521420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726743328,"filename":"image_15042025_16_03_49_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be3a105fb499a11a17df5f7d367a338c.jpg","text":"TemporaryFile(/tmp/multipartBody7359688256693452600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726743328,"filename":"image_15042025_16_03_51_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349921915","file1":"1349921886","file0":"1349921854","file4":"1349921925","file5":"1349921927","file3":"1349921922"},"map_files_photo_id_array":[{"photo_id":"1349921927","filename":"file5"},{"photo_id":"1349921915","filename":"file2"},{"photo_id":"1349921925","filename":"file4"},{"photo_id":"1349921886","filename":"file1"},{"photo_id":"1349921854","filename":"file0"},{"photo_id":"1349921922","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349921922":["hashtag1","hashtag2"]},{"1349921925":["hashtag1","hashtag2"]},{"1349921927":["hashtag1","hashtag2"]},{"1349921915":["hashtag1","hashtag2"]},{"1349921854":["hashtag1","hashtag2"]},{"1349921886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349921922, 1349921925, 1349921927, 1349921915, 1349921854, 1349921886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57457423210144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:18:41.983724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_07_2600.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_09_2673.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_13_3753.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_16_2660.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_18_2567.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_22_3527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_07_2600.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_09_2673.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_13_3753.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_16_2660.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_18_2567.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_22_3527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922068","1349922055","1349922022","1349921989","1349921959","1349921938"],"photo_ids_order":["1349921938","1349921959","1349921989","1349922022","1349922055","1349922068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3c0e306eb7b6b0dcb3b03076af20968.jpg","text":"TemporaryFile(/tmp/multipartBody239609001556043915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726782606,"filename":"image_15042025_16_04_22_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/444bd7298cd8a8db40a783121c1f8885.jpg","text":"TemporaryFile(/tmp/multipartBody4971596722092166926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726782606,"filename":"image_15042025_16_04_18_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/baf94334dc3745c863596402cce20a20.jpg","text":"TemporaryFile(/tmp/multipartBody2349328407255925857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726782606,"filename":"image_15042025_16_04_16_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdb9e2deef765301e543543e18e80bb4.jpg","text":"TemporaryFile(/tmp/multipartBody5435400718050073828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726782606,"filename":"image_15042025_16_04_13_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0612f2460327a6c9b2b4ea229c28c6db.jpg","text":"TemporaryFile(/tmp/multipartBody1245422550705634705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726782606,"filename":"image_15042025_16_04_09_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e1e634c0b0b788b3377691d2c304a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3232084255593301161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726782606,"filename":"image_15042025_16_04_07_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349921989","file1":"1349921959","file0":"1349921938","file4":"1349922055","file5":"1349922068","file3":"1349922022"},"map_files_photo_id_array":[{"photo_id":"1349922068","filename":"file5"},{"photo_id":"1349921989","filename":"file2"},{"photo_id":"1349922055","filename":"file4"},{"photo_id":"1349921959","filename":"file1"},{"photo_id":"1349921938","filename":"file0"},{"photo_id":"1349922022","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922068":["hashtag1","hashtag2"]},{"1349922055":["hashtag1","hashtag2"]},{"1349922022":["hashtag1","hashtag2"]},{"1349921989":["hashtag1","hashtag2"]},{"1349921959":["hashtag1","hashtag2"]},{"1349921938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922068, 1349922055, 1349922022, 1349921989, 1349921959, 1349921938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.649139642715454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:19:22.327388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_25_2728.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_28_3660.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_31_2689.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_34_2744.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_36_2598.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_40_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_25_2728.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_28_3660.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_31_2689.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_34_2744.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_36_2598.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_40_3601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922257","1349922149","1349922313","1349922121","1349922384","1349922191"],"photo_ids_order":["1349922121","1349922149","1349922191","1349922257","1349922313","1349922384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a5baa6ce2936f89f129ea2596e0c7dc.jpg","text":"TemporaryFile(/tmp/multipartBody8496387066985188654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726823002,"filename":"image_15042025_16_04_34_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/479a1a06623b640edd69e9963547ad22.jpg","text":"TemporaryFile(/tmp/multipartBody5035798048963523277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726823002,"filename":"image_15042025_16_04_28_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b918632d8fbe0ae0c21ac16e497a54ca.jpg","text":"TemporaryFile(/tmp/multipartBody6146307956190168834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726823002,"filename":"image_15042025_16_04_36_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0815834dc1915afda90dc48e8887225.jpg","text":"TemporaryFile(/tmp/multipartBody7343799504997961443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726823002,"filename":"image_15042025_16_04_25_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f2683ddcaa87c40a2ccb1b1b3036a12.jpg","text":"TemporaryFile(/tmp/multipartBody2089326196883516996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726823002,"filename":"image_15042025_16_04_40_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a87a00afe77bab5c4f67461ef2757e83.jpg","text":"TemporaryFile(/tmp/multipartBody6911979146172726862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726823002,"filename":"image_15042025_16_04_31_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922191","file1":"1349922149","file0":"1349922121","file4":"1349922313","file5":"1349922384","file3":"1349922257"},"map_files_photo_id_array":[{"photo_id":"1349922384","filename":"file5"},{"photo_id":"1349922191","filename":"file2"},{"photo_id":"1349922313","filename":"file4"},{"photo_id":"1349922149","filename":"file1"},{"photo_id":"1349922121","filename":"file0"},{"photo_id":"1349922257","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922257":["hashtag1","hashtag2"]},{"1349922149":["hashtag1","hashtag2"]},{"1349922313":["hashtag1","hashtag2"]},{"1349922121":["hashtag1","hashtag2"]},{"1349922384":["hashtag1","hashtag2"]},{"1349922191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922257, 1349922149, 1349922313, 1349922121, 1349922384, 1349922191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91744017601013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:20:02.658614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_42_2519.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_45_2867.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_49_3604.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_52_2656.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_55_3586.jpg', '/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_58_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_42_2519.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_45_2867.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_49_3604.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_52_2656.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_55_3586.jpg
/home/pi/Desktop/images/15042025/16/04/image_15042025_16_04_58_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922470","1349922457","1349922508","1349922442","1349922505","1349922497"],"photo_ids_order":["1349922442","1349922457","1349922470","1349922497","1349922505","1349922508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6ecd25729af63e2ce2a7a9fbfe7a324.jpg","text":"TemporaryFile(/tmp/multipartBody6155933555245971347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726863426,"filename":"image_15042025_16_04_49_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/592a2541bdff632c00e50f633311efd7.jpg","text":"TemporaryFile(/tmp/multipartBody2649983896554623146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726863426,"filename":"image_15042025_16_04_45_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/607f1f3cd0c557f5f0d20fb9119d42e2.jpg","text":"TemporaryFile(/tmp/multipartBody6124743646899419635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726863426,"filename":"image_15042025_16_04_58_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6917642cdace4c9fa4088c607c5f1fcc.jpg","text":"TemporaryFile(/tmp/multipartBody630026194890708727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726863426,"filename":"image_15042025_16_04_42_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/926fd895c6f1ea5edb6a2dd32a188ef9.jpg","text":"TemporaryFile(/tmp/multipartBody8631496034637055998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726863426,"filename":"image_15042025_16_04_55_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a7a120b533a4a7931e23bfc97bdf591.jpg","text":"TemporaryFile(/tmp/multipartBody6215365818991361236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726863426,"filename":"image_15042025_16_04_52_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922470","file1":"1349922457","file0":"1349922442","file4":"1349922505","file5":"1349922508","file3":"1349922497"},"map_files_photo_id_array":[{"photo_id":"1349922508","filename":"file5"},{"photo_id":"1349922470","filename":"file2"},{"photo_id":"1349922505","filename":"file4"},{"photo_id":"1349922457","filename":"file1"},{"photo_id":"1349922442","filename":"file0"},{"photo_id":"1349922497","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922470":["hashtag1","hashtag2"]},{"1349922457":["hashtag1","hashtag2"]},{"1349922508":["hashtag1","hashtag2"]},{"1349922442":["hashtag1","hashtag2"]},{"1349922505":["hashtag1","hashtag2"]},{"1349922497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922470, 1349922457, 1349922508, 1349922442, 1349922505, 1349922497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57963418960571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:20:42.034195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_11_3823.jpg', '/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_16_2724.jpg', '/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_20_3627.jpg', '/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_22_2763.jpg', '/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_25_2714.jpg', '/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_28_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_11_3823.jpg
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_16_2724.jpg
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_20_3627.jpg
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_22_2763.jpg
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_25_2714.jpg
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_28_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922551","1349922533","1349922556","1349922547","1349922543","1349922522"],"photo_ids_order":["1349922522","1349922533","1349922543","1349922547","1349922551","1349922556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33f5aae5242b9deff16491ccc661d5dc.jpg","text":"TemporaryFile(/tmp/multipartBody3422931606799138753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726902703,"filename":"image_15042025_16_05_25_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a42d17a8cf13b47859be98eb4ca327e5.jpg","text":"TemporaryFile(/tmp/multipartBody4090425678467133444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726902703,"filename":"image_15042025_16_05_16_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acc1a6fd706784954f1e8fdb86d8043a.jpg","text":"TemporaryFile(/tmp/multipartBody9189784822269810071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726902703,"filename":"image_15042025_16_05_28_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/843900934d533f18caa747809ee3664f.jpg","text":"TemporaryFile(/tmp/multipartBody3862544513994940205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726902703,"filename":"image_15042025_16_05_22_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d79808b66bda85e1ab753d447dbb4343.jpg","text":"TemporaryFile(/tmp/multipartBody6256584311621181341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726902703,"filename":"image_15042025_16_05_20_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/740957b243274c8fd2fbdc1b3aaad4af.jpg","text":"TemporaryFile(/tmp/multipartBody7673118871442062357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726902703,"filename":"image_15042025_16_05_11_3823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922543","file1":"1349922533","file0":"1349922522","file4":"1349922551","file5":"1349922556","file3":"1349922547"},"map_files_photo_id_array":[{"photo_id":"1349922556","filename":"file5"},{"photo_id":"1349922543","filename":"file2"},{"photo_id":"1349922551","filename":"file4"},{"photo_id":"1349922533","filename":"file1"},{"photo_id":"1349922522","filename":"file0"},{"photo_id":"1349922547","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922551":["hashtag1","hashtag2"]},{"1349922533":["hashtag1","hashtag2"]},{"1349922556":["hashtag1","hashtag2"]},{"1349922547":["hashtag1","hashtag2"]},{"1349922543":["hashtag1","hashtag2"]},{"1349922522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922551, 1349922533, 1349922556, 1349922547, 1349922543, 1349922522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38486075401306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:21:22.224928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_31_3668.jpg', '/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_34_2792.jpg', '/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_37_2775.jpg', '/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_53_3754.jpg', '/home/pi/Desktop/images/15042025/16/05/image_15042025_16_06_01_3633.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_10_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_31_3668.jpg
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_34_2792.jpg
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_37_2775.jpg
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_05_53_3754.jpg
/home/pi/Desktop/images/15042025/16/05/image_15042025_16_06_01_3633.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_10_3643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922600","1349922593","1349922566","1349922586","1349922580","1349922576"],"photo_ids_order":["1349922566","1349922576","1349922580","1349922586","1349922593","1349922600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/534e7dc889ec8a91d81a5bcf53484ae7.jpg","text":"TemporaryFile(/tmp/multipartBody4236777548730313877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726942915,"filename":"image_15042025_16_06_10_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c22c2fa59820069bbed91998dcb4e1da.jpg","text":"TemporaryFile(/tmp/multipartBody4924508855709571999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726942915,"filename":"image_15042025_16_06_01_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/551db7f63787dd79e734629cf161f3af.jpg","text":"TemporaryFile(/tmp/multipartBody7693354732596622682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726942915,"filename":"image_15042025_16_05_31_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0a3e0e6ca7ba4d0b3649bd40e10378a.jpg","text":"TemporaryFile(/tmp/multipartBody8868837097376063764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726942915,"filename":"image_15042025_16_05_53_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f44175e448bb9e9215372490dbca7ca8.jpg","text":"TemporaryFile(/tmp/multipartBody147136305780803083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726942915,"filename":"image_15042025_16_05_37_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8f080c1f85dd796bce303139da75023.jpg","text":"TemporaryFile(/tmp/multipartBody595316446333193399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726942915,"filename":"image_15042025_16_05_34_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922580","file1":"1349922576","file0":"1349922566","file4":"1349922593","file5":"1349922600","file3":"1349922586"},"map_files_photo_id_array":[{"photo_id":"1349922600","filename":"file5"},{"photo_id":"1349922580","filename":"file2"},{"photo_id":"1349922593","filename":"file4"},{"photo_id":"1349922576","filename":"file1"},{"photo_id":"1349922566","filename":"file0"},{"photo_id":"1349922586","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922600":["hashtag1","hashtag2"]},{"1349922593":["hashtag1","hashtag2"]},{"1349922566":["hashtag1","hashtag2"]},{"1349922586":["hashtag1","hashtag2"]},{"1349922580":["hashtag1","hashtag2"]},{"1349922576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922600, 1349922593, 1349922566, 1349922586, 1349922580, 1349922576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79117035865784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:22:02.284091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_19_3774.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_25_2564.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_28_3638.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_31_2744.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_34_2605.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_37_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_19_3774.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_25_2564.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_28_3638.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_31_2744.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_34_2605.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_37_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922647","1349922638","1349922643","1349922625","1349922634","1349922633"],"photo_ids_order":["1349922625","1349922633","1349922634","1349922638","1349922643","1349922647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2f33bf77310eba607eee0cfa7f5cb93.jpg","text":"TemporaryFile(/tmp/multipartBody6084198208760818150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726983035,"filename":"image_15042025_16_06_37_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57d7443120ae8675d340b8ec174f043c.jpg","text":"TemporaryFile(/tmp/multipartBody2587608549481634057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726983035,"filename":"image_15042025_16_06_31_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5314ae0620322c30d236926b90d2fcc1.jpg","text":"TemporaryFile(/tmp/multipartBody842158885916582664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726983035,"filename":"image_15042025_16_06_34_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06eb9e9faa085eb7cc2f08b1b507e8aa.jpg","text":"TemporaryFile(/tmp/multipartBody5214596555590873463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726983035,"filename":"image_15042025_16_06_19_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9b9f1dcf5a01cc4bf7b53e92766ed57.jpg","text":"TemporaryFile(/tmp/multipartBody8206267001855119637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726983035,"filename":"image_15042025_16_06_28_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f9c06b69a8b890f4f79cbcb634dae68.jpg","text":"TemporaryFile(/tmp/multipartBody4241928100791458482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744726983035,"filename":"image_15042025_16_06_25_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922634","file1":"1349922633","file0":"1349922625","file4":"1349922643","file5":"1349922647","file3":"1349922638"},"map_files_photo_id_array":[{"photo_id":"1349922647","filename":"file5"},{"photo_id":"1349922634","filename":"file2"},{"photo_id":"1349922643","filename":"file4"},{"photo_id":"1349922633","filename":"file1"},{"photo_id":"1349922625","filename":"file0"},{"photo_id":"1349922638","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922647":["hashtag1","hashtag2"]},{"1349922638":["hashtag1","hashtag2"]},{"1349922643":["hashtag1","hashtag2"]},{"1349922625":["hashtag1","hashtag2"]},{"1349922634":["hashtag1","hashtag2"]},{"1349922633":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922647, 1349922638, 1349922643, 1349922625, 1349922634, 1349922633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76767158508301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:22:41.814326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_40_2565.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_46_3698.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_52_2785.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_55_2694.jpg', '/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_58_3697.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_07_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_40_2565.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_46_3698.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_52_2785.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_55_2694.jpg
/home/pi/Desktop/images/15042025/16/06/image_15042025_16_06_58_3697.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_07_3659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922707","1349922701","1349922688","1349922696","1349922681","1349922675"],"photo_ids_order":["1349922675","1349922681","1349922688","1349922696","1349922701","1349922707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff48dc018b69e6ab87ecc7cd69ff00b1.jpg","text":"TemporaryFile(/tmp/multipartBody2220176983950318234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727022496,"filename":"image_15042025_16_07_07_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bd60c976af852cab2c7cd259b48933a.jpg","text":"TemporaryFile(/tmp/multipartBody5351205269723741242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727022496,"filename":"image_15042025_16_06_58_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2f879ab0b2c820dc46ef0240d8e05ff.jpg","text":"TemporaryFile(/tmp/multipartBody3887867795592881445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727022496,"filename":"image_15042025_16_06_52_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16541da4e26f0166f27c6319127fa8b0.jpg","text":"TemporaryFile(/tmp/multipartBody6807929600917086575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727022496,"filename":"image_15042025_16_06_55_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5cb76c26efe45f7dfb8205a2e638ef2.jpg","text":"TemporaryFile(/tmp/multipartBody971122274728841388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727022496,"filename":"image_15042025_16_06_46_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9dcfc39739cf497f42119a166cccb93.jpg","text":"TemporaryFile(/tmp/multipartBody5869581936629551099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727022496,"filename":"image_15042025_16_06_40_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922688","file1":"1349922681","file0":"1349922675","file4":"1349922701","file5":"1349922707","file3":"1349922696"},"map_files_photo_id_array":[{"photo_id":"1349922707","filename":"file5"},{"photo_id":"1349922688","filename":"file2"},{"photo_id":"1349922701","filename":"file4"},{"photo_id":"1349922681","filename":"file1"},{"photo_id":"1349922675","filename":"file0"},{"photo_id":"1349922696","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922707":["hashtag1","hashtag2"]},{"1349922701":["hashtag1","hashtag2"]},{"1349922688":["hashtag1","hashtag2"]},{"1349922696":["hashtag1","hashtag2"]},{"1349922681":["hashtag1","hashtag2"]},{"1349922675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922707, 1349922701, 1349922688, 1349922696, 1349922681, 1349922675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19362926483154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:23:22.106347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_13_2653.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_16_3816.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_19_2620.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_22_2700.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_25_3679.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_28_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_13_2653.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_16_3816.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_19_2620.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_22_2700.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_25_3679.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_28_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922722","1349922719","1349922736","1349922727","1349922732","1349922744"],"photo_ids_order":["1349922719","1349922722","1349922727","1349922732","1349922736","1349922744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50127e74bdd7672af8414eff4cdc8f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6407514378631352470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727062809,"filename":"image_15042025_16_07_16_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2242561b15bcd88418399021caf7fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1256380205457506235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727062809,"filename":"image_15042025_16_07_13_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/171d9139d30d57cac211bd1279422c82.jpg","text":"TemporaryFile(/tmp/multipartBody845241560492018348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727062809,"filename":"image_15042025_16_07_25_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aaa78a8941c1b3c13977fc634e2acee2.jpg","text":"TemporaryFile(/tmp/multipartBody9123889942154254805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727062809,"filename":"image_15042025_16_07_19_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74bb80d743242d4c7acf39af42037f63.jpg","text":"TemporaryFile(/tmp/multipartBody3212491238906485284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727062809,"filename":"image_15042025_16_07_22_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d47683a35d6c16c0ec688a00bbe78ae2.jpg","text":"TemporaryFile(/tmp/multipartBody6391551930600013533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727062809,"filename":"image_15042025_16_07_28_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922727","file1":"1349922722","file0":"1349922719","file4":"1349922736","file5":"1349922744","file3":"1349922732"},"map_files_photo_id_array":[{"photo_id":"1349922744","filename":"file5"},{"photo_id":"1349922727","filename":"file2"},{"photo_id":"1349922736","filename":"file4"},{"photo_id":"1349922722","filename":"file1"},{"photo_id":"1349922719","filename":"file0"},{"photo_id":"1349922732","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922722":["hashtag1","hashtag2"]},{"1349922719":["hashtag1","hashtag2"]},{"1349922736":["hashtag1","hashtag2"]},{"1349922727":["hashtag1","hashtag2"]},{"1349922732":["hashtag1","hashtag2"]},{"1349922744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922722, 1349922719, 1349922736, 1349922727, 1349922732, 1349922744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26674509048462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:24:03.260522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_34_3686.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_37_2706.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_40_2645.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_43_3584.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_46_2633.jpg', '/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_52_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_34_3686.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_37_2706.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_40_2645.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_43_3584.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_46_2633.jpg
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_52_3780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922764","1349922766","1349922769","1349922771","1349922774","1349922762"],"photo_ids_order":["1349922762","1349922764","1349922766","1349922769","1349922771","1349922774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/942fb8f6f9ac82befa3715e200f19a86.jpg","text":"TemporaryFile(/tmp/multipartBody6186373521312674356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727104098,"filename":"image_15042025_16_07_37_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/648bd5888151b43dfcd6d0204c2151bb.jpg","text":"TemporaryFile(/tmp/multipartBody1677970532230451367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727104098,"filename":"image_15042025_16_07_40_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25ee73282978afc4172738435268707e.jpg","text":"TemporaryFile(/tmp/multipartBody5714614600889199468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727104098,"filename":"image_15042025_16_07_43_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41a89300cf4dd517aced0b9eb61c30d4.jpg","text":"TemporaryFile(/tmp/multipartBody2718415277099438137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727104098,"filename":"image_15042025_16_07_46_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1092040ed2a4ed2a740a8412c0d5772.jpg","text":"TemporaryFile(/tmp/multipartBody5999044794088632250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727104098,"filename":"image_15042025_16_07_52_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b300d9b8b2655e6088f08b2d45c6619e.jpg","text":"TemporaryFile(/tmp/multipartBody5606998535272590968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727104098,"filename":"image_15042025_16_07_34_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922766","file1":"1349922764","file0":"1349922762","file4":"1349922771","file5":"1349922774","file3":"1349922769"},"map_files_photo_id_array":[{"photo_id":"1349922774","filename":"file5"},{"photo_id":"1349922766","filename":"file2"},{"photo_id":"1349922771","filename":"file4"},{"photo_id":"1349922764","filename":"file1"},{"photo_id":"1349922762","filename":"file0"},{"photo_id":"1349922769","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922764":["hashtag1","hashtag2"]},{"1349922766":["hashtag1","hashtag2"]},{"1349922769":["hashtag1","hashtag2"]},{"1349922771":["hashtag1","hashtag2"]},{"1349922774":["hashtag1","hashtag2"]},{"1349922762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922764, 1349922766, 1349922769, 1349922771, 1349922774, 1349922762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.417296409606934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:24:42.562277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_55_2740.jpg', '/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_01_2711.jpg', '/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_03_2887.jpg', '/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_07_3850.jpg', '/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_13_2690.jpg', '/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_19_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/07/image_15042025_16_07_55_2740.jpg
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_01_2711.jpg
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_03_2887.jpg
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_07_3850.jpg
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_13_2690.jpg
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_19_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922806","1349922799","1349922793","1349922823","1349922826","1349922811"],"photo_ids_order":["1349922793","1349922799","1349922806","1349922811","1349922823","1349922826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dda94b8bdf57a89498fa25936ba69ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8836246135345343511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727143234,"filename":"image_15042025_16_08_03_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0969f224a040a59d996d7390117756c.jpg","text":"TemporaryFile(/tmp/multipartBody4456085164096110117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727143234,"filename":"image_15042025_16_08_01_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c4665e66392cca1c28c0cc17fade3e2.jpg","text":"TemporaryFile(/tmp/multipartBody248992219717485115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727143234,"filename":"image_15042025_16_07_55_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/895275f2a34340893804b69e3953761a.jpg","text":"TemporaryFile(/tmp/multipartBody8347711752011170672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727143234,"filename":"image_15042025_16_08_13_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d83a559a2b5e6ec2ede50d0c7a3454a.jpg","text":"TemporaryFile(/tmp/multipartBody1895878692084630125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727143234,"filename":"image_15042025_16_08_19_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0076452a9be736e496275bfc95d9149f.jpg","text":"TemporaryFile(/tmp/multipartBody7922062188865093263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727143234,"filename":"image_15042025_16_08_07_3850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922806","file1":"1349922799","file0":"1349922793","file4":"1349922823","file5":"1349922826","file3":"1349922811"},"map_files_photo_id_array":[{"photo_id":"1349922826","filename":"file5"},{"photo_id":"1349922806","filename":"file2"},{"photo_id":"1349922823","filename":"file4"},{"photo_id":"1349922799","filename":"file1"},{"photo_id":"1349922793","filename":"file0"},{"photo_id":"1349922811","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922806":["hashtag1","hashtag2"]},{"1349922799":["hashtag1","hashtag2"]},{"1349922793":["hashtag1","hashtag2"]},{"1349922823":["hashtag1","hashtag2"]},{"1349922826":["hashtag1","hashtag2"]},{"1349922811":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922806, 1349922799, 1349922793, 1349922823, 1349922826, 1349922811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.311782360076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:25:22.052749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_22_2798.jpg', '/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_28_2581.jpg', '/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_43_3762.jpg', '/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_58_2611.jpg', '/home/pi/Desktop/images/15042025/16/08/image_15042025_16_09_01_2663.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_16_3746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_22_2798.jpg
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_28_2581.jpg
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_43_3762.jpg
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_08_58_2611.jpg
/home/pi/Desktop/images/15042025/16/08/image_15042025_16_09_01_2663.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_16_3746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922881","1349922878","1349922866","1349922905","1349922958","1349922937"],"photo_ids_order":["1349922866","1349922878","1349922881","1349922905","1349922937","1349922958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e9253065a5c8d3d7e94ada8efec6037.jpg","text":"TemporaryFile(/tmp/multipartBody6495629977875855291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727182728,"filename":"image_15042025_16_08_43_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9546d9d202c4a5b9f881074f6d405a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5003672718393765634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727182728,"filename":"image_15042025_16_08_28_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ecfeb60fbc3c318529de1edcee9bfa48.jpg","text":"TemporaryFile(/tmp/multipartBody4427842534546149815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727182728,"filename":"image_15042025_16_08_22_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a149778f6c1bd19898fffcc63de1e14f.jpg","text":"TemporaryFile(/tmp/multipartBody1163419376813054413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727182728,"filename":"image_15042025_16_08_58_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd56cb2ef3c0835a30bb528fc918e445.jpg","text":"TemporaryFile(/tmp/multipartBody5168573527588924618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727182728,"filename":"image_15042025_16_09_16_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f624bfa88153541114c6ef73f4a8a35d.jpg","text":"TemporaryFile(/tmp/multipartBody3918887766485072238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727182728,"filename":"image_15042025_16_09_01_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922881","file1":"1349922878","file0":"1349922866","file4":"1349922937","file5":"1349922958","file3":"1349922905"},"map_files_photo_id_array":[{"photo_id":"1349922958","filename":"file5"},{"photo_id":"1349922881","filename":"file2"},{"photo_id":"1349922937","filename":"file4"},{"photo_id":"1349922878","filename":"file1"},{"photo_id":"1349922866","filename":"file0"},{"photo_id":"1349922905","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922881":["hashtag1","hashtag2"]},{"1349922878":["hashtag1","hashtag2"]},{"1349922866":["hashtag1","hashtag2"]},{"1349922905":["hashtag1","hashtag2"]},{"1349922958":["hashtag1","hashtag2"]},{"1349922937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922881, 1349922878, 1349922866, 1349922905, 1349922958, 1349922937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29228329658508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:26:02.868941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_22_2837.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_31_2836.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_33_2629.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_37_3561.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_40_2781.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_43_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_22_2837.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_31_2836.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_33_2629.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_37_3561.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_40_2781.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_43_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349922980","1349922982","1349922976","1349922969","1349922984","1349922972"],"photo_ids_order":["1349922969","1349922972","1349922976","1349922980","1349922982","1349922984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f627895940e54a723201a9b175797ec2.jpg","text":"TemporaryFile(/tmp/multipartBody3918484893795367858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727223669,"filename":"image_15042025_16_09_37_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8726380fc2e503d79b33166eea931ad.jpg","text":"TemporaryFile(/tmp/multipartBody1839478343445218075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727223669,"filename":"image_15042025_16_09_40_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ebd77e09573e237e64532188482ddd3.jpg","text":"TemporaryFile(/tmp/multipartBody8609087174014676997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727223669,"filename":"image_15042025_16_09_33_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24ae45c5bf17b47f27777cac93c5d9a7.jpg","text":"TemporaryFile(/tmp/multipartBody3462505333611521138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727223669,"filename":"image_15042025_16_09_22_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8459b23fb541ce97b26c7c4876c4ded.jpg","text":"TemporaryFile(/tmp/multipartBody8940488819326638426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727223669,"filename":"image_15042025_16_09_43_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97b29e89603f4a69f9f2db6cb33a5a32.jpg","text":"TemporaryFile(/tmp/multipartBody5530504027003637206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727223669,"filename":"image_15042025_16_09_31_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349922976","file1":"1349922972","file0":"1349922969","file4":"1349922982","file5":"1349922984","file3":"1349922980"},"map_files_photo_id_array":[{"photo_id":"1349922984","filename":"file5"},{"photo_id":"1349922976","filename":"file2"},{"photo_id":"1349922982","filename":"file4"},{"photo_id":"1349922972","filename":"file1"},{"photo_id":"1349922969","filename":"file0"},{"photo_id":"1349922980","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349922980":["hashtag1","hashtag2"]},{"1349922982":["hashtag1","hashtag2"]},{"1349922976":["hashtag1","hashtag2"]},{"1349922969":["hashtag1","hashtag2"]},{"1349922984":["hashtag1","hashtag2"]},{"1349922972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349922980, 1349922982, 1349922976, 1349922969, 1349922984, 1349922972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.057202100753784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:26:42.527899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_46_3675.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_49_2627.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_51_2562.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_55_3582.jpg', '/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_58_2881.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_13_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_46_3675.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_49_2627.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_51_2562.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_55_3582.jpg
/home/pi/Desktop/images/15042025/16/09/image_15042025_16_09_58_2881.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_13_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923031","1349923027","1349923036","1349923039","1349923044","1349922999"],"photo_ids_order":["1349922999","1349923027","1349923031","1349923036","1349923039","1349923044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f53ef973d56c42da4dfe8299c9b726c2.jpg","text":"TemporaryFile(/tmp/multipartBody8151366907745514219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727263267,"filename":"image_15042025_16_09_51_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb4c6fc2e99d73cedc894a2f6b3a5d3d.jpg","text":"TemporaryFile(/tmp/multipartBody1441636279869992553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727263267,"filename":"image_15042025_16_09_49_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cadafa5dfc52e3b9602e340d9e325cf.jpg","text":"TemporaryFile(/tmp/multipartBody9089627773374931288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727263267,"filename":"image_15042025_16_09_55_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/697af3ca7bf0267d544db4653b3b8a9f.jpg","text":"TemporaryFile(/tmp/multipartBody7631676861043189612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727263267,"filename":"image_15042025_16_09_58_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/183dcab483f984c30a553aa4aa95a7d4.jpg","text":"TemporaryFile(/tmp/multipartBody6184775927705898468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727263267,"filename":"image_15042025_16_10_13_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ec6920c566d7a226110c39b22808df0.jpg","text":"TemporaryFile(/tmp/multipartBody4766527366981923309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727263267,"filename":"image_15042025_16_09_46_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349923031","file1":"1349923027","file0":"1349922999","file4":"1349923039","file5":"1349923044","file3":"1349923036"},"map_files_photo_id_array":[{"photo_id":"1349923044","filename":"file5"},{"photo_id":"1349923031","filename":"file2"},{"photo_id":"1349923039","filename":"file4"},{"photo_id":"1349923027","filename":"file1"},{"photo_id":"1349922999","filename":"file0"},{"photo_id":"1349923036","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349923031":["hashtag1","hashtag2"]},{"1349923027":["hashtag1","hashtag2"]},{"1349923036":["hashtag1","hashtag2"]},{"1349923039":["hashtag1","hashtag2"]},{"1349923044":["hashtag1","hashtag2"]},{"1349922999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349923031, 1349923027, 1349923036, 1349923039, 1349923044, 1349922999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.370912313461304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:27:42.314995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_16_2685.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_20_3589.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_26_3585.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_28_2594.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_31_2692.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_35_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_16_2685.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_20_3589.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_26_3585.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_28_2594.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_31_2692.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_35_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923096","1349923072","1349923091","1349923085","1349923079","1349923094"],"photo_ids_order":["1349923072","1349923079","1349923085","1349923091","1349923094","1349923096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef2ea69c22a5beead6eb9ef441c3bb30.jpg","text":"TemporaryFile(/tmp/multipartBody6586451527005168014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727323034,"filename":"image_15042025_16_10_35_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69d451714eb9a7d577630ad56b251cb1.jpg","text":"TemporaryFile(/tmp/multipartBody5545854990723282029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727323034,"filename":"image_15042025_16_10_16_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d419806b153daf2746185ccf100ac65.jpg","text":"TemporaryFile(/tmp/multipartBody7839326905480788426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727323034,"filename":"image_15042025_16_10_28_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bac31f4789a76c9361dff0e7e3e1536.jpg","text":"TemporaryFile(/tmp/multipartBody7926376012362379824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727323034,"filename":"image_15042025_16_10_26_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/573b19e41602fe8d6334869747b72d69.jpg","text":"TemporaryFile(/tmp/multipartBody7998926685521738244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727323034,"filename":"image_15042025_16_10_20_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50b3b965ecd7a3f82c9dffc33c713c97.jpg","text":"TemporaryFile(/tmp/multipartBody8585551595462839708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727323034,"filename":"image_15042025_16_10_31_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349923085","file1":"1349923079","file0":"1349923072","file4":"1349923094","file5":"1349923096","file3":"1349923091"},"map_files_photo_id_array":[{"photo_id":"1349923096","filename":"file5"},{"photo_id":"1349923085","filename":"file2"},{"photo_id":"1349923094","filename":"file4"},{"photo_id":"1349923079","filename":"file1"},{"photo_id":"1349923072","filename":"file0"},{"photo_id":"1349923091","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349923096":["hashtag1","hashtag2"]},{"1349923072":["hashtag1","hashtag2"]},{"1349923091":["hashtag1","hashtag2"]},{"1349923085":["hashtag1","hashtag2"]},{"1349923079":["hashtag1","hashtag2"]},{"1349923094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349923096, 1349923072, 1349923091, 1349923085, 1349923079, 1349923094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82353687286377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:28:22.126159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_37_2117.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_41_3760.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_44_2935.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_46_2706.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_50_3541.jpg', '/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_55_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_37_2117.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_41_3760.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_44_2935.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_46_2706.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_50_3541.jpg
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_55_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923112","1349923141","1349923129","1349923108","1349923122","1349923116"],"photo_ids_order":["1349923108","1349923112","1349923116","1349923122","1349923129","1349923141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57d8bc45fd8534ebc03d1067aec4a818.jpg","text":"TemporaryFile(/tmp/multipartBody7567602462060949845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727362811,"filename":"image_15042025_16_10_41_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28fe029827b3d40d59e0c8d5e81c0321.jpg","text":"TemporaryFile(/tmp/multipartBody7770560351682679789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727362811,"filename":"image_15042025_16_10_55_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82bb71e93d51c7a9d65bfea062e0d0c3.jpg","text":"TemporaryFile(/tmp/multipartBody5050282033500456327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727362811,"filename":"image_15042025_16_10_50_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4dfe747e2ce9962bea556c0d8c772c03.jpg","text":"TemporaryFile(/tmp/multipartBody872347647303092210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727362811,"filename":"image_15042025_16_10_37_2117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/984a1c710aa25b21ba4b1152393dbfc7.jpg","text":"TemporaryFile(/tmp/multipartBody1982060500726000274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727362811,"filename":"image_15042025_16_10_46_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fcefbdf9ef7c46087a6881a15a394e37.jpg","text":"TemporaryFile(/tmp/multipartBody6573008520456299268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727362811,"filename":"image_15042025_16_10_44_2935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349923116","file1":"1349923112","file0":"1349923108","file4":"1349923129","file5":"1349923141","file3":"1349923122"},"map_files_photo_id_array":[{"photo_id":"1349923141","filename":"file5"},{"photo_id":"1349923116","filename":"file2"},{"photo_id":"1349923129","filename":"file4"},{"photo_id":"1349923112","filename":"file1"},{"photo_id":"1349923108","filename":"file0"},{"photo_id":"1349923122","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349923112":["hashtag1","hashtag2"]},{"1349923141":["hashtag1","hashtag2"]},{"1349923129":["hashtag1","hashtag2"]},{"1349923108":["hashtag1","hashtag2"]},{"1349923122":["hashtag1","hashtag2"]},{"1349923116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349923112, 1349923141, 1349923129, 1349923108, 1349923122, 1349923116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.448204040527344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:29:03.209999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_58_2662.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_01_2920.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_05_3805.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_07_2693.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_10_2589.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_16_2855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/10/image_15042025_16_10_58_2662.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_01_2920.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_05_3805.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_07_2693.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_10_2589.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_16_2855.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923220","1349923214","1349923180","1349923176","1349923199","1349923187"],"photo_ids_order":["1349923176","1349923180","1349923187","1349923199","1349923214","1349923220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a4c91452b76e13305b0e9282f075a9b.jpg","text":"TemporaryFile(/tmp/multipartBody1819122847475107533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727404138,"filename":"image_15042025_16_11_16_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f98e4efc314c1d9d1eb9a0b0f6338889.jpg","text":"TemporaryFile(/tmp/multipartBody1798840640456518101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727404138,"filename":"image_15042025_16_11_10_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0239e21f89df952ffeb1e19102f3684e.jpg","text":"TemporaryFile(/tmp/multipartBody1779664140603442920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727404138,"filename":"image_15042025_16_11_01_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf9104cdaa7600cff4d426c5bdef4ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7190165812069228087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727404138,"filename":"image_15042025_16_10_58_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/085f1a08a8d413f4c243926dffe47d62.jpg","text":"TemporaryFile(/tmp/multipartBody6988189123226311126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727404138,"filename":"image_15042025_16_11_07_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11f04f63d8cd1d0529af844899691451.jpg","text":"TemporaryFile(/tmp/multipartBody1467305759498845480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727404138,"filename":"image_15042025_16_11_05_3805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349923187","file1":"1349923180","file0":"1349923176","file4":"1349923214","file5":"1349923220","file3":"1349923199"},"map_files_photo_id_array":[{"photo_id":"1349923220","filename":"file5"},{"photo_id":"1349923187","filename":"file2"},{"photo_id":"1349923214","filename":"file4"},{"photo_id":"1349923180","filename":"file1"},{"photo_id":"1349923176","filename":"file0"},{"photo_id":"1349923199","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349923220":["hashtag1","hashtag2"]},{"1349923214":["hashtag1","hashtag2"]},{"1349923180":["hashtag1","hashtag2"]},{"1349923176":["hashtag1","hashtag2"]},{"1349923199":["hashtag1","hashtag2"]},{"1349923187":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349923220, 1349923214, 1349923180, 1349923176, 1349923199, 1349923187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10325884819031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:29:42.267758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_19_2636.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_25_3608.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_32_3678.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_37_2758.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_46_2877.jpg', '/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_55_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_19_2636.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_25_3608.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_32_3678.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_37_2758.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_46_2877.jpg
/home/pi/Desktop/images/15042025/16/11/image_15042025_16_11_55_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923262","1349923244","1349923238","1349923270","1349923258","1349923253"],"photo_ids_order":["1349923238","1349923244","1349923253","1349923258","1349923262","1349923270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67817ad4227c158a232251d7c0518ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4289689872189936034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727442967,"filename":"image_15042025_16_11_46_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/974de61121d218d900f71502bd2bc895.jpg","text":"TemporaryFile(/tmp/multipartBody4345004939717035968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727442967,"filename":"image_15042025_16_11_25_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5587b8e921e6332b846e3a8ddd43ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7283849352978141058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727442967,"filename":"image_15042025_16_11_19_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17f7c16bd2fdd5984fbf3cd7ccf0f0a8.jpg","text":"TemporaryFile(/tmp/multipartBody6007247653498826224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727442967,"filename":"image_15042025_16_11_55_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f15fe7cf72ca5e8e332251d44d51a1f6.jpg","text":"TemporaryFile(/tmp/multipartBody4643155541688099268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727442967,"filename":"image_15042025_16_11_37_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa8f4363b5fcd2ba7250ecdaf486a188.jpg","text":"TemporaryFile(/tmp/multipartBody8794374018575768328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727442967,"filename":"image_15042025_16_11_32_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349923253","file1":"1349923244","file0":"1349923238","file4":"1349923262","file5":"1349923270","file3":"1349923258"},"map_files_photo_id_array":[{"photo_id":"1349923270","filename":"file5"},{"photo_id":"1349923253","filename":"file2"},{"photo_id":"1349923262","filename":"file4"},{"photo_id":"1349923244","filename":"file1"},{"photo_id":"1349923238","filename":"file0"},{"photo_id":"1349923258","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349923262":["hashtag1","hashtag2"]},{"1349923244":["hashtag1","hashtag2"]},{"1349923238":["hashtag1","hashtag2"]},{"1349923270":["hashtag1","hashtag2"]},{"1349923258":["hashtag1","hashtag2"]},{"1349923253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349923262, 1349923244, 1349923238, 1349923270, 1349923258, 1349923253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.983593702316284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:30:22.598232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_07_2765.jpg', '/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_10_2616.jpg', '/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_14_3731.jpg', '/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_19_2713.jpg', '/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_28_2682.jpg', '/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_40_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_07_2765.jpg
/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_10_2616.jpg
/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_14_3731.jpg
/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_19_2713.jpg
/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_28_2682.jpg
/home/pi/Desktop/images/15042025/16/12/image_15042025_16_12_40_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923328","1349923304","1349923297","1349923290","1349923284","1349923287"],"photo_ids_order":["1349923284","1349923287","1349923290","1349923297","1349923304","1349923328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0caf71a401f4afffd3749ffe57842c22.jpg","text":"TemporaryFile(/tmp/multipartBody8403264113767629103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727483285,"filename":"image_15042025_16_12_40_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d60d8c1a825ee73e19668cf3d77e2848.jpg","text":"TemporaryFile(/tmp/multipartBody5076698347999380280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727483285,"filename":"image_15042025_16_12_28_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6e79e47f01f41e82eabe4c2793512e4.jpg","text":"TemporaryFile(/tmp/multipartBody5494668410613824599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727483285,"filename":"image_15042025_16_12_19_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c9b9afe15545045492e68d5f09b7ffc.jpg","text":"TemporaryFile(/tmp/multipartBody5491884273513771567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727483285,"filename":"image_15042025_16_12_14_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7562a8876e8a7a78d6976220f0414b3.jpg","text":"TemporaryFile(/tmp/multipartBody7920625557314890183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727483285,"filename":"image_15042025_16_12_07_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/294df7d52e789376c9031b23483383fb.jpg","text":"TemporaryFile(/tmp/multipartBody6978623701612414528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727483285,"filename":"image_15042025_16_12_10_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349923290","file1":"1349923287","file0":"1349923284","file4":"1349923304","file5":"1349923328","file3":"1349923297"},"map_files_photo_id_array":[{"photo_id":"1349923328","filename":"file5"},{"photo_id":"1349923290","filename":"file2"},{"photo_id":"1349923304","filename":"file4"},{"photo_id":"1349923287","filename":"file1"},{"photo_id":"1349923284","filename":"file0"},{"photo_id":"1349923297","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349923328":["hashtag1","hashtag2"]},{"1349923304":["hashtag1","hashtag2"]},{"1349923297":["hashtag1","hashtag2"]},{"1349923290":["hashtag1","hashtag2"]},{"1349923284":["hashtag1","hashtag2"]},{"1349923287":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349923328, 1349923304, 1349923297, 1349923290, 1349923284, 1349923287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45857524871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:31:03.482637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/12/image_15042025_16_13_01_3652.jpg', '/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_04_2702.jpg', '/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_07_2673.jpg', '/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_13_2771.jpg', '/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_22_3658.jpg', '/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_40_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/12/image_15042025_16_13_01_3652.jpg
/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_04_2702.jpg
/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_07_2673.jpg
/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_13_2771.jpg
/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_22_3658.jpg
/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_40_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923459","1349923423","1349923429","1349923488","1349923509","1349923478"],"photo_ids_order":["1349923423","1349923429","1349923459","1349923478","1349923488","1349923509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afe3acb6fce750b13feafa9e70b9f0de.jpg","text":"TemporaryFile(/tmp/multipartBody4493058427705022559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727524335,"filename":"image_15042025_16_13_07_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47be17dabde7abbe1e34d696e2172d95.jpg","text":"TemporaryFile(/tmp/multipartBody7580408480351698082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727524335,"filename":"image_15042025_16_13_01_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63ec16aaae56f89b175d52b2d24decb6.jpg","text":"TemporaryFile(/tmp/multipartBody4049811452671791021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727524335,"filename":"image_15042025_16_13_04_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97fb4454944e76adeb1890c3c44a1d00.jpg","text":"TemporaryFile(/tmp/multipartBody9019921040587827964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727524335,"filename":"image_15042025_16_13_22_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f831c4b4b63c436afabd5baa54db3e0.jpg","text":"TemporaryFile(/tmp/multipartBody8323964640645746491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727524335,"filename":"image_15042025_16_13_40_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acfcf031dffc3630bfce974598c18741.jpg","text":"TemporaryFile(/tmp/multipartBody6125970662553414411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727524335,"filename":"image_15042025_16_13_13_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349923459","file1":"1349923429","file0":"1349923423","file4":"1349923488","file5":"1349923509","file3":"1349923478"},"map_files_photo_id_array":[{"photo_id":"1349923509","filename":"file5"},{"photo_id":"1349923459","filename":"file2"},{"photo_id":"1349923488","filename":"file4"},{"photo_id":"1349923429","filename":"file1"},{"photo_id":"1349923423","filename":"file0"},{"photo_id":"1349923478","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349923459":["hashtag1","hashtag2"]},{"1349923423":["hashtag1","hashtag2"]},{"1349923429":["hashtag1","hashtag2"]},{"1349923488":["hashtag1","hashtag2"]},{"1349923509":["hashtag1","hashtag2"]},{"1349923478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349923459, 1349923423, 1349923429, 1349923488, 1349923509, 1349923478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.036919355392456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:31:42.670366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_43_3589.jpg', '/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_52_2609.jpg', '/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_58_3617.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_04_2686.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_10_2505.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_13_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_43_3589.jpg
/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_52_2609.jpg
/home/pi/Desktop/images/15042025/16/13/image_15042025_16_13_58_3617.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_04_2686.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_10_2505.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_13_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923591","1349923575","1349923554","1349923586","1349923568","1349923562"],"photo_ids_order":["1349923554","1349923562","1349923568","1349923575","1349923586","1349923591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d426bb5c78a339df79cc4dcc37170beb.jpg","text":"TemporaryFile(/tmp/multipartBody2637199100752647031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727563373,"filename":"image_15042025_16_14_13_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2507299d0a3632f04d6ca8f1923fbe5.jpg","text":"TemporaryFile(/tmp/multipartBody3226951452855366818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727563373,"filename":"image_15042025_16_14_04_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fdbfaaf892ed764de5a14fb23cfa1cca.jpg","text":"TemporaryFile(/tmp/multipartBody6904225353654495170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727563373,"filename":"image_15042025_16_13_43_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a472d19fbd2f895c83c8fa5edf4fddf4.jpg","text":"TemporaryFile(/tmp/multipartBody2862495434272375323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727563373,"filename":"image_15042025_16_14_10_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09a1af57d7f873ed8aea17a8692e020d.jpg","text":"TemporaryFile(/tmp/multipartBody4081637069731981846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727563373,"filename":"image_15042025_16_13_58_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc1dc780f37d45d0902a2ca105048ecf.jpg","text":"TemporaryFile(/tmp/multipartBody673942203518205316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727563373,"filename":"image_15042025_16_13_52_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349923568","file1":"1349923562","file0":"1349923554","file4":"1349923586","file5":"1349923591","file3":"1349923575"},"map_files_photo_id_array":[{"photo_id":"1349923591","filename":"file5"},{"photo_id":"1349923568","filename":"file2"},{"photo_id":"1349923586","filename":"file4"},{"photo_id":"1349923562","filename":"file1"},{"photo_id":"1349923554","filename":"file0"},{"photo_id":"1349923575","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349923591":["hashtag1","hashtag2"]},{"1349923575":["hashtag1","hashtag2"]},{"1349923554":["hashtag1","hashtag2"]},{"1349923586":["hashtag1","hashtag2"]},{"1349923568":["hashtag1","hashtag2"]},{"1349923562":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349923591, 1349923575, 1349923554, 1349923586, 1349923568, 1349923562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33616232872009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:32:22.333507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_19_2743.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_22_2658.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_25_3581.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_28_2565.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_31_3594.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_34_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_19_2743.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_22_2658.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_25_3581.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_28_2565.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_31_3594.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_34_2682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6270697116851807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:32:42.362954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_19_2743.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_22_2658.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_25_3581.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_28_2565.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_31_3594.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_34_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_19_2743.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_22_2658.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_25_3581.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_28_2565.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_31_3594.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_34_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349923823","1349923852","1349923906","1349923813","1349923869","1349923878"],"photo_ids_order":["1349923813","1349923823","1349923852","1349923869","1349923878","1349923906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90ec5b7fec41a7028662a65499301c52.jpg","text":"TemporaryFile(/tmp/multipartBody2149294571554799219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727623049,"filename":"image_15042025_16_14_22_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e78b7a56c70460b9bf62f98b30fe698.jpg","text":"TemporaryFile(/tmp/multipartBody457760699505459719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727623049,"filename":"image_15042025_16_14_25_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d244edf53a0a2ef0702da2b67534070.jpg","text":"TemporaryFile(/tmp/multipartBody2745659894831243126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727623049,"filename":"image_15042025_16_14_34_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e1dac03309cfe6c2efb75b65c661db3.jpg","text":"TemporaryFile(/tmp/multipartBody1828062658378437813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727623049,"filename":"image_15042025_16_14_19_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83ade9e9f47d399b0982fe991434c8a5.jpg","text":"TemporaryFile(/tmp/multipartBody9197781490241540459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727623049,"filename":"image_15042025_16_14_28_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d5bc4985c51caff58640f39871b1bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1747731088812895293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727623049,"filename":"image_15042025_16_14_31_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349923852","file1":"1349923823","file0":"1349923813","file4":"1349923878","file5":"1349923906","file3":"1349923869"},"map_files_photo_id_array":[{"photo_id":"1349923906","filename":"file5"},{"photo_id":"1349923852","filename":"file2"},{"photo_id":"1349923878","filename":"file4"},{"photo_id":"1349923823","filename":"file1"},{"photo_id":"1349923813","filename":"file0"},{"photo_id":"1349923869","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349923823":["hashtag1","hashtag2"]},{"1349923852":["hashtag1","hashtag2"]},{"1349923906":["hashtag1","hashtag2"]},{"1349923813":["hashtag1","hashtag2"]},{"1349923869":["hashtag1","hashtag2"]},{"1349923878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349923823, 1349923852, 1349923906, 1349923813, 1349923869, 1349923878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36392617225647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:33:22.562412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_37_2770.jpg', '/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_44_3997.jpg', '/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_07_3011.jpg', '/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_13_2638.jpg', '/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_20_2620.jpg', '/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_26_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_37_2770.jpg
/home/pi/Desktop/images/15042025/16/14/image_15042025_16_14_44_3997.jpg
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_07_3011.jpg
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_13_2638.jpg
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_20_2620.jpg
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_26_3536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349924188","1349924260","1349924202","1349924118","1349924171","1349924135"],"photo_ids_order":["1349924118","1349924135","1349924171","1349924188","1349924202","1349924260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af481702cac182a0357174f8f305af75.jpg","text":"TemporaryFile(/tmp/multipartBody6048888469235156371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727663252,"filename":"image_15042025_16_15_13_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea763634835070b85d0753ec5903ba0f.jpg","text":"TemporaryFile(/tmp/multipartBody124522163097420551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727663252,"filename":"image_15042025_16_15_26_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9462fc33f52ecbc8e0fd17457c6fbe4.jpg","text":"TemporaryFile(/tmp/multipartBody1254048997110007742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727663252,"filename":"image_15042025_16_15_20_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/999670807ff718f05041c725abe9aec2.jpg","text":"TemporaryFile(/tmp/multipartBody565480102037490688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727663252,"filename":"image_15042025_16_14_37_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5500f9b6885519ed18ff2562cb9698c4.jpg","text":"TemporaryFile(/tmp/multipartBody5668227326798856207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727663252,"filename":"image_15042025_16_15_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64bc41a7b727d8e86dac99c73b76c8fa.jpg","text":"TemporaryFile(/tmp/multipartBody3925292530166026850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727663252,"filename":"image_15042025_16_14_44_3997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349924171","file1":"1349924135","file0":"1349924118","file4":"1349924202","file5":"1349924260","file3":"1349924188"},"map_files_photo_id_array":[{"photo_id":"1349924260","filename":"file5"},{"photo_id":"1349924171","filename":"file2"},{"photo_id":"1349924202","filename":"file4"},{"photo_id":"1349924135","filename":"file1"},{"photo_id":"1349924118","filename":"file0"},{"photo_id":"1349924188","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349924188":["hashtag1","hashtag2"]},{"1349924260":["hashtag1","hashtag2"]},{"1349924202":["hashtag1","hashtag2"]},{"1349924118":["hashtag1","hashtag2"]},{"1349924171":["hashtag1","hashtag2"]},{"1349924135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349924188, 1349924260, 1349924202, 1349924118, 1349924171, 1349924135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.590100049972534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:34:02.554882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_38_3630.jpg', '/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_40_2596.jpg', '/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_44_3623.jpg', '/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_47_2557.jpg', '/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_49_2692.jpg', '/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_53_3518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_38_3630.jpg
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_40_2596.jpg
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_44_3623.jpg
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_47_2557.jpg
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_49_2692.jpg
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_53_3518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349924296","1349924289","1349924298","1349924292","1349924286","1349924300"],"photo_ids_order":["1349924286","1349924289","1349924292","1349924296","1349924298","1349924300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35f4fe9fe00a8de445f6991400fa6af9.jpg","text":"TemporaryFile(/tmp/multipartBody4061027784012075465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727705926,"filename":"image_15042025_16_15_47_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26e3ecfd1fb5bb79238512238488ec64.jpg","text":"TemporaryFile(/tmp/multipartBody7194687950956901360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727705926,"filename":"image_15042025_16_15_40_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3374e8b06e3b9e29c991da81c4e0b850.jpg","text":"TemporaryFile(/tmp/multipartBody828650431872026501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727705926,"filename":"image_15042025_16_15_49_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b8fa4106246ffe593ba055fb693b554.jpg","text":"TemporaryFile(/tmp/multipartBody4259427411120818330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727705926,"filename":"image_15042025_16_15_44_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95a297e300cd5998b96d461121631bf6.jpg","text":"TemporaryFile(/tmp/multipartBody4211987910577527679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727705926,"filename":"image_15042025_16_15_38_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a654a3b0707ac3047b524f3711b5aba.jpg","text":"TemporaryFile(/tmp/multipartBody5003281785514926856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727705926,"filename":"image_15042025_16_15_53_3518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349924292","file1":"1349924289","file0":"1349924286","file4":"1349924298","file5":"1349924300","file3":"1349924296"},"map_files_photo_id_array":[{"photo_id":"1349924300","filename":"file5"},{"photo_id":"1349924292","filename":"file2"},{"photo_id":"1349924298","filename":"file4"},{"photo_id":"1349924289","filename":"file1"},{"photo_id":"1349924286","filename":"file0"},{"photo_id":"1349924296","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349924296":["hashtag1","hashtag2"]},{"1349924289":["hashtag1","hashtag2"]},{"1349924298":["hashtag1","hashtag2"]},{"1349924292":["hashtag1","hashtag2"]},{"1349924286":["hashtag1","hashtag2"]},{"1349924300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349924296, 1349924289, 1349924298, 1349924292, 1349924286, 1349924300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31441640853882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:34:41.860878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_59_3655.jpg', '/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_02_2810.jpg', '/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_05_2807.jpg', '/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_07_2553.jpg', '/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_11_3840.jpg', '/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_35_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/15/image_15042025_16_15_59_3655.jpg
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_02_2810.jpg
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_05_2807.jpg
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_07_2553.jpg
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_11_3840.jpg
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_35_3756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349924501","1349924470","1349924464","1349924422","1349924387","1349924456"],"photo_ids_order":["1349924387","1349924422","1349924456","1349924464","1349924470","1349924501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/005c814b3b0559a4ab0bc04535407be3.jpg","text":"TemporaryFile(/tmp/multipartBody6502755093342789272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727742564,"filename":"image_15042025_16_16_35_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4dbc8d872d2006897b6918d5281ce835.jpg","text":"TemporaryFile(/tmp/multipartBody7847970327162636882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727742564,"filename":"image_15042025_16_16_11_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a28e211d2571b318fc66ea941fbcb5ea.jpg","text":"TemporaryFile(/tmp/multipartBody8743665089189675342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727742564,"filename":"image_15042025_16_16_07_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab3462fac02acb4881da898c9dcf01b6.jpg","text":"TemporaryFile(/tmp/multipartBody5494951813501581994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727742564,"filename":"image_15042025_16_16_02_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b4bc74b51b9d4826db9cd1c8f1cb400.jpg","text":"TemporaryFile(/tmp/multipartBody2832446098214731402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727742564,"filename":"image_15042025_16_15_59_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61110724f72203957e4a79850e1c3098.jpg","text":"TemporaryFile(/tmp/multipartBody4729435200569726197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727742564,"filename":"image_15042025_16_16_05_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349924456","file1":"1349924422","file0":"1349924387","file4":"1349924470","file5":"1349924501","file3":"1349924464"},"map_files_photo_id_array":[{"photo_id":"1349924501","filename":"file5"},{"photo_id":"1349924456","filename":"file2"},{"photo_id":"1349924470","filename":"file4"},{"photo_id":"1349924422","filename":"file1"},{"photo_id":"1349924387","filename":"file0"},{"photo_id":"1349924464","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349924501":["hashtag1","hashtag2"]},{"1349924470":["hashtag1","hashtag2"]},{"1349924464":["hashtag1","hashtag2"]},{"1349924422":["hashtag1","hashtag2"]},{"1349924387":["hashtag1","hashtag2"]},{"1349924456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349924501, 1349924470, 1349924464, 1349924422, 1349924387, 1349924456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74052715301514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:35:22.248405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_38_2552.jpg', '/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_41_2715.jpg', '/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_43_2711.jpg', '/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_59_3741.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_04_2791.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_11_3799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_38_2552.jpg
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_41_2715.jpg
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_43_2711.jpg
/home/pi/Desktop/images/15042025/16/16/image_15042025_16_16_59_3741.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_04_2791.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_11_3799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349924614","1349924586","1349924661","1349924577","1349924579","1349924558"],"photo_ids_order":["1349924558","1349924577","1349924579","1349924586","1349924614","1349924661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe05d1ec2c32c836f39bbd9b282596de.jpg","text":"TemporaryFile(/tmp/multipartBody2045623597764264816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727782932,"filename":"image_15042025_16_17_04_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28abd864dae525b74e593ab53b1bdf8f.jpg","text":"TemporaryFile(/tmp/multipartBody2458072363414835820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727782932,"filename":"image_15042025_16_16_59_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79d76750709a64c19088740ce4b1b43d.jpg","text":"TemporaryFile(/tmp/multipartBody4970447134883433078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727782932,"filename":"image_15042025_16_17_11_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6659be53e0c9a409a2b926dd902cd201.jpg","text":"TemporaryFile(/tmp/multipartBody2184900188386270700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727782932,"filename":"image_15042025_16_16_41_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/952647506e709545e52f6392f907feb5.jpg","text":"TemporaryFile(/tmp/multipartBody5090908157442454006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727782932,"filename":"image_15042025_16_16_43_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acbea4c91d7bf55d447c42bfe2db02b0.jpg","text":"TemporaryFile(/tmp/multipartBody4362901152096908285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744727782932,"filename":"image_15042025_16_16_38_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349924579","file1":"1349924577","file0":"1349924558","file4":"1349924614","file5":"1349924661","file3":"1349924586"},"map_files_photo_id_array":[{"photo_id":"1349924661","filename":"file5"},{"photo_id":"1349924579","filename":"file2"},{"photo_id":"1349924614","filename":"file4"},{"photo_id":"1349924577","filename":"file1"},{"photo_id":"1349924558","filename":"file0"},{"photo_id":"1349924586","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349924614":["hashtag1","hashtag2"]},{"1349924586":["hashtag1","hashtag2"]},{"1349924661":["hashtag1","hashtag2"]},{"1349924577":["hashtag1","hashtag2"]},{"1349924579":["hashtag1","hashtag2"]},{"1349924558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349924614, 1349924586, 1349924661, 1349924577, 1349924579, 1349924558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45425820350647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:36:03.218939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:36:22.377503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:36:45.024533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:37:14.940119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:37:54.198308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:38:10.954326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 2 : upload photos already in processing! 
2025-04-15 16:39:00.094005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
2025-04-15 16:39:00.122235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:39:41.290318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_13_2665.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_25_2694.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_37_2851.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_40_2785.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_44_3711.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_49_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_13_2665.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_25_2694.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_37_2851.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_40_2785.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_44_3711.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_49_2789.jpg
2025-04-15 16:39:41.363874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_13_2665.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_25_2694.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_37_2851.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_40_2785.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_44_3711.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_49_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_13_2665.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_25_2694.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_37_2851.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_40_2785.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_44_3711.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_49_2789.jpg
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925255","1349925264","1349925246","1349925272","1349925289","1349925277"],"photo_ids_order":["1349925246","1349925255","1349925264","1349925272","1349925277","1349925289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88f0c46032a91df6613427bd4238cddf.jpg","text":"TemporaryFile(/tmp/multipartBody361124723705778010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042089,"filename":"image_15042025_16_17_25_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82b9e88f56d43011a5b7b8167c5aad45.jpg","text":"TemporaryFile(/tmp/multipartBody1988950253614458838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042089,"filename":"image_15042025_16_17_37_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9124d2d8f0466fa8298472f675a17cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3625122853413896717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042089,"filename":"image_15042025_16_17_13_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a70f99c9ada2d9f30768869d8ae8e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2974556979421753577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042089,"filename":"image_15042025_16_17_40_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a53ab31c6b100ecd88b304e4da47ed1d.jpg","text":"TemporaryFile(/tmp/multipartBody3428775660053841752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042089,"filename":"image_15042025_16_17_49_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/644c8b42d9ed92111632347d8f5518e9.jpg","text":"TemporaryFile(/tmp/multipartBody5123243180834623439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042089,"filename":"image_15042025_16_17_44_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925264","file1":"1349925255","file0":"1349925246","file4":"1349925277","file5":"1349925289","file3":"1349925272"},"map_files_photo_id_array":[{"photo_id":"1349925289","filename":"file5"},{"photo_id":"1349925264","filename":"file2"},{"photo_id":"1349925277","filename":"file4"},{"photo_id":"1349925255","filename":"file1"},{"photo_id":"1349925246","filename":"file0"},{"photo_id":"1349925272","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925255":["hashtag1","hashtag2"]},{"1349925264":["hashtag1","hashtag2"]},{"1349925246":["hashtag1","hashtag2"]},{"1349925272":["hashtag1","hashtag2"]},{"1349925289":["hashtag1","hashtag2"]},{"1349925277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925255, 1349925264, 1349925246, 1349925272, 1349925289, 1349925277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43979096412659 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925291","1349925254","1349925278","1349925263","1349925271","1349925244"],"photo_ids_order":["1349925244","1349925254","1349925263","1349925271","1349925278","1349925291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e7516440c9a562ec512b03437db0338.jpg","text":"TemporaryFile(/tmp/multipartBody3946302716815584733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042032,"filename":"image_15042025_16_17_49_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3382222e9de46f3714d5715e6b5a4895.jpg","text":"TemporaryFile(/tmp/multipartBody6580667983722403735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042032,"filename":"image_15042025_16_17_25_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db9e7c30f2788adfb32dba818520c8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4258316664442888195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042032,"filename":"image_15042025_16_17_44_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7218af3af219ef841acd5feb4878e2c8.jpg","text":"TemporaryFile(/tmp/multipartBody6986974606118701579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042032,"filename":"image_15042025_16_17_37_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de3a06b8c9e3efee0bf29c7bb7e69dd9.jpg","text":"TemporaryFile(/tmp/multipartBody1389150595360851007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042032,"filename":"image_15042025_16_17_40_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3be0241e7f8350d8d5c24dd961c85d76.jpg","text":"TemporaryFile(/tmp/multipartBody8761898279493245812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728042032,"filename":"image_15042025_16_17_13_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925263","file1":"1349925254","file0":"1349925244","file4":"1349925278","file5":"1349925291","file3":"1349925271"},"map_files_photo_id_array":[{"photo_id":"1349925291","filename":"file5"},{"photo_id":"1349925263","filename":"file2"},{"photo_id":"1349925278","filename":"file4"},{"photo_id":"1349925254","filename":"file1"},{"photo_id":"1349925244","filename":"file0"},{"photo_id":"1349925271","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925291":["hashtag1","hashtag2"]},{"1349925254":["hashtag1","hashtag2"]},{"1349925278":["hashtag1","hashtag2"]},{"1349925263":["hashtag1","hashtag2"]},{"1349925271":["hashtag1","hashtag2"]},{"1349925244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925291, 1349925254, 1349925278, 1349925263, 1349925271, 1349925244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41225504875183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:40:22.490577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_53_3581.jpg', '/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_55_2679.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_02_3559.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_07_2619.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_13_2835.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_22_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_53_3581.jpg
/home/pi/Desktop/images/15042025/16/17/image_15042025_16_17_55_2679.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_02_3559.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_07_2619.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_13_2835.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_22_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925354","1349925342","1349925365","1349925359","1349925329","1349925350"],"photo_ids_order":["1349925329","1349925342","1349925350","1349925354","1349925359","1349925365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69f80b47f26a39beb500074f1062c459.jpg","text":"TemporaryFile(/tmp/multipartBody4276084160045391379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728083174,"filename":"image_15042025_16_18_07_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8abc77100713c74c2582030364650338.jpg","text":"TemporaryFile(/tmp/multipartBody2009277710138817541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728083174,"filename":"image_15042025_16_17_55_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8f7807fc94531a763d60838d1427c39.jpg","text":"TemporaryFile(/tmp/multipartBody5405234536258092227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728083174,"filename":"image_15042025_16_18_22_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/214d0919014ba370a13def90cdead4b5.jpg","text":"TemporaryFile(/tmp/multipartBody7492388947831270006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728083174,"filename":"image_15042025_16_18_13_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4be0df1eee9e64cbd0d9d5c63a1c1ac.jpg","text":"TemporaryFile(/tmp/multipartBody3382368193793617269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728083174,"filename":"image_15042025_16_17_53_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf95b4bd2f80f2f500037961fd71321b.jpg","text":"TemporaryFile(/tmp/multipartBody8937313997741616851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728083174,"filename":"image_15042025_16_18_02_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925350","file1":"1349925342","file0":"1349925329","file4":"1349925359","file5":"1349925365","file3":"1349925354"},"map_files_photo_id_array":[{"photo_id":"1349925365","filename":"file5"},{"photo_id":"1349925350","filename":"file2"},{"photo_id":"1349925359","filename":"file4"},{"photo_id":"1349925342","filename":"file1"},{"photo_id":"1349925329","filename":"file0"},{"photo_id":"1349925354","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925354":["hashtag1","hashtag2"]},{"1349925342":["hashtag1","hashtag2"]},{"1349925365":["hashtag1","hashtag2"]},{"1349925359":["hashtag1","hashtag2"]},{"1349925329":["hashtag1","hashtag2"]},{"1349925350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925354, 1349925342, 1349925365, 1349925359, 1349925329, 1349925350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05060625076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:41:02.817158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_29_3738.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_31_2603.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_38_3710.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_43_2676.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_47_3646.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_49_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_29_3738.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_31_2603.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_38_3710.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_43_2676.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_47_3646.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_49_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925403","1349925396","1349925417","1349925420","1349925425","1349925410"],"photo_ids_order":["1349925396","1349925403","1349925410","1349925417","1349925420","1349925425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4927d30e51181b9e1178de7a190925a8.jpg","text":"TemporaryFile(/tmp/multipartBody7026018481772627918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728123622,"filename":"image_15042025_16_18_31_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33835453448242d26c805a27dfd8e304.jpg","text":"TemporaryFile(/tmp/multipartBody1697231040558918624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728123622,"filename":"image_15042025_16_18_29_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6019d409342fcd3990ad5b52d29620b3.jpg","text":"TemporaryFile(/tmp/multipartBody1523025300200171544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728123622,"filename":"image_15042025_16_18_43_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/706c153e6ed2a20b2cb956b3868bb2c6.jpg","text":"TemporaryFile(/tmp/multipartBody9130069696596646226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728123622,"filename":"image_15042025_16_18_47_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8459f853e0336472728b570418c390eb.jpg","text":"TemporaryFile(/tmp/multipartBody1786880109115061720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728123622,"filename":"image_15042025_16_18_49_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38eafd409236b2289e4f989418f39269.jpg","text":"TemporaryFile(/tmp/multipartBody1603183617600574377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728123622,"filename":"image_15042025_16_18_38_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925410","file1":"1349925403","file0":"1349925396","file4":"1349925420","file5":"1349925425","file3":"1349925417"},"map_files_photo_id_array":[{"photo_id":"1349925425","filename":"file5"},{"photo_id":"1349925410","filename":"file2"},{"photo_id":"1349925420","filename":"file4"},{"photo_id":"1349925403","filename":"file1"},{"photo_id":"1349925396","filename":"file0"},{"photo_id":"1349925417","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925403":["hashtag1","hashtag2"]},{"1349925396":["hashtag1","hashtag2"]},{"1349925417":["hashtag1","hashtag2"]},{"1349925420":["hashtag1","hashtag2"]},{"1349925425":["hashtag1","hashtag2"]},{"1349925410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925403, 1349925396, 1349925417, 1349925420, 1349925425, 1349925410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.897111654281616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:41:42.018818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_52_2547.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_56_3686.jpg', '/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_58_2634.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_01_2572.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_04_3722.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_10_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_52_2547.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_56_3686.jpg
/home/pi/Desktop/images/15042025/16/18/image_15042025_16_18_58_2634.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_01_2572.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_04_3722.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_10_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925505","1349925456","1349925465","1349925485","1349925509","1349925493"],"photo_ids_order":["1349925456","1349925465","1349925485","1349925493","1349925505","1349925509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cfff9f345c9af853e39ff9f6ab15a12d.jpg","text":"TemporaryFile(/tmp/multipartBody5432943029639100973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728162724,"filename":"image_15042025_16_19_04_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/045428afa1a9723b658d89c477a43fb1.jpg","text":"TemporaryFile(/tmp/multipartBody2545590468278418500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728162724,"filename":"image_15042025_16_18_52_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9a3ff74dd423aabf85b64afcdcec1f2.jpg","text":"TemporaryFile(/tmp/multipartBody229681418131989752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728162724,"filename":"image_15042025_16_18_56_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/178b674eece73b71ab4b264927409a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1480240408728658388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728162724,"filename":"image_15042025_16_18_58_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7de92e02eb5fed5b15f67de564bbda17.jpg","text":"TemporaryFile(/tmp/multipartBody5577094925018079191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728162724,"filename":"image_15042025_16_19_10_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3516353e568436e88de8a8e834ce81da.jpg","text":"TemporaryFile(/tmp/multipartBody1542244470992443172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728162724,"filename":"image_15042025_16_19_01_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925485","file1":"1349925465","file0":"1349925456","file4":"1349925505","file5":"1349925509","file3":"1349925493"},"map_files_photo_id_array":[{"photo_id":"1349925509","filename":"file5"},{"photo_id":"1349925485","filename":"file2"},{"photo_id":"1349925505","filename":"file4"},{"photo_id":"1349925465","filename":"file1"},{"photo_id":"1349925456","filename":"file0"},{"photo_id":"1349925493","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925505":["hashtag1","hashtag2"]},{"1349925456":["hashtag1","hashtag2"]},{"1349925465":["hashtag1","hashtag2"]},{"1349925485":["hashtag1","hashtag2"]},{"1349925509":["hashtag1","hashtag2"]},{"1349925493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925505, 1349925456, 1349925465, 1349925485, 1349925509, 1349925493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.056061029434204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:42:22.568795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_19_2639.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_25_2555.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_28_2682.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_32_3774.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_34_2709.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_37_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_19_2639.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_25_2555.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_28_2682.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_32_3774.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_34_2709.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_37_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925532","1349925526","1349925543","1349925537","1349925521","1349925518"],"photo_ids_order":["1349925518","1349925521","1349925526","1349925532","1349925537","1349925543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41bee0d73957aca65c7fe17690f54e61.jpg","text":"TemporaryFile(/tmp/multipartBody2156282464118418364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728203256,"filename":"image_15042025_16_19_32_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/319edea1b8c5a06e00588fb2eaca3ba8.jpg","text":"TemporaryFile(/tmp/multipartBody6274699405838900540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728203256,"filename":"image_15042025_16_19_28_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2e9c0dd193f651b1d89c5c2f4b5a011.jpg","text":"TemporaryFile(/tmp/multipartBody4911425750495273785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728203256,"filename":"image_15042025_16_19_37_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de66b0a0cd78678eb964a7f433ddef0a.jpg","text":"TemporaryFile(/tmp/multipartBody3803711526327011449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728203256,"filename":"image_15042025_16_19_34_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc6ee59fc6eb9521e712ac3b3d5da122.jpg","text":"TemporaryFile(/tmp/multipartBody4009840467527807870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728203256,"filename":"image_15042025_16_19_25_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffa640d7890a9cc76c25f26694ddc095.jpg","text":"TemporaryFile(/tmp/multipartBody4375932537065592208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728203256,"filename":"image_15042025_16_19_19_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925526","file1":"1349925521","file0":"1349925518","file4":"1349925537","file5":"1349925543","file3":"1349925532"},"map_files_photo_id_array":[{"photo_id":"1349925543","filename":"file5"},{"photo_id":"1349925526","filename":"file2"},{"photo_id":"1349925537","filename":"file4"},{"photo_id":"1349925521","filename":"file1"},{"photo_id":"1349925518","filename":"file0"},{"photo_id":"1349925532","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925532":["hashtag1","hashtag2"]},{"1349925526":["hashtag1","hashtag2"]},{"1349925543":["hashtag1","hashtag2"]},{"1349925537":["hashtag1","hashtag2"]},{"1349925521":["hashtag1","hashtag2"]},{"1349925518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925532, 1349925526, 1349925543, 1349925537, 1349925521, 1349925518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.104729652404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:43:03.366778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_46_2719.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_49_2609.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_53_3693.jpg', '/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_55_2759.jpg', '/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_07_3011.jpg', '/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_11_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_46_2719.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_49_2609.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_53_3693.jpg
/home/pi/Desktop/images/15042025/16/19/image_15042025_16_19_55_2759.jpg
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_07_3011.jpg
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_11_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925613","1349925579","1349925573","1349925596","1349925587","1349925617"],"photo_ids_order":["1349925573","1349925579","1349925587","1349925596","1349925613","1349925617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7daedd35835fbeed07fb820977cf3c5a.jpg","text":"TemporaryFile(/tmp/multipartBody2312395728676704580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728244215,"filename":"image_15042025_16_20_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9eedd8695b32fd2b9c464c17032343b.jpg","text":"TemporaryFile(/tmp/multipartBody8326839146038419284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728244215,"filename":"image_15042025_16_19_49_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9114a8c74019bb1884965ba97842dbd6.jpg","text":"TemporaryFile(/tmp/multipartBody3161213674856558410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728244215,"filename":"image_15042025_16_19_46_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/744f49873fe9405a156a2dd5fb0c9244.jpg","text":"TemporaryFile(/tmp/multipartBody2471278396388165917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728244215,"filename":"image_15042025_16_19_55_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60487cbcd8ca1c003398ae430859c2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5505129437031241248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728244215,"filename":"image_15042025_16_19_53_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1eb3dcaef762753c528a05b86a96a9e.jpg","text":"TemporaryFile(/tmp/multipartBody6181540910428813339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728244215,"filename":"image_15042025_16_20_11_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925587","file1":"1349925579","file0":"1349925573","file4":"1349925613","file5":"1349925617","file3":"1349925596"},"map_files_photo_id_array":[{"photo_id":"1349925617","filename":"file5"},{"photo_id":"1349925587","filename":"file2"},{"photo_id":"1349925613","filename":"file4"},{"photo_id":"1349925579","filename":"file1"},{"photo_id":"1349925573","filename":"file0"},{"photo_id":"1349925596","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925613":["hashtag1","hashtag2"]},{"1349925579":["hashtag1","hashtag2"]},{"1349925573":["hashtag1","hashtag2"]},{"1349925596":["hashtag1","hashtag2"]},{"1349925587":["hashtag1","hashtag2"]},{"1349925617":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925613, 1349925579, 1349925573, 1349925596, 1349925587, 1349925617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51501798629761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:43:42.735604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_13_2583.jpg', '/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_25_2699.jpg', '/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_29_3559.jpg', '/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_43_2567.jpg', '/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_47_3692.jpg', '/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_50_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_13_2583.jpg
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_25_2699.jpg
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_29_3559.jpg
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_43_2567.jpg
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_47_3692.jpg
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_50_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925672","1349925633","1349925642","1349925665","1349925650","1349925668"],"photo_ids_order":["1349925633","1349925642","1349925650","1349925665","1349925668","1349925672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/404cd8a791826c61a5c5b3e3e107d925.jpg","text":"TemporaryFile(/tmp/multipartBody597755039919704197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728283420,"filename":"image_15042025_16_20_50_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16f2f177a0de75fb331dd3a71106344d.jpg","text":"TemporaryFile(/tmp/multipartBody1494565044366288159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728283420,"filename":"image_15042025_16_20_13_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/344c6d7c4dfa1f878217aabcc4870ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4806358604625107174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728283420,"filename":"image_15042025_16_20_25_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13d4f6a6bc5797db808c2d8bb18ea62b.jpg","text":"TemporaryFile(/tmp/multipartBody4183801153008612360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728283420,"filename":"image_15042025_16_20_43_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f42f1ff8dbb7a6cdf945c5a6b28f6db5.jpg","text":"TemporaryFile(/tmp/multipartBody6440333695620156850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728283420,"filename":"image_15042025_16_20_29_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30306e322344f5f6ce265d1cb439469b.jpg","text":"TemporaryFile(/tmp/multipartBody6189627746160948771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728283420,"filename":"image_15042025_16_20_47_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925650","file1":"1349925642","file0":"1349925633","file4":"1349925668","file5":"1349925672","file3":"1349925665"},"map_files_photo_id_array":[{"photo_id":"1349925672","filename":"file5"},{"photo_id":"1349925650","filename":"file2"},{"photo_id":"1349925668","filename":"file4"},{"photo_id":"1349925642","filename":"file1"},{"photo_id":"1349925633","filename":"file0"},{"photo_id":"1349925665","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925672":["hashtag1","hashtag2"]},{"1349925633":["hashtag1","hashtag2"]},{"1349925642":["hashtag1","hashtag2"]},{"1349925665":["hashtag1","hashtag2"]},{"1349925650":["hashtag1","hashtag2"]},{"1349925668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925672, 1349925633, 1349925642, 1349925665, 1349925650, 1349925668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18305039405823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:44:22.595431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_52_2791.jpg', '/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_56_3602.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_01_2652.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_05_3665.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_08_2685.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_17_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_52_2791.jpg
/home/pi/Desktop/images/15042025/16/20/image_15042025_16_20_56_3602.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_01_2652.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_05_3665.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_08_2685.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_17_2817.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925681","1349925709","1349925700","1349925687","1349925717","1349925694"],"photo_ids_order":["1349925681","1349925687","1349925694","1349925700","1349925709","1349925717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/335224d04fae2986d9a0cb4f87397cd8.jpg","text":"TemporaryFile(/tmp/multipartBody8184113617288876228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728323282,"filename":"image_15042025_16_20_52_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88f2470cf2afb27bd09c2d819f83c428.jpg","text":"TemporaryFile(/tmp/multipartBody7273447620547880445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728323282,"filename":"image_15042025_16_21_08_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76a5e7d2865559cb324fe18d0893dede.jpg","text":"TemporaryFile(/tmp/multipartBody2431773170143638085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728323282,"filename":"image_15042025_16_21_05_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e67142fa5fcd5c6df1ff3a023525714e.jpg","text":"TemporaryFile(/tmp/multipartBody5582581505918256635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728323282,"filename":"image_15042025_16_20_56_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bbd28fa6b02d62adc8e68e01643dc1d.jpg","text":"TemporaryFile(/tmp/multipartBody1267036109225407615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728323282,"filename":"image_15042025_16_21_17_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/870ab32a0c738a26ca11b83259d3696b.jpg","text":"TemporaryFile(/tmp/multipartBody3140235190787277143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728323282,"filename":"image_15042025_16_21_01_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925694","file1":"1349925687","file0":"1349925681","file4":"1349925709","file5":"1349925717","file3":"1349925700"},"map_files_photo_id_array":[{"photo_id":"1349925717","filename":"file5"},{"photo_id":"1349925694","filename":"file2"},{"photo_id":"1349925709","filename":"file4"},{"photo_id":"1349925687","filename":"file1"},{"photo_id":"1349925681","filename":"file0"},{"photo_id":"1349925700","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925681":["hashtag1","hashtag2"]},{"1349925709":["hashtag1","hashtag2"]},{"1349925700":["hashtag1","hashtag2"]},{"1349925687":["hashtag1","hashtag2"]},{"1349925717":["hashtag1","hashtag2"]},{"1349925694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925681, 1349925709, 1349925700, 1349925687, 1349925717, 1349925694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22659397125244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:45:02.679463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_20_2851.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_26_3750.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_29_2729.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_35_3669.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_37_2625.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_40_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_20_2851.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_26_3750.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_29_2729.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_35_3669.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_37_2625.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_40_2890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925777","1349925782","1349925785","1349925767","1349925790","1349925772"],"photo_ids_order":["1349925767","1349925772","1349925777","1349925782","1349925785","1349925790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fab8b88240ce1d929922828f30fbde84.jpg","text":"TemporaryFile(/tmp/multipartBody6710345739868433530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728363613,"filename":"image_15042025_16_21_29_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4393af3babab5b1f152474cd214a7a6.jpg","text":"TemporaryFile(/tmp/multipartBody4102113430134441649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728363613,"filename":"image_15042025_16_21_35_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/486e042ed30d0181f88b5f5ed19d47d0.jpg","text":"TemporaryFile(/tmp/multipartBody3376292821382938230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728363613,"filename":"image_15042025_16_21_37_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49cef56a83d98c5e7af9c2c56a46bafa.jpg","text":"TemporaryFile(/tmp/multipartBody209629080111469764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728363613,"filename":"image_15042025_16_21_20_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b164c0e69f80a77239ca14d7cfde0bf.jpg","text":"TemporaryFile(/tmp/multipartBody8230522625160730089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728363613,"filename":"image_15042025_16_21_40_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9478ad3ae8c2cdd0c9b0c515fc3cedd8.jpg","text":"TemporaryFile(/tmp/multipartBody634236317730684147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728363613,"filename":"image_15042025_16_21_26_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925777","file1":"1349925772","file0":"1349925767","file4":"1349925785","file5":"1349925790","file3":"1349925782"},"map_files_photo_id_array":[{"photo_id":"1349925790","filename":"file5"},{"photo_id":"1349925777","filename":"file2"},{"photo_id":"1349925785","filename":"file4"},{"photo_id":"1349925772","filename":"file1"},{"photo_id":"1349925767","filename":"file0"},{"photo_id":"1349925782","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925777":["hashtag1","hashtag2"]},{"1349925782":["hashtag1","hashtag2"]},{"1349925785":["hashtag1","hashtag2"]},{"1349925767":["hashtag1","hashtag2"]},{"1349925790":["hashtag1","hashtag2"]},{"1349925772":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925777, 1349925782, 1349925785, 1349925767, 1349925790, 1349925772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91153955459595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:45:41.780403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_47_3708.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_50_2668.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_52_2569.jpg', '/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_56_3712.jpg', '/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_01_2647.jpg', '/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_14_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_47_3708.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_50_2668.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_52_2569.jpg
/home/pi/Desktop/images/15042025/16/21/image_15042025_16_21_56_3712.jpg
/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_01_2647.jpg
/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_14_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925807","1349925824","1349925818","1349925812","1349925821","1349925829"],"photo_ids_order":["1349925807","1349925812","1349925818","1349925821","1349925824","1349925829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1ddea187b7e896af14bea488c5215f7.jpg","text":"TemporaryFile(/tmp/multipartBody1011396615603241200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728402460,"filename":"image_15042025_16_21_47_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6edf367797d02606bca57ecc3cc6eb0b.jpg","text":"TemporaryFile(/tmp/multipartBody5122215641601112699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728402460,"filename":"image_15042025_16_22_01_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a2b4ec1d7d5bbfa7cb9c6580a67f1bb.jpg","text":"TemporaryFile(/tmp/multipartBody8184368038955173599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728402460,"filename":"image_15042025_16_21_52_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd1ad7cdf66050e1fb7db201fc5efc35.jpg","text":"TemporaryFile(/tmp/multipartBody4765777038776608238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728402460,"filename":"image_15042025_16_21_50_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d266b146e431359df4f21b27ecab2416.jpg","text":"TemporaryFile(/tmp/multipartBody8901249544437906787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728402460,"filename":"image_15042025_16_21_56_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9875f7f657336ec56175e5e5db2fa8b4.jpg","text":"TemporaryFile(/tmp/multipartBody6290269480677459810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728402460,"filename":"image_15042025_16_22_14_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925818","file1":"1349925812","file0":"1349925807","file4":"1349925824","file5":"1349925829","file3":"1349925821"},"map_files_photo_id_array":[{"photo_id":"1349925829","filename":"file5"},{"photo_id":"1349925818","filename":"file2"},{"photo_id":"1349925824","filename":"file4"},{"photo_id":"1349925812","filename":"file1"},{"photo_id":"1349925807","filename":"file0"},{"photo_id":"1349925821","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925807":["hashtag1","hashtag2"]},{"1349925824":["hashtag1","hashtag2"]},{"1349925818":["hashtag1","hashtag2"]},{"1349925812":["hashtag1","hashtag2"]},{"1349925821":["hashtag1","hashtag2"]},{"1349925829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925807, 1349925824, 1349925818, 1349925812, 1349925821, 1349925829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1866192817688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:46:42.167648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_20_3654.jpg', '/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_31_2707.jpg', '/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_43_2616.jpg', '/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_47_3749.jpg', '/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_56_3716.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_01_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_20_3654.jpg
/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_31_2707.jpg
/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_43_2616.jpg
/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_47_3749.jpg
/home/pi/Desktop/images/15042025/16/22/image_15042025_16_22_56_3716.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_01_2555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925882","1349925885","1349925855","1349925875","1349925892","1349925862"],"photo_ids_order":["1349925855","1349925862","1349925875","1349925882","1349925885","1349925892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/baddbbc7b6ca9867eba498d269c52f71.jpg","text":"TemporaryFile(/tmp/multipartBody7825920349555230837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728462855,"filename":"image_15042025_16_22_47_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81951e45bd8d937ac32ed19c617e1910.jpg","text":"TemporaryFile(/tmp/multipartBody913361317028157553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728462855,"filename":"image_15042025_16_22_56_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3863af3bb20ebd6655c08355987d30e.jpg","text":"TemporaryFile(/tmp/multipartBody2708423350387229064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728462855,"filename":"image_15042025_16_22_20_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e53b719f11ed6f1ddcfc0d84115a62cb.jpg","text":"TemporaryFile(/tmp/multipartBody8440152320355762413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728462855,"filename":"image_15042025_16_22_43_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0471f3739b3eb855cce1368ba26847d0.jpg","text":"TemporaryFile(/tmp/multipartBody6064116133456322440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728462855,"filename":"image_15042025_16_23_01_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b791c5bc82f1c89686d820947bf0c7e2.jpg","text":"TemporaryFile(/tmp/multipartBody940199017369426075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728462855,"filename":"image_15042025_16_22_31_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925875","file1":"1349925862","file0":"1349925855","file4":"1349925885","file5":"1349925892","file3":"1349925882"},"map_files_photo_id_array":[{"photo_id":"1349925892","filename":"file5"},{"photo_id":"1349925875","filename":"file2"},{"photo_id":"1349925885","filename":"file4"},{"photo_id":"1349925862","filename":"file1"},{"photo_id":"1349925855","filename":"file0"},{"photo_id":"1349925882","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925882":["hashtag1","hashtag2"]},{"1349925885":["hashtag1","hashtag2"]},{"1349925855":["hashtag1","hashtag2"]},{"1349925875":["hashtag1","hashtag2"]},{"1349925892":["hashtag1","hashtag2"]},{"1349925862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925882, 1349925885, 1349925855, 1349925875, 1349925892, 1349925862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47083806991577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:47:22.465538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_05_3630.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_10_2650.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_14_3859.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_17_3025.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_19_2610.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_22_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_05_3630.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_10_2650.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_14_3859.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_17_3025.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_19_2610.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_22_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925916","1349925904","1349925907","1349925912","1349925921","1349925928"],"photo_ids_order":["1349925904","1349925907","1349925912","1349925916","1349925921","1349925928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d5ad39d5f3bb03e94e017591bffc66c.jpg","text":"TemporaryFile(/tmp/multipartBody4458810633335615749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728503137,"filename":"image_15042025_16_23_17_3025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59892fcc3453e513f6d10b3c8b22dfc0.jpg","text":"TemporaryFile(/tmp/multipartBody930466579961489857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728503137,"filename":"image_15042025_16_23_05_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b113ce1b800870ca32d8f4bd8928422d.jpg","text":"TemporaryFile(/tmp/multipartBody5987012698904689331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728503137,"filename":"image_15042025_16_23_10_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a994dea1ee5070fd994adfae48f6bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8494250484171601009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728503137,"filename":"image_15042025_16_23_14_3859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b8b9a559c6b67a3770f2c6c044c06f5.jpg","text":"TemporaryFile(/tmp/multipartBody1645384589425805208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728503137,"filename":"image_15042025_16_23_19_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32933e487bb2254a374e9e7e19abd2fa.jpg","text":"TemporaryFile(/tmp/multipartBody5728608882287040955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728503137,"filename":"image_15042025_16_23_22_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925912","file1":"1349925907","file0":"1349925904","file4":"1349925921","file5":"1349925928","file3":"1349925916"},"map_files_photo_id_array":[{"photo_id":"1349925928","filename":"file5"},{"photo_id":"1349925912","filename":"file2"},{"photo_id":"1349925921","filename":"file4"},{"photo_id":"1349925907","filename":"file1"},{"photo_id":"1349925904","filename":"file0"},{"photo_id":"1349925916","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925916":["hashtag1","hashtag2"]},{"1349925904":["hashtag1","hashtag2"]},{"1349925907":["hashtag1","hashtag2"]},{"1349925912":["hashtag1","hashtag2"]},{"1349925921":["hashtag1","hashtag2"]},{"1349925928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925916, 1349925904, 1349925907, 1349925912, 1349925921, 1349925928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.129571199417114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:48:03.232260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_25_2810.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_31_2571.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_37_2691.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_40_2634.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_46_2640.jpg', '/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_49_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_25_2810.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_31_2571.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_37_2691.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_40_2634.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_46_2640.jpg
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_49_2663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349925951","1349925980","1349925953","1349925947","1349926019","1349925997"],"photo_ids_order":["1349925947","1349925951","1349925953","1349925980","1349925997","1349926019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a5d31ba1d81973ee9e01bb01141bbe5.jpg","text":"TemporaryFile(/tmp/multipartBody853161461975709386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728543993,"filename":"image_15042025_16_23_31_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/147108c4d113be9e0f6d56edf54908c0.jpg","text":"TemporaryFile(/tmp/multipartBody2430805151904878701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728543993,"filename":"image_15042025_16_23_40_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3540f424fb3bc98523d87df7f4a785b.jpg","text":"TemporaryFile(/tmp/multipartBody8287728051181865048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728543993,"filename":"image_15042025_16_23_37_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/557c915a64e735ad5651399bec91b7a1.jpg","text":"TemporaryFile(/tmp/multipartBody8821318351820809963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728543993,"filename":"image_15042025_16_23_25_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b90d44ae9f33b803bb2eefb10492c7c.jpg","text":"TemporaryFile(/tmp/multipartBody8554983298433719993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728543993,"filename":"image_15042025_16_23_49_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c87af99f9c42f215cf5adf8f9ab11f25.jpg","text":"TemporaryFile(/tmp/multipartBody1770778725715254684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728543993,"filename":"image_15042025_16_23_46_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349925953","file1":"1349925951","file0":"1349925947","file4":"1349925997","file5":"1349926019","file3":"1349925980"},"map_files_photo_id_array":[{"photo_id":"1349926019","filename":"file5"},{"photo_id":"1349925953","filename":"file2"},{"photo_id":"1349925997","filename":"file4"},{"photo_id":"1349925951","filename":"file1"},{"photo_id":"1349925947","filename":"file0"},{"photo_id":"1349925980","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349925951":["hashtag1","hashtag2"]},{"1349925980":["hashtag1","hashtag2"]},{"1349925953":["hashtag1","hashtag2"]},{"1349925947":["hashtag1","hashtag2"]},{"1349926019":["hashtag1","hashtag2"]},{"1349925997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349925951, 1349925980, 1349925953, 1349925947, 1349926019, 1349925997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.45406794548035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:49:03.000125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_55_2593.jpg', '/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_04_2897.jpg', '/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_07_2753.jpg', '/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_16_2691.jpg', '/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_37_2718.jpg', '/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_52_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/23/image_15042025_16_23_55_2593.jpg
/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_04_2897.jpg
/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_07_2753.jpg
/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_16_2691.jpg
/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_37_2718.jpg
/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_52_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926131","1349926134","1349926091","1349926127","1349926099","1349926108"],"photo_ids_order":["1349926091","1349926099","1349926108","1349926127","1349926131","1349926134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9628b14a6196feea0abc3de106ec8f9.jpg","text":"TemporaryFile(/tmp/multipartBody517070469244955826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728603859,"filename":"image_15042025_16_24_37_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32ffd572b546ba6f3244fb55351fe218.jpg","text":"TemporaryFile(/tmp/multipartBody8465620516927847209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728603859,"filename":"image_15042025_16_24_52_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2593b2184414efaeca7e632e742c5e1.jpg","text":"TemporaryFile(/tmp/multipartBody6529213978249794384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728603859,"filename":"image_15042025_16_23_55_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32dc6308080f2f4102ded62cc805ecb1.jpg","text":"TemporaryFile(/tmp/multipartBody6495916153716975986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728603859,"filename":"image_15042025_16_24_16_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb1a874b56c7233d86d597e2c6c15ebb.jpg","text":"TemporaryFile(/tmp/multipartBody5517660991767659939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728603859,"filename":"image_15042025_16_24_04_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41425e1f5a6b85e8aeb56e44b08d33f9.jpg","text":"TemporaryFile(/tmp/multipartBody980891439397919667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728603859,"filename":"image_15042025_16_24_07_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926108","file1":"1349926099","file0":"1349926091","file4":"1349926131","file5":"1349926134","file3":"1349926127"},"map_files_photo_id_array":[{"photo_id":"1349926134","filename":"file5"},{"photo_id":"1349926108","filename":"file2"},{"photo_id":"1349926131","filename":"file4"},{"photo_id":"1349926099","filename":"file1"},{"photo_id":"1349926091","filename":"file0"},{"photo_id":"1349926127","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926131":["hashtag1","hashtag2"]},{"1349926134":["hashtag1","hashtag2"]},{"1349926091":["hashtag1","hashtag2"]},{"1349926127":["hashtag1","hashtag2"]},{"1349926099":["hashtag1","hashtag2"]},{"1349926108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926131, 1349926134, 1349926091, 1349926127, 1349926099, 1349926108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33271145820618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:49:41.896076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_55_2728.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_07_3011.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_11_3593.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_14_2640.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_23_2671.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_25_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/24/image_15042025_16_24_55_2728.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_07_3011.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_11_3593.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_14_2640.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_23_2671.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_25_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926164","1349926178","1349926187","1349926156","1349926171","1349926150"],"photo_ids_order":["1349926150","1349926156","1349926164","1349926171","1349926178","1349926187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c2b55211d66c2c749e43d8a81a84d07.jpg","text":"TemporaryFile(/tmp/multipartBody6083161668988339814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728642577,"filename":"image_15042025_16_25_11_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/833ce52cefb43077cd4cde5e3afef001.jpg","text":"TemporaryFile(/tmp/multipartBody7751498965742235374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728642577,"filename":"image_15042025_16_25_23_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/730af381778972ce0d6adeaae6f79e37.jpg","text":"TemporaryFile(/tmp/multipartBody3057564478666198357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728642577,"filename":"image_15042025_16_25_25_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08976df4136fbb46e5ac5efe5eaf1e2a.jpg","text":"TemporaryFile(/tmp/multipartBody6673529176198694360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728642577,"filename":"image_15042025_16_25_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/596f5e048953176b3d3e589814c92dbc.jpg","text":"TemporaryFile(/tmp/multipartBody340376963608504512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728642577,"filename":"image_15042025_16_25_14_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c4bcbb8849e5822f816655a19bba235.jpg","text":"TemporaryFile(/tmp/multipartBody8327437051570180417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728642577,"filename":"image_15042025_16_24_55_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926164","file1":"1349926156","file0":"1349926150","file4":"1349926178","file5":"1349926187","file3":"1349926171"},"map_files_photo_id_array":[{"photo_id":"1349926187","filename":"file5"},{"photo_id":"1349926164","filename":"file2"},{"photo_id":"1349926178","filename":"file4"},{"photo_id":"1349926156","filename":"file1"},{"photo_id":"1349926150","filename":"file0"},{"photo_id":"1349926171","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926164":["hashtag1","hashtag2"]},{"1349926178":["hashtag1","hashtag2"]},{"1349926187":["hashtag1","hashtag2"]},{"1349926156":["hashtag1","hashtag2"]},{"1349926171":["hashtag1","hashtag2"]},{"1349926150":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926164, 1349926178, 1349926187, 1349926156, 1349926171, 1349926150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55111360549927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:50:22.089488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_29_3711.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_38_3550.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_41_2719.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_55_2693.jpg', '/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_59_3698.jpg', '/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_05_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_29_3711.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_38_3550.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_41_2719.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_55_2693.jpg
/home/pi/Desktop/images/15042025/16/25/image_15042025_16_25_59_3698.jpg
/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_05_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926204","1349926230","1349926220","1349926238","1349926211","1349926201"],"photo_ids_order":["1349926201","1349926204","1349926211","1349926220","1349926230","1349926238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bfdd470a37761aa863f2b621f01a667.jpg","text":"TemporaryFile(/tmp/multipartBody5897302166549669824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728682814,"filename":"image_15042025_16_25_38_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcf8f694087eeed103f871b5654aa117.jpg","text":"TemporaryFile(/tmp/multipartBody2304591146361643865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728682814,"filename":"image_15042025_16_25_59_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/192ee6d2931a67839e2329ba6690a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody7102998813797728538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728682814,"filename":"image_15042025_16_25_55_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8496e690ff3c535334289c964430c26.jpg","text":"TemporaryFile(/tmp/multipartBody3612870067489263175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728682814,"filename":"image_15042025_16_26_05_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60cb0ef6fb793885af09f759d21e844a.jpg","text":"TemporaryFile(/tmp/multipartBody5566315320715447489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728682814,"filename":"image_15042025_16_25_41_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55a3f492a0213b79c3433c87ac98f224.jpg","text":"TemporaryFile(/tmp/multipartBody9084375637423503321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728682814,"filename":"image_15042025_16_25_29_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926211","file1":"1349926204","file0":"1349926201","file4":"1349926230","file5":"1349926238","file3":"1349926220"},"map_files_photo_id_array":[{"photo_id":"1349926238","filename":"file5"},{"photo_id":"1349926211","filename":"file2"},{"photo_id":"1349926230","filename":"file4"},{"photo_id":"1349926204","filename":"file1"},{"photo_id":"1349926201","filename":"file0"},{"photo_id":"1349926220","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926204":["hashtag1","hashtag2"]},{"1349926230":["hashtag1","hashtag2"]},{"1349926220":["hashtag1","hashtag2"]},{"1349926238":["hashtag1","hashtag2"]},{"1349926211":["hashtag1","hashtag2"]},{"1349926201":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926204, 1349926230, 1349926220, 1349926238, 1349926211, 1349926201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.732605934143066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:51:02.937166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_07_2752.jpg', '/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_18_1683.jpg', '/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_23_1647.jpg', '/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_29_3787.jpg', '/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_35_2668.jpg', '/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_38_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_07_2752.jpg
/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_18_1683.jpg
/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_23_1647.jpg
/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_29_3787.jpg
/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_35_2668.jpg
/home/pi/Desktop/images/15042025/16/26/image_15042025_16_26_38_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926272","1349926269","1349926280","1349926277","1349926265","1349926273"],"photo_ids_order":["1349926265","1349926269","1349926272","1349926273","1349926277","1349926280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2abe59881c6f42dcc340b62910004ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8895909319466808441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728725219,"filename":"image_15042025_16_26_23_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc14ececba2a2ba3c1070f0ed0f43bf0.jpg","text":"TemporaryFile(/tmp/multipartBody7534751585867098501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728725219,"filename":"image_15042025_16_26_18_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa77ace3d42c55ddd702af84155685a8.jpg","text":"TemporaryFile(/tmp/multipartBody4953875397108869669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728725219,"filename":"image_15042025_16_26_38_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d8ca8776871bf44fb12698dd579e847.jpg","text":"TemporaryFile(/tmp/multipartBody6928249598634483380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728725219,"filename":"image_15042025_16_26_35_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0605b67d4e6c3315318270ba1cdd7545.jpg","text":"TemporaryFile(/tmp/multipartBody5360015501565984432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728725219,"filename":"image_15042025_16_26_07_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c55231d4c2e1fd0396a79d977d447ea.jpg","text":"TemporaryFile(/tmp/multipartBody5520956807776639894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728725219,"filename":"image_15042025_16_26_29_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926272","file1":"1349926269","file0":"1349926265","file4":"1349926277","file5":"1349926280","file3":"1349926273"},"map_files_photo_id_array":[{"photo_id":"1349926280","filename":"file5"},{"photo_id":"1349926272","filename":"file2"},{"photo_id":"1349926277","filename":"file4"},{"photo_id":"1349926269","filename":"file1"},{"photo_id":"1349926265","filename":"file0"},{"photo_id":"1349926273","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926272":["hashtag1","hashtag2"]},{"1349926269":["hashtag1","hashtag2"]},{"1349926280":["hashtag1","hashtag2"]},{"1349926277":["hashtag1","hashtag2"]},{"1349926265":["hashtag1","hashtag2"]},{"1349926273":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926272, 1349926269, 1349926280, 1349926277, 1349926265, 1349926273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08066439628601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:51:42.205252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/27/image_15042025_16_27_20_3711.jpg', '/home/pi/Desktop/images/15042025/16/28/image_15042025_16_28_26_2658.jpg', '/home/pi/Desktop/images/15042025/16/29/image_15042025_16_29_01_2507.jpg', '/home/pi/Desktop/images/15042025/16/29/image_15042025_16_29_08_2745.jpg', '/home/pi/Desktop/images/15042025/16/29/image_15042025_16_29_53_3559.jpg', '/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_11_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/27/image_15042025_16_27_20_3711.jpg
/home/pi/Desktop/images/15042025/16/28/image_15042025_16_28_26_2658.jpg
/home/pi/Desktop/images/15042025/16/29/image_15042025_16_29_01_2507.jpg
/home/pi/Desktop/images/15042025/16/29/image_15042025_16_29_08_2745.jpg
/home/pi/Desktop/images/15042025/16/29/image_15042025_16_29_53_3559.jpg
/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_11_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926314","1349926322","1349926301","1349926318","1349926306","1349926296"],"photo_ids_order":["1349926296","1349926301","1349926306","1349926314","1349926318","1349926322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d525d1621ffaf169daddc35acbe7803.jpg","text":"TemporaryFile(/tmp/multipartBody6282642287134043267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728762883,"filename":"image_15042025_16_29_08_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ab5bd66d8391e518774a4fe48629e26.jpg","text":"TemporaryFile(/tmp/multipartBody754851743450567313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728762883,"filename":"image_15042025_16_30_11_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9753b60a399d0aec46f2f270675bca48.jpg","text":"TemporaryFile(/tmp/multipartBody7992731897587101522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728762883,"filename":"image_15042025_16_28_26_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07ed774d058b7bbd2465a500838fff88.jpg","text":"TemporaryFile(/tmp/multipartBody3573347367726083754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728762883,"filename":"image_15042025_16_29_53_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0ed19fa917535889dbbb94f0f84f38a.jpg","text":"TemporaryFile(/tmp/multipartBody5923572591229800294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728762883,"filename":"image_15042025_16_29_01_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5fb4e3808bcac13eab40c47edd93ef8.jpg","text":"TemporaryFile(/tmp/multipartBody4296781924721617818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728762883,"filename":"image_15042025_16_27_20_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926306","file1":"1349926301","file0":"1349926296","file4":"1349926318","file5":"1349926322","file3":"1349926314"},"map_files_photo_id_array":[{"photo_id":"1349926322","filename":"file5"},{"photo_id":"1349926306","filename":"file2"},{"photo_id":"1349926318","filename":"file4"},{"photo_id":"1349926301","filename":"file1"},{"photo_id":"1349926296","filename":"file0"},{"photo_id":"1349926314","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926314":["hashtag1","hashtag2"]},{"1349926322":["hashtag1","hashtag2"]},{"1349926301":["hashtag1","hashtag2"]},{"1349926318":["hashtag1","hashtag2"]},{"1349926306":["hashtag1","hashtag2"]},{"1349926296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926314, 1349926322, 1349926301, 1349926318, 1349926306, 1349926296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.842957973480225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:52:24.252589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_23_2761.jpg', '/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_30_3646.jpg', '/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_41_3684.jpg', '/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_47_2708.jpg', '/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_56_2705.jpg', '/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_59_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_23_2761.jpg
/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_30_3646.jpg
/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_41_3684.jpg
/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_47_2708.jpg
/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_56_2705.jpg
/home/pi/Desktop/images/15042025/16/30/image_15042025_16_30_59_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926347","1349926343","1349926355","1349926340","1349926360","1349926351"],"photo_ids_order":["1349926340","1349926343","1349926347","1349926351","1349926355","1349926360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa9be8c81373c1e308e50a9625a4145d.jpg","text":"TemporaryFile(/tmp/multipartBody2808309970256870526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728804953,"filename":"image_15042025_16_30_41_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34030c4be447e5aa322c2f6aa871e16d.jpg","text":"TemporaryFile(/tmp/multipartBody6895569393612751393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728804953,"filename":"image_15042025_16_30_30_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/200c87cda17313e019cc3d9c735431ff.jpg","text":"TemporaryFile(/tmp/multipartBody3976392057513457106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728804953,"filename":"image_15042025_16_30_56_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/accfd7b929e5e183a2c4010016f6db12.jpg","text":"TemporaryFile(/tmp/multipartBody3088497355906440942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728804953,"filename":"image_15042025_16_30_23_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a176b0774e881d95f2c6649b3a43bf6.jpg","text":"TemporaryFile(/tmp/multipartBody641165981254256839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728804953,"filename":"image_15042025_16_30_59_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a43af653adb1905037a55b9092c2368.jpg","text":"TemporaryFile(/tmp/multipartBody7540766165507903211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728804953,"filename":"image_15042025_16_30_47_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926347","file1":"1349926343","file0":"1349926340","file4":"1349926355","file5":"1349926360","file3":"1349926351"},"map_files_photo_id_array":[{"photo_id":"1349926360","filename":"file5"},{"photo_id":"1349926347","filename":"file2"},{"photo_id":"1349926355","filename":"file4"},{"photo_id":"1349926343","filename":"file1"},{"photo_id":"1349926340","filename":"file0"},{"photo_id":"1349926351","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926347":["hashtag1","hashtag2"]},{"1349926343":["hashtag1","hashtag2"]},{"1349926355":["hashtag1","hashtag2"]},{"1349926340":["hashtag1","hashtag2"]},{"1349926360":["hashtag1","hashtag2"]},{"1349926351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926347, 1349926343, 1349926355, 1349926340, 1349926360, 1349926351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.564897537231445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:53:02.874640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/31/image_15042025_16_31_08_3649.jpg', '/home/pi/Desktop/images/15042025/16/31/image_15042025_16_31_29_2741.jpg', '/home/pi/Desktop/images/15042025/16/32/image_15042025_16_32_41_2884.jpg', '/home/pi/Desktop/images/15042025/16/33/image_15042025_16_33_02_3623.jpg', '/home/pi/Desktop/images/15042025/16/35/image_15042025_16_35_16_1545.jpg', '/home/pi/Desktop/images/15042025/16/36/image_15042025_16_36_01_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/31/image_15042025_16_31_08_3649.jpg
/home/pi/Desktop/images/15042025/16/31/image_15042025_16_31_29_2741.jpg
/home/pi/Desktop/images/15042025/16/32/image_15042025_16_32_41_2884.jpg
/home/pi/Desktop/images/15042025/16/33/image_15042025_16_33_02_3623.jpg
/home/pi/Desktop/images/15042025/16/35/image_15042025_16_35_16_1545.jpg
/home/pi/Desktop/images/15042025/16/36/image_15042025_16_36_01_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926402","1349926413","1349926394","1349926379","1349926411","1349926408"],"photo_ids_order":["1349926379","1349926394","1349926402","1349926408","1349926411","1349926413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccd7622753ed022304a7094efc7be008.jpg","text":"TemporaryFile(/tmp/multipartBody893225069780876982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728843674,"filename":"image_15042025_16_32_41_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c8d0f7632c2b7d9e45bc499112112e4.jpg","text":"TemporaryFile(/tmp/multipartBody7952835286523432753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728843674,"filename":"image_15042025_16_36_01_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/004a753ba191a9f93dee0f33bbb62013.jpg","text":"TemporaryFile(/tmp/multipartBody3745737795110050235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728843674,"filename":"image_15042025_16_31_29_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/065b5c29a00c6080b48e26af5eece88b.jpg","text":"TemporaryFile(/tmp/multipartBody4511820104419788349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728843674,"filename":"image_15042025_16_31_08_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11c57e60d608c18f4cf4b6edf12e38c4.jpg","text":"TemporaryFile(/tmp/multipartBody3642086573658911048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728843674,"filename":"image_15042025_16_35_16_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ced00779ede31c0f6878f0444a412e49.jpg","text":"TemporaryFile(/tmp/multipartBody7362747678270369560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728843674,"filename":"image_15042025_16_33_02_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926402","file1":"1349926394","file0":"1349926379","file4":"1349926411","file5":"1349926413","file3":"1349926408"},"map_files_photo_id_array":[{"photo_id":"1349926413","filename":"file5"},{"photo_id":"1349926402","filename":"file2"},{"photo_id":"1349926411","filename":"file4"},{"photo_id":"1349926394","filename":"file1"},{"photo_id":"1349926379","filename":"file0"},{"photo_id":"1349926408","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926402":["hashtag1","hashtag2"]},{"1349926413":["hashtag1","hashtag2"]},{"1349926394":["hashtag1","hashtag2"]},{"1349926379":["hashtag1","hashtag2"]},{"1349926411":["hashtag1","hashtag2"]},{"1349926408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926402, 1349926413, 1349926394, 1349926379, 1349926411, 1349926408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43626928329468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:53:42.178036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/36/image_15042025_16_36_34_2861.jpg', '/home/pi/Desktop/images/15042025/16/36/image_15042025_16_37_01_3661.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_04_2898.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_07_2894.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_19_12257.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_21_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/36/image_15042025_16_36_34_2861.jpg
/home/pi/Desktop/images/15042025/16/36/image_15042025_16_37_01_3661.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_04_2898.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_07_2894.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_19_12257.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_21_1616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926584","1349926557","1349926580","1349926550","1349926570","1349926561"],"photo_ids_order":["1349926550","1349926557","1349926561","1349926570","1349926580","1349926584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba83ab98f192a38d48898dbc27265e3e.jpg","text":"TemporaryFile(/tmp/multipartBody581665178587951181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728882902,"filename":"image_15042025_16_37_21_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4b8b1162a679bc119500ab6f3b2fc46.jpg","text":"TemporaryFile(/tmp/multipartBody1240079264810655721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728882902,"filename":"image_15042025_16_37_01_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1a4ae54ea3394cb991ada618075c179.jpg","text":"TemporaryFile(/tmp/multipartBody918300743167990560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728882902,"filename":"image_15042025_16_37_19_12257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7fc00c2b81783294eadd89650c467e59.jpg","text":"TemporaryFile(/tmp/multipartBody406782415361927436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728882902,"filename":"image_15042025_16_36_34_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7158afcce167dd8a6d502417c511d45e.jpg","text":"TemporaryFile(/tmp/multipartBody5186219717925707373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728882902,"filename":"image_15042025_16_37_07_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a6a8e43c0a947af7e33127d8d9908f0.jpg","text":"TemporaryFile(/tmp/multipartBody6092695375163272498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728882902,"filename":"image_15042025_16_37_04_2898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926561","file1":"1349926557","file0":"1349926550","file4":"1349926580","file5":"1349926584","file3":"1349926570"},"map_files_photo_id_array":[{"photo_id":"1349926584","filename":"file5"},{"photo_id":"1349926561","filename":"file2"},{"photo_id":"1349926580","filename":"file4"},{"photo_id":"1349926557","filename":"file1"},{"photo_id":"1349926550","filename":"file0"},{"photo_id":"1349926570","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926584":["hashtag1","hashtag2"]},{"1349926557":["hashtag1","hashtag2"]},{"1349926580":["hashtag1","hashtag2"]},{"1349926550":["hashtag1","hashtag2"]},{"1349926570":["hashtag1","hashtag2"]},{"1349926561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926584, 1349926557, 1349926580, 1349926550, 1349926570, 1349926561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.652204513549805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:54:21.820486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_24_1870.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_26_1801.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_35_7073.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_45_10201.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_47_1626.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_48_1782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_24_1870.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_26_1801.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_35_7073.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_45_10201.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_47_1626.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_48_1782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926599","1349926622","1349926633","1349926615","1349926603","1349926606"],"photo_ids_order":["1349926599","1349926603","1349926606","1349926615","1349926622","1349926633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc5347ea3d2a2cf723d4c7c303d3cf67.jpg","text":"TemporaryFile(/tmp/multipartBody2318512595776849004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728922496,"filename":"image_15042025_16_37_24_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/065fdd739bedcaad521309ba7625737f.jpg","text":"TemporaryFile(/tmp/multipartBody5876816804301463114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728922496,"filename":"image_15042025_16_37_47_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7688ca5985bb7f408d3a9098f54e24e7.jpg","text":"TemporaryFile(/tmp/multipartBody803440313244658941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728922496,"filename":"image_15042025_16_37_48_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9f18d27ece39c99eabf58e12fe8c664.jpg","text":"TemporaryFile(/tmp/multipartBody5831692639124869485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728922496,"filename":"image_15042025_16_37_45_10201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4feebc5d8ad6c091f862039dc84c727b.jpg","text":"TemporaryFile(/tmp/multipartBody6461451018666120121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728922496,"filename":"image_15042025_16_37_26_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75d44e92626fd9de9f1dca5adbcc3288.jpg","text":"TemporaryFile(/tmp/multipartBody431712801779259635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728922496,"filename":"image_15042025_16_37_35_7073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926606","file1":"1349926603","file0":"1349926599","file4":"1349926622","file5":"1349926633","file3":"1349926615"},"map_files_photo_id_array":[{"photo_id":"1349926633","filename":"file5"},{"photo_id":"1349926606","filename":"file2"},{"photo_id":"1349926622","filename":"file4"},{"photo_id":"1349926603","filename":"file1"},{"photo_id":"1349926599","filename":"file0"},{"photo_id":"1349926615","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926599":["hashtag1","hashtag2"]},{"1349926622":["hashtag1","hashtag2"]},{"1349926633":["hashtag1","hashtag2"]},{"1349926615":["hashtag1","hashtag2"]},{"1349926603":["hashtag1","hashtag2"]},{"1349926606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926599, 1349926622, 1349926633, 1349926615, 1349926603, 1349926606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85501265525818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:55:02.953365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_50_1695.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_52_1686.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_54_1737.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_57_1887.jpg', '/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_59_1649.jpg', '/home/pi/Desktop/images/15042025/16/38/image_15042025_16_38_14_15094.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_50_1695.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_52_1686.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_54_1737.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_57_1887.jpg
/home/pi/Desktop/images/15042025/16/37/image_15042025_16_37_59_1649.jpg
/home/pi/Desktop/images/15042025/16/38/image_15042025_16_38_14_15094.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926679","1349926661","1349926672","1349926651","1349926675","1349926669"],"photo_ids_order":["1349926651","1349926661","1349926669","1349926672","1349926675","1349926679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0aad99f4f3ce24b705676d9f90b3efbb.jpg","text":"TemporaryFile(/tmp/multipartBody2632312364344556525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728963777,"filename":"image_15042025_16_38_14_15094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da03db0ed0a82648ceb80a8a1c558c22.jpg","text":"TemporaryFile(/tmp/multipartBody2429003188099667642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728963777,"filename":"image_15042025_16_37_52_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d3a157b9ce5a771e8306c0eb7e5681b.jpg","text":"TemporaryFile(/tmp/multipartBody4187181294689175152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728963777,"filename":"image_15042025_16_37_57_1887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39660512c93c47beedd6d87501504bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6086213471559015185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728963777,"filename":"image_15042025_16_37_50_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/015e25bb43299d838154acc7970e3043.jpg","text":"TemporaryFile(/tmp/multipartBody9201569044939617658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728963777,"filename":"image_15042025_16_37_59_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2535a825611203892097e48051fae109.jpg","text":"TemporaryFile(/tmp/multipartBody474143506487330418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744728963777,"filename":"image_15042025_16_37_54_1737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926669","file1":"1349926661","file0":"1349926651","file4":"1349926675","file5":"1349926679","file3":"1349926672"},"map_files_photo_id_array":[{"photo_id":"1349926679","filename":"file5"},{"photo_id":"1349926669","filename":"file2"},{"photo_id":"1349926675","filename":"file4"},{"photo_id":"1349926661","filename":"file1"},{"photo_id":"1349926651","filename":"file0"},{"photo_id":"1349926672","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926679":["hashtag1","hashtag2"]},{"1349926661":["hashtag1","hashtag2"]},{"1349926672":["hashtag1","hashtag2"]},{"1349926651":["hashtag1","hashtag2"]},{"1349926675":["hashtag1","hashtag2"]},{"1349926669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926679, 1349926661, 1349926672, 1349926651, 1349926675, 1349926669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.551196336746216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:55:42.176815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/38/image_15042025_16_38_16_1736.jpg', '/home/pi/Desktop/images/15042025/16/38/image_15042025_16_38_40_24708.jpg', '/home/pi/Desktop/images/15042025/16/39/image_15042025_16_39_16_1764.jpg', '/home/pi/Desktop/images/15042025/16/39/image_15042025_16_39_18_1668.jpg', '/home/pi/Desktop/images/15042025/16/39/image_15042025_16_39_20_1636.jpg', '/home/pi/Desktop/images/15042025/16/40/image_15042025_16_40_06_3020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/38/image_15042025_16_38_16_1736.jpg
/home/pi/Desktop/images/15042025/16/38/image_15042025_16_38_40_24708.jpg
/home/pi/Desktop/images/15042025/16/39/image_15042025_16_39_16_1764.jpg
/home/pi/Desktop/images/15042025/16/39/image_15042025_16_39_18_1668.jpg
/home/pi/Desktop/images/15042025/16/39/image_15042025_16_39_20_1636.jpg
/home/pi/Desktop/images/15042025/16/40/image_15042025_16_40_06_3020.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926731","1349926725","1349926710","1349926728","1349926720","1349926695"],"photo_ids_order":["1349926695","1349926710","1349926720","1349926725","1349926728","1349926731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae04584e31816067d8f91773888bf924.jpg","text":"TemporaryFile(/tmp/multipartBody6358888651297850462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729002890,"filename":"image_15042025_16_40_06_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56ef93caf71f3f522d21acb8769a89c5.jpg","text":"TemporaryFile(/tmp/multipartBody3570299015038037833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729002890,"filename":"image_15042025_16_39_18_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bec5366e3a6b6f04a9aa6b5c78dc23bf.jpg","text":"TemporaryFile(/tmp/multipartBody5226446855674114151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729002890,"filename":"image_15042025_16_38_40_24708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d67bca99bef87c9ce3da1d6f88e65839.jpg","text":"TemporaryFile(/tmp/multipartBody459155656236205773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729002890,"filename":"image_15042025_16_39_20_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c2f1a36327d1532daeb22e6bda42d5d.jpg","text":"TemporaryFile(/tmp/multipartBody6945176813902735343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729002890,"filename":"image_15042025_16_39_16_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64aa2b22e097b18d575b43f030aaf2d4.jpg","text":"TemporaryFile(/tmp/multipartBody4364739590982812558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729002890,"filename":"image_15042025_16_38_16_1736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926720","file1":"1349926710","file0":"1349926695","file4":"1349926728","file5":"1349926731","file3":"1349926725"},"map_files_photo_id_array":[{"photo_id":"1349926731","filename":"file5"},{"photo_id":"1349926720","filename":"file2"},{"photo_id":"1349926728","filename":"file4"},{"photo_id":"1349926710","filename":"file1"},{"photo_id":"1349926695","filename":"file0"},{"photo_id":"1349926725","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926731":["hashtag1","hashtag2"]},{"1349926725":["hashtag1","hashtag2"]},{"1349926710":["hashtag1","hashtag2"]},{"1349926728":["hashtag1","hashtag2"]},{"1349926720":["hashtag1","hashtag2"]},{"1349926695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926731, 1349926725, 1349926710, 1349926728, 1349926720, 1349926695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68377089500427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 16:56:22.454913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/40/image_15042025_16_40_54_2478.jpg', '/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_01_1673.jpg', '/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_06_2720.jpg', '/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_12_2993.jpg', '/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_15_2679.jpg', '/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_24_2862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/40/image_15042025_16_40_54_2478.jpg
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_01_1673.jpg
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_06_2720.jpg
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_12_2993.jpg
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_15_2679.jpg
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_24_2862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926767","1349926781","1349926775","1349926763","1349926789","1349926771"],"photo_ids_order":["1349926763","1349926767","1349926771","1349926775","1349926781","1349926789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e104c3c07629ca155b1838cf791b6d8.jpg","text":"TemporaryFile(/tmp/multipartBody5428947577797918247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729043166,"filename":"image_15042025_16_41_01_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a1a9a0195f04b62355588148da082ee.jpg","text":"TemporaryFile(/tmp/multipartBody5234478182997030296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729043166,"filename":"image_15042025_16_41_15_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ff5b465f9026a75b08aa6a8b9e1ac73.jpg","text":"TemporaryFile(/tmp/multipartBody1156157339920125946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729043166,"filename":"image_15042025_16_41_12_2993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10fbc9427e653e101082f1de67884de4.jpg","text":"TemporaryFile(/tmp/multipartBody6124039545177464689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729043166,"filename":"image_15042025_16_40_54_2478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b484d9f39f286c431db25425487c6e7.jpg","text":"TemporaryFile(/tmp/multipartBody8497474104483592905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729043166,"filename":"image_15042025_16_41_24_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/006ef487107ab7eb0b95dc53da6a33c5.jpg","text":"TemporaryFile(/tmp/multipartBody2833187738030214354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729043166,"filename":"image_15042025_16_41_06_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926771","file1":"1349926767","file0":"1349926763","file4":"1349926781","file5":"1349926789","file3":"1349926775"},"map_files_photo_id_array":[{"photo_id":"1349926789","filename":"file5"},{"photo_id":"1349926771","filename":"file2"},{"photo_id":"1349926781","filename":"file4"},{"photo_id":"1349926767","filename":"file1"},{"photo_id":"1349926763","filename":"file0"},{"photo_id":"1349926775","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926767":["hashtag1","hashtag2"]},{"1349926781":["hashtag1","hashtag2"]},{"1349926775":["hashtag1","hashtag2"]},{"1349926763":["hashtag1","hashtag2"]},{"1349926789":["hashtag1","hashtag2"]},{"1349926771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926767, 1349926781, 1349926775, 1349926763, 1349926789, 1349926771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6051230430603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:57:03.225895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_36_2708.jpg', '/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_45_2808.jpg', '/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_48_2834.jpg', '/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_51_2730.jpg', '/home/pi/Desktop/images/15042025/16/41/image_15042025_16_42_00_2674.jpg', '/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_06_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_36_2708.jpg
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_45_2808.jpg
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_48_2834.jpg
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_41_51_2730.jpg
/home/pi/Desktop/images/15042025/16/41/image_15042025_16_42_00_2674.jpg
/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_06_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349926848","1349926857","1349926886","1349926871","1349926831","1349926822"],"photo_ids_order":["1349926822","1349926831","1349926848","1349926857","1349926871","1349926886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f18fcb5b2a5f4579194b176ad35ff9c.jpg","text":"TemporaryFile(/tmp/multipartBody6767156473225025773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729086853,"filename":"image_15042025_16_41_48_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/907fa016f475f97f299b72fecb387ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4894769251819208667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729086853,"filename":"image_15042025_16_41_51_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c75159dd059708464a8ac672e7259dd.jpg","text":"TemporaryFile(/tmp/multipartBody3872178559600580217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729086853,"filename":"image_15042025_16_42_06_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c564202c96d66ce8862d7716b1d6da6f.jpg","text":"TemporaryFile(/tmp/multipartBody6601995333543794590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729086853,"filename":"image_15042025_16_42_00_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b325a62b0fd9a1a23ab950c018a64c77.jpg","text":"TemporaryFile(/tmp/multipartBody6018738524666899340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729086853,"filename":"image_15042025_16_41_45_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74dc8a1e0028aeaa87c5e1029477cfda.jpg","text":"TemporaryFile(/tmp/multipartBody5140549059140515697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729086853,"filename":"image_15042025_16_41_36_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349926848","file1":"1349926831","file0":"1349926822","file4":"1349926871","file5":"1349926886","file3":"1349926857"},"map_files_photo_id_array":[{"photo_id":"1349926886","filename":"file5"},{"photo_id":"1349926848","filename":"file2"},{"photo_id":"1349926871","filename":"file4"},{"photo_id":"1349926831","filename":"file1"},{"photo_id":"1349926822","filename":"file0"},{"photo_id":"1349926857","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349926848":["hashtag1","hashtag2"]},{"1349926857":["hashtag1","hashtag2"]},{"1349926886":["hashtag1","hashtag2"]},{"1349926871":["hashtag1","hashtag2"]},{"1349926831":["hashtag1","hashtag2"]},{"1349926822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349926848, 1349926857, 1349926886, 1349926871, 1349926831, 1349926822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.024431228637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 16:59:03.609398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_15_3587.jpg', '/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_18_2550.jpg', '/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_21_2557.jpg', '/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_24_3825.jpg', '/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_30_2720.jpg', '/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_33_2875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_15_3587.jpg
/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_18_2550.jpg
/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_21_2557.jpg
/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_24_3825.jpg
/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_30_2720.jpg
/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_33_2875.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349927399","1349927348","1349927383","1349927392","1349927371","1349927317"],"photo_ids_order":["1349927317","1349927348","1349927371","1349927383","1349927392","1349927399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b2542b4aa383d321e574d187a5d4bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3044203375145512234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729204454,"filename":"image_15042025_16_42_33_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2fd71be55be9b2335e219d8ab26fc80d.jpg","text":"TemporaryFile(/tmp/multipartBody2098784818309181610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729204454,"filename":"image_15042025_16_42_18_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2abe1387265cae01971cd8f551715355.jpg","text":"TemporaryFile(/tmp/multipartBody2457317036021301985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729204454,"filename":"image_15042025_16_42_24_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fabfd9d79cdda39e549c6904f426ad21.jpg","text":"TemporaryFile(/tmp/multipartBody4413909757413253027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729204454,"filename":"image_15042025_16_42_30_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad469b9f14c6d6d562eaaf73a5b057c8.jpg","text":"TemporaryFile(/tmp/multipartBody5462348779630028370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729204454,"filename":"image_15042025_16_42_21_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e143c40324451d32db20a623015072b9.jpg","text":"TemporaryFile(/tmp/multipartBody6585325016711275957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729204454,"filename":"image_15042025_16_42_15_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349927371","file1":"1349927348","file0":"1349927317","file4":"1349927392","file5":"1349927399","file3":"1349927383"},"map_files_photo_id_array":[{"photo_id":"1349927399","filename":"file5"},{"photo_id":"1349927371","filename":"file2"},{"photo_id":"1349927392","filename":"file4"},{"photo_id":"1349927348","filename":"file1"},{"photo_id":"1349927317","filename":"file0"},{"photo_id":"1349927383","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349927399":["hashtag1","hashtag2"]},{"1349927348":["hashtag1","hashtag2"]},{"1349927383":["hashtag1","hashtag2"]},{"1349927392":["hashtag1","hashtag2"]},{"1349927371":["hashtag1","hashtag2"]},{"1349927317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349927399, 1349927348, 1349927383, 1349927392, 1349927371, 1349927317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66451859474182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 16:59:42.282131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_36_3670.jpg', '/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_18_2650.jpg', '/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_27_2523.jpg', '/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_33_3779.jpg', '/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_36_2604.jpg', '/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_48_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/42/image_15042025_16_42_36_3670.jpg
/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_18_2650.jpg
/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_27_2523.jpg
/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_33_3779.jpg
/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_36_2604.jpg
/home/pi/Desktop/images/15042025/16/43/image_15042025_16_43_48_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349927696","1349927520","1349927755","1349927563","1349927638","1349927484"],"photo_ids_order":["1349927484","1349927520","1349927563","1349927638","1349927696","1349927755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65310ae36a4e8767920796a03fe41af3.jpg","text":"TemporaryFile(/tmp/multipartBody9168654355253235178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729242976,"filename":"image_15042025_16_43_36_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be0fc9149b62e1cf4f05758b7b154cd6.jpg","text":"TemporaryFile(/tmp/multipartBody6189175634886984379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729242976,"filename":"image_15042025_16_43_18_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a39730e2caf0b91e9ff6be4af2201611.jpg","text":"TemporaryFile(/tmp/multipartBody4397002934221991093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729242976,"filename":"image_15042025_16_43_48_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b834f46c290882c28883752076dc09e6.jpg","text":"TemporaryFile(/tmp/multipartBody8139114308955815643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729242976,"filename":"image_15042025_16_43_27_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4610e1be39a1af5a5108ebc9d17af6d8.jpg","text":"TemporaryFile(/tmp/multipartBody5462540332499748522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729242976,"filename":"image_15042025_16_43_33_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc67382dae7279b49d75f6fcb0505c87.jpg","text":"TemporaryFile(/tmp/multipartBody6421866085269637722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729242976,"filename":"image_15042025_16_42_36_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349927563","file1":"1349927520","file0":"1349927484","file4":"1349927696","file5":"1349927755","file3":"1349927638"},"map_files_photo_id_array":[{"photo_id":"1349927755","filename":"file5"},{"photo_id":"1349927563","filename":"file2"},{"photo_id":"1349927696","filename":"file4"},{"photo_id":"1349927520","filename":"file1"},{"photo_id":"1349927484","filename":"file0"},{"photo_id":"1349927638","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349927696":["hashtag1","hashtag2"]},{"1349927520":["hashtag1","hashtag2"]},{"1349927755":["hashtag1","hashtag2"]},{"1349927563":["hashtag1","hashtag2"]},{"1349927638":["hashtag1","hashtag2"]},{"1349927484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349927696, 1349927520, 1349927755, 1349927563, 1349927638, 1349927484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78597450256348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:00:22.415202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_06_2884.jpg', '/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_11_2620.jpg', '/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_18_2689.jpg', '/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_24_3756.jpg', '/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_30_2643.jpg', '/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_41_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_06_2884.jpg
/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_11_2620.jpg
/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_18_2689.jpg
/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_24_3756.jpg
/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_30_2643.jpg
/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_41_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349928023","1349928055","1349928139","1349927962","1349927932","1349928087"],"photo_ids_order":["1349927932","1349927962","1349928023","1349928055","1349928087","1349928139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05734b72da58cbeb490e0264c1a956de.jpg","text":"TemporaryFile(/tmp/multipartBody5819252973986360531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729283095,"filename":"image_15042025_16_44_18_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29c80534e0380a636c1a0d83e1a3118a.jpg","text":"TemporaryFile(/tmp/multipartBody7419186191143023923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729283095,"filename":"image_15042025_16_44_24_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ca84f7602b16c046199617537ab1a8f.jpg","text":"TemporaryFile(/tmp/multipartBody993061509766735140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729283095,"filename":"image_15042025_16_44_41_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/017bfa17db4a6975e0cb81947ac82ffb.jpg","text":"TemporaryFile(/tmp/multipartBody2685992489401550771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729283095,"filename":"image_15042025_16_44_11_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cdccbd15d2a6db228006d03a239739b.jpg","text":"TemporaryFile(/tmp/multipartBody3607437599119646475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729283095,"filename":"image_15042025_16_44_06_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79aab2d189335421f775a273803ae07c.jpg","text":"TemporaryFile(/tmp/multipartBody1915513222908709250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729283095,"filename":"image_15042025_16_44_30_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349928023","file1":"1349927962","file0":"1349927932","file4":"1349928087","file5":"1349928139","file3":"1349928055"},"map_files_photo_id_array":[{"photo_id":"1349928139","filename":"file5"},{"photo_id":"1349928023","filename":"file2"},{"photo_id":"1349928087","filename":"file4"},{"photo_id":"1349927962","filename":"file1"},{"photo_id":"1349927932","filename":"file0"},{"photo_id":"1349928055","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349928023":["hashtag1","hashtag2"]},{"1349928055":["hashtag1","hashtag2"]},{"1349928139":["hashtag1","hashtag2"]},{"1349927962":["hashtag1","hashtag2"]},{"1349927932":["hashtag1","hashtag2"]},{"1349928087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349928023, 1349928055, 1349928139, 1349927962, 1349927932, 1349928087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81731367111206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:01:03.322366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_48_2759.jpg', '/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_54_3711.jpg', '/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_11_3888.jpg', '/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_14_2937.jpg', '/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_17_2656.jpg', '/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_19_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_48_2759.jpg
/home/pi/Desktop/images/15042025/16/44/image_15042025_16_44_54_3711.jpg
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_11_3888.jpg
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_14_2937.jpg
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_17_2656.jpg
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_19_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349928698","1349928469","1349928412","1349928582","1349928645","1349928528"],"photo_ids_order":["1349928412","1349928469","1349928528","1349928582","1349928645","1349928698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ddd9343625459739c79953a159f7c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2167985226277668280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729324171,"filename":"image_15042025_16_45_19_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb385b65a7c18cd92370790e308ecef5.jpg","text":"TemporaryFile(/tmp/multipartBody6683248968208364764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729324171,"filename":"image_15042025_16_44_54_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e52712895849cf4c8810fceee901e310.jpg","text":"TemporaryFile(/tmp/multipartBody3535867763198871531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729324171,"filename":"image_15042025_16_44_48_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4fc062f7324fe6011f5c0177ed7c0f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2161165484482528281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729324171,"filename":"image_15042025_16_45_14_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46db94053e6f2fc38ceb4c6fd96dcfa5.jpg","text":"TemporaryFile(/tmp/multipartBody7696413508353399609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729324171,"filename":"image_15042025_16_45_17_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c571098654674122da08420a25783d6.jpg","text":"TemporaryFile(/tmp/multipartBody5302149969320659203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729324171,"filename":"image_15042025_16_45_11_3888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349928528","file1":"1349928469","file0":"1349928412","file4":"1349928645","file5":"1349928698","file3":"1349928582"},"map_files_photo_id_array":[{"photo_id":"1349928698","filename":"file5"},{"photo_id":"1349928528","filename":"file2"},{"photo_id":"1349928645","filename":"file4"},{"photo_id":"1349928469","filename":"file1"},{"photo_id":"1349928412","filename":"file0"},{"photo_id":"1349928582","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349928698":["hashtag1","hashtag2"]},{"1349928469":["hashtag1","hashtag2"]},{"1349928412":["hashtag1","hashtag2"]},{"1349928582":["hashtag1","hashtag2"]},{"1349928645":["hashtag1","hashtag2"]},{"1349928528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349928698, 1349928469, 1349928412, 1349928582, 1349928645, 1349928528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83444619178772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:01:42.430947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_23_3600.jpg', '/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_28_2636.jpg', '/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_35_2656.jpg', '/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_44_2665.jpg', '/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_50_3698.jpg', '/home/pi/Desktop/images/15042025/16/46/image_15042025_16_46_41_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_23_3600.jpg
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_28_2636.jpg
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_35_2656.jpg
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_44_2665.jpg
/home/pi/Desktop/images/15042025/16/45/image_15042025_16_45_50_3698.jpg
/home/pi/Desktop/images/15042025/16/46/image_15042025_16_46_41_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349928929","1349928994","1349928862","1349928829","1349928901","1349928957"],"photo_ids_order":["1349928829","1349928862","1349928901","1349928929","1349928957","1349928994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1fec319fab3dbd6963f5f884e4b29f5.jpg","text":"TemporaryFile(/tmp/multipartBody8533856185977077668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729363111,"filename":"image_15042025_16_45_44_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/379a2cc8818c00c7c346aaddf9be8e2c.jpg","text":"TemporaryFile(/tmp/multipartBody5686513563470213728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729363111,"filename":"image_15042025_16_46_41_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a4f3ba1d731d096565e30b0f6a54113.jpg","text":"TemporaryFile(/tmp/multipartBody3449849375446165838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729363111,"filename":"image_15042025_16_45_28_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b2175e273f46c709e98b089a426c467.jpg","text":"TemporaryFile(/tmp/multipartBody2947619826825370302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729363111,"filename":"image_15042025_16_45_23_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0294c59d96140fda6811a935222230eb.jpg","text":"TemporaryFile(/tmp/multipartBody207934617064900810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729363111,"filename":"image_15042025_16_45_35_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69bd213406624fdfdd2a50e5551a7cf4.jpg","text":"TemporaryFile(/tmp/multipartBody9072867983889551095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729363111,"filename":"image_15042025_16_45_50_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349928901","file1":"1349928862","file0":"1349928829","file4":"1349928957","file5":"1349928994","file3":"1349928929"},"map_files_photo_id_array":[{"photo_id":"1349928994","filename":"file5"},{"photo_id":"1349928901","filename":"file2"},{"photo_id":"1349928957","filename":"file4"},{"photo_id":"1349928862","filename":"file1"},{"photo_id":"1349928829","filename":"file0"},{"photo_id":"1349928929","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349928929":["hashtag1","hashtag2"]},{"1349928994":["hashtag1","hashtag2"]},{"1349928862":["hashtag1","hashtag2"]},{"1349928829":["hashtag1","hashtag2"]},{"1349928901":["hashtag1","hashtag2"]},{"1349928957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349928929, 1349928994, 1349928862, 1349928829, 1349928901, 1349928957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.221224308013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:02:22.009905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/46/image_15042025_16_46_50_3587.jpg', '/home/pi/Desktop/images/15042025/16/46/image_15042025_16_46_59_3715.jpg', '/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_25_2609.jpg', '/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_31_2642.jpg', '/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_56_3696.jpg', '/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_58_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/46/image_15042025_16_46_50_3587.jpg
/home/pi/Desktop/images/15042025/16/46/image_15042025_16_46_59_3715.jpg
/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_25_2609.jpg
/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_31_2642.jpg
/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_56_3696.jpg
/home/pi/Desktop/images/15042025/16/47/image_15042025_16_47_58_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349929288","1349929211","1349929152","1349929242","1349929184","1349929101"],"photo_ids_order":["1349929101","1349929152","1349929184","1349929211","1349929242","1349929288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd88fe1ab91eef13f9d96b45c4d71cce.jpg","text":"TemporaryFile(/tmp/multipartBody1225088701415756250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729402692,"filename":"image_15042025_16_47_58_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5c9d1219bfe3e3f5f69207b27c20d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7197694943136280358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729402692,"filename":"image_15042025_16_47_31_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44fddf18a990bde83d714eacc69c36eb.jpg","text":"TemporaryFile(/tmp/multipartBody8377810418854702877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729402692,"filename":"image_15042025_16_46_59_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42c01b913ce72b40a25bd681c467f233.jpg","text":"TemporaryFile(/tmp/multipartBody7945970938488030077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729402692,"filename":"image_15042025_16_47_56_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c78ea3448ae019e503c3aafe72f84e8a.jpg","text":"TemporaryFile(/tmp/multipartBody8153374948963313512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729402692,"filename":"image_15042025_16_47_25_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc07b0a13fde21344094eb6478ffef96.jpg","text":"TemporaryFile(/tmp/multipartBody6958172028775113652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729402692,"filename":"image_15042025_16_46_50_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349929184","file1":"1349929152","file0":"1349929101","file4":"1349929242","file5":"1349929288","file3":"1349929211"},"map_files_photo_id_array":[{"photo_id":"1349929288","filename":"file5"},{"photo_id":"1349929184","filename":"file2"},{"photo_id":"1349929242","filename":"file4"},{"photo_id":"1349929152","filename":"file1"},{"photo_id":"1349929101","filename":"file0"},{"photo_id":"1349929211","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349929288":["hashtag1","hashtag2"]},{"1349929211":["hashtag1","hashtag2"]},{"1349929152":["hashtag1","hashtag2"]},{"1349929242":["hashtag1","hashtag2"]},{"1349929184":["hashtag1","hashtag2"]},{"1349929101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349929288, 1349929211, 1349929152, 1349929242, 1349929184, 1349929101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62466740608215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:03:03.346696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_08_3705.jpg', '/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_10_2678.jpg', '/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_13_2779.jpg', '/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_17_3680.jpg', '/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_26_3683.jpg', '/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_46_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_08_3705.jpg
/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_10_2678.jpg
/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_13_2779.jpg
/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_17_3680.jpg
/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_26_3683.jpg
/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_46_2525.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349929838","1349929724","1349929783","1349929668","1349929612","1349929542"],"photo_ids_order":["1349929542","1349929612","1349929668","1349929724","1349929783","1349929838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/383d221dabca709a3796eb6d2e67a1e1.jpg","text":"TemporaryFile(/tmp/multipartBody4821068681850928111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729446700,"filename":"image_15042025_16_48_46_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1269429befb8c3ca4786720b07a13117.jpg","text":"TemporaryFile(/tmp/multipartBody1451034440210363980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729446700,"filename":"image_15042025_16_48_17_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4791953a9cc7a0ddc2051d6664342819.jpg","text":"TemporaryFile(/tmp/multipartBody1527842095859195471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729446700,"filename":"image_15042025_16_48_26_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ace452d5adcd8430dd2b17400d235a06.jpg","text":"TemporaryFile(/tmp/multipartBody2808159115267379386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729446700,"filename":"image_15042025_16_48_13_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fdd998a97a5d1f566f5d5d89eff8d704.jpg","text":"TemporaryFile(/tmp/multipartBody4732478124860805233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729446700,"filename":"image_15042025_16_48_10_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d27db03d67390c74ca1d13a04c8f4f6.jpg","text":"TemporaryFile(/tmp/multipartBody3370484809944787356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729446700,"filename":"image_15042025_16_48_08_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349929668","file1":"1349929612","file0":"1349929542","file4":"1349929783","file5":"1349929838","file3":"1349929724"},"map_files_photo_id_array":[{"photo_id":"1349929838","filename":"file5"},{"photo_id":"1349929668","filename":"file2"},{"photo_id":"1349929783","filename":"file4"},{"photo_id":"1349929612","filename":"file1"},{"photo_id":"1349929542","filename":"file0"},{"photo_id":"1349929724","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349929838":["hashtag1","hashtag2"]},{"1349929724":["hashtag1","hashtag2"]},{"1349929783":["hashtag1","hashtag2"]},{"1349929668":["hashtag1","hashtag2"]},{"1349929612":["hashtag1","hashtag2"]},{"1349929542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349929838, 1349929724, 1349929783, 1349929668, 1349929612, 1349929542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79293775558472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:03:42.722442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_53_3656.jpg', '/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_58_2725.jpg', '/home/pi/Desktop/images/15042025/16/49/image_15042025_16_49_35_3608.jpg', '/home/pi/Desktop/images/15042025/16/49/image_15042025_16_49_40_2784.jpg', '/home/pi/Desktop/images/15042025/16/50/image_15042025_16_50_17_3602.jpg', '/home/pi/Desktop/images/15042025/16/50/image_15042025_16_50_22_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_53_3656.jpg
/home/pi/Desktop/images/15042025/16/48/image_15042025_16_48_58_2725.jpg
/home/pi/Desktop/images/15042025/16/49/image_15042025_16_49_35_3608.jpg
/home/pi/Desktop/images/15042025/16/49/image_15042025_16_49_40_2784.jpg
/home/pi/Desktop/images/15042025/16/50/image_15042025_16_50_17_3602.jpg
/home/pi/Desktop/images/15042025/16/50/image_15042025_16_50_22_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349930186","1349930147","1349930048","1349930234","1349930085","1349929928"],"photo_ids_order":["1349929928","1349930048","1349930085","1349930147","1349930186","1349930234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d96b736c566d77093394fdcf62ff30a.jpg","text":"TemporaryFile(/tmp/multipartBody8029159618926634177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729483406,"filename":"image_15042025_16_50_17_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c818a6b910845fbe270a93f5614e1052.jpg","text":"TemporaryFile(/tmp/multipartBody1470378903905868591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729483406,"filename":"image_15042025_16_49_40_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3395c7c467496d8823c809cf8d592739.jpg","text":"TemporaryFile(/tmp/multipartBody3554418002038691620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729483406,"filename":"image_15042025_16_48_58_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a45baced332047991f3994bb7c8703fa.jpg","text":"TemporaryFile(/tmp/multipartBody372224454412504398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729483406,"filename":"image_15042025_16_50_22_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23d437ea62d8cf328187dc53bcf63a77.jpg","text":"TemporaryFile(/tmp/multipartBody6321023105889246096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729483406,"filename":"image_15042025_16_49_35_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/504e08570b7ab969aecef8df90eadccc.jpg","text":"TemporaryFile(/tmp/multipartBody3689698362464324648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729483406,"filename":"image_15042025_16_48_53_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349930085","file1":"1349930048","file0":"1349929928","file4":"1349930186","file5":"1349930234","file3":"1349930147"},"map_files_photo_id_array":[{"photo_id":"1349930234","filename":"file5"},{"photo_id":"1349930085","filename":"file2"},{"photo_id":"1349930186","filename":"file4"},{"photo_id":"1349930048","filename":"file1"},{"photo_id":"1349929928","filename":"file0"},{"photo_id":"1349930147","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349930186":["hashtag1","hashtag2"]},{"1349930147":["hashtag1","hashtag2"]},{"1349930048":["hashtag1","hashtag2"]},{"1349930234":["hashtag1","hashtag2"]},{"1349930085":["hashtag1","hashtag2"]},{"1349929928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349930186, 1349930147, 1349930048, 1349930234, 1349930085, 1349929928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.69861316680908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:04:42.115871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/50/image_15042025_16_50_34_2652.jpg', '/home/pi/Desktop/images/15042025/16/50/image_15042025_16_50_43_2795.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_04_2693.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_11_3743.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_16_2563.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_19_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/50/image_15042025_16_50_34_2652.jpg
/home/pi/Desktop/images/15042025/16/50/image_15042025_16_50_43_2795.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_04_2693.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_11_3743.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_16_2563.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_19_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349930441","1349930405","1349930353","1349930347","1349930361","1349930373"],"photo_ids_order":["1349930347","1349930353","1349930361","1349930373","1349930405","1349930441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2cbd241af2ad64c833c5c027bd8ed40.jpg","text":"TemporaryFile(/tmp/multipartBody5039952468316049070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729542838,"filename":"image_15042025_16_51_19_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bd89744f3c1dd04b0eed893f68f087f.jpg","text":"TemporaryFile(/tmp/multipartBody7044290917181929390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729542838,"filename":"image_15042025_16_51_16_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87b4259c8d913b72dbf91275d30716a4.jpg","text":"TemporaryFile(/tmp/multipartBody8350034885697659475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729542838,"filename":"image_15042025_16_50_43_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3b8104b94128c7b2fee33d31996a98e.jpg","text":"TemporaryFile(/tmp/multipartBody1150259648884872491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729542838,"filename":"image_15042025_16_50_34_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a21a6b7d37f98188b9d230f11538bd2.jpg","text":"TemporaryFile(/tmp/multipartBody3425728855845898470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729542838,"filename":"image_15042025_16_51_04_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e17e18fe8fbd87fdbc386e6d001ea7c.jpg","text":"TemporaryFile(/tmp/multipartBody9178781479589283754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729542838,"filename":"image_15042025_16_51_11_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349930361","file1":"1349930353","file0":"1349930347","file4":"1349930405","file5":"1349930441","file3":"1349930373"},"map_files_photo_id_array":[{"photo_id":"1349930441","filename":"file5"},{"photo_id":"1349930361","filename":"file2"},{"photo_id":"1349930405","filename":"file4"},{"photo_id":"1349930353","filename":"file1"},{"photo_id":"1349930347","filename":"file0"},{"photo_id":"1349930373","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349930441":["hashtag1","hashtag2"]},{"1349930405":["hashtag1","hashtag2"]},{"1349930353":["hashtag1","hashtag2"]},{"1349930347":["hashtag1","hashtag2"]},{"1349930361":["hashtag1","hashtag2"]},{"1349930373":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349930441, 1349930405, 1349930353, 1349930347, 1349930361, 1349930373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0927255153656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:05:22.795605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_22_2776.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_26_3573.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_29_2780.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_31_2681.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_40_2769.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_47_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_22_2776.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_26_3573.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_29_2780.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_31_2681.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_40_2769.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_47_3739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349930672","1349930528","1349930558","1349930590","1349930626","1349930520"],"photo_ids_order":["1349930520","1349930528","1349930558","1349930590","1349930626","1349930672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c7c613951a8c9951058c39424f21b99.jpg","text":"TemporaryFile(/tmp/multipartBody4815756270107088747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729583511,"filename":"image_15042025_16_51_47_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d56dad2212504b8efbf9ca533935a3fb.jpg","text":"TemporaryFile(/tmp/multipartBody8886802815217571098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729583511,"filename":"image_15042025_16_51_26_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4e6325c52cf3a48d82309b26ebcf6d7.jpg","text":"TemporaryFile(/tmp/multipartBody1846840697369720897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729583511,"filename":"image_15042025_16_51_29_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1561359502b4e7ab2d90f6e0a1c92a56.jpg","text":"TemporaryFile(/tmp/multipartBody2484880123808600220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729583511,"filename":"image_15042025_16_51_31_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1fd5e81fced7b145c74e8f8cd25514b6.jpg","text":"TemporaryFile(/tmp/multipartBody8386615620198041244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729583511,"filename":"image_15042025_16_51_40_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b0b4904e822faf0e3854a9dac3880f3.jpg","text":"TemporaryFile(/tmp/multipartBody185553779972954280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729583511,"filename":"image_15042025_16_51_22_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349930558","file1":"1349930528","file0":"1349930520","file4":"1349930626","file5":"1349930672","file3":"1349930590"},"map_files_photo_id_array":[{"photo_id":"1349930672","filename":"file5"},{"photo_id":"1349930558","filename":"file2"},{"photo_id":"1349930626","filename":"file4"},{"photo_id":"1349930528","filename":"file1"},{"photo_id":"1349930520","filename":"file0"},{"photo_id":"1349930590","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349930672":["hashtag1","hashtag2"]},{"1349930528":["hashtag1","hashtag2"]},{"1349930558":["hashtag1","hashtag2"]},{"1349930590":["hashtag1","hashtag2"]},{"1349930626":["hashtag1","hashtag2"]},{"1349930520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349930672, 1349930528, 1349930558, 1349930590, 1349930626, 1349930520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99074602127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:06:02.566012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_55_2776.jpg', '/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_59_3714.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_01_2714.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_13_2593.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_17_3615.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_19_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_55_2776.jpg
/home/pi/Desktop/images/15042025/16/51/image_15042025_16_51_59_3714.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_01_2714.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_13_2593.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_17_3615.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_19_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931032","1349930966","1349930998","1349931061","1349930902","1349931090"],"photo_ids_order":["1349930902","1349930966","1349930998","1349931032","1349931061","1349931090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24632b84c0d8c8f83cbc63fc060e2f73.jpg","text":"TemporaryFile(/tmp/multipartBody876330887531757565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729625945,"filename":"image_15042025_16_52_13_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/557c310cd6fee36bc66dcde203c18377.jpg","text":"TemporaryFile(/tmp/multipartBody6169516737608441111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729625945,"filename":"image_15042025_16_51_59_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6fea6e03da51a2d1543ad744d507a72.jpg","text":"TemporaryFile(/tmp/multipartBody496411862945375840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729625945,"filename":"image_15042025_16_52_01_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dea61930a15f652b4f295246d3a48391.jpg","text":"TemporaryFile(/tmp/multipartBody3794669141233133806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729625945,"filename":"image_15042025_16_52_17_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3ac5eb64b1ba155596efef7b22fdf68.jpg","text":"TemporaryFile(/tmp/multipartBody8203850971470705418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729625945,"filename":"image_15042025_16_51_55_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cc2b1e284f61687abe7e6eb93f24304.jpg","text":"TemporaryFile(/tmp/multipartBody7889416825983640380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729625945,"filename":"image_15042025_16_52_19_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349930998","file1":"1349930966","file0":"1349930902","file4":"1349931061","file5":"1349931090","file3":"1349931032"},"map_files_photo_id_array":[{"photo_id":"1349931090","filename":"file5"},{"photo_id":"1349930998","filename":"file2"},{"photo_id":"1349931061","filename":"file4"},{"photo_id":"1349930966","filename":"file1"},{"photo_id":"1349930902","filename":"file0"},{"photo_id":"1349931032","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349931032":["hashtag1","hashtag2"]},{"1349930966":["hashtag1","hashtag2"]},{"1349930998":["hashtag1","hashtag2"]},{"1349931061":["hashtag1","hashtag2"]},{"1349930902":["hashtag1","hashtag2"]},{"1349931090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349931032, 1349930966, 1349930998, 1349931061, 1349930902, 1349931090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.370967388153076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:07:02.776820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_25_3588.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_31_2691.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_34_3595.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_37_2612.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_40_2696.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_43_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_25_3588.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_31_2691.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_34_3595.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_37_2612.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_40_2696.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_43_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931227","1349931253","1349931337","1349931282","1349931300","1349931332"],"photo_ids_order":["1349931227","1349931253","1349931282","1349931300","1349931332","1349931337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3eb42225674baa86c6bff18cc1027a21.jpg","text":"TemporaryFile(/tmp/multipartBody1425241880758709649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729683640,"filename":"image_15042025_16_52_25_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bbc399f0241d5d02f277b2c5a8594ca.jpg","text":"TemporaryFile(/tmp/multipartBody7071998670693855434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729683640,"filename":"image_15042025_16_52_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/928650cbc0d8324ba981fb0dc69874cb.jpg","text":"TemporaryFile(/tmp/multipartBody7072348290766047623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729683640,"filename":"image_15042025_16_52_43_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb2314b51b2e7ab2e6710b6d58efc7ac.jpg","text":"TemporaryFile(/tmp/multipartBody8001591037855916113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729683640,"filename":"image_15042025_16_52_34_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4666efbc6a7991043efad004ce60de39.jpg","text":"TemporaryFile(/tmp/multipartBody6336724396233150988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729683640,"filename":"image_15042025_16_52_37_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02daec7952d01be3bf87e9d56eda3aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2093766292377392396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729683640,"filename":"image_15042025_16_52_40_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349931282","file1":"1349931253","file0":"1349931227","file4":"1349931332","file5":"1349931337","file3":"1349931300"},"map_files_photo_id_array":[{"photo_id":"1349931337","filename":"file5"},{"photo_id":"1349931282","filename":"file2"},{"photo_id":"1349931332","filename":"file4"},{"photo_id":"1349931253","filename":"file1"},{"photo_id":"1349931227","filename":"file0"},{"photo_id":"1349931300","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349931227":["hashtag1","hashtag2"]},{"1349931253":["hashtag1","hashtag2"]},{"1349931337":["hashtag1","hashtag2"]},{"1349931282":["hashtag1","hashtag2"]},{"1349931300":["hashtag1","hashtag2"]},{"1349931332":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349931227, 1349931253, 1349931337, 1349931282, 1349931300, 1349931332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4105167388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:07:42.100448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_58_2755.jpg', '/home/pi/Desktop/images/15042025/16/52/image_15042025_16_53_01_3565.jpg', '/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_07_2792.jpg', '/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_11_3712.jpg', '/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_13_2764.jpg', '/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_16_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_52_58_2755.jpg
/home/pi/Desktop/images/15042025/16/52/image_15042025_16_53_01_3565.jpg
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_07_2792.jpg
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_11_3712.jpg
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_13_2764.jpg
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_16_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931382","1349931358","1349931418","1349931351","1349931411","1349931362"],"photo_ids_order":["1349931351","1349931358","1349931362","1349931382","1349931411","1349931418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/379923eb4c6116cb78fbb8cb3ce100df.jpg","text":"TemporaryFile(/tmp/multipartBody4473194494434896421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729722854,"filename":"image_15042025_16_53_11_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25303406aa42996b98dfa923745633ea.jpg","text":"TemporaryFile(/tmp/multipartBody5391071522392282453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729722854,"filename":"image_15042025_16_53_01_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf8dced5e57175c1d9b3aa33ad9a43d1.jpg","text":"TemporaryFile(/tmp/multipartBody1178790110702809663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729722854,"filename":"image_15042025_16_53_16_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a10db661ed41309b2e69496b64b49d1.jpg","text":"TemporaryFile(/tmp/multipartBody2755304275191372492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729722854,"filename":"image_15042025_16_52_58_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f97932c2d1e9c55813b8cbd66d7b7c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6629765620201885942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729722854,"filename":"image_15042025_16_53_13_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a12c8c4e984b92a2fa4dd9170ebd7898.jpg","text":"TemporaryFile(/tmp/multipartBody4113757842697256822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729722854,"filename":"image_15042025_16_53_07_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349931362","file1":"1349931358","file0":"1349931351","file4":"1349931411","file5":"1349931418","file3":"1349931382"},"map_files_photo_id_array":[{"photo_id":"1349931418","filename":"file5"},{"photo_id":"1349931362","filename":"file2"},{"photo_id":"1349931411","filename":"file4"},{"photo_id":"1349931358","filename":"file1"},{"photo_id":"1349931351","filename":"file0"},{"photo_id":"1349931382","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349931382":["hashtag1","hashtag2"]},{"1349931358":["hashtag1","hashtag2"]},{"1349931418":["hashtag1","hashtag2"]},{"1349931351":["hashtag1","hashtag2"]},{"1349931411":["hashtag1","hashtag2"]},{"1349931362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349931382, 1349931358, 1349931418, 1349931351, 1349931411, 1349931362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.758403062820435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:08:42.444731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_28_2724.jpg', '/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_31_2755.jpg', '/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_37_2644.jpg', '/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_49_2684.jpg', '/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_55_3689.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_01_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_28_2724.jpg
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_31_2755.jpg
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_37_2644.jpg
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_49_2684.jpg
/home/pi/Desktop/images/15042025/16/53/image_15042025_16_53_55_3689.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_01_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931443","1349931493","1349931471","1349931450","1349931497","1349931485"],"photo_ids_order":["1349931443","1349931450","1349931471","1349931485","1349931493","1349931497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9231fefcd487eaacd5170a03b2f4e956.jpg","text":"TemporaryFile(/tmp/multipartBody161939735213553035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729783120,"filename":"image_15042025_16_53_28_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d5c18060f0a17040731712eb6771f66.jpg","text":"TemporaryFile(/tmp/multipartBody8224860478009076822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729783120,"filename":"image_15042025_16_53_55_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07f54e9a9d7e3ee65568f2c34efd153a.jpg","text":"TemporaryFile(/tmp/multipartBody3179917141783300227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729783120,"filename":"image_15042025_16_53_37_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fd0e814716db4abe577fe6b088ee37f.jpg","text":"TemporaryFile(/tmp/multipartBody9182950338102190172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729783120,"filename":"image_15042025_16_53_31_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cc0d8a389f2d35c0165d0b7eb83f99e.jpg","text":"TemporaryFile(/tmp/multipartBody6808391001475996834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729783120,"filename":"image_15042025_16_54_01_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9f1817f2f48466beea46d0948d28dbd.jpg","text":"TemporaryFile(/tmp/multipartBody6828908334975920894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729783120,"filename":"image_15042025_16_53_49_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349931471","file1":"1349931450","file0":"1349931443","file4":"1349931493","file5":"1349931497","file3":"1349931485"},"map_files_photo_id_array":[{"photo_id":"1349931497","filename":"file5"},{"photo_id":"1349931471","filename":"file2"},{"photo_id":"1349931493","filename":"file4"},{"photo_id":"1349931450","filename":"file1"},{"photo_id":"1349931443","filename":"file0"},{"photo_id":"1349931485","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349931443":["hashtag1","hashtag2"]},{"1349931493":["hashtag1","hashtag2"]},{"1349931471":["hashtag1","hashtag2"]},{"1349931450":["hashtag1","hashtag2"]},{"1349931497":["hashtag1","hashtag2"]},{"1349931485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349931443, 1349931493, 1349931471, 1349931450, 1349931497, 1349931485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68174648284912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:09:22.633232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_04_3617.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_07_2512.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_13_2878.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_16_2716.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_19_2677.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_22_2888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_04_3617.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_07_2512.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_13_2878.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_16_2716.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_19_2677.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_22_2888.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931592","1349931565","1349931607","1349931601","1349931588","1349931626"],"photo_ids_order":["1349931565","1349931588","1349931592","1349931601","1349931607","1349931626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c9df1b54036de77ae95b10c75426843.jpg","text":"TemporaryFile(/tmp/multipartBody7212489504070086250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729823345,"filename":"image_15042025_16_54_13_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba1ffbc5f89638937a65a695d99d08ec.jpg","text":"TemporaryFile(/tmp/multipartBody7828479726297100038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729823345,"filename":"image_15042025_16_54_04_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f7136db2589f155aa3539bd10e14e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4106599044156619173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729823345,"filename":"image_15042025_16_54_19_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2fd8bdbb267878c44b35d7280ec82bb.jpg","text":"TemporaryFile(/tmp/multipartBody165070028159576673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729823345,"filename":"image_15042025_16_54_16_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2f689bb226f2dc47cc1f4991a66fd92.jpg","text":"TemporaryFile(/tmp/multipartBody4488749979844080758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729823345,"filename":"image_15042025_16_54_07_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27a8b5e61b044b04c758bd1371576fef.jpg","text":"TemporaryFile(/tmp/multipartBody3582795305698332409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729823345,"filename":"image_15042025_16_54_22_2888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349931592","file1":"1349931588","file0":"1349931565","file4":"1349931607","file5":"1349931626","file3":"1349931601"},"map_files_photo_id_array":[{"photo_id":"1349931626","filename":"file5"},{"photo_id":"1349931592","filename":"file2"},{"photo_id":"1349931607","filename":"file4"},{"photo_id":"1349931588","filename":"file1"},{"photo_id":"1349931565","filename":"file0"},{"photo_id":"1349931601","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349931592":["hashtag1","hashtag2"]},{"1349931565":["hashtag1","hashtag2"]},{"1349931607":["hashtag1","hashtag2"]},{"1349931601":["hashtag1","hashtag2"]},{"1349931588":["hashtag1","hashtag2"]},{"1349931626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349931592, 1349931565, 1349931607, 1349931601, 1349931588, 1349931626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59699630737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:10:02.685057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_34_1798.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_40_2946.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_46_3667.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_49_2573.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_52_3597.jpg', '/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_55_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_34_1798.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_40_2946.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_46_3667.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_49_2573.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_52_3597.jpg
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_55_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931691","1349931700","1349931687","1349931669","1349931695","1349931680"],"photo_ids_order":["1349931669","1349931680","1349931687","1349931691","1349931695","1349931700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/638d0b97d696752d6fd6746d9eccd15d.jpg","text":"TemporaryFile(/tmp/multipartBody3718945552262967268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729863447,"filename":"image_15042025_16_54_49_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5a9a11e162f957ecb2412e4e9d31163.jpg","text":"TemporaryFile(/tmp/multipartBody305731713327861251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729863447,"filename":"image_15042025_16_54_55_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75c7d9bf2c874476f0082009ac3bf943.jpg","text":"TemporaryFile(/tmp/multipartBody4209077733314792663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729863447,"filename":"image_15042025_16_54_46_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa5f4580ec872942abafccac3db01414.jpg","text":"TemporaryFile(/tmp/multipartBody2842765865371175333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729863447,"filename":"image_15042025_16_54_34_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80e322d8be38255354bfe4ce330882d8.jpg","text":"TemporaryFile(/tmp/multipartBody7092731548187536798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729863447,"filename":"image_15042025_16_54_52_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b318bba9d6353e105f62743885d487c.jpg","text":"TemporaryFile(/tmp/multipartBody8251646522856601101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729863447,"filename":"image_15042025_16_54_40_2946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349931687","file1":"1349931680","file0":"1349931669","file4":"1349931695","file5":"1349931700","file3":"1349931691"},"map_files_photo_id_array":[{"photo_id":"1349931700","filename":"file5"},{"photo_id":"1349931687","filename":"file2"},{"photo_id":"1349931695","filename":"file4"},{"photo_id":"1349931680","filename":"file1"},{"photo_id":"1349931669","filename":"file0"},{"photo_id":"1349931691","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349931691":["hashtag1","hashtag2"]},{"1349931700":["hashtag1","hashtag2"]},{"1349931687":["hashtag1","hashtag2"]},{"1349931669":["hashtag1","hashtag2"]},{"1349931695":["hashtag1","hashtag2"]},{"1349931680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349931691, 1349931700, 1349931687, 1349931669, 1349931695, 1349931680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60085868835449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:10:42.136412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_58_2807.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_06_3011.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_10_3053.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_13_3625.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_16_2823.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_22_3854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/54/image_15042025_16_54_58_2807.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_06_3011.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_10_3053.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_13_3625.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_16_2823.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_22_3854.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349931751","1349931741","1349931717","1349931711","1349931755","1349931725"],"photo_ids_order":["1349931711","1349931717","1349931725","1349931741","1349931751","1349931755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d44d8cf188fd0342711019b6a971bccd.jpg","text":"TemporaryFile(/tmp/multipartBody4834566450948627389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729902810,"filename":"image_15042025_16_55_16_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20195c10c19fdbdf0cba46c46b0135a1.jpg","text":"TemporaryFile(/tmp/multipartBody5961283695634325634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729902810,"filename":"image_15042025_16_55_13_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/890ebde1f26a47680921bee0e93d7f31.jpg","text":"TemporaryFile(/tmp/multipartBody5922467783638433440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729902810,"filename":"image_15042025_16_55_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acc082fd4b31538a8e4e1baff71a5193.jpg","text":"TemporaryFile(/tmp/multipartBody9097245723353227584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729902810,"filename":"image_15042025_16_54_58_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/262424aa301693427d81f279bb5c4372.jpg","text":"TemporaryFile(/tmp/multipartBody3635827648709682997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729902810,"filename":"image_15042025_16_55_22_3854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b04b614fd16b59a38141c2d33578f97.jpg","text":"TemporaryFile(/tmp/multipartBody1854681400786981923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729902810,"filename":"image_15042025_16_55_10_3053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349931725","file1":"1349931717","file0":"1349931711","file4":"1349931751","file5":"1349931755","file3":"1349931741"},"map_files_photo_id_array":[{"photo_id":"1349931755","filename":"file5"},{"photo_id":"1349931725","filename":"file2"},{"photo_id":"1349931751","filename":"file4"},{"photo_id":"1349931717","filename":"file1"},{"photo_id":"1349931711","filename":"file0"},{"photo_id":"1349931741","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349931751":["hashtag1","hashtag2"]},{"1349931741":["hashtag1","hashtag2"]},{"1349931717":["hashtag1","hashtag2"]},{"1349931711":["hashtag1","hashtag2"]},{"1349931755":["hashtag1","hashtag2"]},{"1349931725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349931751, 1349931741, 1349931717, 1349931711, 1349931755, 1349931725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70420217514038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:11:22.367751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_28_2629.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_31_3721.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_34_2577.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_37_2798.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_40_3544.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_43_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_28_2629.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_31_3721.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_34_2577.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_37_2798.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_40_3544.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_43_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349932048","1349931945","1349931846","1349931794","1349932001","1349931902"],"photo_ids_order":["1349931794","1349931846","1349931902","1349931945","1349932001","1349932048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d67e0aca6094eb5ae99bdd9e30976318.jpg","text":"TemporaryFile(/tmp/multipartBody2406884468620362549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729943039,"filename":"image_15042025_16_55_43_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f13ded9bb16095bb5296beb09ef1c8f3.jpg","text":"TemporaryFile(/tmp/multipartBody6778006728429686440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729943039,"filename":"image_15042025_16_55_37_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a05e215276d9086ee74296a79d43b881.jpg","text":"TemporaryFile(/tmp/multipartBody8734252854831968201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729943039,"filename":"image_15042025_16_55_31_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9e22552c5c40955717db2019ae09c68.jpg","text":"TemporaryFile(/tmp/multipartBody7485701913219419173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729943039,"filename":"image_15042025_16_55_28_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f6bcb5d7a7806c0dff5e20544c32326.jpg","text":"TemporaryFile(/tmp/multipartBody6127887643201433099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729943039,"filename":"image_15042025_16_55_40_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ce35d9e8251531abd96700d9e722d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2820733319124714643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729943039,"filename":"image_15042025_16_55_34_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349931902","file1":"1349931846","file0":"1349931794","file4":"1349932001","file5":"1349932048","file3":"1349931945"},"map_files_photo_id_array":[{"photo_id":"1349932048","filename":"file5"},{"photo_id":"1349931902","filename":"file2"},{"photo_id":"1349932001","filename":"file4"},{"photo_id":"1349931846","filename":"file1"},{"photo_id":"1349931794","filename":"file0"},{"photo_id":"1349931945","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349932048":["hashtag1","hashtag2"]},{"1349931945":["hashtag1","hashtag2"]},{"1349931846":["hashtag1","hashtag2"]},{"1349931794":["hashtag1","hashtag2"]},{"1349932001":["hashtag1","hashtag2"]},{"1349931902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349932048, 1349931945, 1349931846, 1349931794, 1349932001, 1349931902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28064751625061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:12:03.282982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_46_2687.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_49_3607.jpg', '/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_54_2634.jpg', '/home/pi/Desktop/images/15042025/16/56/image_15042025_16_56_52_3732.jpg', '/home/pi/Desktop/images/15042025/16/57/image_15042025_16_57_04_2683.jpg', '/home/pi/Desktop/images/15042025/16/57/image_15042025_16_57_06_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_46_2687.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_49_3607.jpg
/home/pi/Desktop/images/15042025/16/55/image_15042025_16_55_54_2634.jpg
/home/pi/Desktop/images/15042025/16/56/image_15042025_16_56_52_3732.jpg
/home/pi/Desktop/images/15042025/16/57/image_15042025_16_57_04_2683.jpg
/home/pi/Desktop/images/15042025/16/57/image_15042025_16_57_06_2592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349932279","1349932318","1349932359","1349932418","1349932175","1349932217"],"photo_ids_order":["1349932175","1349932217","1349932279","1349932318","1349932359","1349932418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8ef99b9be623df20a38c9547a1445a9.jpg","text":"TemporaryFile(/tmp/multipartBody8732368287780900589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729984060,"filename":"image_15042025_16_55_54_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f8996ac7a185e589360de64f415d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody5364810690689408884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729984060,"filename":"image_15042025_16_56_52_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15a6e372c500972ce5d7304e66edf04c.jpg","text":"TemporaryFile(/tmp/multipartBody5450391201359466056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729984060,"filename":"image_15042025_16_57_04_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14db4ba6f259acc8e15f573d7f4443b1.jpg","text":"TemporaryFile(/tmp/multipartBody972324264291030766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729984060,"filename":"image_15042025_16_57_06_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19aeb7623dae7a09aeb0a0849e578d36.jpg","text":"TemporaryFile(/tmp/multipartBody6634383099351205023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729984060,"filename":"image_15042025_16_55_46_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a13a4b26034b8ce60b3dbc010e749ee.jpg","text":"TemporaryFile(/tmp/multipartBody5682630438428518421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744729984060,"filename":"image_15042025_16_55_49_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349932279","file1":"1349932217","file0":"1349932175","file4":"1349932359","file5":"1349932418","file3":"1349932318"},"map_files_photo_id_array":[{"photo_id":"1349932418","filename":"file5"},{"photo_id":"1349932279","filename":"file2"},{"photo_id":"1349932359","filename":"file4"},{"photo_id":"1349932217","filename":"file1"},{"photo_id":"1349932175","filename":"file0"},{"photo_id":"1349932318","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349932279":["hashtag1","hashtag2"]},{"1349932318":["hashtag1","hashtag2"]},{"1349932359":["hashtag1","hashtag2"]},{"1349932418":["hashtag1","hashtag2"]},{"1349932175":["hashtag1","hashtag2"]},{"1349932217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349932279, 1349932318, 1349932359, 1349932418, 1349932175, 1349932217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95395278930664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:12:42.647521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/16/57/image_15042025_16_57_19_3723.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_17_2946.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_20_3765.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_32_2599.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_35_3006.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_38_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/16/57/image_15042025_16_57_19_3723.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_17_2946.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_20_3765.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_32_2599.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_35_3006.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_38_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349932930","1349932866","1349932755","1349932557","1349932809","1349932637"],"photo_ids_order":["1349932557","1349932637","1349932755","1349932809","1349932866","1349932930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/883105996ae8e73d6e1de9fc475aa6b3.jpg","text":"TemporaryFile(/tmp/multipartBody8971907024916195283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730023311,"filename":"image_15042025_17_00_38_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d4033d611d3541fcf3369efad8a1597.jpg","text":"TemporaryFile(/tmp/multipartBody7680381395297215566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730023311,"filename":"image_15042025_17_00_35_3006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8344c4cbf8b25f7b89db1fa595cc3b70.jpg","text":"TemporaryFile(/tmp/multipartBody5488371965712759206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730023311,"filename":"image_15042025_17_00_20_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d91a9e259d3e2abc9b392d6991aab79.jpg","text":"TemporaryFile(/tmp/multipartBody9145179830697965607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730023311,"filename":"image_15042025_16_57_19_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a10edf86d51780c1228a5c34675b7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2633479663306675030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730023311,"filename":"image_15042025_17_00_32_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06e9f12a3e1c690fb2426ad2e9b41904.jpg","text":"TemporaryFile(/tmp/multipartBody4292253538273823921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730023311,"filename":"image_15042025_17_00_17_2946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349932755","file1":"1349932637","file0":"1349932557","file4":"1349932866","file5":"1349932930","file3":"1349932809"},"map_files_photo_id_array":[{"photo_id":"1349932930","filename":"file5"},{"photo_id":"1349932755","filename":"file2"},{"photo_id":"1349932866","filename":"file4"},{"photo_id":"1349932637","filename":"file1"},{"photo_id":"1349932557","filename":"file0"},{"photo_id":"1349932809","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349932930":["hashtag1","hashtag2"]},{"1349932866":["hashtag1","hashtag2"]},{"1349932755":["hashtag1","hashtag2"]},{"1349932557":["hashtag1","hashtag2"]},{"1349932809":["hashtag1","hashtag2"]},{"1349932637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349932930, 1349932866, 1349932755, 1349932557, 1349932809, 1349932637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11724352836609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:13:22.216279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_41_3779.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_44_2751.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_47_2626.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_50_3672.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_53_2616.jpg', '/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_56_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_41_3779.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_44_2751.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_47_2626.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_50_3672.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_53_2616.jpg
/home/pi/Desktop/images/15042025/17/00/image_15042025_17_00_56_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349933421","1349933390","1349933264","1349933144","1349933207","1349933329"],"photo_ids_order":["1349933144","1349933207","1349933264","1349933329","1349933390","1349933421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c5223eb1afe39272a13cd7074f16bb1.jpg","text":"TemporaryFile(/tmp/multipartBody7399573226295994478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730062879,"filename":"image_15042025_17_00_56_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db0e0edac0e321117a02e5cd3ff2fbe8.jpg","text":"TemporaryFile(/tmp/multipartBody7121158888370912863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730062879,"filename":"image_15042025_17_00_53_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/855cb28e9161853183162edf6ad90c85.jpg","text":"TemporaryFile(/tmp/multipartBody8725162170331280830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730062879,"filename":"image_15042025_17_00_47_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e780c1bdcce9a46a6d44f4a71d0896f.jpg","text":"TemporaryFile(/tmp/multipartBody987320106746723941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730062879,"filename":"image_15042025_17_00_41_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/255d3454c427561c34436f76a11ff790.jpg","text":"TemporaryFile(/tmp/multipartBody3393578305396075845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730062879,"filename":"image_15042025_17_00_44_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acdc001f4c5d2d6a898d205906c63435.jpg","text":"TemporaryFile(/tmp/multipartBody4520671823602660503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730062879,"filename":"image_15042025_17_00_50_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349933264","file1":"1349933207","file0":"1349933144","file4":"1349933390","file5":"1349933421","file3":"1349933329"},"map_files_photo_id_array":[{"photo_id":"1349933421","filename":"file5"},{"photo_id":"1349933264","filename":"file2"},{"photo_id":"1349933390","filename":"file4"},{"photo_id":"1349933207","filename":"file1"},{"photo_id":"1349933144","filename":"file0"},{"photo_id":"1349933329","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349933421":["hashtag1","hashtag2"]},{"1349933390":["hashtag1","hashtag2"]},{"1349933264":["hashtag1","hashtag2"]},{"1349933144":["hashtag1","hashtag2"]},{"1349933207":["hashtag1","hashtag2"]},{"1349933329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349933421, 1349933390, 1349933264, 1349933144, 1349933207, 1349933329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.298253774642944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:14:02.497359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_14_3696.jpg', '/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_29_3603.jpg', '/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_32_2512.jpg', '/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_35_2779.jpg', '/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_49_2692.jpg', '/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_56_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_14_3696.jpg
/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_29_3603.jpg
/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_32_2512.jpg
/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_35_2779.jpg
/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_49_2692.jpg
/home/pi/Desktop/images/15042025/17/01/image_15042025_17_01_56_2826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349933886","1349933850","1349933745","1349933676","1349933645","1349933810"],"photo_ids_order":["1349933645","1349933676","1349933745","1349933810","1349933850","1349933886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d7d53ac299b57821571b477d02996ee.jpg","text":"TemporaryFile(/tmp/multipartBody3861088910899710581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730105757,"filename":"image_15042025_17_01_56_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3eafb2d2ea215f3ef22ff79babac588e.jpg","text":"TemporaryFile(/tmp/multipartBody5560717682757222381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730105757,"filename":"image_15042025_17_01_49_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c321c0ed9d34f10bf7cb287659624cb2.jpg","text":"TemporaryFile(/tmp/multipartBody8478192614313227738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730105757,"filename":"image_15042025_17_01_32_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/936b3f93db1c0bca38952d4fd1a56484.jpg","text":"TemporaryFile(/tmp/multipartBody7286754789547018390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730105757,"filename":"image_15042025_17_01_29_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3f8be46f74534e510a61a8989277b68.jpg","text":"TemporaryFile(/tmp/multipartBody1820603742874642682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730105757,"filename":"image_15042025_17_01_14_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9faea844c28adb304c273df6271689a.jpg","text":"TemporaryFile(/tmp/multipartBody7257039827958204182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730105757,"filename":"image_15042025_17_01_35_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349933745","file1":"1349933676","file0":"1349933645","file4":"1349933850","file5":"1349933886","file3":"1349933810"},"map_files_photo_id_array":[{"photo_id":"1349933886","filename":"file5"},{"photo_id":"1349933745","filename":"file2"},{"photo_id":"1349933850","filename":"file4"},{"photo_id":"1349933676","filename":"file1"},{"photo_id":"1349933645","filename":"file0"},{"photo_id":"1349933810","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349933886":["hashtag1","hashtag2"]},{"1349933850":["hashtag1","hashtag2"]},{"1349933745":["hashtag1","hashtag2"]},{"1349933676":["hashtag1","hashtag2"]},{"1349933645":["hashtag1","hashtag2"]},{"1349933810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349933886, 1349933850, 1349933745, 1349933676, 1349933645, 1349933810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68187952041626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:14:41.967985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_02_3727.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_08_2991.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_11_3542.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_14_2631.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_17_2683.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_20_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_02_3727.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_08_2991.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_11_3542.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_14_2631.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_17_2683.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_20_3636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6496541500091553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:15:02.911314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_02_3727.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_08_2991.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_11_3542.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_14_2631.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_17_2683.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_20_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_02_3727.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_08_2991.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_11_3542.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_14_2631.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_17_2683.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_20_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349934261","1349934255","1349934300","1349934269","1349934274","1349934265"],"photo_ids_order":["1349934255","1349934261","1349934265","1349934269","1349934274","1349934300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/247330ac3de389a148feb6b4a83340b0.jpg","text":"TemporaryFile(/tmp/multipartBody1396770671852420139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730163754,"filename":"image_15042025_17_02_08_2991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6629e4349118bd86196b389dc460884c.jpg","text":"TemporaryFile(/tmp/multipartBody3965556822550259898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730163754,"filename":"image_15042025_17_02_02_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ef290b6d92434de8ecb5038e5e52076.jpg","text":"TemporaryFile(/tmp/multipartBody6708833929312453782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730163754,"filename":"image_15042025_17_02_20_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f68da0b07a367cd867aed3daf6b3eb3f.jpg","text":"TemporaryFile(/tmp/multipartBody2654536493583112766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730163754,"filename":"image_15042025_17_02_14_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d55c576219579ec2a05d475c6e31fc4e.jpg","text":"TemporaryFile(/tmp/multipartBody989475721495204741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730163754,"filename":"image_15042025_17_02_17_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45cc093c138769e772e91f2d595e656f.jpg","text":"TemporaryFile(/tmp/multipartBody7939168546887218978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730163754,"filename":"image_15042025_17_02_11_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349934265","file1":"1349934261","file0":"1349934255","file4":"1349934274","file5":"1349934300","file3":"1349934269"},"map_files_photo_id_array":[{"photo_id":"1349934300","filename":"file5"},{"photo_id":"1349934265","filename":"file2"},{"photo_id":"1349934274","filename":"file4"},{"photo_id":"1349934261","filename":"file1"},{"photo_id":"1349934255","filename":"file0"},{"photo_id":"1349934269","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349934261":["hashtag1","hashtag2"]},{"1349934255":["hashtag1","hashtag2"]},{"1349934300":["hashtag1","hashtag2"]},{"1349934269":["hashtag1","hashtag2"]},{"1349934274":["hashtag1","hashtag2"]},{"1349934265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349934261, 1349934255, 1349934300, 1349934269, 1349934274, 1349934265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27254128456116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:15:42.079143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_23_2573.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_26_2788.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_28_2765.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_32_3675.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_37_2620.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_44_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_23_2573.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_26_2788.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_28_2765.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_32_3675.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_37_2620.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_44_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349934480","1349934615","1349934473","1349934751","1349934498","1349934486"],"photo_ids_order":["1349934473","1349934480","1349934486","1349934498","1349934615","1349934751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3a3daf4bd0d75cb4ffe1fee5cea26f2.jpg","text":"TemporaryFile(/tmp/multipartBody2311586168509765744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730202759,"filename":"image_15042025_17_02_26_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95ebe4afc2cc3d6fd9754521bd75eaba.jpg","text":"TemporaryFile(/tmp/multipartBody3742549968745730299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730202759,"filename":"image_15042025_17_02_37_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccd762cdc2f19d945e6d169928bdbd0b.jpg","text":"TemporaryFile(/tmp/multipartBody5206233916966264877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730202759,"filename":"image_15042025_17_02_23_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d407552990a7bf06e029541c28bb2244.jpg","text":"TemporaryFile(/tmp/multipartBody1374808274434426251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730202759,"filename":"image_15042025_17_02_44_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2667d95f2b4544a0a523fa90839932b.jpg","text":"TemporaryFile(/tmp/multipartBody6155480009747717777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730202759,"filename":"image_15042025_17_02_32_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32ed6698e881ea8c625321c4223ad289.jpg","text":"TemporaryFile(/tmp/multipartBody5253410536558146710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730202759,"filename":"image_15042025_17_02_28_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349934486","file1":"1349934480","file0":"1349934473","file4":"1349934615","file5":"1349934751","file3":"1349934498"},"map_files_photo_id_array":[{"photo_id":"1349934751","filename":"file5"},{"photo_id":"1349934486","filename":"file2"},{"photo_id":"1349934615","filename":"file4"},{"photo_id":"1349934480","filename":"file1"},{"photo_id":"1349934473","filename":"file0"},{"photo_id":"1349934498","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349934480":["hashtag1","hashtag2"]},{"1349934615":["hashtag1","hashtag2"]},{"1349934473":["hashtag1","hashtag2"]},{"1349934751":["hashtag1","hashtag2"]},{"1349934498":["hashtag1","hashtag2"]},{"1349934486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349934480, 1349934615, 1349934473, 1349934751, 1349934498, 1349934486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65910029411316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:16:22.313029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_50_2657.jpg', '/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_59_2756.jpg', '/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_05_3570.jpg', '/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_08_2678.jpg', '/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_10_2678.jpg', '/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_17_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_50_2657.jpg
/home/pi/Desktop/images/15042025/17/02/image_15042025_17_02_59_2756.jpg
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_05_3570.jpg
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_08_2678.jpg
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_10_2678.jpg
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_17_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349935005","1349934914","1349935063","1349935033","1349934972","1349934897"],"photo_ids_order":["1349934897","1349934914","1349934972","1349935005","1349935033","1349935063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8bc95141a7389304bdefa08bc31a958.jpg","text":"TemporaryFile(/tmp/multipartBody7339632610965684201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730242994,"filename":"image_15042025_17_03_08_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed6fb269489acb958c067e584c290e95.jpg","text":"TemporaryFile(/tmp/multipartBody7462537285053566649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730242994,"filename":"image_15042025_17_02_59_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86bcb8f282d33d5146d5510fec41bf94.jpg","text":"TemporaryFile(/tmp/multipartBody8826597448789144615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730242994,"filename":"image_15042025_17_03_17_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d0add95ebf20de4169c8402bfa2e4bd.jpg","text":"TemporaryFile(/tmp/multipartBody5257235433060492727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730242994,"filename":"image_15042025_17_03_10_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ff5509c2311bcd650c8169ba62aec28.jpg","text":"TemporaryFile(/tmp/multipartBody5587098054643136255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730242994,"filename":"image_15042025_17_03_05_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25f5874c32b7b4dc1727cc2cea592c22.jpg","text":"TemporaryFile(/tmp/multipartBody1820297380109384573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730242994,"filename":"image_15042025_17_02_50_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349934972","file1":"1349934914","file0":"1349934897","file4":"1349935033","file5":"1349935063","file3":"1349935005"},"map_files_photo_id_array":[{"photo_id":"1349935063","filename":"file5"},{"photo_id":"1349934972","filename":"file2"},{"photo_id":"1349935033","filename":"file4"},{"photo_id":"1349934914","filename":"file1"},{"photo_id":"1349934897","filename":"file0"},{"photo_id":"1349935005","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349935005":["hashtag1","hashtag2"]},{"1349934914":["hashtag1","hashtag2"]},{"1349935063":["hashtag1","hashtag2"]},{"1349935033":["hashtag1","hashtag2"]},{"1349934972":["hashtag1","hashtag2"]},{"1349934897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349935005, 1349934914, 1349935063, 1349935033, 1349934972, 1349934897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01461386680603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:17:03.228409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_26_2642.jpg', '/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_28_2586.jpg', '/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_41_3601.jpg', '/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_43_2699.jpg', '/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_46_2659.jpg', '/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_55_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_26_2642.jpg
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_28_2586.jpg
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_41_3601.jpg
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_43_2699.jpg
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_46_2659.jpg
/home/pi/Desktop/images/15042025/17/03/image_15042025_17_03_55_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349935259","1349935288","1349935381","1349935354","1349935417","1349935324"],"photo_ids_order":["1349935259","1349935288","1349935324","1349935354","1349935381","1349935417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a7410097354d2fba3aa8f639f6dcbe8.jpg","text":"TemporaryFile(/tmp/multipartBody8059910950114616944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730284018,"filename":"image_15042025_17_03_26_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f759585efeb8c40db2503accf4ac0890.jpg","text":"TemporaryFile(/tmp/multipartBody449976674009783362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730284018,"filename":"image_15042025_17_03_28_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cde94949e414edea1d67ba05a7104ea2.jpg","text":"TemporaryFile(/tmp/multipartBody8326820200631040197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730284018,"filename":"image_15042025_17_03_46_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aee36f9f9fe9ef2380fa33ee524ac527.jpg","text":"TemporaryFile(/tmp/multipartBody4010100539077709168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730284018,"filename":"image_15042025_17_03_43_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e083237f0781ebe64f92f0ae32a3a578.jpg","text":"TemporaryFile(/tmp/multipartBody4587647063943166912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730284018,"filename":"image_15042025_17_03_55_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cf91d5eb5128c088059baecddb6ee94.jpg","text":"TemporaryFile(/tmp/multipartBody7456525155629202364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730284018,"filename":"image_15042025_17_03_41_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349935324","file1":"1349935288","file0":"1349935259","file4":"1349935381","file5":"1349935417","file3":"1349935354"},"map_files_photo_id_array":[{"photo_id":"1349935417","filename":"file5"},{"photo_id":"1349935324","filename":"file2"},{"photo_id":"1349935381","filename":"file4"},{"photo_id":"1349935288","filename":"file1"},{"photo_id":"1349935259","filename":"file0"},{"photo_id":"1349935354","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349935259":["hashtag1","hashtag2"]},{"1349935288":["hashtag1","hashtag2"]},{"1349935381":["hashtag1","hashtag2"]},{"1349935354":["hashtag1","hashtag2"]},{"1349935417":["hashtag1","hashtag2"]},{"1349935324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349935259, 1349935288, 1349935381, 1349935354, 1349935417, 1349935324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98159313201904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:17:42.494264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_02_3845.jpg', '/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_10_2691.jpg', '/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_14_3682.jpg', '/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_17_2709.jpg', '/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_19_2840.jpg', '/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_22_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_02_3845.jpg
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_10_2691.jpg
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_14_3682.jpg
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_17_2709.jpg
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_19_2840.jpg
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_22_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349935592","1349935570","1349935564","1349935549","1349935587","1349935519"],"photo_ids_order":["1349935519","1349935549","1349935564","1349935570","1349935587","1349935592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21df73758d18571b62c4561fb300a47d.jpg","text":"TemporaryFile(/tmp/multipartBody2611844332670225659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730323203,"filename":"image_15042025_17_04_22_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59e33104d7b1f71c7a6a26456be55d33.jpg","text":"TemporaryFile(/tmp/multipartBody1883569913542081437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730323203,"filename":"image_15042025_17_04_17_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b76738db013ea61706a17332d7ab9589.jpg","text":"TemporaryFile(/tmp/multipartBody2997794196224724452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730323203,"filename":"image_15042025_17_04_14_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d77b220f1a146fdaef4aa7a2add0021.jpg","text":"TemporaryFile(/tmp/multipartBody9137709549395587622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730323203,"filename":"image_15042025_17_04_10_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07cdaf8e3abd96427ce6002ceac8a79d.jpg","text":"TemporaryFile(/tmp/multipartBody6580834652154417673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730323203,"filename":"image_15042025_17_04_19_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db2cf8684dd820ae3f176e0ad417cfca.jpg","text":"TemporaryFile(/tmp/multipartBody7031083725218238704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730323203,"filename":"image_15042025_17_04_02_3845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349935564","file1":"1349935549","file0":"1349935519","file4":"1349935587","file5":"1349935592","file3":"1349935570"},"map_files_photo_id_array":[{"photo_id":"1349935592","filename":"file5"},{"photo_id":"1349935564","filename":"file2"},{"photo_id":"1349935587","filename":"file4"},{"photo_id":"1349935549","filename":"file1"},{"photo_id":"1349935519","filename":"file0"},{"photo_id":"1349935570","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349935592":["hashtag1","hashtag2"]},{"1349935570":["hashtag1","hashtag2"]},{"1349935564":["hashtag1","hashtag2"]},{"1349935549":["hashtag1","hashtag2"]},{"1349935587":["hashtag1","hashtag2"]},{"1349935519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349935592, 1349935570, 1349935564, 1349935549, 1349935587, 1349935519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12824082374573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:18:22.441264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_26_3627.jpg', '/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_38_2708.jpg', '/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_40_2692.jpg', '/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_58_2634.jpg', '/home/pi/Desktop/images/15042025/17/06/image_15042025_17_06_07_3010.jpg', '/home/pi/Desktop/images/15042025/17/08/image_15042025_17_08_34_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_26_3627.jpg
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_38_2708.jpg
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_40_2692.jpg
/home/pi/Desktop/images/15042025/17/04/image_15042025_17_04_58_2634.jpg
/home/pi/Desktop/images/15042025/17/06/image_15042025_17_06_07_3010.jpg
/home/pi/Desktop/images/15042025/17/08/image_15042025_17_08_34_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349935730","1349935613","1349935699","1349935761","1349935671","1349935644"],"photo_ids_order":["1349935613","1349935644","1349935671","1349935699","1349935730","1349935761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/227ef27de7ab275f54e4d2f8a19ed591.jpg","text":"TemporaryFile(/tmp/multipartBody5441719722796171064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730363163,"filename":"image_15042025_17_06_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18a21e4f1543f78a14944a1ce97e894c.jpg","text":"TemporaryFile(/tmp/multipartBody4135624058299943062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730363163,"filename":"image_15042025_17_04_26_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3dbae937bd6c851d440ea90690f58a23.jpg","text":"TemporaryFile(/tmp/multipartBody4564276935797189758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730363163,"filename":"image_15042025_17_04_58_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92e87cf0cf0c3b1544e99d3824e88cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3888846266007259106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730363163,"filename":"image_15042025_17_08_34_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb1b3daf3e15d672bcae9623842e98e5.jpg","text":"TemporaryFile(/tmp/multipartBody6486844043026540205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730363163,"filename":"image_15042025_17_04_40_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69ebd3ea31e06267c1de3f04948dad05.jpg","text":"TemporaryFile(/tmp/multipartBody5840495235753932822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730363163,"filename":"image_15042025_17_04_38_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349935671","file1":"1349935644","file0":"1349935613","file4":"1349935730","file5":"1349935761","file3":"1349935699"},"map_files_photo_id_array":[{"photo_id":"1349935761","filename":"file5"},{"photo_id":"1349935671","filename":"file2"},{"photo_id":"1349935730","filename":"file4"},{"photo_id":"1349935644","filename":"file1"},{"photo_id":"1349935613","filename":"file0"},{"photo_id":"1349935699","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349935730":["hashtag1","hashtag2"]},{"1349935613":["hashtag1","hashtag2"]},{"1349935699":["hashtag1","hashtag2"]},{"1349935761":["hashtag1","hashtag2"]},{"1349935671":["hashtag1","hashtag2"]},{"1349935644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349935730, 1349935613, 1349935699, 1349935761, 1349935671, 1349935644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9221875667572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:19:03.483073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_47_2538.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_50_3689.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_53_2562.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_56_2632.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_59_3637.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_02_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_47_2538.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_50_3689.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_53_2562.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_56_2632.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_59_3637.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_02_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349935847","1349935855","1349935825","1349935851","1349935860","1349935836"],"photo_ids_order":["1349935825","1349935836","1349935847","1349935851","1349935855","1349935860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2838cf2e27e5468a05353f4325697e32.jpg","text":"TemporaryFile(/tmp/multipartBody3376697885096693390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730406144,"filename":"image_14042025_09_57_53_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6e27b45b468e8483e589d5c9c434cbd.jpg","text":"TemporaryFile(/tmp/multipartBody7028418304536493586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730406144,"filename":"image_14042025_09_57_59_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d640e233a34113a1dd035d32b92c6c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1045161147494077977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730406144,"filename":"image_14042025_09_57_47_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b05a9ffa763603a3b5d63fe29f61c08.jpg","text":"TemporaryFile(/tmp/multipartBody2598170811059974482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730406144,"filename":"image_14042025_09_57_56_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77a3bf4acd82debfebad42a1d4d1e48b.jpg","text":"TemporaryFile(/tmp/multipartBody6127105556387892358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730406144,"filename":"image_14042025_09_58_02_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a895615d7bf64a8178faf34840597353.jpg","text":"TemporaryFile(/tmp/multipartBody2898260309838035129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730406144,"filename":"image_14042025_09_57_50_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349935847","file1":"1349935836","file0":"1349935825","file4":"1349935855","file5":"1349935860","file3":"1349935851"},"map_files_photo_id_array":[{"photo_id":"1349935860","filename":"file5"},{"photo_id":"1349935847","filename":"file2"},{"photo_id":"1349935855","filename":"file4"},{"photo_id":"1349935836","filename":"file1"},{"photo_id":"1349935825","filename":"file0"},{"photo_id":"1349935851","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349935847":["hashtag1","hashtag2"]},{"1349935855":["hashtag1","hashtag2"]},{"1349935825":["hashtag1","hashtag2"]},{"1349935851":["hashtag1","hashtag2"]},{"1349935860":["hashtag1","hashtag2"]},{"1349935836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349935847, 1349935855, 1349935825, 1349935851, 1349935860, 1349935836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22861909866333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:19:42.635787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_32_2804.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_35_2604.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_53_3700.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_58_2613.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_02_3802.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_05_2913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_32_2804.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_35_2604.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_53_3700.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_58_2613.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_02_3802.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_05_2913.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349935877","1349936005","1349935957","1349935909","1349936037","1349936069"],"photo_ids_order":["1349935877","1349935909","1349935957","1349936005","1349936037","1349936069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87603df40d10bfa79675daae6221fac1.jpg","text":"TemporaryFile(/tmp/multipartBody1448861078170133632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730444044,"filename":"image_14042025_09_58_32_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7af098008535888516aba740ece4e4a0.jpg","text":"TemporaryFile(/tmp/multipartBody6847896245767636245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730444044,"filename":"image_14042025_09_58_58_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be096f5499f5ab5eaae816fd7f8f6fdf.jpg","text":"TemporaryFile(/tmp/multipartBody2767382168660967776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730444044,"filename":"image_14042025_09_58_53_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a905c0069767c073d464cb0df351858.jpg","text":"TemporaryFile(/tmp/multipartBody4648658026300257654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730444044,"filename":"image_14042025_09_58_35_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c3308b45525cd843b1aeaaad2bb53b4.jpg","text":"TemporaryFile(/tmp/multipartBody1811394991431477191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730444044,"filename":"image_14042025_09_59_02_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fa20508e222dec8d4fe2c8513b65100.jpg","text":"TemporaryFile(/tmp/multipartBody1601468226134820746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730444044,"filename":"image_14042025_09_59_05_2913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349935957","file1":"1349935909","file0":"1349935877","file4":"1349936037","file5":"1349936069","file3":"1349936005"},"map_files_photo_id_array":[{"photo_id":"1349936069","filename":"file5"},{"photo_id":"1349935957","filename":"file2"},{"photo_id":"1349936037","filename":"file4"},{"photo_id":"1349935909","filename":"file1"},{"photo_id":"1349935877","filename":"file0"},{"photo_id":"1349936005","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349935877":["hashtag1","hashtag2"]},{"1349936005":["hashtag1","hashtag2"]},{"1349935957":["hashtag1","hashtag2"]},{"1349935909":["hashtag1","hashtag2"]},{"1349936037":["hashtag1","hashtag2"]},{"1349936069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349935877, 1349936005, 1349935957, 1349935909, 1349936037, 1349936069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80539798736572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:20:22.618598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_11_2989.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_20_3717.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_23_2704.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_26_2855.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_28_2588.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_41_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_11_2989.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_20_3717.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_23_2704.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_26_2855.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_28_2588.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_41_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936234","1349936222","1349936228","1349936239","1349936196","1349936214"],"photo_ids_order":["1349936196","1349936214","1349936222","1349936228","1349936234","1349936239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a54c4576cdbea55960691045ec715721.jpg","text":"TemporaryFile(/tmp/multipartBody8885590269396242433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730485588,"filename":"image_14042025_09_59_28_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3be387abe1ab871a021290d22e01435.jpg","text":"TemporaryFile(/tmp/multipartBody7297444609513399960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730485588,"filename":"image_14042025_09_59_23_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f144070165482167c6bb7afa2aa9e02.jpg","text":"TemporaryFile(/tmp/multipartBody5757759616269968473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730485588,"filename":"image_14042025_09_59_26_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/640b9e6d3d151cf89910ee8b9e17c550.jpg","text":"TemporaryFile(/tmp/multipartBody2255078833354890363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730485588,"filename":"image_14042025_09_59_41_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73b40f97fd0714d67c908cff25c8b8ff.jpg","text":"TemporaryFile(/tmp/multipartBody6789822056428875460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730485588,"filename":"image_14042025_09_59_11_2989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54901713c28dd51c7f62c075dfb4ec48.jpg","text":"TemporaryFile(/tmp/multipartBody1519474592262021249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730485588,"filename":"image_14042025_09_59_20_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936222","file1":"1349936214","file0":"1349936196","file4":"1349936234","file5":"1349936239","file3":"1349936228"},"map_files_photo_id_array":[{"photo_id":"1349936239","filename":"file5"},{"photo_id":"1349936222","filename":"file2"},{"photo_id":"1349936234","filename":"file4"},{"photo_id":"1349936214","filename":"file1"},{"photo_id":"1349936196","filename":"file0"},{"photo_id":"1349936228","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936234":["hashtag1","hashtag2"]},{"1349936222":["hashtag1","hashtag2"]},{"1349936228":["hashtag1","hashtag2"]},{"1349936239":["hashtag1","hashtag2"]},{"1349936196":["hashtag1","hashtag2"]},{"1349936214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936234, 1349936222, 1349936228, 1349936239, 1349936196, 1349936214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47060227394104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:21:02.648954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_47_2638.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_49_2516.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_14_2596.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_18_3601.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_21_2720.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_27_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_47_2638.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_49_2516.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_14_2596.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_18_3601.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_21_2720.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_27_3661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.5485105514526367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:21:21.956539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_47_2638.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_49_2516.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_14_2596.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_18_3601.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_21_2720.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_27_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_47_2638.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_49_2516.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_14_2596.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_18_3601.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_21_2720.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_27_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936306","1349936408","1349936368","1349936335","1349936401","1349936388"],"photo_ids_order":["1349936306","1349936335","1349936368","1349936388","1349936401","1349936408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ff3bda4dbb6caa250a081e06eaa01f2.jpg","text":"TemporaryFile(/tmp/multipartBody4442705356138043500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730545027,"filename":"image_14042025_09_59_47_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34f873d354ad1a106b973a2b523c6452.jpg","text":"TemporaryFile(/tmp/multipartBody7792944351570557003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730545027,"filename":"image_14042025_10_00_27_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fed81e3607ef6e6ab6da211e1e6ecafa.jpg","text":"TemporaryFile(/tmp/multipartBody6617799597691485663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730545027,"filename":"image_14042025_10_00_14_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb73cf21173b0a21573007614e7bcca5.jpg","text":"TemporaryFile(/tmp/multipartBody5771250829284622503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730545027,"filename":"image_14042025_09_59_49_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d13bccc0f3dda2e9ad97c12a49a98227.jpg","text":"TemporaryFile(/tmp/multipartBody3281757641831024589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730545027,"filename":"image_14042025_10_00_21_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f190bb61c96bf246477ed6e9052c2337.jpg","text":"TemporaryFile(/tmp/multipartBody7718551580020388999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730545027,"filename":"image_14042025_10_00_18_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936368","file1":"1349936335","file0":"1349936306","file4":"1349936401","file5":"1349936408","file3":"1349936388"},"map_files_photo_id_array":[{"photo_id":"1349936408","filename":"file5"},{"photo_id":"1349936368","filename":"file2"},{"photo_id":"1349936401","filename":"file4"},{"photo_id":"1349936335","filename":"file1"},{"photo_id":"1349936306","filename":"file0"},{"photo_id":"1349936388","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936306":["hashtag1","hashtag2"]},{"1349936408":["hashtag1","hashtag2"]},{"1349936368":["hashtag1","hashtag2"]},{"1349936335":["hashtag1","hashtag2"]},{"1349936401":["hashtag1","hashtag2"]},{"1349936388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936306, 1349936408, 1349936368, 1349936335, 1349936401, 1349936388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.250842332839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:22:03.243464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_30_2695.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_32_2579.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_36_3767.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_41_2799.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_44_2921.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_47_2847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_30_2695.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_32_2579.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_36_3767.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_41_2799.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_44_2921.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_47_2847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936420","1349936443","1349936425","1349936434","1349936430","1349936450"],"photo_ids_order":["1349936420","1349936425","1349936430","1349936434","1349936443","1349936450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e27d44863b9a7fc54da6d4803aa753a.jpg","text":"TemporaryFile(/tmp/multipartBody1082862927273972341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730585657,"filename":"image_14042025_10_00_30_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc4ab6b272f64bfb1390e688107684d9.jpg","text":"TemporaryFile(/tmp/multipartBody2726816005702332588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730585657,"filename":"image_14042025_10_00_44_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d67662320e59e513fbc6bf736d0d0eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2761529732497865596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730585657,"filename":"image_14042025_10_00_32_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68f80222f8e283df7d6c15a6ce59b33c.jpg","text":"TemporaryFile(/tmp/multipartBody7661394394499809436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730585657,"filename":"image_14042025_10_00_41_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74ca58aede6f33507264e192d92bdee6.jpg","text":"TemporaryFile(/tmp/multipartBody3203486029337617136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730585657,"filename":"image_14042025_10_00_36_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77f30ef60d380551788b1ecde9e856ea.jpg","text":"TemporaryFile(/tmp/multipartBody4726748938977532559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730585657,"filename":"image_14042025_10_00_47_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936430","file1":"1349936425","file0":"1349936420","file4":"1349936443","file5":"1349936450","file3":"1349936434"},"map_files_photo_id_array":[{"photo_id":"1349936450","filename":"file5"},{"photo_id":"1349936430","filename":"file2"},{"photo_id":"1349936443","filename":"file4"},{"photo_id":"1349936425","filename":"file1"},{"photo_id":"1349936420","filename":"file0"},{"photo_id":"1349936434","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936420":["hashtag1","hashtag2"]},{"1349936443":["hashtag1","hashtag2"]},{"1349936425":["hashtag1","hashtag2"]},{"1349936434":["hashtag1","hashtag2"]},{"1349936430":["hashtag1","hashtag2"]},{"1349936450":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936420, 1349936443, 1349936425, 1349936434, 1349936430, 1349936450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.025540828704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:22:42.515939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_51_3737.jpg', '/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_33_3594.jpg', '/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_38_2771.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_03_3693.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_31_13246.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_32_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_51_3737.jpg
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_33_3594.jpg
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_38_2771.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_03_3693.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_31_13246.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_32_1672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936489","1349936522","1349936479","1349936484","1349936472","1349936492"],"photo_ids_order":["1349936472","1349936479","1349936484","1349936489","1349936492","1349936522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96e8410a813a6fa276e64db542c67f99.jpg","text":"TemporaryFile(/tmp/multipartBody4885761024863680660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730623903,"filename":"image_14042025_10_02_03_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb709a3cab31b41c0626ee4d7cee3833.jpg","text":"TemporaryFile(/tmp/multipartBody1089111613991311580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730623903,"filename":"image_14042025_10_02_32_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d426efa716187a6f8e59cf15f8692c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6277501135169257352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730623903,"filename":"image_14042025_10_01_33_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f861761dd879a4ac8d0124865d426d0b.jpg","text":"TemporaryFile(/tmp/multipartBody7807797265148996604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730623903,"filename":"image_14042025_10_01_38_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea7966413ea607d8941f05fb55ae9b71.jpg","text":"TemporaryFile(/tmp/multipartBody2838129975149393931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730623903,"filename":"image_14042025_10_00_51_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b59a92b961d59894f31e948629e3935.jpg","text":"TemporaryFile(/tmp/multipartBody2917958818360563402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730623903,"filename":"image_14042025_10_02_31_13246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936484","file1":"1349936479","file0":"1349936472","file4":"1349936492","file5":"1349936522","file3":"1349936489"},"map_files_photo_id_array":[{"photo_id":"1349936522","filename":"file5"},{"photo_id":"1349936484","filename":"file2"},{"photo_id":"1349936492","filename":"file4"},{"photo_id":"1349936479","filename":"file1"},{"photo_id":"1349936472","filename":"file0"},{"photo_id":"1349936489","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936489":["hashtag1","hashtag2"]},{"1349936522":["hashtag1","hashtag2"]},{"1349936479":["hashtag1","hashtag2"]},{"1349936484":["hashtag1","hashtag2"]},{"1349936472":["hashtag1","hashtag2"]},{"1349936492":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936489, 1349936522, 1349936479, 1349936484, 1349936472, 1349936492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.800947427749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:23:22.510342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/08/image_15042025_17_08_47_3678.jpg', '/home/pi/Desktop/images/15042025/17/23/image_15042025_17_23_07_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/08/image_15042025_17_08_47_3678.jpg
/home/pi/Desktop/images/15042025/17/23/image_15042025_17_23_07_2567.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936542","1349936539"],"photo_ids_order":["1349936539","1349936542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9f75acc68b90c5918577e8af965ed89.jpg","text":"TemporaryFile(/tmp/multipartBody1857910585232865812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730663059,"filename":"image_15042025_17_23_07_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91c3ed4f5a32e5e3aabe1511783f7bab.jpg","text":"TemporaryFile(/tmp/multipartBody5458425598878421379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730663059,"filename":"image_15042025_17_08_47_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349936542","file0":"1349936539"},"map_files_photo_id_array":[{"photo_id":"1349936542","filename":"file1"},{"photo_id":"1349936539","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349936542":["hashtag1","hashtag2"]},{"1349936539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349936542, 1349936539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.044406414031982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:23:42.477759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_40_7225.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_41_1610.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_43_1688.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_55_1696.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_18_3675.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_20_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_40_7225.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_41_1610.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_43_1688.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_55_1696.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_18_3675.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_20_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936573","1349936567","1349936561","1349936593","1349936584","1349936589"],"photo_ids_order":["1349936561","1349936567","1349936573","1349936584","1349936589","1349936593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a2b195de724be577514457f19f9e4ad.jpg","text":"TemporaryFile(/tmp/multipartBody4455147213430340984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730683846,"filename":"image_14042025_10_02_43_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51ddb21eb03a9766d86b1e222a32cbe0.jpg","text":"TemporaryFile(/tmp/multipartBody3237160255332582963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730683846,"filename":"image_14042025_10_02_41_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b109a222a5cc2fb70b4fab0136559d62.jpg","text":"TemporaryFile(/tmp/multipartBody4180364673377225555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730683846,"filename":"image_14042025_10_02_40_7225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f566f2c9f3365a840bd447c9ea5b4658.jpg","text":"TemporaryFile(/tmp/multipartBody2430574115463560777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730683846,"filename":"image_14042025_10_03_20_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/414b880e09c58dfb02d437825099d7c7.jpg","text":"TemporaryFile(/tmp/multipartBody1169586699012348894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730683846,"filename":"image_14042025_10_02_55_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/187ec710050f4c1bbc3ca84163483b08.jpg","text":"TemporaryFile(/tmp/multipartBody460853235784604534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730683846,"filename":"image_14042025_10_03_18_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936573","file1":"1349936567","file0":"1349936561","file4":"1349936589","file5":"1349936593","file3":"1349936584"},"map_files_photo_id_array":[{"photo_id":"1349936593","filename":"file5"},{"photo_id":"1349936573","filename":"file2"},{"photo_id":"1349936589","filename":"file4"},{"photo_id":"1349936567","filename":"file1"},{"photo_id":"1349936561","filename":"file0"},{"photo_id":"1349936584","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936573":["hashtag1","hashtag2"]},{"1349936567":["hashtag1","hashtag2"]},{"1349936561":["hashtag1","hashtag2"]},{"1349936593":["hashtag1","hashtag2"]},{"1349936584":["hashtag1","hashtag2"]},{"1349936589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936573, 1349936567, 1349936561, 1349936593, 1349936584, 1349936589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.827221393585205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:24:22.205330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_23_2559.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_27_3827.jpg', '/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_29_3596.jpg', '/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_58_2672.jpg', '/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_56_2618.jpg', '/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_58_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_23_2559.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_27_3827.jpg
/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_29_3596.jpg
/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_58_2672.jpg
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_56_2618.jpg
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_58_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936627","1349936641","1349936635","1349936608","1349936616","1349936613"],"photo_ids_order":["1349936608","1349936613","1349936616","1349936627","1349936635","1349936641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc3c4f1c2908dfef7b7ad98c930914c2.jpg","text":"TemporaryFile(/tmp/multipartBody8335295171604006967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730728246,"filename":"image_14042025_10_07_58_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22fcf8c22a1c51d13169567243184125.jpg","text":"TemporaryFile(/tmp/multipartBody1256783593780573242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730728246,"filename":"image_14042025_10_09_58_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cd4ade1578f5539ee1c4711d1935c8d.jpg","text":"TemporaryFile(/tmp/multipartBody2239749819031473196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730728246,"filename":"image_14042025_10_09_56_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd6d77ea8cc8a29069339f354ec027b7.jpg","text":"TemporaryFile(/tmp/multipartBody1633276078080830192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730728246,"filename":"image_14042025_10_03_23_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d18ac0ac9eec34245e18d1ec075753f4.jpg","text":"TemporaryFile(/tmp/multipartBody7774337842928107491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730728246,"filename":"image_14042025_10_05_29_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b9d0a7e125b46835662d8bc1883ceba.jpg","text":"TemporaryFile(/tmp/multipartBody6750413807201603940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730728246,"filename":"image_14042025_10_03_27_3827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936616","file1":"1349936613","file0":"1349936608","file4":"1349936635","file5":"1349936641","file3":"1349936627"},"map_files_photo_id_array":[{"photo_id":"1349936641","filename":"file5"},{"photo_id":"1349936616","filename":"file2"},{"photo_id":"1349936635","filename":"file4"},{"photo_id":"1349936613","filename":"file1"},{"photo_id":"1349936608","filename":"file0"},{"photo_id":"1349936627","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936627":["hashtag1","hashtag2"]},{"1349936641":["hashtag1","hashtag2"]},{"1349936635":["hashtag1","hashtag2"]},{"1349936608":["hashtag1","hashtag2"]},{"1349936616":["hashtag1","hashtag2"]},{"1349936613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936627, 1349936641, 1349936635, 1349936608, 1349936616, 1349936613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.83550786972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:25:22.513683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_08_3013.jpg', '/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_47_3696.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_08_2631.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_11_2757.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_13_2775.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_17_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_08_3013.jpg
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_47_3696.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_08_2631.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_11_2757.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_13_2775.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_17_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936702","1349936716","1349936707","1349936721","1349936712","1349936706"],"photo_ids_order":["1349936702","1349936706","1349936707","1349936712","1349936716","1349936721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d2f7ea253c5f9adaef3c36b1486c59a.jpg","text":"TemporaryFile(/tmp/multipartBody5241303371624797556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730785476,"filename":"image_14042025_10_10_08_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56abda5009da41bfef0bbaff9b7789aa.jpg","text":"TemporaryFile(/tmp/multipartBody2599696328044678799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730785476,"filename":"image_14042025_10_14_13_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9830f7e20ce58cdffcfb149a93dcd7a6.jpg","text":"TemporaryFile(/tmp/multipartBody3733476688287707781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730785476,"filename":"image_14042025_10_14_08_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b30df81c6dccfa55c6e894e2eb339f3.jpg","text":"TemporaryFile(/tmp/multipartBody3464480037194622256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730785476,"filename":"image_14042025_10_14_17_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e68542e780dfed7785d940ff2b786b4e.jpg","text":"TemporaryFile(/tmp/multipartBody312976644046330516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730785476,"filename":"image_14042025_10_14_11_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dacaf99ce984d193443ece2dc0e529c0.jpg","text":"TemporaryFile(/tmp/multipartBody5751518327609403844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730785476,"filename":"image_14042025_10_11_47_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936707","file1":"1349936706","file0":"1349936702","file4":"1349936716","file5":"1349936721","file3":"1349936712"},"map_files_photo_id_array":[{"photo_id":"1349936721","filename":"file5"},{"photo_id":"1349936707","filename":"file2"},{"photo_id":"1349936716","filename":"file4"},{"photo_id":"1349936706","filename":"file1"},{"photo_id":"1349936702","filename":"file0"},{"photo_id":"1349936712","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936702":["hashtag1","hashtag2"]},{"1349936716":["hashtag1","hashtag2"]},{"1349936707":["hashtag1","hashtag2"]},{"1349936721":["hashtag1","hashtag2"]},{"1349936712":["hashtag1","hashtag2"]},{"1349936706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936702, 1349936716, 1349936707, 1349936721, 1349936712, 1349936706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52624702453613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:26:03.119636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_19_2623.jpg', '/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_43_2631.jpg', '/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_49_3756.jpg', '/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_55_3689.jpg', '/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_22_3637.jpg', '/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_58_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_19_2623.jpg
/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_43_2631.jpg
/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_49_3756.jpg
/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_55_3689.jpg
/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_22_3637.jpg
/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_58_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936738","1349936734","1349936760","1349936754","1349936748","1349936742"],"photo_ids_order":["1349936734","1349936738","1349936742","1349936748","1349936754","1349936760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd6e48db11eed84c3cc727984f98d21a.jpg","text":"TemporaryFile(/tmp/multipartBody2844259009646800076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730825539,"filename":"image_14042025_10_16_43_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b20e7c5c523f445f97509c0a8dc1d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3407159610395533620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730825539,"filename":"image_14042025_10_16_19_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89a82e62ec29841f899127ab0d0a9955.jpg","text":"TemporaryFile(/tmp/multipartBody1001593420115611703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730825539,"filename":"image_14042025_10_18_58_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39a36c1cd9e848aff77ef130ceb38a59.jpg","text":"TemporaryFile(/tmp/multipartBody2510546529606264011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730825539,"filename":"image_14042025_10_18_22_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd6c32241f177a7acfd9ae216b9b6bbc.jpg","text":"TemporaryFile(/tmp/multipartBody5869472259066169174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730825539,"filename":"image_14042025_10_17_55_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd54785a90d4378c4cd08cf6e3b52895.jpg","text":"TemporaryFile(/tmp/multipartBody4641471797812754878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730825539,"filename":"image_14042025_10_16_49_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936742","file1":"1349936738","file0":"1349936734","file4":"1349936754","file5":"1349936760","file3":"1349936748"},"map_files_photo_id_array":[{"photo_id":"1349936760","filename":"file5"},{"photo_id":"1349936742","filename":"file2"},{"photo_id":"1349936754","filename":"file4"},{"photo_id":"1349936738","filename":"file1"},{"photo_id":"1349936734","filename":"file0"},{"photo_id":"1349936748","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936738":["hashtag1","hashtag2"]},{"1349936734":["hashtag1","hashtag2"]},{"1349936760":["hashtag1","hashtag2"]},{"1349936754":["hashtag1","hashtag2"]},{"1349936748":["hashtag1","hashtag2"]},{"1349936742":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936738, 1349936734, 1349936760, 1349936754, 1349936748, 1349936742)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.34561204910278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:27:03.348612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_07_2845.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_13_3535.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_19_2743.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_31_2783.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_37_3649.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_40_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_07_2845.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_13_3535.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_19_2743.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_31_2783.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_37_3649.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_40_2561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936807","1349936797","1349936816","1349936800","1349936814","1349936811"],"photo_ids_order":["1349936797","1349936800","1349936807","1349936811","1349936814","1349936816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0c64635eb2dec061a1528b7ab9cdd30.jpg","text":"TemporaryFile(/tmp/multipartBody6577945744861264125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730888586,"filename":"image_14042025_10_19_19_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f17b7adb9d2517f969619a9c05727da1.jpg","text":"TemporaryFile(/tmp/multipartBody4663975927496934461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730888586,"filename":"image_14042025_10_19_07_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f410fec0a41467f9781a83b918a5740.jpg","text":"TemporaryFile(/tmp/multipartBody8377485539688307238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730888586,"filename":"image_14042025_10_19_40_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d2a96794d06a0fce9dbffabf485dd20.jpg","text":"TemporaryFile(/tmp/multipartBody6330367391315849550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730888586,"filename":"image_14042025_10_19_13_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da0df618930d7e3d0487665a8e743ba3.jpg","text":"TemporaryFile(/tmp/multipartBody7565789220482665514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730888586,"filename":"image_14042025_10_19_37_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33cff1ce25603fba04b16389c14d8db6.jpg","text":"TemporaryFile(/tmp/multipartBody6564467515778267552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730888586,"filename":"image_14042025_10_19_31_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936807","file1":"1349936800","file0":"1349936797","file4":"1349936814","file5":"1349936816","file3":"1349936811"},"map_files_photo_id_array":[{"photo_id":"1349936816","filename":"file5"},{"photo_id":"1349936807","filename":"file2"},{"photo_id":"1349936814","filename":"file4"},{"photo_id":"1349936800","filename":"file1"},{"photo_id":"1349936797","filename":"file0"},{"photo_id":"1349936811","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936807":["hashtag1","hashtag2"]},{"1349936797":["hashtag1","hashtag2"]},{"1349936816":["hashtag1","hashtag2"]},{"1349936800":["hashtag1","hashtag2"]},{"1349936814":["hashtag1","hashtag2"]},{"1349936811":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936807, 1349936797, 1349936816, 1349936800, 1349936814, 1349936811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4494264125824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:28:03.276041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_46_3796.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_55_3687.jpg', '/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_35_2874.jpg', '/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_38_2643.jpg', '/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_41_3529.jpg', '/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_35_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_46_3796.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_55_3687.jpg
/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_35_2874.jpg
/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_38_2643.jpg
/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_41_3529.jpg
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_35_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349936858","1349936866","1349936862","1349936865","1349936853","1349936855"],"photo_ids_order":["1349936853","1349936855","1349936858","1349936862","1349936865","1349936866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3b4e9ffc843f217cb81f91c72c5b686.jpg","text":"TemporaryFile(/tmp/multipartBody4278600476779246939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730948527,"filename":"image_14042025_10_20_35_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6e72137b261144867af6ba23f82e48c.jpg","text":"TemporaryFile(/tmp/multipartBody1670854759781075116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730948527,"filename":"image_14042025_10_22_35_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/908588b7d67a1d467f989557eac05e5b.jpg","text":"TemporaryFile(/tmp/multipartBody3464063311695838283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730948527,"filename":"image_14042025_10_20_38_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89d23ccd0fa2b3c170df15531e5c3cd3.jpg","text":"TemporaryFile(/tmp/multipartBody421466121963801781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730948527,"filename":"image_14042025_10_20_41_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20f7b6a93f6821c89dcb1ff465488ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4364150709684534150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730948527,"filename":"image_14042025_10_19_46_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47beee761287d1456fbfafd8b33ddebb.jpg","text":"TemporaryFile(/tmp/multipartBody354393437480291092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744730948527,"filename":"image_14042025_10_19_55_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936858","file1":"1349936855","file0":"1349936853","file4":"1349936865","file5":"1349936866","file3":"1349936862"},"map_files_photo_id_array":[{"photo_id":"1349936866","filename":"file5"},{"photo_id":"1349936858","filename":"file2"},{"photo_id":"1349936865","filename":"file4"},{"photo_id":"1349936855","filename":"file1"},{"photo_id":"1349936853","filename":"file0"},{"photo_id":"1349936862","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936858":["hashtag1","hashtag2"]},{"1349936866":["hashtag1","hashtag2"]},{"1349936862":["hashtag1","hashtag2"]},{"1349936865":["hashtag1","hashtag2"]},{"1349936853":["hashtag1","hashtag2"]},{"1349936855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936858, 1349936866, 1349936862, 1349936865, 1349936853, 1349936855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74835252761841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:29:03.056684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/27/image_14042025_10_27_41_2878.jpg', '/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_53_2832.jpg', '/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_37_2861.jpg', '/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_17_3625.jpg', '/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_26_2957.jpg', '/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_28_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/27/image_14042025_10_27_41_2878.jpg
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_53_2832.jpg
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_37_2861.jpg
/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_17_3625.jpg
/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_26_2957.jpg
/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_28_2816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1349936921","1349936900","1349936908","1349936925","1349936928","1349936913"],"photo_ids_order":["1349936900","1349936908","1349936913","1349936921","1349936925","1349936928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e4840521ef65bdeeeea1c7046153ef3.jpg","text":"TemporaryFile(/tmp/multipartBody3210432721235810063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731005695,"filename":"image_14042025_10_35_17_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b530378cdb00cd5d50b9de9596e425e5.jpg","text":"TemporaryFile(/tmp/multipartBody4027460584447288573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731005695,"filename":"image_14042025_10_27_41_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/929a966ada0a776a035ee3dcf02a9358.jpg","text":"TemporaryFile(/tmp/multipartBody4898817549263056203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731005695,"filename":"image_14042025_10_31_53_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f882625754c0f158094f50bc33bfed6c.jpg","text":"TemporaryFile(/tmp/multipartBody4144381227855821803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731005695,"filename":"image_14042025_10_36_26_2957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13c9be66be11c99b207e9191c7824574.jpg","text":"TemporaryFile(/tmp/multipartBody2154789946526405965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731005695,"filename":"image_14042025_10_36_28_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b58167d975bfff8800d3d2c5c03cf2e.jpg","text":"TemporaryFile(/tmp/multipartBody6591837625091225253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731005695,"filename":"image_14042025_10_33_37_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936913","file1":"1349936908","file0":"1349936900","file4":"1349936925","file5":"1349936928","file3":"1349936921"},"map_files_photo_id_array":[{"photo_id":"1349936928","filename":"file5"},{"photo_id":"1349936913","filename":"file2"},{"photo_id":"1349936925","filename":"file4"},{"photo_id":"1349936908","filename":"file1"},{"photo_id":"1349936900","filename":"file0"},{"photo_id":"1349936921","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349936921":["hashtag1","hashtag2"]},{"1349936900":["hashtag1","hashtag2"]},{"1349936908":["hashtag1","hashtag2"]},{"1349936925":["hashtag1","hashtag2"]},{"1349936928":["hashtag1","hashtag2"]},{"1349936913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349936921, 1349936900, 1349936908, 1349936925, 1349936928, 1349936913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.485326290130615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:30:02.904714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_01_2641.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_04_2898.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_07_2598.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_10_3693.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_16_2670.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_20_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_01_2641.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_04_2898.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_07_2598.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_10_3693.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_16_2670.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_20_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937005","1349936989","1349936983","1349937001","1349936976","1349936996"],"photo_ids_order":["1349936976","1349936983","1349936989","1349936996","1349937001","1349937005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fdb5b65e4053ff97e2fe395f926af33.jpg","text":"TemporaryFile(/tmp/multipartBody8064485436410803169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731065337,"filename":"image_14042025_10_37_20_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef689208a23d8d693abb64b76ec2c711.jpg","text":"TemporaryFile(/tmp/multipartBody5508271227451814085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731065337,"filename":"image_14042025_10_37_07_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b496ea0af7f588d8a5bbaa16a704d417.jpg","text":"TemporaryFile(/tmp/multipartBody8726378297375181585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731065337,"filename":"image_14042025_10_37_04_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94d8edafaae58b360469d6b3636be52d.jpg","text":"TemporaryFile(/tmp/multipartBody2105105251127786770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731065337,"filename":"image_14042025_10_37_16_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c15718c00a4ada0acb47a31e8fdd396a.jpg","text":"TemporaryFile(/tmp/multipartBody2702421207437401000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731065337,"filename":"image_14042025_10_37_01_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cb62b609b3ad993f552260935beefbe.jpg","text":"TemporaryFile(/tmp/multipartBody6517321063394038316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731065337,"filename":"image_14042025_10_37_10_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349936989","file1":"1349936983","file0":"1349936976","file4":"1349937001","file5":"1349937005","file3":"1349936996"},"map_files_photo_id_array":[{"photo_id":"1349937005","filename":"file5"},{"photo_id":"1349936989","filename":"file2"},{"photo_id":"1349937001","filename":"file4"},{"photo_id":"1349936983","filename":"file1"},{"photo_id":"1349936976","filename":"file0"},{"photo_id":"1349936996","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349937005":["hashtag1","hashtag2"]},{"1349936989":["hashtag1","hashtag2"]},{"1349936983":["hashtag1","hashtag2"]},{"1349937001":["hashtag1","hashtag2"]},{"1349936976":["hashtag1","hashtag2"]},{"1349936996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349937005, 1349936989, 1349936983, 1349937001, 1349936976, 1349936996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.413907051086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:31:03.402286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_31_2741.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_34_2718.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_37_2839.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_55_2698.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_58_2922.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_39_01_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_31_2741.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_34_2718.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_37_2839.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_55_2698.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_58_2922.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_39_01_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937094","1349937097","1349937091","1349937078","1349937083","1349937086"],"photo_ids_order":["1349937078","1349937083","1349937086","1349937091","1349937094","1349937097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf887fd7d459fc6ac02f285802534858.jpg","text":"TemporaryFile(/tmp/multipartBody4285234399655020851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731125951,"filename":"image_14042025_10_38_58_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d0f8a135964ec57a046835e0ac65678.jpg","text":"TemporaryFile(/tmp/multipartBody7870375686413962169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731125951,"filename":"image_14042025_10_39_01_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed8d26cb2a67fcea0f351149b08369ce.jpg","text":"TemporaryFile(/tmp/multipartBody5480868121818621359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731125951,"filename":"image_14042025_10_38_55_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22e8e43f76dcc0f0bda330c73a3a0ff6.jpg","text":"TemporaryFile(/tmp/multipartBody1431658228875250846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731125951,"filename":"image_14042025_10_37_31_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d9226f6a2ca4427d8d9d9cfb2ac6188.jpg","text":"TemporaryFile(/tmp/multipartBody8877236374570224992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731125951,"filename":"image_14042025_10_37_34_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f65343caa62ef3a29eb6bbb3b4e5012f.jpg","text":"TemporaryFile(/tmp/multipartBody1217987638165700000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731125951,"filename":"image_14042025_10_38_37_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349937086","file1":"1349937083","file0":"1349937078","file4":"1349937094","file5":"1349937097","file3":"1349937091"},"map_files_photo_id_array":[{"photo_id":"1349937097","filename":"file5"},{"photo_id":"1349937086","filename":"file2"},{"photo_id":"1349937094","filename":"file4"},{"photo_id":"1349937083","filename":"file1"},{"photo_id":"1349937078","filename":"file0"},{"photo_id":"1349937091","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349937094":["hashtag1","hashtag2"]},{"1349937097":["hashtag1","hashtag2"]},{"1349937091":["hashtag1","hashtag2"]},{"1349937078":["hashtag1","hashtag2"]},{"1349937083":["hashtag1","hashtag2"]},{"1349937086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349937094, 1349937097, 1349937091, 1349937078, 1349937083, 1349937086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55452060699463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:31:42.666820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_13_3082.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_19_2741.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_22_2570.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_40_2740.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_14_2654.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_17_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_13_3082.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_19_2741.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_22_2570.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_40_2740.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_14_2654.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_17_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937113","1349937107","1349937148","1349937127","1349937121","1349937134"],"photo_ids_order":["1349937107","1349937113","1349937121","1349937127","1349937134","1349937148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa5148b1b689b374366d6ef88c1b0701.jpg","text":"TemporaryFile(/tmp/multipartBody1304704608970775925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731164052,"filename":"image_14042025_10_39_19_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a69283b3903e1db661560fb8cbe3a6e2.jpg","text":"TemporaryFile(/tmp/multipartBody3743332729187529207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731164052,"filename":"image_14042025_10_39_13_3082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22dad55806567e8046e8bad1463be07c.jpg","text":"TemporaryFile(/tmp/multipartBody4039413662569292580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731164052,"filename":"image_14042025_10_40_17_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a737b71a16fa2f764ddc7058d5013b14.jpg","text":"TemporaryFile(/tmp/multipartBody7286875662139698045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731164052,"filename":"image_14042025_10_39_40_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7aeb670732d3ca591cc7c07fedbfc2b.jpg","text":"TemporaryFile(/tmp/multipartBody4001807644870916152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731164052,"filename":"image_14042025_10_39_22_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06f6e479e6522316f3204ec514690f2e.jpg","text":"TemporaryFile(/tmp/multipartBody2751577153801182433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731164052,"filename":"image_14042025_10_40_14_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349937121","file1":"1349937113","file0":"1349937107","file4":"1349937134","file5":"1349937148","file3":"1349937127"},"map_files_photo_id_array":[{"photo_id":"1349937148","filename":"file5"},{"photo_id":"1349937121","filename":"file2"},{"photo_id":"1349937134","filename":"file4"},{"photo_id":"1349937113","filename":"file1"},{"photo_id":"1349937107","filename":"file0"},{"photo_id":"1349937127","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349937113":["hashtag1","hashtag2"]},{"1349937107":["hashtag1","hashtag2"]},{"1349937148":["hashtag1","hashtag2"]},{"1349937127":["hashtag1","hashtag2"]},{"1349937121":["hashtag1","hashtag2"]},{"1349937134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349937113, 1349937107, 1349937148, 1349937127, 1349937121, 1349937134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01133704185486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:32:22.805192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_47_2625.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_50_2832.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_53_2721.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_56_2886.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_59_3754.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_14_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_47_2625.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_50_2832.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_53_2721.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_56_2886.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_59_3754.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_14_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937203","1349937212","1349937175","1349937169","1349937190","1349937180"],"photo_ids_order":["1349937169","1349937175","1349937180","1349937190","1349937203","1349937212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71c277e710a4c11727e44aea0374c5f6.jpg","text":"TemporaryFile(/tmp/multipartBody3640433816752047952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731205947,"filename":"image_14042025_10_40_59_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a51318464367f5e5f36f21bb970968ad.jpg","text":"TemporaryFile(/tmp/multipartBody158894628544722555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731205947,"filename":"image_14042025_10_41_14_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f2d6feab2a13b0006ac96b51c0e6c32.jpg","text":"TemporaryFile(/tmp/multipartBody827787136534352564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731205947,"filename":"image_14042025_10_40_50_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ef89b57b6ee6ec19a88d5016b06805f.jpg","text":"TemporaryFile(/tmp/multipartBody6954149666116523600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731205947,"filename":"image_14042025_10_40_47_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53a6de515d380ef986372c856ae0c745.jpg","text":"TemporaryFile(/tmp/multipartBody3671862937298664979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731205947,"filename":"image_14042025_10_40_56_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82b3136ff2517abf4dacf61293544276.jpg","text":"TemporaryFile(/tmp/multipartBody8962335009912264442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731205947,"filename":"image_14042025_10_40_53_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349937180","file1":"1349937175","file0":"1349937169","file4":"1349937203","file5":"1349937212","file3":"1349937190"},"map_files_photo_id_array":[{"photo_id":"1349937212","filename":"file5"},{"photo_id":"1349937180","filename":"file2"},{"photo_id":"1349937203","filename":"file4"},{"photo_id":"1349937175","filename":"file1"},{"photo_id":"1349937169","filename":"file0"},{"photo_id":"1349937190","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349937203":["hashtag1","hashtag2"]},{"1349937212":["hashtag1","hashtag2"]},{"1349937175":["hashtag1","hashtag2"]},{"1349937169":["hashtag1","hashtag2"]},{"1349937190":["hashtag1","hashtag2"]},{"1349937180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349937203, 1349937212, 1349937175, 1349937169, 1349937190, 1349937180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51576805114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:33:22.062538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_18_3641.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_23_2652.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_29_2863.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_38_3665.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_41_2701.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_47_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_18_3641.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_23_2652.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_29_2863.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_38_3665.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_41_2701.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_47_3561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937302","1349937280","1349937277","1349937294","1349937284","1349937275"],"photo_ids_order":["1349937275","1349937277","1349937280","1349937284","1349937294","1349937302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c83d6c69630d7cf3c861d1e01ff1cd15.jpg","text":"TemporaryFile(/tmp/multipartBody6620082080534782462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731265059,"filename":"image_14042025_10_41_47_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b88328f6a933070e314a67499abf3c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4232459507745002021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731265059,"filename":"image_14042025_10_41_29_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e644fed8c893c2bd048ec2c9e1f25809.jpg","text":"TemporaryFile(/tmp/multipartBody7499681882127729809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731265059,"filename":"image_14042025_10_41_23_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/805f9d9339ec0660a807fca6f312f9be.jpg","text":"TemporaryFile(/tmp/multipartBody5326730448045965032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731265059,"filename":"image_14042025_10_41_41_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9d5923ebeccc90f71474d67525eaa2e.jpg","text":"TemporaryFile(/tmp/multipartBody2790223199714170893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731265059,"filename":"image_14042025_10_41_38_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7bcfcd4c104ef3d324d38a8752f3f86.jpg","text":"TemporaryFile(/tmp/multipartBody5372833948173070276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731265059,"filename":"image_14042025_10_41_18_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349937280","file1":"1349937277","file0":"1349937275","file4":"1349937294","file5":"1349937302","file3":"1349937284"},"map_files_photo_id_array":[{"photo_id":"1349937302","filename":"file5"},{"photo_id":"1349937280","filename":"file2"},{"photo_id":"1349937294","filename":"file4"},{"photo_id":"1349937277","filename":"file1"},{"photo_id":"1349937275","filename":"file0"},{"photo_id":"1349937284","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349937302":["hashtag1","hashtag2"]},{"1349937280":["hashtag1","hashtag2"]},{"1349937277":["hashtag1","hashtag2"]},{"1349937294":["hashtag1","hashtag2"]},{"1349937284":["hashtag1","hashtag2"]},{"1349937275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349937302, 1349937280, 1349937277, 1349937294, 1349937284, 1349937275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59943771362305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:34:02.754479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_59_2806.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_05_3610.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_08_2689.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_11_2738.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_14_3695.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_17_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_59_2806.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_05_3610.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_08_2689.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_11_2738.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_14_3695.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_17_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937500","1349937490","1349937319","1349937328","1349937324","1349937464"],"photo_ids_order":["1349937319","1349937324","1349937328","1349937464","1349937490","1349937500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a92c923e3281c9c3eff02f68800c580c.jpg","text":"TemporaryFile(/tmp/multipartBody2378237718732068085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731305179,"filename":"image_14042025_10_42_17_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0ef6b8499cec2d26dae3d32e1db5d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3181194170234948960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731305179,"filename":"image_14042025_10_42_14_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd9dbff44e3ba9d3b22aeeaba86cb76f.jpg","text":"TemporaryFile(/tmp/multipartBody6904949365065571900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731305179,"filename":"image_14042025_10_41_59_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/470853a613bf1d3bc588d064136bc61d.jpg","text":"TemporaryFile(/tmp/multipartBody7781370698559084819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731305179,"filename":"image_14042025_10_42_08_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6baede948ada2e039a0391d8e78c36c1.jpg","text":"TemporaryFile(/tmp/multipartBody6853871569098686443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731305179,"filename":"image_14042025_10_42_05_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8efdc82a48828bfa9e9a93dc5c8e153.jpg","text":"TemporaryFile(/tmp/multipartBody8431482499948031424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731305179,"filename":"image_14042025_10_42_11_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349937328","file1":"1349937324","file0":"1349937319","file4":"1349937490","file5":"1349937500","file3":"1349937464"},"map_files_photo_id_array":[{"photo_id":"1349937500","filename":"file5"},{"photo_id":"1349937328","filename":"file2"},{"photo_id":"1349937490","filename":"file4"},{"photo_id":"1349937324","filename":"file1"},{"photo_id":"1349937319","filename":"file0"},{"photo_id":"1349937464","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349937500":["hashtag1","hashtag2"]},{"1349937490":["hashtag1","hashtag2"]},{"1349937319":["hashtag1","hashtag2"]},{"1349937328":["hashtag1","hashtag2"]},{"1349937324":["hashtag1","hashtag2"]},{"1349937464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349937500, 1349937490, 1349937319, 1349937328, 1349937324, 1349937464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68723011016846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:34:41.975120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_20_2569.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_23_3707.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_26_2814.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_29_2547.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_32_3688.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_35_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_20_2569.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_23_3707.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_26_2814.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_29_2547.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_32_3688.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_35_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937562","1349937619","1349937594","1349937613","1349937607","1349937530"],"photo_ids_order":["1349937530","1349937562","1349937594","1349937607","1349937613","1349937619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10d75e79eea2cdd0c7cd1260f755d1a1.jpg","text":"TemporaryFile(/tmp/multipartBody3093464278755103983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731343384,"filename":"image_14042025_10_42_23_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad0d2a6664a097a58e2a748e28d89079.jpg","text":"TemporaryFile(/tmp/multipartBody3130357272215373363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731343384,"filename":"image_14042025_10_42_35_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf3c0dbe60cd92f4e357cded62c69b7b.jpg","text":"TemporaryFile(/tmp/multipartBody1206329382381747076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731343384,"filename":"image_14042025_10_42_26_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3961445e75006f01cc6dac16c4217da1.jpg","text":"TemporaryFile(/tmp/multipartBody4549894517217276834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731343384,"filename":"image_14042025_10_42_32_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd8c26ef34d42ce3a12cedaac79f3aa1.jpg","text":"TemporaryFile(/tmp/multipartBody365507612290147824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731343384,"filename":"image_14042025_10_42_29_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c599c483cc863574982ff66a35f8eb08.jpg","text":"TemporaryFile(/tmp/multipartBody8141614308338434175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731343384,"filename":"image_14042025_10_42_20_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349937594","file1":"1349937562","file0":"1349937530","file4":"1349937613","file5":"1349937619","file3":"1349937607"},"map_files_photo_id_array":[{"photo_id":"1349937619","filename":"file5"},{"photo_id":"1349937594","filename":"file2"},{"photo_id":"1349937613","filename":"file4"},{"photo_id":"1349937562","filename":"file1"},{"photo_id":"1349937530","filename":"file0"},{"photo_id":"1349937607","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349937562":["hashtag1","hashtag2"]},{"1349937619":["hashtag1","hashtag2"]},{"1349937594":["hashtag1","hashtag2"]},{"1349937613":["hashtag1","hashtag2"]},{"1349937607":["hashtag1","hashtag2"]},{"1349937530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349937562, 1349937619, 1349937594, 1349937613, 1349937607, 1349937530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57057595252991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:35:21.879740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_38_2594.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_41_3591.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_44_2586.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_47_2746.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_50_3764.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_53_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_38_2594.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_41_3591.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_44_2586.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_47_2746.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_50_3764.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_53_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937728","1349937682","1349937696","1349937717","1349937734","1349937722"],"photo_ids_order":["1349937682","1349937696","1349937717","1349937722","1349937728","1349937734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44d178ed768391ffc217e2297dd86c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7729001931978163096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731384921,"filename":"image_14042025_10_42_50_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52914bca017c078d7be179d980e81f1e.jpg","text":"TemporaryFile(/tmp/multipartBody4840448068868766224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731384921,"filename":"image_14042025_10_42_38_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e46c0affb81c10efe2ddd96829136cba.jpg","text":"TemporaryFile(/tmp/multipartBody334313981362145147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731384921,"filename":"image_14042025_10_42_41_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f29d3f87a043ca10f895d995faae35a.jpg","text":"TemporaryFile(/tmp/multipartBody5735450551489405362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731384921,"filename":"image_14042025_10_42_44_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f3276afb4f0b7cf5034f2261254da01.jpg","text":"TemporaryFile(/tmp/multipartBody4199304677940069064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731384921,"filename":"image_14042025_10_42_53_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48d87fef36a029808db65d883d0993e6.jpg","text":"TemporaryFile(/tmp/multipartBody665746683742616623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731384921,"filename":"image_14042025_10_42_47_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349937717","file1":"1349937696","file0":"1349937682","file4":"1349937728","file5":"1349937734","file3":"1349937722"},"map_files_photo_id_array":[{"photo_id":"1349937734","filename":"file5"},{"photo_id":"1349937717","filename":"file2"},{"photo_id":"1349937728","filename":"file4"},{"photo_id":"1349937696","filename":"file1"},{"photo_id":"1349937682","filename":"file0"},{"photo_id":"1349937722","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349937728":["hashtag1","hashtag2"]},{"1349937682":["hashtag1","hashtag2"]},{"1349937696":["hashtag1","hashtag2"]},{"1349937717":["hashtag1","hashtag2"]},{"1349937734":["hashtag1","hashtag2"]},{"1349937722":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349937728, 1349937682, 1349937696, 1349937717, 1349937734, 1349937722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39007830619812 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:36:22.788184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/23/image_15042025_17_23_40_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/23/image_15042025_17_23_40_2521.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937762"],"photo_id":"1349937762","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f490d49e8d47c013e4c8cff697ee6773.jpg","text":"TemporaryFile(/tmp/multipartBody7709517355729397637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731443303,"filename":"image_15042025_17_23_40_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349937762"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349937762"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.47647500038147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:36:42.822446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_56_2553.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_59_3755.jpg', '/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_02_2706.jpg', '/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_05_2555.jpg', '/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_08_3648.jpg', '/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_38_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_56_2553.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_59_3755.jpg
/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_02_2706.jpg
/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_05_2555.jpg
/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_08_3648.jpg
/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_38_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937827","1349937799","1349937835","1349937831","1349937813","1349937821"],"photo_ids_order":["1349937799","1349937813","1349937821","1349937827","1349937831","1349937835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7deacf36151bafe6921cdcc05a410703.jpg","text":"TemporaryFile(/tmp/multipartBody1631323436051777088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731464300,"filename":"image_14042025_10_43_05_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f87cf861d17a2834a9f57276c4967801.jpg","text":"TemporaryFile(/tmp/multipartBody5413884114887376074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731464300,"filename":"image_14042025_10_42_56_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3fb3d912940d07861a22e5c9dc24d56.jpg","text":"TemporaryFile(/tmp/multipartBody521708192364123050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731464300,"filename":"image_14042025_10_43_38_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd200aae53bae989278d4ca9b4d5460b.jpg","text":"TemporaryFile(/tmp/multipartBody4291551610554389968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731464300,"filename":"image_14042025_10_43_08_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f13ab3be8cfdc4db8fdfd0b3174e12b3.jpg","text":"TemporaryFile(/tmp/multipartBody809402465418648836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731464300,"filename":"image_14042025_10_42_59_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7daf4f9328dc9b6915be08da4793afa.jpg","text":"TemporaryFile(/tmp/multipartBody3023501440167639933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731464300,"filename":"image_14042025_10_43_02_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349937821","file1":"1349937813","file0":"1349937799","file4":"1349937831","file5":"1349937835","file3":"1349937827"},"map_files_photo_id_array":[{"photo_id":"1349937835","filename":"file5"},{"photo_id":"1349937821","filename":"file2"},{"photo_id":"1349937831","filename":"file4"},{"photo_id":"1349937813","filename":"file1"},{"photo_id":"1349937799","filename":"file0"},{"photo_id":"1349937827","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349937827":["hashtag1","hashtag2"]},{"1349937799":["hashtag1","hashtag2"]},{"1349937835":["hashtag1","hashtag2"]},{"1349937831":["hashtag1","hashtag2"]},{"1349937813":["hashtag1","hashtag2"]},{"1349937821":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349937827, 1349937799, 1349937835, 1349937831, 1349937813, 1349937821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59253549575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:37:22.110523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/36/image_15042025_17_37_01_3663.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_04_2744.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_22_2725.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_31_3693.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_34_2813.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_37_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/36/image_15042025_17_37_01_3663.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_04_2744.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_22_2725.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_31_3693.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_34_2813.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_37_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349937982","1349938095","1349937855","1349937884","1349938037","1349937923"],"photo_ids_order":["1349937855","1349937884","1349937923","1349937982","1349938037","1349938095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32149820261be5351690a4930c2cc0df.jpg","text":"TemporaryFile(/tmp/multipartBody3234860938770622376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731502782,"filename":"image_15042025_17_37_31_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cf4fe640835ea43289c0927a1115aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2625494272588461044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731502782,"filename":"image_15042025_17_37_37_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93a16a5987216ca98ef0a7ea87f3cd12.jpg","text":"TemporaryFile(/tmp/multipartBody7404874534890562485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731502782,"filename":"image_15042025_17_37_01_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb96c3ec8219143e92978623536fca1e.jpg","text":"TemporaryFile(/tmp/multipartBody3220973380590091089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731502782,"filename":"image_15042025_17_37_04_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e96f25e8c1f185e6c864a342ee6bd55b.jpg","text":"TemporaryFile(/tmp/multipartBody1924989351264283057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731502782,"filename":"image_15042025_17_37_34_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d1d4418b6cd42a42fc34eb6e8d59399.jpg","text":"TemporaryFile(/tmp/multipartBody5629659261735833585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731502782,"filename":"image_15042025_17_37_22_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349937923","file1":"1349937884","file0":"1349937855","file4":"1349938037","file5":"1349938095","file3":"1349937982"},"map_files_photo_id_array":[{"photo_id":"1349938095","filename":"file5"},{"photo_id":"1349937923","filename":"file2"},{"photo_id":"1349938037","filename":"file4"},{"photo_id":"1349937884","filename":"file1"},{"photo_id":"1349937855","filename":"file0"},{"photo_id":"1349937982","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349937982":["hashtag1","hashtag2"]},{"1349938095":["hashtag1","hashtag2"]},{"1349937855":["hashtag1","hashtag2"]},{"1349937884":["hashtag1","hashtag2"]},{"1349938037":["hashtag1","hashtag2"]},{"1349937923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349937982, 1349938095, 1349937855, 1349937884, 1349938037, 1349937923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.501444578170776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:38:02.932806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:38:22.491742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_40_2651.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_43_3762.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_46_2596.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_49_2688.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_52_3055.jpg', '/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_55_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_40_2651.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_43_3762.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_46_2596.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_49_2688.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_52_3055.jpg
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_55_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349938528","1349938536","1349938419","1349938550","1349938544","1349938477"],"photo_ids_order":["1349938419","1349938477","1349938528","1349938536","1349938544","1349938550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c4d4fca9ee1bc205fc0fded1c582307.jpg","text":"TemporaryFile(/tmp/multipartBody380231321718987013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731563181,"filename":"image_15042025_17_37_46_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cb801a2843a5bb0e919c930a4f24ba2.jpg","text":"TemporaryFile(/tmp/multipartBody989400151326291297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731563181,"filename":"image_15042025_17_37_49_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf7be1c8ae4833794509dbcbac6f7a58.jpg","text":"TemporaryFile(/tmp/multipartBody2214143969934503639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731563181,"filename":"image_15042025_17_37_40_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba241f929bab70308784271c4d0b77b9.jpg","text":"TemporaryFile(/tmp/multipartBody1784872311236290379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731563181,"filename":"image_15042025_17_37_55_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27f1e78405b763ec98de17ad235bb8cd.jpg","text":"TemporaryFile(/tmp/multipartBody1923378145997678565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731563181,"filename":"image_15042025_17_37_52_3055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cac10b78c8ad8c23858f512fae0b9531.jpg","text":"TemporaryFile(/tmp/multipartBody319291362038590253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731563181,"filename":"image_15042025_17_37_43_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349938528","file1":"1349938477","file0":"1349938419","file4":"1349938544","file5":"1349938550","file3":"1349938536"},"map_files_photo_id_array":[{"photo_id":"1349938550","filename":"file5"},{"photo_id":"1349938528","filename":"file2"},{"photo_id":"1349938544","filename":"file4"},{"photo_id":"1349938477","filename":"file1"},{"photo_id":"1349938419","filename":"file0"},{"photo_id":"1349938536","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349938528":["hashtag1","hashtag2"]},{"1349938536":["hashtag1","hashtag2"]},{"1349938419":["hashtag1","hashtag2"]},{"1349938550":["hashtag1","hashtag2"]},{"1349938544":["hashtag1","hashtag2"]},{"1349938477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349938528, 1349938536, 1349938419, 1349938550, 1349938544, 1349938477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4800865650177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:39:03.009630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_58_3692.jpg', '/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_04_2752.jpg', '/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_07_3615.jpg', '/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_13_3748.jpg', '/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_16_2655.jpg', '/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_22_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/37/image_15042025_17_37_58_3692.jpg
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_04_2752.jpg
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_07_3615.jpg
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_13_3748.jpg
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_16_2655.jpg
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_22_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349938593","1349938680","1349938623","1349938602","1349938652","1349938580"],"photo_ids_order":["1349938580","1349938593","1349938602","1349938623","1349938652","1349938680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc84eaa09347d78e949ba0d3ffc41345.jpg","text":"TemporaryFile(/tmp/multipartBody5233974784575321926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731603877,"filename":"image_15042025_17_38_04_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac25d23a63d72053355cb7fa50331a19.jpg","text":"TemporaryFile(/tmp/multipartBody922171209693809069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731603877,"filename":"image_15042025_17_38_22_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef6c652b2ee0aa0d78b273c2ff6ce01b.jpg","text":"TemporaryFile(/tmp/multipartBody1460057814662194302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731603877,"filename":"image_15042025_17_38_13_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9278d7c15b348d661dc054cde457ad69.jpg","text":"TemporaryFile(/tmp/multipartBody614478008116709066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731603877,"filename":"image_15042025_17_38_07_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89231f557074576857a651531d5a3829.jpg","text":"TemporaryFile(/tmp/multipartBody6395535973469514769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731603877,"filename":"image_15042025_17_38_16_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/654c59b9be2c60a3246caf85566ddb47.jpg","text":"TemporaryFile(/tmp/multipartBody3937624439289572691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731603877,"filename":"image_15042025_17_37_58_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349938602","file1":"1349938593","file0":"1349938580","file4":"1349938652","file5":"1349938680","file3":"1349938623"},"map_files_photo_id_array":[{"photo_id":"1349938680","filename":"file5"},{"photo_id":"1349938602","filename":"file2"},{"photo_id":"1349938652","filename":"file4"},{"photo_id":"1349938593","filename":"file1"},{"photo_id":"1349938580","filename":"file0"},{"photo_id":"1349938623","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349938593":["hashtag1","hashtag2"]},{"1349938680":["hashtag1","hashtag2"]},{"1349938623":["hashtag1","hashtag2"]},{"1349938602":["hashtag1","hashtag2"]},{"1349938652":["hashtag1","hashtag2"]},{"1349938580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349938593, 1349938680, 1349938623, 1349938602, 1349938652, 1349938580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12529897689819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:39:41.973978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_28_2892.jpg', '/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_40_2647.jpg', '/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_43_2739.jpg', '/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_45_2840.jpg', '/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_49_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_28_2892.jpg
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_40_2647.jpg
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_43_2739.jpg
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_45_2840.jpg
/home/pi/Desktop/images/15042025/17/38/image_15042025_17_38_49_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349938818","1349938781","1349938883","1349938886","1349938871"],"photo_ids_order":["1349938781","1349938818","1349938871","1349938883","1349938886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07b144f05afaa002bd8c5143775703b5.jpg","text":"TemporaryFile(/tmp/multipartBody8650380634698902569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731642620,"filename":"image_15042025_17_38_40_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4be2dc6b7299d39f49f0d4a65490877c.jpg","text":"TemporaryFile(/tmp/multipartBody7921135181847644240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731642620,"filename":"image_15042025_17_38_28_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96c49962b565f8a5441eaeef39cc31e8.jpg","text":"TemporaryFile(/tmp/multipartBody8449567261937012708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731642620,"filename":"image_15042025_17_38_45_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d801867f86421a5a91a65af5341c3945.jpg","text":"TemporaryFile(/tmp/multipartBody6208227925083548924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731642620,"filename":"image_15042025_17_38_49_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d90f77c50cbf8434f6e2075bf51a98fd.jpg","text":"TemporaryFile(/tmp/multipartBody2239441062694540251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731642620,"filename":"image_15042025_17_38_43_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349938871","file1":"1349938818","file0":"1349938781","file4":"1349938886","file3":"1349938883"},"map_files_photo_id_array":[{"photo_id":"1349938871","filename":"file2"},{"photo_id":"1349938886","filename":"file4"},{"photo_id":"1349938818","filename":"file1"},{"photo_id":"1349938781","filename":"file0"},{"photo_id":"1349938883","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349938818":["hashtag1","hashtag2"]},{"1349938781":["hashtag1","hashtag2"]},{"1349938883":["hashtag1","hashtag2"]},{"1349938886":["hashtag1","hashtag2"]},{"1349938871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349938818, 1349938781, 1349938883, 1349938886, 1349938871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.801133155822754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:40:22.088374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/39/image_15042025_17_39_19_2689.jpg', '/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_38_2612.jpg', '/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_41_2912.jpg', '/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_43_2710.jpg', '/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_46_2974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/39/image_15042025_17_39_19_2689.jpg
/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_38_2612.jpg
/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_41_2912.jpg
/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_43_2710.jpg
/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_46_2974.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349938980","1349938976","1349938984","1349938987","1349938972"],"photo_ids_order":["1349938972","1349938976","1349938980","1349938984","1349938987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36e28e896b6f12dfb6aacf7f28850c72.jpg","text":"TemporaryFile(/tmp/multipartBody3289928995366813765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731682744,"filename":"image_15042025_17_40_41_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5687cccf47624a050674fec9ce26fdc5.jpg","text":"TemporaryFile(/tmp/multipartBody968335422839551520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731682744,"filename":"image_15042025_17_40_38_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/542856a38e75d8f55c92e4028420c4ec.jpg","text":"TemporaryFile(/tmp/multipartBody1521580635313079526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731682744,"filename":"image_15042025_17_40_43_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62852a18e0f09eccdfbf1b2a341fb5ea.jpg","text":"TemporaryFile(/tmp/multipartBody8098262230335657264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731682744,"filename":"image_15042025_17_40_46_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9d51ed063394d453f2a5e0d19ede2af.jpg","text":"TemporaryFile(/tmp/multipartBody3121952072816543585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731682744,"filename":"image_15042025_17_39_19_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349938980","file1":"1349938976","file0":"1349938972","file4":"1349938987","file3":"1349938984"},"map_files_photo_id_array":[{"photo_id":"1349938980","filename":"file2"},{"photo_id":"1349938987","filename":"file4"},{"photo_id":"1349938976","filename":"file1"},{"photo_id":"1349938972","filename":"file0"},{"photo_id":"1349938984","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349938980":["hashtag1","hashtag2"]},{"1349938976":["hashtag1","hashtag2"]},{"1349938984":["hashtag1","hashtag2"]},{"1349938987":["hashtag1","hashtag2"]},{"1349938972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349938980, 1349938976, 1349938984, 1349938987, 1349938972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.98040461540222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:41:02.906966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_13_2722.jpg', '/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_17_3740.jpg', '/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_23_2646.jpg', '/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_31_2606.jpg', '/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_35_3651.jpg', '/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_38_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_13_2722.jpg
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_17_3740.jpg
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_23_2646.jpg
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_31_2606.jpg
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_35_3651.jpg
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_38_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349939145","1349939198","1349939135","1349939144","1349939167","1349939146"],"photo_ids_order":["1349939135","1349939144","1349939145","1349939146","1349939167","1349939198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/021caf4bf8fcf25c83516000a84a438a.jpg","text":"TemporaryFile(/tmp/multipartBody7228823854327559508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731725508,"filename":"image_14042025_10_44_23_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e207833ae68137e858af929e89c8f74.jpg","text":"TemporaryFile(/tmp/multipartBody5839237717132932545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731725508,"filename":"image_14042025_10_44_38_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d703cd7e7f52afe43652447dab11b41.jpg","text":"TemporaryFile(/tmp/multipartBody9026292459962289050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731725508,"filename":"image_14042025_10_44_13_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2a7381e4dd536e29329e3942a4f740f.jpg","text":"TemporaryFile(/tmp/multipartBody7291262337661490503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731725508,"filename":"image_14042025_10_44_17_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a70b2bceb9f415b28e1f3bf1f4bd0e0.jpg","text":"TemporaryFile(/tmp/multipartBody42477832519491137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731725508,"filename":"image_14042025_10_44_35_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70d3c79a57383719623ba394d37d1eda.jpg","text":"TemporaryFile(/tmp/multipartBody5824472684574868857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731725508,"filename":"image_14042025_10_44_31_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349939145","file1":"1349939144","file0":"1349939135","file4":"1349939167","file5":"1349939198","file3":"1349939146"},"map_files_photo_id_array":[{"photo_id":"1349939198","filename":"file5"},{"photo_id":"1349939145","filename":"file2"},{"photo_id":"1349939167","filename":"file4"},{"photo_id":"1349939144","filename":"file1"},{"photo_id":"1349939135","filename":"file0"},{"photo_id":"1349939146","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349939145":["hashtag1","hashtag2"]},{"1349939198":["hashtag1","hashtag2"]},{"1349939135":["hashtag1","hashtag2"]},{"1349939144":["hashtag1","hashtag2"]},{"1349939167":["hashtag1","hashtag2"]},{"1349939146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349939145, 1349939198, 1349939135, 1349939144, 1349939167, 1349939146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87432050704956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:41:42.145513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_50_3705.jpg', '/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_08_3673.jpg', '/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_11_2880.jpg', '/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_23_2554.jpg', '/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_32_2680.jpg', '/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_38_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/40/image_15042025_17_40_50_3705.jpg
/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_08_3673.jpg
/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_11_2880.jpg
/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_23_2554.jpg
/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_32_2680.jpg
/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_38_3587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349939553","1349939285","1349939315","1349939494","1349939371","1349939440"],"photo_ids_order":["1349939285","1349939315","1349939371","1349939440","1349939494","1349939553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f0c02fa36e36bf0b6a8569b4d920d84.jpg","text":"TemporaryFile(/tmp/multipartBody7805634722935182134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731762822,"filename":"image_15042025_17_41_38_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bd7b34d04b097927227d60dd17a7cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1827861134097028259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731762822,"filename":"image_15042025_17_40_50_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c39390cc8629a0d3c18d535c7df21683.jpg","text":"TemporaryFile(/tmp/multipartBody2387561942458756649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731762822,"filename":"image_15042025_17_41_08_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8eee3ec405d9303da896cd73ac22f03.jpg","text":"TemporaryFile(/tmp/multipartBody7451192231686559116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731762822,"filename":"image_15042025_17_41_32_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35d04113be8993ced728be5912b71c30.jpg","text":"TemporaryFile(/tmp/multipartBody4330930907373260689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731762822,"filename":"image_15042025_17_41_11_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70174e31cb41fe73eaa38a44788d2549.jpg","text":"TemporaryFile(/tmp/multipartBody4295978433138127471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731762822,"filename":"image_15042025_17_41_23_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349939371","file1":"1349939315","file0":"1349939285","file4":"1349939494","file5":"1349939553","file3":"1349939440"},"map_files_photo_id_array":[{"photo_id":"1349939553","filename":"file5"},{"photo_id":"1349939371","filename":"file2"},{"photo_id":"1349939494","filename":"file4"},{"photo_id":"1349939315","filename":"file1"},{"photo_id":"1349939285","filename":"file0"},{"photo_id":"1349939440","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349939553":["hashtag1","hashtag2"]},{"1349939285":["hashtag1","hashtag2"]},{"1349939315":["hashtag1","hashtag2"]},{"1349939494":["hashtag1","hashtag2"]},{"1349939371":["hashtag1","hashtag2"]},{"1349939440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349939553, 1349939285, 1349939315, 1349939494, 1349939371, 1349939440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90423893928528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:42:22.266238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_47_2702.jpg', '/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_10_2811.jpg', '/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_20_3673.jpg', '/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_37_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/41/image_15042025_17_41_47_2702.jpg
/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_10_2811.jpg
/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_20_3673.jpg
/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_37_2532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349939835","1349939867","1349939758","1349939793"],"photo_ids_order":["1349939758","1349939793","1349939835","1349939867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/804181240bee111531b3cb828135fa9a.jpg","text":"TemporaryFile(/tmp/multipartBody4192429215235515644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731802904,"filename":"image_15042025_17_42_20_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/340967c432509363d873650b9741f857.jpg","text":"TemporaryFile(/tmp/multipartBody275170437835691872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731802904,"filename":"image_15042025_17_42_37_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f3491c3a8b7f9af6795d636cf068b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5099778640795064069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731802904,"filename":"image_15042025_17_41_47_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f04d1e57f41e141c03016468c7dc863.jpg","text":"TemporaryFile(/tmp/multipartBody8237488875354016339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731802904,"filename":"image_15042025_17_42_10_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349939835","file1":"1349939793","file0":"1349939758","file3":"1349939867"},"map_files_photo_id_array":[{"photo_id":"1349939835","filename":"file2"},{"photo_id":"1349939793","filename":"file1"},{"photo_id":"1349939758","filename":"file0"},{"photo_id":"1349939867","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349939835":["hashtag1","hashtag2"]},{"1349939867":["hashtag1","hashtag2"]},{"1349939758":["hashtag1","hashtag2"]},{"1349939793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349939835, 1349939867, 1349939758, 1349939793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.339418411254883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:43:03.343511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_40_2863.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_16_2619.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_22_3673.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_37_2664.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_46_2557.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_52_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_40_2863.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_16_2619.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_22_3673.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_37_2664.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_46_2557.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_52_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349940111","1349940290","1349940155","1349940221","1349940262","1349940184"],"photo_ids_order":["1349940111","1349940155","1349940184","1349940221","1349940262","1349940290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5dffa18d8bc50c79fce2dd23ddd5ae9a.jpg","text":"TemporaryFile(/tmp/multipartBody3170546693023001542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731845849,"filename":"image_14042025_10_44_40_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b608cb7d73bc498a7cfa33be0c48668b.jpg","text":"TemporaryFile(/tmp/multipartBody7855848422143550970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731845849,"filename":"image_14042025_10_45_52_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59514973fdcf253d46bde3426c36d2aa.jpg","text":"TemporaryFile(/tmp/multipartBody7612551537686106479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731845849,"filename":"image_14042025_10_45_16_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebbffafd086f81459230fbc4f469b83b.jpg","text":"TemporaryFile(/tmp/multipartBody748234062049474038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731845849,"filename":"image_14042025_10_45_37_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b071d42ad783cc1fad769ebfd92248d.jpg","text":"TemporaryFile(/tmp/multipartBody2464721840719732341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731845849,"filename":"image_14042025_10_45_46_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7c6450882a8d429e0b9d974f2ef2c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5905814756359250158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731845849,"filename":"image_14042025_10_45_22_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349940184","file1":"1349940155","file0":"1349940111","file4":"1349940262","file5":"1349940290","file3":"1349940221"},"map_files_photo_id_array":[{"photo_id":"1349940290","filename":"file5"},{"photo_id":"1349940184","filename":"file2"},{"photo_id":"1349940262","filename":"file4"},{"photo_id":"1349940155","filename":"file1"},{"photo_id":"1349940111","filename":"file0"},{"photo_id":"1349940221","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349940111":["hashtag1","hashtag2"]},{"1349940290":["hashtag1","hashtag2"]},{"1349940155":["hashtag1","hashtag2"]},{"1349940221":["hashtag1","hashtag2"]},{"1349940262":["hashtag1","hashtag2"]},{"1349940184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349940111, 1349940290, 1349940155, 1349940221, 1349940262, 1349940184)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.42976903915405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:44:03.020044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_56_3611.jpg', '/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_02_2898.jpg', '/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_04_2603.jpg', '/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_17_2631.jpg', '/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_23_3613.jpg', '/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_31_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/42/image_15042025_17_42_56_3611.jpg
/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_02_2898.jpg
/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_04_2603.jpg
/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_17_2631.jpg
/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_23_3613.jpg
/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_31_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349940427","1349940477","1349940480","1349940456","1349940482","1349940397"],"photo_ids_order":["1349940397","1349940427","1349940456","1349940477","1349940480","1349940482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/783d732554e98650bf8f5cefb05b16e2.jpg","text":"TemporaryFile(/tmp/multipartBody4868529222603493286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731903808,"filename":"image_15042025_17_43_02_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd57b81d6ef62f606a9013b45257d474.jpg","text":"TemporaryFile(/tmp/multipartBody451123701112208460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731903808,"filename":"image_15042025_17_43_17_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8732069d007391addedb48ae1dbfadde.jpg","text":"TemporaryFile(/tmp/multipartBody4139571935776451398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731903808,"filename":"image_15042025_17_43_23_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7011cd62cceff42f57db64c243aaf809.jpg","text":"TemporaryFile(/tmp/multipartBody2804935471864517240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731903808,"filename":"image_15042025_17_43_04_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/982ea3227e4e93136d01e74b3f2881ff.jpg","text":"TemporaryFile(/tmp/multipartBody5718342699024678906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731903808,"filename":"image_15042025_17_43_31_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e54006c431316f957a5b04b0abc354c2.jpg","text":"TemporaryFile(/tmp/multipartBody2983786051185729125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731903808,"filename":"image_15042025_17_42_56_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349940456","file1":"1349940427","file0":"1349940397","file4":"1349940480","file5":"1349940482","file3":"1349940477"},"map_files_photo_id_array":[{"photo_id":"1349940482","filename":"file5"},{"photo_id":"1349940456","filename":"file2"},{"photo_id":"1349940480","filename":"file4"},{"photo_id":"1349940427","filename":"file1"},{"photo_id":"1349940397","filename":"file0"},{"photo_id":"1349940477","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349940427":["hashtag1","hashtag2"]},{"1349940477":["hashtag1","hashtag2"]},{"1349940480":["hashtag1","hashtag2"]},{"1349940456":["hashtag1","hashtag2"]},{"1349940482":["hashtag1","hashtag2"]},{"1349940397":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349940427, 1349940477, 1349940480, 1349940456, 1349940482, 1349940397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34843373298645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:44:42.407976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_38_2605.jpg', '/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_52_2697.jpg', '/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_56_3770.jpg', '/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_58_2633.jpg', '/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_01_2637.jpg', '/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_05_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_38_2605.jpg
/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_52_2697.jpg
/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_56_3770.jpg
/home/pi/Desktop/images/15042025/17/43/image_15042025_17_43_58_2633.jpg
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_01_2637.jpg
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_05_3729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349940655","1349940630","1349940599","1349940519","1349940653","1349940563"],"photo_ids_order":["1349940519","1349940563","1349940599","1349940630","1349940653","1349940655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5514f97c54c63d388b0bcf4b35abb62.jpg","text":"TemporaryFile(/tmp/multipartBody9094834611142094082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731943103,"filename":"image_15042025_17_44_05_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37d75b903aad87f72fb4b0021fcdae2c.jpg","text":"TemporaryFile(/tmp/multipartBody4129728155197093970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731943103,"filename":"image_15042025_17_43_58_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4555cd0c93646f677ebfca23d877bfab.jpg","text":"TemporaryFile(/tmp/multipartBody2329320993345284866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731943103,"filename":"image_15042025_17_43_56_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/301cec62c0d2d1f6984cebbe8de20815.jpg","text":"TemporaryFile(/tmp/multipartBody504461096646192137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731943103,"filename":"image_15042025_17_43_38_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b126aac3d3f5919554af34645f2e1343.jpg","text":"TemporaryFile(/tmp/multipartBody2505191831591052404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731943103,"filename":"image_15042025_17_44_01_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f533a135f17f0b2a023c8890c8f7d390.jpg","text":"TemporaryFile(/tmp/multipartBody3991254304641027586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731943103,"filename":"image_15042025_17_43_52_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349940599","file1":"1349940563","file0":"1349940519","file4":"1349940653","file5":"1349940655","file3":"1349940630"},"map_files_photo_id_array":[{"photo_id":"1349940655","filename":"file5"},{"photo_id":"1349940599","filename":"file2"},{"photo_id":"1349940653","filename":"file4"},{"photo_id":"1349940563","filename":"file1"},{"photo_id":"1349940519","filename":"file0"},{"photo_id":"1349940630","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349940655":["hashtag1","hashtag2"]},{"1349940630":["hashtag1","hashtag2"]},{"1349940599":["hashtag1","hashtag2"]},{"1349940519":["hashtag1","hashtag2"]},{"1349940653":["hashtag1","hashtag2"]},{"1349940563":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349940655, 1349940630, 1349940599, 1349940519, 1349940653, 1349940563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.934444427490234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:45:22.268067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_08_2714.jpg', '/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_10_2559.jpg', '/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_14_3622.jpg', '/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_18_4335.jpg', '/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_20_1563.jpg', '/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_25_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_08_2714.jpg
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_10_2559.jpg
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_14_3622.jpg
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_18_4335.jpg
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_20_1563.jpg
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_25_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349940748","1349940802","1349940771","1349940782","1349940722","1349940745"],"photo_ids_order":["1349940722","1349940745","1349940748","1349940771","1349940782","1349940802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96211538ac6cdd42a4253d177b233089.jpg","text":"TemporaryFile(/tmp/multipartBody8635360041919815606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731982935,"filename":"image_15042025_17_44_14_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a32ac78a6001e612599ec54a2a7fa78.jpg","text":"TemporaryFile(/tmp/multipartBody5863938908024787995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731982935,"filename":"image_15042025_17_44_25_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/def6cd8207168f85bea56813cfe0ebab.jpg","text":"TemporaryFile(/tmp/multipartBody2762622903746592507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731982935,"filename":"image_15042025_17_44_18_4335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/533208cb730305f00527f9cf89a6dd5a.jpg","text":"TemporaryFile(/tmp/multipartBody4975980747176727803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731982935,"filename":"image_15042025_17_44_20_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2aaec172af873928b53a351b49361487.jpg","text":"TemporaryFile(/tmp/multipartBody7400032129207335193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731982935,"filename":"image_15042025_17_44_08_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d9e4021ee648642735ad7051a27a6c2.jpg","text":"TemporaryFile(/tmp/multipartBody8087235006905104407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744731982935,"filename":"image_15042025_17_44_10_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349940748","file1":"1349940745","file0":"1349940722","file4":"1349940782","file5":"1349940802","file3":"1349940771"},"map_files_photo_id_array":[{"photo_id":"1349940802","filename":"file5"},{"photo_id":"1349940748","filename":"file2"},{"photo_id":"1349940782","filename":"file4"},{"photo_id":"1349940745","filename":"file1"},{"photo_id":"1349940722","filename":"file0"},{"photo_id":"1349940771","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349940748":["hashtag1","hashtag2"]},{"1349940802":["hashtag1","hashtag2"]},{"1349940771":["hashtag1","hashtag2"]},{"1349940782":["hashtag1","hashtag2"]},{"1349940722":["hashtag1","hashtag2"]},{"1349940745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349940748, 1349940802, 1349940771, 1349940782, 1349940722, 1349940745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54841899871826 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:46:22.468478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_44_6630.jpg', '/home/pi/Desktop/images/15042025/17/46/image_15042025_17_46_02_2575.jpg', '/home/pi/Desktop/images/15042025/17/46/image_15042025_17_46_10_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/44/image_15042025_17_44_44_6630.jpg
/home/pi/Desktop/images/15042025/17/46/image_15042025_17_46_02_2575.jpg
/home/pi/Desktop/images/15042025/17/46/image_15042025_17_46_10_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349940894","1349940903","1349940900"],"photo_ids_order":["1349940894","1349940900","1349940903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/707c8a0588cb161391a4897e851227ce.jpg","text":"TemporaryFile(/tmp/multipartBody3568533630867356845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732043070,"filename":"image_15042025_17_44_44_6630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e601499add5477728fcb64cfdd0a1a9.jpg","text":"TemporaryFile(/tmp/multipartBody3484583433362709631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732043070,"filename":"image_15042025_17_46_10_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55de8884bc8dbfc78929b760ae10ed07.jpg","text":"TemporaryFile(/tmp/multipartBody7221354285670019771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732043070,"filename":"image_15042025_17_46_02_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349940903","file1":"1349940900","file0":"1349940894"},"map_files_photo_id_array":[{"photo_id":"1349940903","filename":"file2"},{"photo_id":"1349940900","filename":"file1"},{"photo_id":"1349940894","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349940894":["hashtag1","hashtag2"]},{"1349940903":["hashtag1","hashtag2"]},{"1349940900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349940894, 1349940903, 1349940900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.9492609500885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:47:03.352361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_55_2570.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_01_2649.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_10_2621.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_31_2695.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_34_2616.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_37_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_55_2570.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_01_2649.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_10_2621.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_31_2695.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_34_2616.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_37_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941074","1349941068","1349941088","1349941107","1349941081","1349941084"],"photo_ids_order":["1349941068","1349941074","1349941081","1349941084","1349941088","1349941107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c435303a9e77dbeb90b9e20159f373ca.jpg","text":"TemporaryFile(/tmp/multipartBody3214323928408712626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732085897,"filename":"image_14042025_10_46_01_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fff19f80a91e200e7962bcadc7e39e0f.jpg","text":"TemporaryFile(/tmp/multipartBody4201889453744380984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732085897,"filename":"image_14042025_10_45_55_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8889dad819b0bca597a2d0d250ec6da0.jpg","text":"TemporaryFile(/tmp/multipartBody7561017414250968959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732085897,"filename":"image_14042025_10_46_34_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f96c6b294dd62f58510e0627a4cea039.jpg","text":"TemporaryFile(/tmp/multipartBody939508853213889153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732085897,"filename":"image_14042025_10_46_37_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89b0da978f4d3505fcefdbf12776ff6c.jpg","text":"TemporaryFile(/tmp/multipartBody1567049542777914715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732085897,"filename":"image_14042025_10_46_10_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6153678a1f75d929378366af9083ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1282757083110847695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732085897,"filename":"image_14042025_10_46_31_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349941081","file1":"1349941074","file0":"1349941068","file4":"1349941088","file5":"1349941107","file3":"1349941084"},"map_files_photo_id_array":[{"photo_id":"1349941107","filename":"file5"},{"photo_id":"1349941081","filename":"file2"},{"photo_id":"1349941088","filename":"file4"},{"photo_id":"1349941074","filename":"file1"},{"photo_id":"1349941068","filename":"file0"},{"photo_id":"1349941084","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349941074":["hashtag1","hashtag2"]},{"1349941068":["hashtag1","hashtag2"]},{"1349941088":["hashtag1","hashtag2"]},{"1349941107":["hashtag1","hashtag2"]},{"1349941081":["hashtag1","hashtag2"]},{"1349941084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349941074, 1349941068, 1349941088, 1349941107, 1349941081, 1349941084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58703684806824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:47:42.667554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/46/image_15042025_17_46_17_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/46/image_15042025_17_46_17_2786.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941202"],"photo_id":"1349941202","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b54fa53a7b905407d70b55570eff28f.jpg","text":"TemporaryFile(/tmp/multipartBody3430122994434359361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732123194,"filename":"image_15042025_17_46_17_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349941202"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349941202"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.950154781341553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:48:03.356414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_46_3601.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_54_2603.jpg', '/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_01_2628.jpg', '/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_52_2616.jpg', '/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_46_3677.jpg', '/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_49_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_46_3601.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_54_2603.jpg
/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_01_2628.jpg
/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_52_2616.jpg
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_46_3677.jpg
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_49_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941257","1349941262","1349941247","1349941252","1349941255","1349941243"],"photo_ids_order":["1349941243","1349941247","1349941252","1349941255","1349941257","1349941262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe2b18b1500a04949f74d26ca6aec3d6.jpg","text":"TemporaryFile(/tmp/multipartBody7536892763048771254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732145829,"filename":"image_14042025_10_49_46_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d3ab51b1a4ef12eef9b9722da15334d.jpg","text":"TemporaryFile(/tmp/multipartBody5193881758960044381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732145829,"filename":"image_14042025_10_49_49_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4fe533b79af808dc666393f8f369f0c2.jpg","text":"TemporaryFile(/tmp/multipartBody7800028259252620571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732145829,"filename":"image_14042025_10_46_54_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87d4f26ce1b650eb5f9f1b621ef7a0ad.jpg","text":"TemporaryFile(/tmp/multipartBody4001988926743081024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732145829,"filename":"image_14042025_10_47_01_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acee5d84690d7cf2599ea1addab3a9be.jpg","text":"TemporaryFile(/tmp/multipartBody1569428494718942483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732145829,"filename":"image_14042025_10_48_52_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd58931dec55d054f3d043a5fca17c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3294775064571142286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732145829,"filename":"image_14042025_10_46_46_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349941252","file1":"1349941247","file0":"1349941243","file4":"1349941257","file5":"1349941262","file3":"1349941255"},"map_files_photo_id_array":[{"photo_id":"1349941262","filename":"file5"},{"photo_id":"1349941252","filename":"file2"},{"photo_id":"1349941257","filename":"file4"},{"photo_id":"1349941247","filename":"file1"},{"photo_id":"1349941243","filename":"file0"},{"photo_id":"1349941255","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349941257":["hashtag1","hashtag2"]},{"1349941262":["hashtag1","hashtag2"]},{"1349941247":["hashtag1","hashtag2"]},{"1349941252":["hashtag1","hashtag2"]},{"1349941255":["hashtag1","hashtag2"]},{"1349941243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349941257, 1349941262, 1349941247, 1349941252, 1349941255, 1349941243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05432415008545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:48:42.649276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/47/image_15042025_17_47_01_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/47/image_15042025_17_47_01_2540.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941323"],"photo_id":"1349941323","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3895b01fe4ec60adbeca31e17869c208.jpg","text":"TemporaryFile(/tmp/multipartBody8168743312945642218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732183387,"filename":"image_15042025_17_47_01_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349941323"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349941323"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.52769923210144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:49:03.390380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_51_2780.jpg', '/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_55_3605.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_13_2844.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_16_2990.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_19_3760.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_22_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_51_2780.jpg
/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_55_3605.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_13_2844.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_16_2990.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_19_3760.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_22_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941405","1349941421","1349941412","1349941409","1349941400","1349941417"],"photo_ids_order":["1349941400","1349941405","1349941409","1349941412","1349941417","1349941421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78fa5e1ba49cb0e7566d80d397abc73c.jpg","text":"TemporaryFile(/tmp/multipartBody5283234180495183883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732206049,"filename":"image_14042025_10_52_55_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3441261ef2022ba7574c04c0a4d0c0d1.jpg","text":"TemporaryFile(/tmp/multipartBody8793709034303830030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732206049,"filename":"image_14042025_10_53_22_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82a6cdc0591f8b8d90b04fa49a3d2e2a.jpg","text":"TemporaryFile(/tmp/multipartBody5346130187400921346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732206049,"filename":"image_14042025_10_53_16_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab89217fcc828417e1ddf1df8be8740b.jpg","text":"TemporaryFile(/tmp/multipartBody6194072769950543138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732206049,"filename":"image_14042025_10_53_13_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2a72e10a008ee6f6e975c73fd6d0533.jpg","text":"TemporaryFile(/tmp/multipartBody5139243744324493065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732206049,"filename":"image_14042025_10_49_51_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acd4aecbbfb9e835af3d1ea00ee48084.jpg","text":"TemporaryFile(/tmp/multipartBody6746699521106906526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732206049,"filename":"image_14042025_10_53_19_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349941409","file1":"1349941405","file0":"1349941400","file4":"1349941417","file5":"1349941421","file3":"1349941412"},"map_files_photo_id_array":[{"photo_id":"1349941421","filename":"file5"},{"photo_id":"1349941409","filename":"file2"},{"photo_id":"1349941417","filename":"file4"},{"photo_id":"1349941405","filename":"file1"},{"photo_id":"1349941400","filename":"file0"},{"photo_id":"1349941412","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349941405":["hashtag1","hashtag2"]},{"1349941421":["hashtag1","hashtag2"]},{"1349941412":["hashtag1","hashtag2"]},{"1349941409":["hashtag1","hashtag2"]},{"1349941400":["hashtag1","hashtag2"]},{"1349941417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349941405, 1349941421, 1349941412, 1349941409, 1349941400, 1349941417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92427468299866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:49:42.524898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/48/image_15042025_17_48_56_3652.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_14_3676.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_16_2595.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_23_3666.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_32_3768.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_34_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/48/image_15042025_17_48_56_3652.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_14_3676.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_16_2595.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_23_3666.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_32_3768.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_34_2822.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941551","1349941583","1349941499","1349941481","1349941529","1349941544"],"photo_ids_order":["1349941481","1349941499","1349941529","1349941544","1349941551","1349941583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db7b1ea32865b13e8f28753ed0fa0a66.jpg","text":"TemporaryFile(/tmp/multipartBody5074304409495252671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732243215,"filename":"image_15042025_17_49_32_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5dabfc711bdf338f856a8228e80506b.jpg","text":"TemporaryFile(/tmp/multipartBody8525609296342820022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732243215,"filename":"image_15042025_17_49_34_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7abd6896f5719c3f8a2a43e9b3ebe85f.jpg","text":"TemporaryFile(/tmp/multipartBody5687468608284815295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732243215,"filename":"image_15042025_17_49_14_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b07b7a74ff898eea6e5a1266645d5c0.jpg","text":"TemporaryFile(/tmp/multipartBody5953835621862191745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732243215,"filename":"image_15042025_17_48_56_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/252c8e8a69a058da453f0a6ca92447c8.jpg","text":"TemporaryFile(/tmp/multipartBody3041948798076164403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732243215,"filename":"image_15042025_17_49_16_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/536fe3f4ce7dd7a1c1e754eca1b7716a.jpg","text":"TemporaryFile(/tmp/multipartBody6017656713059728062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732243215,"filename":"image_15042025_17_49_23_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349941529","file1":"1349941499","file0":"1349941481","file4":"1349941551","file5":"1349941583","file3":"1349941544"},"map_files_photo_id_array":[{"photo_id":"1349941583","filename":"file5"},{"photo_id":"1349941529","filename":"file2"},{"photo_id":"1349941551","filename":"file4"},{"photo_id":"1349941499","filename":"file1"},{"photo_id":"1349941481","filename":"file0"},{"photo_id":"1349941544","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349941551":["hashtag1","hashtag2"]},{"1349941583":["hashtag1","hashtag2"]},{"1349941499":["hashtag1","hashtag2"]},{"1349941481":["hashtag1","hashtag2"]},{"1349941529":["hashtag1","hashtag2"]},{"1349941544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349941551, 1349941583, 1349941499, 1349941481, 1349941529, 1349941544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.578006744384766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:50:22.240985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_37_2631.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_40_2711.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_43_3660.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_46_2634.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_49_2744.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_52_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_37_2631.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_40_2711.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_43_3660.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_46_2634.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_49_2744.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_52_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941692","1349941683","1349941676","1349941649","1349941687","1349941610"],"photo_ids_order":["1349941610","1349941649","1349941676","1349941683","1349941687","1349941692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df3d2e543347ed966ffc162000c61d49.jpg","text":"TemporaryFile(/tmp/multipartBody7458378939111834717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732282931,"filename":"image_15042025_17_49_52_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18f1bf78d7f17d80e39893ece00a0415.jpg","text":"TemporaryFile(/tmp/multipartBody8309273541695430043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732282931,"filename":"image_15042025_17_49_46_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3526c64c66625db0f6cc70c7fb178c8b.jpg","text":"TemporaryFile(/tmp/multipartBody7246906949883222894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732282931,"filename":"image_15042025_17_49_43_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/110e91737df3016332fc188c4913ad92.jpg","text":"TemporaryFile(/tmp/multipartBody4356992769595842428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732282931,"filename":"image_15042025_17_49_40_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6b5448a9a07520cf1fb1dc807077c46.jpg","text":"TemporaryFile(/tmp/multipartBody521496456679442024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732282931,"filename":"image_15042025_17_49_49_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/881b8fcfa85214564b0507faf8c4a79f.jpg","text":"TemporaryFile(/tmp/multipartBody3403127669739758877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732282931,"filename":"image_15042025_17_49_37_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349941676","file1":"1349941649","file0":"1349941610","file4":"1349941687","file5":"1349941692","file3":"1349941683"},"map_files_photo_id_array":[{"photo_id":"1349941692","filename":"file5"},{"photo_id":"1349941676","filename":"file2"},{"photo_id":"1349941687","filename":"file4"},{"photo_id":"1349941649","filename":"file1"},{"photo_id":"1349941610","filename":"file0"},{"photo_id":"1349941683","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349941692":["hashtag1","hashtag2"]},{"1349941683":["hashtag1","hashtag2"]},{"1349941676":["hashtag1","hashtag2"]},{"1349941649":["hashtag1","hashtag2"]},{"1349941687":["hashtag1","hashtag2"]},{"1349941610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349941692, 1349941683, 1349941676, 1349941649, 1349941687, 1349941610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.346747398376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:51:03.149272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_55_2669.jpg', '/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_58_2596.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_08_3011.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_11_3699.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_20_2816.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_23_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_55_2669.jpg
/home/pi/Desktop/images/15042025/17/49/image_15042025_17_49_58_2596.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_08_3011.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_11_3699.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_20_2816.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_23_2857.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941835","1349941808","1349941742","1349941712","1349941840","1349941777"],"photo_ids_order":["1349941712","1349941742","1349941777","1349941808","1349941835","1349941840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d269a1271d4836b581098c368b2b09ee.jpg","text":"TemporaryFile(/tmp/multipartBody5900068497054909964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732323982,"filename":"image_15042025_17_50_20_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b71061272007e86914277495ba0dc2c4.jpg","text":"TemporaryFile(/tmp/multipartBody7498668673823126325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732323982,"filename":"image_15042025_17_50_11_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c27fdc11ce8aec4c4bf406da6b724004.jpg","text":"TemporaryFile(/tmp/multipartBody5873143409778805626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732323982,"filename":"image_15042025_17_49_58_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76440b08deb1e11846a74a6853f337d2.jpg","text":"TemporaryFile(/tmp/multipartBody5413556455673056335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732323982,"filename":"image_15042025_17_49_55_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bab4c3090f67dee8d432444f38eab90.jpg","text":"TemporaryFile(/tmp/multipartBody564305964727470787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732323982,"filename":"image_15042025_17_50_23_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e897215b0e07419f605fbb1e1f76ac3a.jpg","text":"TemporaryFile(/tmp/multipartBody8961409963916543505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732323982,"filename":"image_15042025_17_50_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349941777","file1":"1349941742","file0":"1349941712","file4":"1349941835","file5":"1349941840","file3":"1349941808"},"map_files_photo_id_array":[{"photo_id":"1349941840","filename":"file5"},{"photo_id":"1349941777","filename":"file2"},{"photo_id":"1349941835","filename":"file4"},{"photo_id":"1349941742","filename":"file1"},{"photo_id":"1349941712","filename":"file0"},{"photo_id":"1349941808","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349941835":["hashtag1","hashtag2"]},{"1349941808":["hashtag1","hashtag2"]},{"1349941742":["hashtag1","hashtag2"]},{"1349941712":["hashtag1","hashtag2"]},{"1349941840":["hashtag1","hashtag2"]},{"1349941777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349941835, 1349941808, 1349941742, 1349941712, 1349941840, 1349941777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4195818901062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 17:51:42.387343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_26_2531.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_32_2589.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_36_3599.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_38_2698.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_41_2651.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_45_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_26_2531.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_32_2589.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_36_3599.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_38_2698.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_41_2651.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_45_3565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349941869","1349941859","1349942015","1349941853","1349941873","1349941864"],"photo_ids_order":["1349941853","1349941859","1349941864","1349941869","1349941873","1349942015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99b9d08d836a8461797af1b682f7ac35.jpg","text":"TemporaryFile(/tmp/multipartBody8607676973589438118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732363127,"filename":"image_15042025_17_50_38_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a55333703b07e7090b964bec0a794526.jpg","text":"TemporaryFile(/tmp/multipartBody6527851318414226992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732363127,"filename":"image_15042025_17_50_32_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03bb7f283f4825fc504255024065cc9e.jpg","text":"TemporaryFile(/tmp/multipartBody5733783795791574083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732363127,"filename":"image_15042025_17_50_45_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c55001fbd18806e24ec9969802df8b60.jpg","text":"TemporaryFile(/tmp/multipartBody7990725187067507651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732363127,"filename":"image_15042025_17_50_26_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7aa6d0b614fcdb778797035b56bcfa0b.jpg","text":"TemporaryFile(/tmp/multipartBody1701016313367878314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732363127,"filename":"image_15042025_17_50_41_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58470eb16112f27357f87db83f20cd75.jpg","text":"TemporaryFile(/tmp/multipartBody2739014347561298336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732363127,"filename":"image_15042025_17_50_36_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349941864","file1":"1349941859","file0":"1349941853","file4":"1349941873","file5":"1349942015","file3":"1349941869"},"map_files_photo_id_array":[{"photo_id":"1349942015","filename":"file5"},{"photo_id":"1349941864","filename":"file2"},{"photo_id":"1349941873","filename":"file4"},{"photo_id":"1349941859","filename":"file1"},{"photo_id":"1349941853","filename":"file0"},{"photo_id":"1349941869","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349941869":["hashtag1","hashtag2"]},{"1349941859":["hashtag1","hashtag2"]},{"1349942015":["hashtag1","hashtag2"]},{"1349941853":["hashtag1","hashtag2"]},{"1349941873":["hashtag1","hashtag2"]},{"1349941864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349941869, 1349941859, 1349942015, 1349941853, 1349941873, 1349941864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08867144584656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:52:22.464162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_50_2684.jpg', '/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_56_2750.jpg', '/home/pi/Desktop/images/15042025/17/51/image_15042025_17_51_05_2819.jpg', '/home/pi/Desktop/images/15042025/17/51/image_15042025_17_51_11_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_50_2684.jpg
/home/pi/Desktop/images/15042025/17/50/image_15042025_17_50_56_2750.jpg
/home/pi/Desktop/images/15042025/17/51/image_15042025_17_51_05_2819.jpg
/home/pi/Desktop/images/15042025/17/51/image_15042025_17_51_11_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942031","1349942036","1349942041","1349942044"],"photo_ids_order":["1349942031","1349942036","1349942041","1349942044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e34ecf3940cb9d8732508a8c3c06e259.jpg","text":"TemporaryFile(/tmp/multipartBody7946362828354337171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732403253,"filename":"image_15042025_17_50_50_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/336b33591d2d7dd206323d33144cd518.jpg","text":"TemporaryFile(/tmp/multipartBody9181981621109036481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732403253,"filename":"image_15042025_17_50_56_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc1c9930d6089be49a3ca0052f33834a.jpg","text":"TemporaryFile(/tmp/multipartBody8019765621675853953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732403253,"filename":"image_15042025_17_51_05_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c80c1e107968ba071b7b71e08ab44baa.jpg","text":"TemporaryFile(/tmp/multipartBody3446463113166726322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732403253,"filename":"image_15042025_17_51_11_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349942041","file1":"1349942036","file0":"1349942031","file3":"1349942044"},"map_files_photo_id_array":[{"photo_id":"1349942041","filename":"file2"},{"photo_id":"1349942036","filename":"file1"},{"photo_id":"1349942031","filename":"file0"},{"photo_id":"1349942044","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349942031":["hashtag1","hashtag2"]},{"1349942036":["hashtag1","hashtag2"]},{"1349942041":["hashtag1","hashtag2"]},{"1349942044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349942031, 1349942036, 1349942041, 1349942044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.30955481529236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:53:03.485353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_25_2839.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_28_2671.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_31_3582.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_34_2614.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_40_3612.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_43_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_25_2839.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_28_2671.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_31_3582.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_34_2614.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_40_3612.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_43_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1349942090","1349942117","1349942095","1349942101","1349942113","1349942107"],"photo_ids_order":["1349942090","1349942095","1349942101","1349942107","1349942113","1349942117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a738b314eeb5fe28ea9e706b13e98ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4593091021647922803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732446013,"filename":"image_14042025_10_53_25_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5476f02dbd9087f723710fd0cb0dc91.jpg","text":"TemporaryFile(/tmp/multipartBody7916615154256127968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732446013,"filename":"image_14042025_10_53_43_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a37b8564e1efdcc54e38d1ff52b52995.jpg","text":"TemporaryFile(/tmp/multipartBody5010392836198312606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732446013,"filename":"image_14042025_10_53_28_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76a55a1355d6b7eaa437ec189d353a03.jpg","text":"TemporaryFile(/tmp/multipartBody4748876382992262890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732446013,"filename":"image_14042025_10_53_31_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0aca1a2250284ddb2eea86c2b667253.jpg","text":"TemporaryFile(/tmp/multipartBody8962274170769179412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732446013,"filename":"image_14042025_10_53_40_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfd13babb9473b3c6bc97c623509b58c.jpg","text":"TemporaryFile(/tmp/multipartBody2960858307225791996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732446013,"filename":"image_14042025_10_53_34_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349942101","file1":"1349942095","file0":"1349942090","file4":"1349942113","file5":"1349942117","file3":"1349942107"},"map_files_photo_id_array":[{"photo_id":"1349942117","filename":"file5"},{"photo_id":"1349942101","filename":"file2"},{"photo_id":"1349942113","filename":"file4"},{"photo_id":"1349942095","filename":"file1"},{"photo_id":"1349942090","filename":"file0"},{"photo_id":"1349942107","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349942090":["hashtag1","hashtag2"]},{"1349942117":["hashtag1","hashtag2"]},{"1349942095":["hashtag1","hashtag2"]},{"1349942101":["hashtag1","hashtag2"]},{"1349942113":["hashtag1","hashtag2"]},{"1349942107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349942090, 1349942117, 1349942095, 1349942101, 1349942113, 1349942107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.170644760131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:54:02.508373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/51/image_15042025_17_51_41_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/51/image_15042025_17_51_41_3689.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942143"],"photo_id":"1349942143","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10d6e5c8013cdac8133b80f8d3deed4e.jpg","text":"TemporaryFile(/tmp/multipartBody7675811548877945788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732503119,"filename":"image_15042025_17_51_41_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349942143"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349942143"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.23124361038208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:54:21.806919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/53/image_15042025_17_53_29_2712.jpg', '/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_05_2799.jpg', '/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_23_2598.jpg', '/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_29_3648.jpg', '/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_32_2692.jpg', '/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_35_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/53/image_15042025_17_53_29_2712.jpg
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_05_2799.jpg
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_23_2598.jpg
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_29_3648.jpg
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_32_2692.jpg
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_35_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942172","1349942189","1349942177","1349942182","1349942167","1349942184"],"photo_ids_order":["1349942167","1349942172","1349942177","1349942182","1349942184","1349942189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d00d659684759e06d384a7b62545497f.jpg","text":"TemporaryFile(/tmp/multipartBody8521670446260757027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732522491,"filename":"image_15042025_17_54_05_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27f14385b3f709ca4c938efb1fd78be2.jpg","text":"TemporaryFile(/tmp/multipartBody4359413834448978580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732522491,"filename":"image_15042025_17_54_35_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1ac1025e8adc8d3b324bccd7366d33b.jpg","text":"TemporaryFile(/tmp/multipartBody2636133695942016981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732522491,"filename":"image_15042025_17_54_23_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f571dc62d85cef47299f95fe40155f49.jpg","text":"TemporaryFile(/tmp/multipartBody4326591936604038733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732522491,"filename":"image_15042025_17_54_29_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/951e41b0151f33aa1557b2e4ba236eed.jpg","text":"TemporaryFile(/tmp/multipartBody5410106244579057793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732522491,"filename":"image_15042025_17_53_29_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1258a2012f760573d3e2251c9017f365.jpg","text":"TemporaryFile(/tmp/multipartBody590395497060887400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732522491,"filename":"image_15042025_17_54_32_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349942177","file1":"1349942172","file0":"1349942167","file4":"1349942184","file5":"1349942189","file3":"1349942182"},"map_files_photo_id_array":[{"photo_id":"1349942189","filename":"file5"},{"photo_id":"1349942177","filename":"file2"},{"photo_id":"1349942184","filename":"file4"},{"photo_id":"1349942172","filename":"file1"},{"photo_id":"1349942167","filename":"file0"},{"photo_id":"1349942182","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349942172":["hashtag1","hashtag2"]},{"1349942189":["hashtag1","hashtag2"]},{"1349942177":["hashtag1","hashtag2"]},{"1349942182":["hashtag1","hashtag2"]},{"1349942167":["hashtag1","hashtag2"]},{"1349942184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349942172, 1349942189, 1349942177, 1349942182, 1349942167, 1349942184)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.40925455093384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:55:22.388468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_38_3513.jpg', '/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_44_6107.jpg', '/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_47_1530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_38_3513.jpg
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_44_6107.jpg
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_47_1530.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942226","1349942222","1349942230"],"photo_ids_order":["1349942222","1349942226","1349942230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/038f3c8bb575398d5c073a1318947c38.jpg","text":"TemporaryFile(/tmp/multipartBody2617473592307244492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732582970,"filename":"image_15042025_17_54_44_6107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7798938620e24cc5c04e01beb6748cde.jpg","text":"TemporaryFile(/tmp/multipartBody7732675192173074180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732582970,"filename":"image_15042025_17_54_38_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e67d47f3c8f496797e0482f3af1ecaf3.jpg","text":"TemporaryFile(/tmp/multipartBody6757775612077610382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732582970,"filename":"image_15042025_17_54_47_1530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349942230","file1":"1349942226","file0":"1349942222"},"map_files_photo_id_array":[{"photo_id":"1349942230","filename":"file2"},{"photo_id":"1349942226","filename":"file1"},{"photo_id":"1349942222","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349942226":["hashtag1","hashtag2"]},{"1349942222":["hashtag1","hashtag2"]},{"1349942230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349942226, 1349942222, 1349942230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 40.42926859855652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:56:04.141949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:56:23.601197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_58_2746.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_07_3012.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_43_2725.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_47_3638.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_50_2833.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_52_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_58_2746.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_07_3012.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_43_2725.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_47_3638.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_50_2833.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_52_2819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942324","1349942303","1349942293","1349942296","1349942309","1349942317"],"photo_ids_order":["1349942293","1349942296","1349942303","1349942309","1349942317","1349942324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/628adbbc46941cd06e07e21d7a96bfc4.jpg","text":"TemporaryFile(/tmp/multipartBody7408929902314957487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732647526,"filename":"image_14042025_10_56_52_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62e0333bb09821396eba92f100126325.jpg","text":"TemporaryFile(/tmp/multipartBody6550929450192394187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732647526,"filename":"image_14042025_10_56_43_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67dae70f565de9df504f589fea8b9999.jpg","text":"TemporaryFile(/tmp/multipartBody6006505901237414609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732647526,"filename":"image_14042025_10_53_58_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae9e76646c051ae459b657e7e86cb343.jpg","text":"TemporaryFile(/tmp/multipartBody2744200914716118071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732647526,"filename":"image_14042025_10_56_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8acfbe60a3c91d98f07c1575ba6bce10.jpg","text":"TemporaryFile(/tmp/multipartBody4815096659717481412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732647526,"filename":"image_14042025_10_56_47_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36864c7bdd7c85f8c4bfabbd8e830d11.jpg","text":"TemporaryFile(/tmp/multipartBody3316417728929899574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732647526,"filename":"image_14042025_10_56_50_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349942303","file1":"1349942296","file0":"1349942293","file4":"1349942317","file5":"1349942324","file3":"1349942309"},"map_files_photo_id_array":[{"photo_id":"1349942324","filename":"file5"},{"photo_id":"1349942303","filename":"file2"},{"photo_id":"1349942317","filename":"file4"},{"photo_id":"1349942296","filename":"file1"},{"photo_id":"1349942293","filename":"file0"},{"photo_id":"1349942309","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349942324":["hashtag1","hashtag2"]},{"1349942303":["hashtag1","hashtag2"]},{"1349942293":["hashtag1","hashtag2"]},{"1349942296":["hashtag1","hashtag2"]},{"1349942309":["hashtag1","hashtag2"]},{"1349942317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349942324, 1349942303, 1349942293, 1349942296, 1349942309, 1349942317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42871594429016 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 17:57:25.602359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_55_2700.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_59_3844.jpg', '/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_01_2400.jpg', '/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_04_2895.jpg', '/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_43_2743.jpg', '/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_46_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_55_2700.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_59_3844.jpg
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_01_2400.jpg
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_04_2895.jpg
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_43_2743.jpg
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_46_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942436","1349942400","1349942471","1349942394","1349942388","1349942382"],"photo_ids_order":["1349942382","1349942388","1349942394","1349942400","1349942436","1349942471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee7051864d456ffe9d997b607a2fbd53.jpg","text":"TemporaryFile(/tmp/multipartBody2440203003622650719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732708570,"filename":"image_14042025_10_58_43_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d93368450c0a6fb683028cfa5792a93.jpg","text":"TemporaryFile(/tmp/multipartBody7528445034987844311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732708570,"filename":"image_14042025_10_57_04_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4aa4676ffefe26740a05ef64458a07a1.jpg","text":"TemporaryFile(/tmp/multipartBody2915256628627604567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732708570,"filename":"image_14042025_10_58_46_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc779135196d7714a939ad327c353df5.jpg","text":"TemporaryFile(/tmp/multipartBody5093040269991270442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732708570,"filename":"image_14042025_10_57_01_2400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6519e52fb0dcd4e15022b0940a66c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4267654568962612333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732708570,"filename":"image_14042025_10_56_59_3844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a5e74071a26235e3d019a562f0569e6.jpg","text":"TemporaryFile(/tmp/multipartBody2445949949129155475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732708570,"filename":"image_14042025_10_56_55_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349942394","file1":"1349942388","file0":"1349942382","file4":"1349942436","file5":"1349942471","file3":"1349942400"},"map_files_photo_id_array":[{"photo_id":"1349942471","filename":"file5"},{"photo_id":"1349942394","filename":"file2"},{"photo_id":"1349942436","filename":"file4"},{"photo_id":"1349942388","filename":"file1"},{"photo_id":"1349942382","filename":"file0"},{"photo_id":"1349942400","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349942436":["hashtag1","hashtag2"]},{"1349942400":["hashtag1","hashtag2"]},{"1349942471":["hashtag1","hashtag2"]},{"1349942394":["hashtag1","hashtag2"]},{"1349942388":["hashtag1","hashtag2"]},{"1349942382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349942436, 1349942400, 1349942471, 1349942394, 1349942388, 1349942382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.601027488708496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 17:59:03.025063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_50_3604.jpg', '/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_59_3584.jpg', '/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_13_2585.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_07_2663.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_10_2575.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_13_3535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_50_3604.jpg
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_59_3584.jpg
/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_13_2585.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_07_2663.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_10_2575.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_13_3535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349942919","1349942993","1349942882","1349942977","1349942956","1349942985"],"photo_ids_order":["1349942882","1349942919","1349942956","1349942977","1349942985","1349942993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3b8062b2a588d3d116b2300cf3b05cf.jpg","text":"TemporaryFile(/tmp/multipartBody6466255631219540556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732806783,"filename":"image_14042025_10_58_59_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa2434d941f4d7455f853e4a30e5e14d.jpg","text":"TemporaryFile(/tmp/multipartBody3294241505770034011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732806783,"filename":"image_14042025_11_03_13_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c91ee1adc4bb8df2057c02430766198.jpg","text":"TemporaryFile(/tmp/multipartBody8208477082594772585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732806783,"filename":"image_14042025_10_58_50_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28da1222403105dae3a79571f5d8bc69.jpg","text":"TemporaryFile(/tmp/multipartBody8536069068249626707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732806783,"filename":"image_14042025_11_03_07_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/abde1fee3fcc7b11d96945cda1dfb885.jpg","text":"TemporaryFile(/tmp/multipartBody8960980184418210412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732806783,"filename":"image_14042025_10_59_13_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb94228c2da7c346cb4de3df4e84dd93.jpg","text":"TemporaryFile(/tmp/multipartBody4657514256205890708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732806783,"filename":"image_14042025_11_03_10_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349942956","file1":"1349942919","file0":"1349942882","file4":"1349942985","file5":"1349942993","file3":"1349942977"},"map_files_photo_id_array":[{"photo_id":"1349942993","filename":"file5"},{"photo_id":"1349942956","filename":"file2"},{"photo_id":"1349942985","filename":"file4"},{"photo_id":"1349942919","filename":"file1"},{"photo_id":"1349942882","filename":"file0"},{"photo_id":"1349942977","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349942919":["hashtag1","hashtag2"]},{"1349942993":["hashtag1","hashtag2"]},{"1349942882":["hashtag1","hashtag2"]},{"1349942977":["hashtag1","hashtag2"]},{"1349942956":["hashtag1","hashtag2"]},{"1349942985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349942919, 1349942993, 1349942882, 1349942977, 1349942956, 1349942985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.710184812545776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:00:02.739834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_16_2568.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_20_3668.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_22_2737.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_28_2816.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_37_2786.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_40_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_16_2568.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_20_3668.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_22_2737.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_28_2816.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_37_2786.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_40_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349943029","1349943116","1349943187","1349943082","1349943238","1349943151"],"photo_ids_order":["1349943029","1349943082","1349943116","1349943151","1349943187","1349943238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1345e6a3b548ef15108bdf58823a00c.jpg","text":"TemporaryFile(/tmp/multipartBody6028501327123191271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732866469,"filename":"image_14042025_11_03_16_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d43830c93d21b1c4d3d88aae3413c3c9.jpg","text":"TemporaryFile(/tmp/multipartBody3680277421279141236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732866469,"filename":"image_14042025_11_03_22_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cd4ed71cc44d32c268d5068c0cbedc4.jpg","text":"TemporaryFile(/tmp/multipartBody4515884823687433028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732866469,"filename":"image_14042025_11_03_37_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cca42e56880e57d5719f356494b9d8b6.jpg","text":"TemporaryFile(/tmp/multipartBody6656713086078542560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732866469,"filename":"image_14042025_11_03_20_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a5468be576f158db74342036415f1d2.jpg","text":"TemporaryFile(/tmp/multipartBody1686766076640140223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732866469,"filename":"image_14042025_11_03_40_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc37f6947c6f52b4d06b8faf3bc72be8.jpg","text":"TemporaryFile(/tmp/multipartBody565897027387992739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732866469,"filename":"image_14042025_11_03_28_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349943116","file1":"1349943082","file0":"1349943029","file4":"1349943187","file5":"1349943238","file3":"1349943151"},"map_files_photo_id_array":[{"photo_id":"1349943238","filename":"file5"},{"photo_id":"1349943116","filename":"file2"},{"photo_id":"1349943187","filename":"file4"},{"photo_id":"1349943082","filename":"file1"},{"photo_id":"1349943029","filename":"file0"},{"photo_id":"1349943151","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349943029":["hashtag1","hashtag2"]},{"1349943116":["hashtag1","hashtag2"]},{"1349943187":["hashtag1","hashtag2"]},{"1349943082":["hashtag1","hashtag2"]},{"1349943238":["hashtag1","hashtag2"]},{"1349943151":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349943029, 1349943116, 1349943187, 1349943082, 1349943238, 1349943151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.973028898239136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:01:03.096304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_52_2557.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_49_2648.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_55_2839.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_59_3803.jpg', '/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_47_2652.jpg', '/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_49_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_52_2557.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_49_2648.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_55_2839.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_59_3803.jpg
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_47_2652.jpg
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_49_2690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349943677","1349943641","1349943880","1349943781","1349943721","1349943582"],"photo_ids_order":["1349943582","1349943641","1349943677","1349943721","1349943781","1349943880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b438cfbf5fcce8143bae223e71b18eb.jpg","text":"TemporaryFile(/tmp/multipartBody8691863725252810266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732928504,"filename":"image_14042025_11_06_55_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03629df9207072909cb986ab81af2472.jpg","text":"TemporaryFile(/tmp/multipartBody8932124801348662205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732928504,"filename":"image_14042025_11_06_49_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8b54890775254f08cb2f092bdaabcac.jpg","text":"TemporaryFile(/tmp/multipartBody5365120129617696316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732928504,"filename":"image_14042025_11_07_49_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61d546d1eebc6e645216e834bbd81f92.jpg","text":"TemporaryFile(/tmp/multipartBody5109555276069126898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732928504,"filename":"image_14042025_11_07_47_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8998da260c99ae0b33c9700bd387d0ad.jpg","text":"TemporaryFile(/tmp/multipartBody8533837399906300358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732928504,"filename":"image_14042025_11_06_59_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07081dafb768d7d343bb7328ac49a460.jpg","text":"TemporaryFile(/tmp/multipartBody2514048986867655194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732928504,"filename":"image_14042025_11_04_52_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349943677","file1":"1349943641","file0":"1349943582","file4":"1349943781","file5":"1349943880","file3":"1349943721"},"map_files_photo_id_array":[{"photo_id":"1349943880","filename":"file5"},{"photo_id":"1349943677","filename":"file2"},{"photo_id":"1349943781","filename":"file4"},{"photo_id":"1349943641","filename":"file1"},{"photo_id":"1349943582","filename":"file0"},{"photo_id":"1349943721","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349943677":["hashtag1","hashtag2"]},{"1349943641":["hashtag1","hashtag2"]},{"1349943880":["hashtag1","hashtag2"]},{"1349943781":["hashtag1","hashtag2"]},{"1349943721":["hashtag1","hashtag2"]},{"1349943582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349943677, 1349943641, 1349943880, 1349943781, 1349943721, 1349943582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.22378396987915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:02:02.545288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_55_2661.jpg', '/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_28_2598.jpg', '/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_40_2700.jpg', '/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_44_3741.jpg', '/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_46_2664.jpg', '/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_49_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/17/54/image_15042025_17_54_55_2661.jpg
/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_28_2598.jpg
/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_40_2700.jpg
/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_44_3741.jpg
/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_46_2664.jpg
/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_49_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349944229","1349944279","1349944129","1349944197","1349944164","1349944070"],"photo_ids_order":["1349944070","1349944129","1349944164","1349944197","1349944229","1349944279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2953b7a4635d63f53a09086541f678d5.jpg","text":"TemporaryFile(/tmp/multipartBody605613700642751980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732983318,"filename":"image_15042025_18_01_46_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/591cae245f10bb2eaaf45c625e3175aa.jpg","text":"TemporaryFile(/tmp/multipartBody4380683987363637912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732983318,"filename":"image_15042025_18_01_49_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71dc9e37392dc1a711bb89bcf82f7d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1712618141825061603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732983318,"filename":"image_15042025_18_01_28_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66585d779708acfb42aaab97e802acc3.jpg","text":"TemporaryFile(/tmp/multipartBody2027055907209875005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732983318,"filename":"image_15042025_18_01_44_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79bb4a363a56cf1f5663a1604e49bad7.jpg","text":"TemporaryFile(/tmp/multipartBody1119153182055832064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732983318,"filename":"image_15042025_18_01_40_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/503b435ba68e4329b0ef55f98f8537cc.jpg","text":"TemporaryFile(/tmp/multipartBody2829554205806452083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744732983318,"filename":"image_15042025_17_54_55_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349944164","file1":"1349944129","file0":"1349944070","file4":"1349944229","file5":"1349944279","file3":"1349944197"},"map_files_photo_id_array":[{"photo_id":"1349944279","filename":"file5"},{"photo_id":"1349944164","filename":"file2"},{"photo_id":"1349944229","filename":"file4"},{"photo_id":"1349944129","filename":"file1"},{"photo_id":"1349944070","filename":"file0"},{"photo_id":"1349944197","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349944229":["hashtag1","hashtag2"]},{"1349944279":["hashtag1","hashtag2"]},{"1349944129":["hashtag1","hashtag2"]},{"1349944197":["hashtag1","hashtag2"]},{"1349944164":["hashtag1","hashtag2"]},{"1349944070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349944229, 1349944279, 1349944129, 1349944197, 1349944164, 1349944070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05951142311096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:02:42.020801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_53_3643.jpg', '/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_55_2646.jpg', '/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_07_2738.jpg', '/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_23_3588.jpg', '/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_28_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_53_3643.jpg
/home/pi/Desktop/images/15042025/18/01/image_15042025_18_01_55_2646.jpg
/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_07_2738.jpg
/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_23_3588.jpg
/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_28_2892.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349944544","1349944502","1349944414","1349944377","1349944451"],"photo_ids_order":["1349944377","1349944414","1349944451","1349944502","1349944544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c9e3eca28e4f1c10e1c6e5e645a7796.jpg","text":"TemporaryFile(/tmp/multipartBody5491168198106328065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733022715,"filename":"image_15042025_18_02_28_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd12438cab7aba7a292aa08d9ded35ad.jpg","text":"TemporaryFile(/tmp/multipartBody8393072698993775838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733022715,"filename":"image_15042025_18_02_23_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcdebb75f1ecedb9592b66a2d4a3398f.jpg","text":"TemporaryFile(/tmp/multipartBody383919295671723531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733022715,"filename":"image_15042025_18_01_55_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffcebeff07715146c5d253080ab5979b.jpg","text":"TemporaryFile(/tmp/multipartBody5704301941898574709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733022715,"filename":"image_15042025_18_01_53_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f3e355dd3d560461d9765e5c5cd75aa.jpg","text":"TemporaryFile(/tmp/multipartBody9109454112009147230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733022715,"filename":"image_15042025_18_02_07_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349944451","file1":"1349944414","file0":"1349944377","file4":"1349944544","file3":"1349944502"},"map_files_photo_id_array":[{"photo_id":"1349944451","filename":"file2"},{"photo_id":"1349944544","filename":"file4"},{"photo_id":"1349944414","filename":"file1"},{"photo_id":"1349944377","filename":"file0"},{"photo_id":"1349944502","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349944544":["hashtag1","hashtag2"]},{"1349944502":["hashtag1","hashtag2"]},{"1349944414":["hashtag1","hashtag2"]},{"1349944377":["hashtag1","hashtag2"]},{"1349944451":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349944544, 1349944502, 1349944414, 1349944377, 1349944451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.02360486984253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:03:22.595046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_41_3770.jpg', '/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_02_3599.jpg', '/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_04_2698.jpg', '/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_08_3571.jpg', '/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_11_2901.jpg', '/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_20_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/02/image_15042025_18_02_41_3770.jpg
/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_02_3599.jpg
/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_04_2698.jpg
/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_08_3571.jpg
/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_11_2901.jpg
/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_20_3654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349944827","1349944749","1349944902","1349944892","1349944719","1349944796"],"photo_ids_order":["1349944719","1349944749","1349944796","1349944827","1349944892","1349944902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a62570b7ec9d4826a5bd9fd7d62b004e.jpg","text":"TemporaryFile(/tmp/multipartBody819301434418731439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733063283,"filename":"image_15042025_18_03_08_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/635d97d7df810425bbb863fd6fab948e.jpg","text":"TemporaryFile(/tmp/multipartBody107429334821882762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733063283,"filename":"image_15042025_18_03_02_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbea1638b34d182e339cc0e7257d7726.jpg","text":"TemporaryFile(/tmp/multipartBody9093676826277849113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733063283,"filename":"image_15042025_18_03_20_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae2405b5a0db0f163ef8bc6366ed4122.jpg","text":"TemporaryFile(/tmp/multipartBody20978671410552096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733063283,"filename":"image_15042025_18_03_11_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27aad8028f35fcc41de08c45b8c3d8a4.jpg","text":"TemporaryFile(/tmp/multipartBody6707434189413065260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733063283,"filename":"image_15042025_18_02_41_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9530dfd48aa68d4bc355e87e16fbc5e.jpg","text":"TemporaryFile(/tmp/multipartBody4207538747773245803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733063283,"filename":"image_15042025_18_03_04_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349944796","file1":"1349944749","file0":"1349944719","file4":"1349944892","file5":"1349944902","file3":"1349944827"},"map_files_photo_id_array":[{"photo_id":"1349944902","filename":"file5"},{"photo_id":"1349944796","filename":"file2"},{"photo_id":"1349944892","filename":"file4"},{"photo_id":"1349944749","filename":"file1"},{"photo_id":"1349944719","filename":"file0"},{"photo_id":"1349944827","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349944827":["hashtag1","hashtag2"]},{"1349944749":["hashtag1","hashtag2"]},{"1349944902":["hashtag1","hashtag2"]},{"1349944892":["hashtag1","hashtag2"]},{"1349944719":["hashtag1","hashtag2"]},{"1349944796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349944827, 1349944749, 1349944902, 1349944892, 1349944719, 1349944796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.170104026794434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:04:03.428763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_25_2598.jpg', '/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_34_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_25_2598.jpg
/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_34_3640.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349944995","1349945001"],"photo_ids_order":["1349944995","1349945001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c1e17b6a47a4ee2810e5e68908a2afb.jpg","text":"TemporaryFile(/tmp/multipartBody7904752420775451217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733104163,"filename":"image_15042025_18_03_25_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd4b88ac21ff35386e76685a8665ba64.jpg","text":"TemporaryFile(/tmp/multipartBody6838233065349430553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733104163,"filename":"image_15042025_18_03_34_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349945001","file0":"1349944995"},"map_files_photo_id_array":[{"photo_id":"1349945001","filename":"file1"},{"photo_id":"1349944995","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349944995":["hashtag1","hashtag2"]},{"1349945001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349944995, 1349945001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.878292083740234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:04:22.774321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_44_3703.jpg', '/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_02_3628.jpg', '/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_14_3758.jpg', '/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_19_2655.jpg', '/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_26_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/03/image_15042025_18_03_44_3703.jpg
/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_02_3628.jpg
/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_14_3758.jpg
/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_19_2655.jpg
/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_26_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945050","1349945023","1349945028","1349945013","1349945018"],"photo_ids_order":["1349945013","1349945018","1349945023","1349945028","1349945050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d483f1f74e0d2953313f7638e4ea126.jpg","text":"TemporaryFile(/tmp/multipartBody2546752978533623565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733123427,"filename":"image_15042025_18_04_26_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58028e5747483807d02c259edc5f3c9f.jpg","text":"TemporaryFile(/tmp/multipartBody9165472185169022723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733123427,"filename":"image_15042025_18_04_14_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a02e3023ad58d48d1ff19c6381ef52a7.jpg","text":"TemporaryFile(/tmp/multipartBody4066263421829258689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733123427,"filename":"image_15042025_18_04_19_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9b19048e7b1920e7280efe18cdd7e32.jpg","text":"TemporaryFile(/tmp/multipartBody1096166044587428535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733123427,"filename":"image_15042025_18_03_44_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/adfac8dc0ea3790589f35cdbf6af56e2.jpg","text":"TemporaryFile(/tmp/multipartBody8489483616080822107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733123427,"filename":"image_15042025_18_04_02_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945023","file1":"1349945018","file0":"1349945013","file4":"1349945050","file3":"1349945028"},"map_files_photo_id_array":[{"photo_id":"1349945023","filename":"file2"},{"photo_id":"1349945050","filename":"file4"},{"photo_id":"1349945018","filename":"file1"},{"photo_id":"1349945013","filename":"file0"},{"photo_id":"1349945028","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349945050":["hashtag1","hashtag2"]},{"1349945023":["hashtag1","hashtag2"]},{"1349945028":["hashtag1","hashtag2"]},{"1349945013":["hashtag1","hashtag2"]},{"1349945018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349945050, 1349945023, 1349945028, 1349945013, 1349945018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.484580755233765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:05:03.122217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_52_2687.jpg', '/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_55_2607.jpg', '/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_58_2670.jpg', '/home/pi/Desktop/images/14042025/11/10/image_14042025_11_11_01_3625.jpg', '/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_13_2675.jpg', '/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_22_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_52_2687.jpg
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_55_2607.jpg
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_58_2670.jpg
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_11_01_3625.jpg
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_13_2675.jpg
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_22_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945290","1349945284","1349945196","1349945259","1349945294","1349945231"],"photo_ids_order":["1349945196","1349945231","1349945259","1349945284","1349945290","1349945294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b3beb78c1137732c7ecc09a18947ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4216512875701295559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733165697,"filename":"image_14042025_11_11_13_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5587a77098464de2c2a896a127745e31.jpg","text":"TemporaryFile(/tmp/multipartBody4748603683320698726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733165697,"filename":"image_14042025_11_11_01_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2d6ea9bdba3e4da974d69ef5321b573.jpg","text":"TemporaryFile(/tmp/multipartBody8014242148119358512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733165697,"filename":"image_14042025_11_07_52_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d1c1bfe14011660a3ae2924af88bd75.jpg","text":"TemporaryFile(/tmp/multipartBody5125536172307533513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733165697,"filename":"image_14042025_11_10_58_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8dd20956e2bf2dfe8422a25baf6765dc.jpg","text":"TemporaryFile(/tmp/multipartBody2695435178064516109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733165697,"filename":"image_14042025_11_11_22_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a91fe23b3f8bdaddf62ee692401b2ff9.jpg","text":"TemporaryFile(/tmp/multipartBody4795758099251099479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733165697,"filename":"image_14042025_11_10_55_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945259","file1":"1349945231","file0":"1349945196","file4":"1349945290","file5":"1349945294","file3":"1349945284"},"map_files_photo_id_array":[{"photo_id":"1349945294","filename":"file5"},{"photo_id":"1349945259","filename":"file2"},{"photo_id":"1349945290","filename":"file4"},{"photo_id":"1349945231","filename":"file1"},{"photo_id":"1349945196","filename":"file0"},{"photo_id":"1349945284","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349945290":["hashtag1","hashtag2"]},{"1349945284":["hashtag1","hashtag2"]},{"1349945196":["hashtag1","hashtag2"]},{"1349945259":["hashtag1","hashtag2"]},{"1349945294":["hashtag1","hashtag2"]},{"1349945231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349945290, 1349945284, 1349945196, 1349945259, 1349945294, 1349945231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05642604827881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:05:42.356944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_40_2771.jpg', '/home/pi/Desktop/images/15042025/18/05/image_15042025_18_05_10_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/04/image_15042025_18_04_40_2771.jpg
/home/pi/Desktop/images/15042025/18/05/image_15042025_18_05_10_2795.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945383","1349945355"],"photo_ids_order":["1349945355","1349945383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8de113349e18c045607ac2380fc37043.jpg","text":"TemporaryFile(/tmp/multipartBody247590520631493448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733202905,"filename":"image_15042025_18_05_10_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2b21648ad0c3c7905e9266fba7ac3a2.jpg","text":"TemporaryFile(/tmp/multipartBody7520446338793803336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733202905,"filename":"image_15042025_18_04_40_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349945383","file0":"1349945355"},"map_files_photo_id_array":[{"photo_id":"1349945383","filename":"file1"},{"photo_id":"1349945355","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349945383":["hashtag1","hashtag2"]},{"1349945355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349945383, 1349945355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.388284921646118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:06:03.186260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_07_3011.jpg', '/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_13_2787.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_34_2638.jpg', '/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_53_2861.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_05_3666.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_07_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_07_3011.jpg
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_13_2787.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_34_2638.jpg
/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_53_2861.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_05_3666.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_07_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945494","1349945482","1349945476","1349945461","1349945490","1349945486"],"photo_ids_order":["1349945461","1349945476","1349945482","1349945486","1349945490","1349945494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/280275d90c239608af8ebd6cff2aaa91.jpg","text":"TemporaryFile(/tmp/multipartBody6316229325962605511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733225607,"filename":"image_14042025_11_21_07_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06e820e2f3b2486e051d5410743d99a7.jpg","text":"TemporaryFile(/tmp/multipartBody1175338694545621373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733225607,"filename":"image_14042025_11_17_34_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/310652e68b0a20a374eb52c79ef17c1d.jpg","text":"TemporaryFile(/tmp/multipartBody8247313596259524003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733225607,"filename":"image_14042025_11_16_13_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e754db16d1afee15c14ab1c3b7cf0390.jpg","text":"TemporaryFile(/tmp/multipartBody8372106631025585764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733225607,"filename":"image_14042025_11_16_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffd44274f8e64fd7c5e4ef2730bf1c95.jpg","text":"TemporaryFile(/tmp/multipartBody7343571727372849102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733225607,"filename":"image_14042025_11_21_05_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8c0ef0bb8b5f9b2298be587316b76b9.jpg","text":"TemporaryFile(/tmp/multipartBody2393047110141379614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733225607,"filename":"image_14042025_11_20_53_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945482","file1":"1349945476","file0":"1349945461","file4":"1349945490","file5":"1349945494","file3":"1349945486"},"map_files_photo_id_array":[{"photo_id":"1349945494","filename":"file5"},{"photo_id":"1349945482","filename":"file2"},{"photo_id":"1349945490","filename":"file4"},{"photo_id":"1349945476","filename":"file1"},{"photo_id":"1349945461","filename":"file0"},{"photo_id":"1349945486","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349945494":["hashtag1","hashtag2"]},{"1349945482":["hashtag1","hashtag2"]},{"1349945476":["hashtag1","hashtag2"]},{"1349945461":["hashtag1","hashtag2"]},{"1349945490":["hashtag1","hashtag2"]},{"1349945486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349945494, 1349945482, 1349945476, 1349945461, 1349945490, 1349945486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.877432107925415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:06:42.689236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/05/image_15042025_18_05_58_2885.jpg', '/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_10_2810.jpg', '/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_13_2627.jpg', '/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_16_2896.jpg', '/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_19_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/05/image_15042025_18_05_58_2885.jpg
/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_10_2810.jpg
/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_13_2627.jpg
/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_16_2896.jpg
/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_19_3565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945504","1349945512","1349945526","1349945531","1349945519"],"photo_ids_order":["1349945504","1349945512","1349945519","1349945526","1349945531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5a0b14e7532f67c8af4da1ab45262b8.jpg","text":"TemporaryFile(/tmp/multipartBody7101720665376808360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733263383,"filename":"image_15042025_18_05_58_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b39b4eef0e33d03d756e1537e46141bb.jpg","text":"TemporaryFile(/tmp/multipartBody8444240617573320965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733263383,"filename":"image_15042025_18_06_10_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23c48ad93e551029b26ce1e76e89c2a1.jpg","text":"TemporaryFile(/tmp/multipartBody2265074854729612410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733263383,"filename":"image_15042025_18_06_16_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f267a6d0972fffaabba1fb9110c4a088.jpg","text":"TemporaryFile(/tmp/multipartBody5794554345572728032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733263383,"filename":"image_15042025_18_06_19_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b0b42448231dd4aec021cb7c34b1a76.jpg","text":"TemporaryFile(/tmp/multipartBody8998848418905268705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733263383,"filename":"image_15042025_18_06_13_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945519","file1":"1349945512","file0":"1349945504","file4":"1349945531","file3":"1349945526"},"map_files_photo_id_array":[{"photo_id":"1349945519","filename":"file2"},{"photo_id":"1349945531","filename":"file4"},{"photo_id":"1349945512","filename":"file1"},{"photo_id":"1349945504","filename":"file0"},{"photo_id":"1349945526","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349945504":["hashtag1","hashtag2"]},{"1349945512":["hashtag1","hashtag2"]},{"1349945526":["hashtag1","hashtag2"]},{"1349945531":["hashtag1","hashtag2"]},{"1349945519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349945504, 1349945512, 1349945526, 1349945531, 1349945519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.22985863685608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:07:22.472551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_26_3736.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_29_2796.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_32_2988.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_34_2658.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_37_2878.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_41_3794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_26_3736.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_29_2796.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_32_2988.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_34_2658.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_37_2878.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_41_3794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945644","1349945626","1349945565","1349945561","1349945585","1349945648"],"photo_ids_order":["1349945561","1349945565","1349945585","1349945626","1349945644","1349945648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f7688ef4405a9d621fefd39d9f050a8.jpg","text":"TemporaryFile(/tmp/multipartBody6920383244013639469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733305619,"filename":"image_14042025_11_21_37_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4079a5ceca531e385230ffd0e9c91f28.jpg","text":"TemporaryFile(/tmp/multipartBody2359053962122403939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733305619,"filename":"image_14042025_11_21_34_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1e32362cf2f838e688cc24da49955ec.jpg","text":"TemporaryFile(/tmp/multipartBody3346626319749888197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733305619,"filename":"image_14042025_11_21_29_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb630e5c6312302c0a09b0762eacb8d3.jpg","text":"TemporaryFile(/tmp/multipartBody4341949563234601351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733305619,"filename":"image_14042025_11_21_26_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c7769e37da088fa99a416f09ddeb24a.jpg","text":"TemporaryFile(/tmp/multipartBody78351845514627705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733305619,"filename":"image_14042025_11_21_32_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/099053dacb8c3906558485a99eefe18e.jpg","text":"TemporaryFile(/tmp/multipartBody8219041983699519240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733305619,"filename":"image_14042025_11_21_41_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945585","file1":"1349945565","file0":"1349945561","file4":"1349945644","file5":"1349945648","file3":"1349945626"},"map_files_photo_id_array":[{"photo_id":"1349945648","filename":"file5"},{"photo_id":"1349945585","filename":"file2"},{"photo_id":"1349945644","filename":"file4"},{"photo_id":"1349945565","filename":"file1"},{"photo_id":"1349945561","filename":"file0"},{"photo_id":"1349945626","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349945644":["hashtag1","hashtag2"]},{"1349945626":["hashtag1","hashtag2"]},{"1349945565":["hashtag1","hashtag2"]},{"1349945561":["hashtag1","hashtag2"]},{"1349945585":["hashtag1","hashtag2"]},{"1349945648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349945644, 1349945626, 1349945565, 1349945561, 1349945585, 1349945648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71451497077942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:08:22.407177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_44_2684.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_46_2845.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_49_2761.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_58_2545.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_10_2787.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_13_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_44_2684.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_46_2845.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_49_2761.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_58_2545.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_10_2787.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_13_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945689","1349945701","1349945694","1349945707","1349945697","1349945714"],"photo_ids_order":["1349945689","1349945694","1349945697","1349945701","1349945707","1349945714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2302f9531465598b2e82d5a66c3437af.jpg","text":"TemporaryFile(/tmp/multipartBody7014962222733009081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733365612,"filename":"image_14042025_11_21_44_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5619c153dd894e71e4dd4ef4686ee8e.jpg","text":"TemporaryFile(/tmp/multipartBody5031726432326370347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733365612,"filename":"image_14042025_11_21_58_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6231e7593bc0dcae8b8265fb69a6c242.jpg","text":"TemporaryFile(/tmp/multipartBody4823414207668128087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733365612,"filename":"image_14042025_11_21_46_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7c127589cd547e09d945ea1377688fc.jpg","text":"TemporaryFile(/tmp/multipartBody5092726038188993865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733365612,"filename":"image_14042025_11_22_10_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4f35f563b4dc3973d50b0f680010edf.jpg","text":"TemporaryFile(/tmp/multipartBody4554455809165572684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733365612,"filename":"image_14042025_11_21_49_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49da50ccc75e04e59368fcf716d3b94e.jpg","text":"TemporaryFile(/tmp/multipartBody2075390155703353781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733365612,"filename":"image_14042025_11_22_13_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945697","file1":"1349945694","file0":"1349945689","file4":"1349945707","file5":"1349945714","file3":"1349945701"},"map_files_photo_id_array":[{"photo_id":"1349945714","filename":"file5"},{"photo_id":"1349945697","filename":"file2"},{"photo_id":"1349945707","filename":"file4"},{"photo_id":"1349945694","filename":"file1"},{"photo_id":"1349945689","filename":"file0"},{"photo_id":"1349945701","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349945689":["hashtag1","hashtag2"]},{"1349945701":["hashtag1","hashtag2"]},{"1349945694":["hashtag1","hashtag2"]},{"1349945707":["hashtag1","hashtag2"]},{"1349945697":["hashtag1","hashtag2"]},{"1349945714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349945689, 1349945701, 1349945694, 1349945707, 1349945697, 1349945714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30721735954285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:09:02.984108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_17_3793.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_19_2674.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_22_2769.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_26_3622.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_29_2703.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_31_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_17_3793.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_19_2674.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_22_2769.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_26_3622.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_29_2703.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_31_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945746","1349945743","1349945757","1349945766","1349945751","1349945762"],"photo_ids_order":["1349945743","1349945746","1349945751","1349945757","1349945762","1349945766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2ac1daf4930ee604cc9c783777310ca.jpg","text":"TemporaryFile(/tmp/multipartBody6560661324269804004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733405636,"filename":"image_14042025_11_22_19_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/614dad731cc35ba4b58c776107373bae.jpg","text":"TemporaryFile(/tmp/multipartBody6430086787898975673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733405636,"filename":"image_14042025_11_22_17_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40a8ac5e7fed004745423765e8199296.jpg","text":"TemporaryFile(/tmp/multipartBody806724275014992419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733405636,"filename":"image_14042025_11_22_26_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd3161eae22a5ef6fafd3459057cc50b.jpg","text":"TemporaryFile(/tmp/multipartBody2435611212596511531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733405636,"filename":"image_14042025_11_22_31_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32eb23126fdad5931a5fce46412a189e.jpg","text":"TemporaryFile(/tmp/multipartBody879193430893118817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733405636,"filename":"image_14042025_11_22_22_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/490baa6f294a64a09411a2105135694d.jpg","text":"TemporaryFile(/tmp/multipartBody6401459398848489444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733405636,"filename":"image_14042025_11_22_29_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945751","file1":"1349945746","file0":"1349945743","file4":"1349945762","file5":"1349945766","file3":"1349945757"},"map_files_photo_id_array":[{"photo_id":"1349945766","filename":"file5"},{"photo_id":"1349945751","filename":"file2"},{"photo_id":"1349945762","filename":"file4"},{"photo_id":"1349945746","filename":"file1"},{"photo_id":"1349945743","filename":"file0"},{"photo_id":"1349945757","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349945746":["hashtag1","hashtag2"]},{"1349945743":["hashtag1","hashtag2"]},{"1349945757":["hashtag1","hashtag2"]},{"1349945766":["hashtag1","hashtag2"]},{"1349945751":["hashtag1","hashtag2"]},{"1349945762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349945746, 1349945743, 1349945757, 1349945766, 1349945751, 1349945762)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.51746463775635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:10:02.584715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_35_3515.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_40_2893.jpg', '/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_38_3732.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_07_2610.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_10_2923.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_13_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_35_3515.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_40_2893.jpg
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_38_3732.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_07_2610.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_10_2923.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_13_3671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945856","1349945841","1349945871","1349945867","1349945861","1349945834"],"photo_ids_order":["1349945834","1349945841","1349945856","1349945861","1349945867","1349945871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b386f805f45fdd33736d440b94a32868.jpg","text":"TemporaryFile(/tmp/multipartBody8901615984827244088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733465029,"filename":"image_14042025_11_23_38_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4095ba02603b84b77b82451218e5b8bc.jpg","text":"TemporaryFile(/tmp/multipartBody4933178070318233162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733465029,"filename":"image_14042025_11_22_40_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/869fb9e8c33a60116a5411e64dc81ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3666828498523540566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733465029,"filename":"image_14042025_11_26_13_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/236bb807b2fe2319f077dc10a28437b5.jpg","text":"TemporaryFile(/tmp/multipartBody3503305877978893181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733465029,"filename":"image_14042025_11_26_10_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d9c9ec9a726aa36c3de9cc7dd70d81e.jpg","text":"TemporaryFile(/tmp/multipartBody3443055096318693702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733465029,"filename":"image_14042025_11_26_07_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb35fda5dc69e12b51da829e64f16699.jpg","text":"TemporaryFile(/tmp/multipartBody8703695220297051660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733465029,"filename":"image_14042025_11_22_35_3515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945856","file1":"1349945841","file0":"1349945834","file4":"1349945867","file5":"1349945871","file3":"1349945861"},"map_files_photo_id_array":[{"photo_id":"1349945871","filename":"file5"},{"photo_id":"1349945856","filename":"file2"},{"photo_id":"1349945867","filename":"file4"},{"photo_id":"1349945841","filename":"file1"},{"photo_id":"1349945834","filename":"file0"},{"photo_id":"1349945861","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349945856":["hashtag1","hashtag2"]},{"1349945841":["hashtag1","hashtag2"]},{"1349945871":["hashtag1","hashtag2"]},{"1349945867":["hashtag1","hashtag2"]},{"1349945861":["hashtag1","hashtag2"]},{"1349945834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349945856, 1349945841, 1349945871, 1349945867, 1349945861, 1349945834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.514060735702515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:10:41.987443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_16_2792.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_19_2893.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_04_2630.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_06_2794.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_10_3662.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_28_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_16_2792.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_19_2893.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_04_2630.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_06_2794.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_10_3662.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_28_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945886","1349945895","1349945898","1349945907","1349945891","1349945881"],"photo_ids_order":["1349945881","1349945886","1349945891","1349945895","1349945898","1349945907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c834cdfb9447fd51a54359c0c057e116.jpg","text":"TemporaryFile(/tmp/multipartBody8580119672555928954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733503443,"filename":"image_14042025_11_26_19_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85cc3b1eed9eb84c5c9bf92b32c977b1.jpg","text":"TemporaryFile(/tmp/multipartBody2709223533110543393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733503443,"filename":"image_14042025_11_27_06_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71382e102083511ceed2b38fa8f45205.jpg","text":"TemporaryFile(/tmp/multipartBody5391162366130659230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733503443,"filename":"image_14042025_11_27_10_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fcecbd0f0ddf9024113194c1f2c3f88.jpg","text":"TemporaryFile(/tmp/multipartBody5883097089454327581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733503443,"filename":"image_14042025_11_27_28_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a692066dfc9a432c73ce9045a304112c.jpg","text":"TemporaryFile(/tmp/multipartBody7854304417289893199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733503443,"filename":"image_14042025_11_27_04_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fefccb6667b6c96dc203de34b9a2d0fb.jpg","text":"TemporaryFile(/tmp/multipartBody2573660350206514984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733503443,"filename":"image_14042025_11_26_16_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945891","file1":"1349945886","file0":"1349945881","file4":"1349945898","file5":"1349945907","file3":"1349945895"},"map_files_photo_id_array":[{"photo_id":"1349945907","filename":"file5"},{"photo_id":"1349945891","filename":"file2"},{"photo_id":"1349945898","filename":"file4"},{"photo_id":"1349945886","filename":"file1"},{"photo_id":"1349945881","filename":"file0"},{"photo_id":"1349945895","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349945886":["hashtag1","hashtag2"]},{"1349945895":["hashtag1","hashtag2"]},{"1349945898":["hashtag1","hashtag2"]},{"1349945907":["hashtag1","hashtag2"]},{"1349945891":["hashtag1","hashtag2"]},{"1349945881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349945886, 1349945895, 1349945898, 1349945907, 1349945891, 1349945881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85533404350281 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:11:42.520750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_31_2663.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_34_2624.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_01_2683.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_04_2570.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_12_2695.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_16_3269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_31_2663.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_34_2624.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_01_2683.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_04_2570.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_12_2695.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_16_3269.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349945965","1349945959","1349945973","1349945955","1349945979","1349945969"],"photo_ids_order":["1349945955","1349945959","1349945965","1349945969","1349945973","1349945979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16fa2993e6d69b322581f1515698099a.jpg","text":"TemporaryFile(/tmp/multipartBody8458371006251061301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733564047,"filename":"image_14042025_11_28_01_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ce3343cade6d48428dbd91956332f18.jpg","text":"TemporaryFile(/tmp/multipartBody3556913273023668549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733564047,"filename":"image_14042025_11_27_34_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/443aeffac9ded6ac7ae2cce35bd53009.jpg","text":"TemporaryFile(/tmp/multipartBody8998499226442633159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733564047,"filename":"image_14042025_11_28_12_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ff1d169c972ba6688540a7ff62785de.jpg","text":"TemporaryFile(/tmp/multipartBody2906357116216253717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733564047,"filename":"image_14042025_11_27_31_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/509a1e77fb3a202daee609edd2741e96.jpg","text":"TemporaryFile(/tmp/multipartBody1873620909148345894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733564047,"filename":"image_14042025_11_28_16_3269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19c2a9344eb34bd568d54e9b36d2bff8.jpg","text":"TemporaryFile(/tmp/multipartBody4012216686720075085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733564047,"filename":"image_14042025_11_28_04_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349945965","file1":"1349945959","file0":"1349945955","file4":"1349945973","file5":"1349945979","file3":"1349945969"},"map_files_photo_id_array":[{"photo_id":"1349945979","filename":"file5"},{"photo_id":"1349945965","filename":"file2"},{"photo_id":"1349945973","filename":"file4"},{"photo_id":"1349945959","filename":"file1"},{"photo_id":"1349945955","filename":"file0"},{"photo_id":"1349945969","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349945965":["hashtag1","hashtag2"]},{"1349945959":["hashtag1","hashtag2"]},{"1349945973":["hashtag1","hashtag2"]},{"1349945955":["hashtag1","hashtag2"]},{"1349945979":["hashtag1","hashtag2"]},{"1349945969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349945965, 1349945959, 1349945973, 1349945955, 1349945979, 1349945969)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.50231051445007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:12:41.842521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_18_2683.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_22_3689.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_27_2677.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_34_2607.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_40_3552.jpg', '/home/pi/Desktop/images/14042025/11/28/image_14042025_11_29_00_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_18_2683.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_22_3689.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_27_2677.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_34_2607.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_28_40_3552.jpg
/home/pi/Desktop/images/14042025/11/28/image_14042025_11_29_00_2823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349946019","1349946040","1349946034","1349946069","1349946029","1349946061"],"photo_ids_order":["1349946019","1349946029","1349946034","1349946040","1349946061","1349946069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ced64827319aa3351c6e08bf4f313b0a.jpg","text":"TemporaryFile(/tmp/multipartBody8764496478715250070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733624474,"filename":"image_14042025_11_28_18_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5fd3c89e893ab7d484c916f70f42ab38.jpg","text":"TemporaryFile(/tmp/multipartBody8866763081140206814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733624474,"filename":"image_14042025_11_28_34_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39b0afbd017000c9aa3accd6f40397d7.jpg","text":"TemporaryFile(/tmp/multipartBody1665258188125643477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733624474,"filename":"image_14042025_11_28_27_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1389b40479a9c7155958079ba22c98df.jpg","text":"TemporaryFile(/tmp/multipartBody2139467577299708973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733624474,"filename":"image_14042025_11_29_00_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f8ba4a290553c070b7273b5d58be042.jpg","text":"TemporaryFile(/tmp/multipartBody5333263503998902768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733624474,"filename":"image_14042025_11_28_22_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6235020d0c188a6e52ebc099d0ddb3d8.jpg","text":"TemporaryFile(/tmp/multipartBody4319755273512196609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733624474,"filename":"image_14042025_11_28_40_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349946034","file1":"1349946029","file0":"1349946019","file4":"1349946061","file5":"1349946069","file3":"1349946040"},"map_files_photo_id_array":[{"photo_id":"1349946069","filename":"file5"},{"photo_id":"1349946034","filename":"file2"},{"photo_id":"1349946061","filename":"file4"},{"photo_id":"1349946029","filename":"file1"},{"photo_id":"1349946019","filename":"file0"},{"photo_id":"1349946040","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349946019":["hashtag1","hashtag2"]},{"1349946040":["hashtag1","hashtag2"]},{"1349946034":["hashtag1","hashtag2"]},{"1349946069":["hashtag1","hashtag2"]},{"1349946029":["hashtag1","hashtag2"]},{"1349946061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349946019, 1349946040, 1349946034, 1349946069, 1349946029, 1349946061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91955757141113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:13:47.337238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_18_2575.jpg', '/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_21_2756.jpg', '/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_46_3725.jpg', '/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_10_3547.jpg', '/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_25_2743.jpg', '/home/pi/Desktop/images/14042025/11/31/image_14042025_11_32_01_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_18_2575.jpg
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_21_2756.jpg
/home/pi/Desktop/images/14042025/11/29/image_14042025_11_29_46_3725.jpg
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_10_3547.jpg
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_31_25_2743.jpg
/home/pi/Desktop/images/14042025/11/31/image_14042025_11_32_01_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349946174","1349946191","1349946179","1349946167","1349946161","1349946187"],"photo_ids_order":["1349946161","1349946167","1349946174","1349946179","1349946187","1349946191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8c17672e7b87c82a8911c8c09ac9bee.jpg","text":"TemporaryFile(/tmp/multipartBody3427019431245590008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733689014,"filename":"image_14042025_11_29_46_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/069a62fa6bd6ce1cbd259e1989e5d952.jpg","text":"TemporaryFile(/tmp/multipartBody2215621135466346661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733689014,"filename":"image_14042025_11_32_01_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c53c7cbb3b1fb6a26abab3a75770cc24.jpg","text":"TemporaryFile(/tmp/multipartBody64537271360308214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733689014,"filename":"image_14042025_11_31_10_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d06309670b71bf8ece790878b495059.jpg","text":"TemporaryFile(/tmp/multipartBody511596090493875286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733689014,"filename":"image_14042025_11_29_21_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/677aebe62905c82bb9bdb21f71bd5e36.jpg","text":"TemporaryFile(/tmp/multipartBody2750006746705872569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733689014,"filename":"image_14042025_11_29_18_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1f2d14388d8f96c1eaeaa959c16db26.jpg","text":"TemporaryFile(/tmp/multipartBody6755647186641135255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733689014,"filename":"image_14042025_11_31_25_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349946174","file1":"1349946167","file0":"1349946161","file4":"1349946187","file5":"1349946191","file3":"1349946179"},"map_files_photo_id_array":[{"photo_id":"1349946191","filename":"file5"},{"photo_id":"1349946174","filename":"file2"},{"photo_id":"1349946187","filename":"file4"},{"photo_id":"1349946167","filename":"file1"},{"photo_id":"1349946161","filename":"file0"},{"photo_id":"1349946179","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349946174":["hashtag1","hashtag2"]},{"1349946191":["hashtag1","hashtag2"]},{"1349946179":["hashtag1","hashtag2"]},{"1349946167":["hashtag1","hashtag2"]},{"1349946161":["hashtag1","hashtag2"]},{"1349946187":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349946174, 1349946191, 1349946179, 1349946167, 1349946161, 1349946187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.366591453552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:14:47.792696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_10_2761.jpg', '/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_16_2883.jpg', '/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_25_2564.jpg', '/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_55_2721.jpg', '/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_22_2640.jpg', '/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_31_2505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_10_2761.jpg
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_16_2883.jpg
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_25_2564.jpg
/home/pi/Desktop/images/14042025/11/32/image_14042025_11_32_55_2721.jpg
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_22_2640.jpg
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_31_2505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349946267","1349946255","1349946281","1349946289","1349946274","1349946262"],"photo_ids_order":["1349946255","1349946262","1349946267","1349946274","1349946281","1349946289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49a9423df900f12d48844372fdc7d41a.jpg","text":"TemporaryFile(/tmp/multipartBody2614878869863688925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733749158,"filename":"image_14042025_11_32_25_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1440dd8e44a52f2a38da3ab881841279.jpg","text":"TemporaryFile(/tmp/multipartBody1422050643050146690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733749158,"filename":"image_14042025_11_32_10_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c7d5b7b3161e49e798561c21f14b362.jpg","text":"TemporaryFile(/tmp/multipartBody2810444963364492232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733749158,"filename":"image_14042025_11_33_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ed1b224e19840754e0e9293ff074ac6.jpg","text":"TemporaryFile(/tmp/multipartBody772531502893973983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733749158,"filename":"image_14042025_11_33_31_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74d1f8b3e6b0bbe94f245ffe5d8cbe3d.jpg","text":"TemporaryFile(/tmp/multipartBody2775827963586915158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733749158,"filename":"image_14042025_11_32_55_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1868bb0fa32e344b4125451b46ec8e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5184522960612229129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733749158,"filename":"image_14042025_11_32_16_2883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349946267","file1":"1349946262","file0":"1349946255","file4":"1349946281","file5":"1349946289","file3":"1349946274"},"map_files_photo_id_array":[{"photo_id":"1349946289","filename":"file5"},{"photo_id":"1349946267","filename":"file2"},{"photo_id":"1349946281","filename":"file4"},{"photo_id":"1349946262","filename":"file1"},{"photo_id":"1349946255","filename":"file0"},{"photo_id":"1349946274","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349946267":["hashtag1","hashtag2"]},{"1349946255":["hashtag1","hashtag2"]},{"1349946281":["hashtag1","hashtag2"]},{"1349946289":["hashtag1","hashtag2"]},{"1349946274":["hashtag1","hashtag2"]},{"1349946262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349946267, 1349946255, 1349946281, 1349946289, 1349946274, 1349946262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.348198652267456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:15:42.756212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_45_2649.jpg', '/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_25_3617.jpg', '/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_52_3737.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_13_2755.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_16_2813.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_23_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/33/image_14042025_11_33_45_2649.jpg
/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_25_3617.jpg
/home/pi/Desktop/images/14042025/11/34/image_14042025_11_34_52_3737.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_13_2755.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_16_2813.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_23_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349946544","1349946517","1349946599","1349946491","1349946572","1349946496"],"photo_ids_order":["1349946491","1349946496","1349946517","1349946544","1349946572","1349946599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae019f242068f8ec36c1c8060316c52c.jpg","text":"TemporaryFile(/tmp/multipartBody5981562234550282741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733804099,"filename":"image_14042025_11_35_13_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f239691c5e0d0cbfdd44d257834af5a3.jpg","text":"TemporaryFile(/tmp/multipartBody374423753786965651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733804099,"filename":"image_14042025_11_34_52_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b486b578e959a911558fa50776994c10.jpg","text":"TemporaryFile(/tmp/multipartBody4346778651723087741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733804099,"filename":"image_14042025_11_35_23_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc4ff528a7892d9ac036be4c96988e92.jpg","text":"TemporaryFile(/tmp/multipartBody3701510591151478863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733804099,"filename":"image_14042025_11_33_45_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9901433c5c5e4879bed82485fc153376.jpg","text":"TemporaryFile(/tmp/multipartBody6279690389486944237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733804099,"filename":"image_14042025_11_35_16_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b54a38783db04fc4b93cb0b2dec454a8.jpg","text":"TemporaryFile(/tmp/multipartBody1983937679426735448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733804099,"filename":"image_14042025_11_34_25_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349946517","file1":"1349946496","file0":"1349946491","file4":"1349946572","file5":"1349946599","file3":"1349946544"},"map_files_photo_id_array":[{"photo_id":"1349946599","filename":"file5"},{"photo_id":"1349946517","filename":"file2"},{"photo_id":"1349946572","filename":"file4"},{"photo_id":"1349946496","filename":"file1"},{"photo_id":"1349946491","filename":"file0"},{"photo_id":"1349946544","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349946544":["hashtag1","hashtag2"]},{"1349946517":["hashtag1","hashtag2"]},{"1349946599":["hashtag1","hashtag2"]},{"1349946491":["hashtag1","hashtag2"]},{"1349946572":["hashtag1","hashtag2"]},{"1349946496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349946544, 1349946517, 1349946599, 1349946491, 1349946572, 1349946496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27041745185852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:16:22.387302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_29_3759.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_32_2788.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_41_3650.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_44_2683.jpg', '/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_56_2880.jpg', '/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_07_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_29_3759.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_32_2788.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_41_3650.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_44_2683.jpg
/home/pi/Desktop/images/14042025/11/35/image_14042025_11_35_56_2880.jpg
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_07_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349946966","1349946849","1349946911","1349946740","1349946800","1349946772"],"photo_ids_order":["1349946740","1349946772","1349946800","1349946849","1349946911","1349946966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5149ca7d48e3f5adb727c8cbeb68f2b.jpg","text":"TemporaryFile(/tmp/multipartBody3857898217371197765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733845412,"filename":"image_14042025_11_36_07_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e65165ca91f6b3dad84c23614467d06a.jpg","text":"TemporaryFile(/tmp/multipartBody8640962168202539102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733845412,"filename":"image_14042025_11_35_44_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/395d62fb1b1c44a4912c07690e0f5053.jpg","text":"TemporaryFile(/tmp/multipartBody8809931051596784005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733845412,"filename":"image_14042025_11_35_56_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a59e82916c14d630fc771a3da1a8313c.jpg","text":"TemporaryFile(/tmp/multipartBody1580333652819160593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733845412,"filename":"image_14042025_11_35_29_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13d10c34fb7789771e9267fa4da0b6e0.jpg","text":"TemporaryFile(/tmp/multipartBody3593981221658566670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733845412,"filename":"image_14042025_11_35_41_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa172c1ea3a966f81f16196f5bee96e3.jpg","text":"TemporaryFile(/tmp/multipartBody7903232148980580093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733845412,"filename":"image_14042025_11_35_32_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349946800","file1":"1349946772","file0":"1349946740","file4":"1349946911","file5":"1349946966","file3":"1349946849"},"map_files_photo_id_array":[{"photo_id":"1349946966","filename":"file5"},{"photo_id":"1349946800","filename":"file2"},{"photo_id":"1349946911","filename":"file4"},{"photo_id":"1349946772","filename":"file1"},{"photo_id":"1349946740","filename":"file0"},{"photo_id":"1349946849","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349946966":["hashtag1","hashtag2"]},{"1349946849":["hashtag1","hashtag2"]},{"1349946911":["hashtag1","hashtag2"]},{"1349946740":["hashtag1","hashtag2"]},{"1349946800":["hashtag1","hashtag2"]},{"1349946772":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349946966, 1349946849, 1349946911, 1349946740, 1349946800, 1349946772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.404762983322144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:17:03.216121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_13_2851.jpg', '/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_17_3775.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_08_3829.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_17_3695.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_26_3538.jpg', '/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_31_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_13_2851.jpg
/home/pi/Desktop/images/14042025/11/36/image_14042025_11_36_17_3775.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_08_3829.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_17_3695.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_26_3538.jpg
/home/pi/Desktop/images/14042025/11/37/image_14042025_11_37_31_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349947092","1349947125","1349947140","1349947163","1349947067","1349947081"],"photo_ids_order":["1349947067","1349947081","1349947092","1349947125","1349947140","1349947163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24a3c9d7d561a5713f0cd62f4ee53e99.jpg","text":"TemporaryFile(/tmp/multipartBody387891099786987257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733885812,"filename":"image_14042025_11_37_08_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ddff9228cf13361b323e95131e202026.jpg","text":"TemporaryFile(/tmp/multipartBody2391940199595186587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733885812,"filename":"image_14042025_11_37_17_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77bc3843b5f991745fcb9a5589a4ce3b.jpg","text":"TemporaryFile(/tmp/multipartBody8184352491376663836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733885812,"filename":"image_14042025_11_37_26_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58cf523c775a3e6e2c7c28ed044bbfbc.jpg","text":"TemporaryFile(/tmp/multipartBody5952514538744024199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733885812,"filename":"image_14042025_11_37_31_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/552742ef8a6e1d6c9d0094a11c02b8e3.jpg","text":"TemporaryFile(/tmp/multipartBody1465174875010607677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733885812,"filename":"image_14042025_11_36_13_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07da0236ace90e72f12f3e103831b52b.jpg","text":"TemporaryFile(/tmp/multipartBody8986544403373478068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733885812,"filename":"image_14042025_11_36_17_3775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349947092","file1":"1349947081","file0":"1349947067","file4":"1349947140","file5":"1349947163","file3":"1349947125"},"map_files_photo_id_array":[{"photo_id":"1349947163","filename":"file5"},{"photo_id":"1349947092","filename":"file2"},{"photo_id":"1349947140","filename":"file4"},{"photo_id":"1349947081","filename":"file1"},{"photo_id":"1349947067","filename":"file0"},{"photo_id":"1349947125","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349947092":["hashtag1","hashtag2"]},{"1349947125":["hashtag1","hashtag2"]},{"1349947140":["hashtag1","hashtag2"]},{"1349947163":["hashtag1","hashtag2"]},{"1349947067":["hashtag1","hashtag2"]},{"1349947081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349947092, 1349947125, 1349947140, 1349947163, 1349947067, 1349947081)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.93203949928284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:18:03.217336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_25_2643.jpg', '/home/pi/Desktop/images/15042025/18/16/image_15042025_18_16_24_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/06/image_15042025_18_06_25_2643.jpg
/home/pi/Desktop/images/15042025/18/16/image_15042025_18_16_24_3526.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349947622","1349947516"],"photo_ids_order":["1349947516","1349947622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa2c5117038abe67a4015532ef68f2bc.jpg","text":"TemporaryFile(/tmp/multipartBody5474828355509435991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733943810,"filename":"image_15042025_18_16_24_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8564e3bf94a4853369fdc69ca691da3.jpg","text":"TemporaryFile(/tmp/multipartBody5655009730890972602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733943810,"filename":"image_15042025_18_06_25_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349947622","file0":"1349947516"},"map_files_photo_id_array":[{"photo_id":"1349947622","filename":"file1"},{"photo_id":"1349947516","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349947622":["hashtag1","hashtag2"]},{"1349947516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349947622, 1349947516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.164223194122314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:18:22.672426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_40_3568.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_10_2769.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_43_2838.jpg', '/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_58_2715.jpg', '/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_29_3577.jpg', '/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_32_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/38/image_14042025_11_38_40_3568.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_10_2769.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_43_2838.jpg
/home/pi/Desktop/images/14042025/11/39/image_14042025_11_39_58_2715.jpg
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_29_3577.jpg
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_32_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349947860","1349947792","1349947762","1349947684","1349947726","1349947698"],"photo_ids_order":["1349947684","1349947698","1349947726","1349947762","1349947792","1349947860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a896d42d74f3f6b7aae3955306cd77c.jpg","text":"TemporaryFile(/tmp/multipartBody4590470025587052146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733965831,"filename":"image_14042025_11_40_32_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40747452326a081c96f699ef2edbe60d.jpg","text":"TemporaryFile(/tmp/multipartBody6896718598196688024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733965831,"filename":"image_14042025_11_40_29_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e37cd60135e7bfe313217f21983b01be.jpg","text":"TemporaryFile(/tmp/multipartBody2953261499560468965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733965831,"filename":"image_14042025_11_39_58_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2882daf2bc8a87d7ef726015659f9def.jpg","text":"TemporaryFile(/tmp/multipartBody8294185425621621808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733965831,"filename":"image_14042025_11_38_40_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3919dfe5131f1e4ad7479b01b6354a6.jpg","text":"TemporaryFile(/tmp/multipartBody8147174001400819506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733965831,"filename":"image_14042025_11_39_43_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a721e3ab8fbda6a00c3333ac85ed0974.jpg","text":"TemporaryFile(/tmp/multipartBody8651881863515695996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744733965831,"filename":"image_14042025_11_39_10_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349947726","file1":"1349947698","file0":"1349947684","file4":"1349947792","file5":"1349947860","file3":"1349947762"},"map_files_photo_id_array":[{"photo_id":"1349947860","filename":"file5"},{"photo_id":"1349947726","filename":"file2"},{"photo_id":"1349947792","filename":"file4"},{"photo_id":"1349947698","filename":"file1"},{"photo_id":"1349947684","filename":"file0"},{"photo_id":"1349947762","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349947860":["hashtag1","hashtag2"]},{"1349947792":["hashtag1","hashtag2"]},{"1349947762":["hashtag1","hashtag2"]},{"1349947684":["hashtag1","hashtag2"]},{"1349947726":["hashtag1","hashtag2"]},{"1349947698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349947860, 1349947792, 1349947762, 1349947684, 1349947726, 1349947698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2015221118927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:19:03.356828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_44_2620.jpg', '/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_11_2679.jpg', '/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_43_2766.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_02_2632.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_04_2776.jpg', '/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_11_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/40/image_14042025_11_40_44_2620.jpg
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_11_2679.jpg
/home/pi/Desktop/images/14042025/11/41/image_14042025_11_41_43_2766.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_02_2632.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_04_2776.jpg
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_11_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349947986","1349948022","1349947914","1349947919","1349947954","1349947909"],"photo_ids_order":["1349947909","1349947914","1349947919","1349947954","1349947986","1349948022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cfa5820afaac13c384a221ac2a7289c.jpg","text":"TemporaryFile(/tmp/multipartBody3370508435910604886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734006104,"filename":"image_14042025_11_42_04_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/375bb34e37e691fb629afde606ed3d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4963318014674366236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734006104,"filename":"image_14042025_11_42_11_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0204a187490c36c55967d7caa9677c3d.jpg","text":"TemporaryFile(/tmp/multipartBody5097187146693094526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734006104,"filename":"image_14042025_11_41_11_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c665e5a081c9b69a3149f482cc58ff9c.jpg","text":"TemporaryFile(/tmp/multipartBody5944591252501411010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734006104,"filename":"image_14042025_11_41_43_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57125cfd183e377148297ba61e408c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2131169037541558925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734006104,"filename":"image_14042025_11_42_02_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3398a07224efdef259970c386f64fa23.jpg","text":"TemporaryFile(/tmp/multipartBody1955452451273738050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734006104,"filename":"image_14042025_11_40_44_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349947919","file1":"1349947914","file0":"1349947909","file4":"1349947986","file5":"1349948022","file3":"1349947954"},"map_files_photo_id_array":[{"photo_id":"1349948022","filename":"file5"},{"photo_id":"1349947919","filename":"file2"},{"photo_id":"1349947986","filename":"file4"},{"photo_id":"1349947914","filename":"file1"},{"photo_id":"1349947909","filename":"file0"},{"photo_id":"1349947954","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349947986":["hashtag1","hashtag2"]},{"1349948022":["hashtag1","hashtag2"]},{"1349947914":["hashtag1","hashtag2"]},{"1349947919":["hashtag1","hashtag2"]},{"1349947954":["hashtag1","hashtag2"]},{"1349947909":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349947986, 1349948022, 1349947914, 1349947919, 1349947954, 1349947909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01048469543457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:19:42.534000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_26_3592.jpg', '/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_05_2840.jpg', '/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_43_2831.jpg', '/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_44_2754.jpg', '/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_38_3006.jpg', '/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_35_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/42/image_14042025_11_42_26_3592.jpg
/home/pi/Desktop/images/14042025/11/43/image_14042025_11_43_05_2840.jpg
/home/pi/Desktop/images/14042025/11/44/image_14042025_11_44_43_2831.jpg
/home/pi/Desktop/images/14042025/11/45/image_14042025_11_45_44_2754.jpg
/home/pi/Desktop/images/14042025/11/46/image_14042025_11_46_38_3006.jpg
/home/pi/Desktop/images/14042025/11/47/image_14042025_11_47_35_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948145","1349948109","1349948189","1349948219","1349948269","1349948302"],"photo_ids_order":["1349948109","1349948145","1349948189","1349948219","1349948269","1349948302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e431d1c3230536c40f5ca0d4929aced7.jpg","text":"TemporaryFile(/tmp/multipartBody3238563927981750378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734044023,"filename":"image_14042025_11_43_05_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f2a56ea641c043965bf49cb2d6536a7.jpg","text":"TemporaryFile(/tmp/multipartBody2020387369465579692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734044023,"filename":"image_14042025_11_42_26_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ecc957f6f6cbc2e3d49b1e3acf8d3bd8.jpg","text":"TemporaryFile(/tmp/multipartBody164047306006078679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734044023,"filename":"image_14042025_11_44_43_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89e94eef99712bf3384f7353c909c339.jpg","text":"TemporaryFile(/tmp/multipartBody7663176538149432522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734044023,"filename":"image_14042025_11_45_44_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d624c0dacb36d94f99322c57d58130a9.jpg","text":"TemporaryFile(/tmp/multipartBody4247788100801709988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734044023,"filename":"image_14042025_11_46_38_3006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ad979d450bb47e403529a1d854c28b5.jpg","text":"TemporaryFile(/tmp/multipartBody2978021172530339068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734044023,"filename":"image_14042025_11_47_35_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349948189","file1":"1349948145","file0":"1349948109","file4":"1349948269","file5":"1349948302","file3":"1349948219"},"map_files_photo_id_array":[{"photo_id":"1349948302","filename":"file5"},{"photo_id":"1349948189","filename":"file2"},{"photo_id":"1349948269","filename":"file4"},{"photo_id":"1349948145","filename":"file1"},{"photo_id":"1349948109","filename":"file0"},{"photo_id":"1349948219","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349948145":["hashtag1","hashtag2"]},{"1349948109":["hashtag1","hashtag2"]},{"1349948189":["hashtag1","hashtag2"]},{"1349948219":["hashtag1","hashtag2"]},{"1349948269":["hashtag1","hashtag2"]},{"1349948302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349948145, 1349948109, 1349948189, 1349948219, 1349948269, 1349948302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.94991421699524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:20:43.484086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_44_3680.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_07_3011.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_22_2882.jpg', '/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_31_3641.jpg', '/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_10_2659.jpg', '/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_24_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/48/image_14042025_11_48_44_3680.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_07_3011.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_22_2882.jpg
/home/pi/Desktop/images/14042025/11/51/image_14042025_11_51_31_3641.jpg
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_10_2659.jpg
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_24_2755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948396","1349948399","1349948390","1349948408","1349948404","1349948379"],"photo_ids_order":["1349948379","1349948390","1349948396","1349948399","1349948404","1349948408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c5485bf1a3b2f6246d990034e480b49.jpg","text":"TemporaryFile(/tmp/multipartBody5482836406417668380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734106949,"filename":"image_14042025_11_51_22_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6da6cfd989db0471788afc3f3db485ad.jpg","text":"TemporaryFile(/tmp/multipartBody4121429106280630245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734106949,"filename":"image_14042025_11_51_31_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62a320fa7f754925e1a49b18d04d446b.jpg","text":"TemporaryFile(/tmp/multipartBody5154141944195281358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734106949,"filename":"image_14042025_11_51_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13f9ea177dc64055bb647a698b6f4465.jpg","text":"TemporaryFile(/tmp/multipartBody1596457237144871583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734106949,"filename":"image_14042025_11_52_24_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7017171cbd67404eb1025bac2f0a7cc.jpg","text":"TemporaryFile(/tmp/multipartBody5570666889847700114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734106949,"filename":"image_14042025_11_52_10_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6034640e505fab93cea6879f85ddacc1.jpg","text":"TemporaryFile(/tmp/multipartBody4275687330700820686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734106949,"filename":"image_14042025_11_48_44_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349948396","file1":"1349948390","file0":"1349948379","file4":"1349948404","file5":"1349948408","file3":"1349948399"},"map_files_photo_id_array":[{"photo_id":"1349948408","filename":"file5"},{"photo_id":"1349948396","filename":"file2"},{"photo_id":"1349948404","filename":"file4"},{"photo_id":"1349948390","filename":"file1"},{"photo_id":"1349948379","filename":"file0"},{"photo_id":"1349948399","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349948396":["hashtag1","hashtag2"]},{"1349948399":["hashtag1","hashtag2"]},{"1349948390":["hashtag1","hashtag2"]},{"1349948408":["hashtag1","hashtag2"]},{"1349948404":["hashtag1","hashtag2"]},{"1349948379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349948396, 1349948399, 1349948390, 1349948408, 1349948404, 1349948379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.357622385025024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:21:42.312325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_28_3678.jpg', '/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_34_3917.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_10_2660.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_12_2742.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_40_2775.jpg', '/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_42_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/52/image_14042025_11_52_28_3678.jpg
/home/pi/Desktop/images/14042025/11/53/image_14042025_11_53_34_3917.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_10_2660.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_12_2742.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_40_2775.jpg
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_42_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948464","1349948452","1349948434","1349948478","1349948475","1349948469"],"photo_ids_order":["1349948434","1349948452","1349948464","1349948469","1349948475","1349948478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4027a5c2d92667286a7021cdd37116a4.jpg","text":"TemporaryFile(/tmp/multipartBody1878049966851745983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734163765,"filename":"image_14042025_11_54_10_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8298edd6af84e1ebe173cf198f0016c9.jpg","text":"TemporaryFile(/tmp/multipartBody2897801385736344474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734163765,"filename":"image_14042025_11_53_34_3917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ea7e50f91cb05c3b0a2916be31e6072.jpg","text":"TemporaryFile(/tmp/multipartBody5536943328108080141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734163765,"filename":"image_14042025_11_52_28_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09a09b4f3826d030ed873468e9cb93d3.jpg","text":"TemporaryFile(/tmp/multipartBody437578248882130066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734163765,"filename":"image_14042025_11_54_42_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c60f0f8db5d304e99bd206ef3127d40f.jpg","text":"TemporaryFile(/tmp/multipartBody4583421211977588836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734163765,"filename":"image_14042025_11_54_40_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2df0b9585db1eae072612e7fbb1c8c50.jpg","text":"TemporaryFile(/tmp/multipartBody3403333735176345296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734163765,"filename":"image_14042025_11_54_12_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349948464","file1":"1349948452","file0":"1349948434","file4":"1349948475","file5":"1349948478","file3":"1349948469"},"map_files_photo_id_array":[{"photo_id":"1349948478","filename":"file5"},{"photo_id":"1349948464","filename":"file2"},{"photo_id":"1349948475","filename":"file4"},{"photo_id":"1349948452","filename":"file1"},{"photo_id":"1349948434","filename":"file0"},{"photo_id":"1349948469","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349948464":["hashtag1","hashtag2"]},{"1349948452":["hashtag1","hashtag2"]},{"1349948434":["hashtag1","hashtag2"]},{"1349948478":["hashtag1","hashtag2"]},{"1349948475":["hashtag1","hashtag2"]},{"1349948469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349948464, 1349948452, 1349948434, 1349948478, 1349948475, 1349948469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64299440383911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:22:22.772346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_49_2669.jpg', '/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_52_2745.jpg', '/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_52_2611.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_2659.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_10_2898.jpg', '/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_19_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/54/image_14042025_11_54_49_2669.jpg
/home/pi/Desktop/images/14042025/11/55/image_14042025_11_55_52_2745.jpg
/home/pi/Desktop/images/14042025/11/56/image_14042025_11_56_52_2611.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_01_2659.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_10_2898.jpg
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_19_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948508","1349948511","1349948525","1349948516","1349948504","1349948499"],"photo_ids_order":["1349948499","1349948504","1349948508","1349948511","1349948516","1349948525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/102acc63c3d43fad4e0c27b16fe37994.jpg","text":"TemporaryFile(/tmp/multipartBody7770980245959165064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734205951,"filename":"image_14042025_11_56_52_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8aa5a17dcbedad59b790f517ca02d6c.jpg","text":"TemporaryFile(/tmp/multipartBody3837203157668168607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734205951,"filename":"image_14042025_11_57_01_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29f2c0b79d6a1794510128a8af9955c8.jpg","text":"TemporaryFile(/tmp/multipartBody6010513176306516516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734205951,"filename":"image_14042025_11_57_19_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58b280372536814671cae41e0f726329.jpg","text":"TemporaryFile(/tmp/multipartBody674206559256766855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734205951,"filename":"image_14042025_11_57_10_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e101320d6e9b920b879caf8244f034a.jpg","text":"TemporaryFile(/tmp/multipartBody8384467008580277420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734205951,"filename":"image_14042025_11_55_52_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13dddc3267a8133f7316e52594a817bc.jpg","text":"TemporaryFile(/tmp/multipartBody3600430759258504793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734205951,"filename":"image_14042025_11_54_49_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349948508","file1":"1349948504","file0":"1349948499","file4":"1349948516","file5":"1349948525","file3":"1349948511"},"map_files_photo_id_array":[{"photo_id":"1349948525","filename":"file5"},{"photo_id":"1349948508","filename":"file2"},{"photo_id":"1349948516","filename":"file4"},{"photo_id":"1349948504","filename":"file1"},{"photo_id":"1349948499","filename":"file0"},{"photo_id":"1349948511","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349948508":["hashtag1","hashtag2"]},{"1349948511":["hashtag1","hashtag2"]},{"1349948525":["hashtag1","hashtag2"]},{"1349948516":["hashtag1","hashtag2"]},{"1349948504":["hashtag1","hashtag2"]},{"1349948499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349948508, 1349948511, 1349948525, 1349948516, 1349948504, 1349948499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.18782591819763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:23:21.965162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_31_2785.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_12_2887.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_19_2787.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_28_2765.jpg', '/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_49_3564.jpg', '/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_22_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/57/image_14042025_11_57_31_2785.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_12_2887.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_19_2787.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_28_2765.jpg
/home/pi/Desktop/images/14042025/11/58/image_14042025_11_58_49_3564.jpg
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_22_2728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948570","1349948606","1349948596","1349948590","1349948602","1349948583"],"photo_ids_order":["1349948570","1349948583","1349948590","1349948596","1349948602","1349948606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad5a6690d8825f1ebe093b82555f8de8.jpg","text":"TemporaryFile(/tmp/multipartBody8968059131097526456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734265002,"filename":"image_14042025_11_57_31_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c414253677d8ecf80e13972dad1fb411.jpg","text":"TemporaryFile(/tmp/multipartBody1624343765402023823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734265002,"filename":"image_14042025_11_59_22_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b58eef03e535d216ea40d50892f873dd.jpg","text":"TemporaryFile(/tmp/multipartBody6018961830487168993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734265002,"filename":"image_14042025_11_58_28_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05849650c1005eb3c267a78560c01bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2682227061994097002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734265002,"filename":"image_14042025_11_58_19_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6cb3cfcaa2916fd5d20412469997c41.jpg","text":"TemporaryFile(/tmp/multipartBody8851829772483950495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734265002,"filename":"image_14042025_11_58_49_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7ea1a3dee192c71bea6d1658469fcce.jpg","text":"TemporaryFile(/tmp/multipartBody7668994234239818363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734265002,"filename":"image_14042025_11_58_12_2887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349948590","file1":"1349948583","file0":"1349948570","file4":"1349948602","file5":"1349948606","file3":"1349948596"},"map_files_photo_id_array":[{"photo_id":"1349948606","filename":"file5"},{"photo_id":"1349948590","filename":"file2"},{"photo_id":"1349948602","filename":"file4"},{"photo_id":"1349948583","filename":"file1"},{"photo_id":"1349948570","filename":"file0"},{"photo_id":"1349948596","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349948570":["hashtag1","hashtag2"]},{"1349948606":["hashtag1","hashtag2"]},{"1349948596":["hashtag1","hashtag2"]},{"1349948590":["hashtag1","hashtag2"]},{"1349948602":["hashtag1","hashtag2"]},{"1349948583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349948570, 1349948606, 1349948596, 1349948590, 1349948602, 1349948583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.54154872894287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:24:22.321314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_27_2612.jpg', '/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_34_2658.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_08_3011.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_14_2675.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_23_2641.jpg', '/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_26_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_27_2612.jpg
/home/pi/Desktop/images/14042025/11/59/image_14042025_11_59_34_2658.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_08_3011.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_14_2675.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_23_2641.jpg
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_26_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948747","1349948756","1349948711","1349948764","1349948752","1349948781"],"photo_ids_order":["1349948711","1349948747","1349948752","1349948756","1349948764","1349948781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab329caae1ac88ebf40de665041a2593.jpg","text":"TemporaryFile(/tmp/multipartBody92698187195298401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734325466,"filename":"image_14042025_11_59_34_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d826aaec4c9df85e9a9b3f8376a093a.jpg","text":"TemporaryFile(/tmp/multipartBody1496694820843587225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734325466,"filename":"image_14042025_12_00_14_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58fb62d4fd29c10c9bc53ef5e49cd11c.jpg","text":"TemporaryFile(/tmp/multipartBody880936792667738150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734325466,"filename":"image_14042025_11_59_27_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0114599228e6ce4dc9d8ab90c01c3b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2456357823647651585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734325466,"filename":"image_14042025_12_00_23_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/339196959dffa7d53060b7cf1f3328b8.jpg","text":"TemporaryFile(/tmp/multipartBody702892098913131334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734325466,"filename":"image_14042025_12_00_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87d5f5cab64ef4bc4f1edcd28c8b79bb.jpg","text":"TemporaryFile(/tmp/multipartBody50078924138719449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734325466,"filename":"image_14042025_12_00_26_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349948752","file1":"1349948747","file0":"1349948711","file4":"1349948764","file5":"1349948781","file3":"1349948756"},"map_files_photo_id_array":[{"photo_id":"1349948781","filename":"file5"},{"photo_id":"1349948752","filename":"file2"},{"photo_id":"1349948764","filename":"file4"},{"photo_id":"1349948747","filename":"file1"},{"photo_id":"1349948711","filename":"file0"},{"photo_id":"1349948756","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349948747":["hashtag1","hashtag2"]},{"1349948756":["hashtag1","hashtag2"]},{"1349948711":["hashtag1","hashtag2"]},{"1349948764":["hashtag1","hashtag2"]},{"1349948752":["hashtag1","hashtag2"]},{"1349948781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349948747, 1349948756, 1349948711, 1349948764, 1349948752, 1349948781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87415266036987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:25:21.886937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_47_2693.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_02_2685.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_26_2596.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_29_3577.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_35_2643.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_38_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/00/image_14042025_12_00_47_2693.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_02_2685.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_26_2596.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_29_3577.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_35_2643.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_38_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349948876","1349948912","1349948935","1349948898","1349948902","1349948922"],"photo_ids_order":["1349948876","1349948898","1349948902","1349948912","1349948922","1349948935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9156af468ff5976563e927b9704487f.jpg","text":"TemporaryFile(/tmp/multipartBody6870065914091908745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734384951,"filename":"image_14042025_12_00_47_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/382b92eee14f2f0038d0f5f1e09d65d4.jpg","text":"TemporaryFile(/tmp/multipartBody6881955249442791158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734384951,"filename":"image_14042025_12_01_29_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/080649d75115e358ba06209c51c8b439.jpg","text":"TemporaryFile(/tmp/multipartBody8117172019306233739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734384951,"filename":"image_14042025_12_01_38_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91e9d7afed135d94bac496ea28629cca.jpg","text":"TemporaryFile(/tmp/multipartBody4817812879103324386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734384951,"filename":"image_14042025_12_01_02_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e9e70fc1c115e21f13aa34b48cedb55.jpg","text":"TemporaryFile(/tmp/multipartBody5941374386119423736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734384951,"filename":"image_14042025_12_01_26_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14ae075c86a4a0603c3cc1c376e8c1a6.jpg","text":"TemporaryFile(/tmp/multipartBody933486138822294756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734384951,"filename":"image_14042025_12_01_35_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349948902","file1":"1349948898","file0":"1349948876","file4":"1349948922","file5":"1349948935","file3":"1349948912"},"map_files_photo_id_array":[{"photo_id":"1349948935","filename":"file5"},{"photo_id":"1349948902","filename":"file2"},{"photo_id":"1349948922","filename":"file4"},{"photo_id":"1349948898","filename":"file1"},{"photo_id":"1349948876","filename":"file0"},{"photo_id":"1349948912","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349948876":["hashtag1","hashtag2"]},{"1349948912":["hashtag1","hashtag2"]},{"1349948935":["hashtag1","hashtag2"]},{"1349948898":["hashtag1","hashtag2"]},{"1349948902":["hashtag1","hashtag2"]},{"1349948922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349948876, 1349948912, 1349948935, 1349948898, 1349948902, 1349948922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.529797077178955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:26:03.282690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_44_2624.jpg', '/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_50_2840.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_02_2583.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_05_3743.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_10_2693.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_14_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_44_2624.jpg
/home/pi/Desktop/images/14042025/12/01/image_14042025_12_01_50_2840.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_02_2583.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_05_3743.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_10_2693.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_14_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949009","1349948978","1349949020","1349949014","1349949038","1349949001"],"photo_ids_order":["1349948978","1349949001","1349949009","1349949014","1349949020","1349949038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c23a5d3b70ae7e7cae815a3aceedc68a.jpg","text":"TemporaryFile(/tmp/multipartBody4876698441105827336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734425672,"filename":"image_14042025_12_02_02_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1383eddf846ed02e769dace80582756e.jpg","text":"TemporaryFile(/tmp/multipartBody6222725029828873549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734425672,"filename":"image_14042025_12_01_44_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1880edc7108716afc668180becf6df7f.jpg","text":"TemporaryFile(/tmp/multipartBody222494405669629455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734425672,"filename":"image_14042025_12_02_10_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e55d9da97fe57d76189a86b0efeaf4e.jpg","text":"TemporaryFile(/tmp/multipartBody6585951615436051199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734425672,"filename":"image_14042025_12_02_05_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b971021506e98d26711d83b1c44c343.jpg","text":"TemporaryFile(/tmp/multipartBody351284487069193670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734425672,"filename":"image_14042025_12_02_14_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4c92c0d24bfe48acd63b085e3abb2d4.jpg","text":"TemporaryFile(/tmp/multipartBody6513193836883641647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734425672,"filename":"image_14042025_12_01_50_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349949009","file1":"1349949001","file0":"1349948978","file4":"1349949020","file5":"1349949038","file3":"1349949014"},"map_files_photo_id_array":[{"photo_id":"1349949038","filename":"file5"},{"photo_id":"1349949009","filename":"file2"},{"photo_id":"1349949020","filename":"file4"},{"photo_id":"1349949001","filename":"file1"},{"photo_id":"1349948978","filename":"file0"},{"photo_id":"1349949014","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349949009":["hashtag1","hashtag2"]},{"1349948978":["hashtag1","hashtag2"]},{"1349949020":["hashtag1","hashtag2"]},{"1349949014":["hashtag1","hashtag2"]},{"1349949038":["hashtag1","hashtag2"]},{"1349949001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349949009, 1349948978, 1349949020, 1349949014, 1349949038, 1349949001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30147123336792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:26:42.595906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/17/image_15042025_18_17_24_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/17/image_15042025_18_17_24_2786.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949056"],"photo_id":"1349949056","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9313456fe166f078e17954d19efc2f15.jpg","text":"TemporaryFile(/tmp/multipartBody3010218377477183888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734463115,"filename":"image_15042025_18_17_24_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349949056"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349949056"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.593445777893066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:27:03.096668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_19_2576.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_32_3710.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_46_2653.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_50_3873.jpg', '/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_53_2651.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_05_2885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_19_2576.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_32_3710.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_46_2653.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_50_3873.jpg
/home/pi/Desktop/images/14042025/12/02/image_14042025_12_02_53_2651.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_05_2885.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949131","1349949116","1349949124","1349949127","1349949120","1349949102"],"photo_ids_order":["1349949102","1349949116","1349949120","1349949124","1349949127","1349949131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bee8d193d7b1266c42cdf2bb450c6efe.jpg","text":"TemporaryFile(/tmp/multipartBody8228583970334680389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734485613,"filename":"image_14042025_12_03_05_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0baa9d2346923c2b403b39f21c4c6c0b.jpg","text":"TemporaryFile(/tmp/multipartBody8447585246411952017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734485613,"filename":"image_14042025_12_02_32_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/551db131cb55c31c4fdd5f7d715c4b8c.jpg","text":"TemporaryFile(/tmp/multipartBody4824574759888106908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734485613,"filename":"image_14042025_12_02_50_3873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68faf4a75de4e1a7a001890072ced6e5.jpg","text":"TemporaryFile(/tmp/multipartBody6785314872121974115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734485613,"filename":"image_14042025_12_02_53_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b428fe85c786fd71bad98a136dfcbb3c.jpg","text":"TemporaryFile(/tmp/multipartBody7008168951535116232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734485613,"filename":"image_14042025_12_02_46_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ee60b9a3c5d0af4637e16f96bb05fa8.jpg","text":"TemporaryFile(/tmp/multipartBody5945132014397003036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734485613,"filename":"image_14042025_12_02_19_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349949120","file1":"1349949116","file0":"1349949102","file4":"1349949127","file5":"1349949131","file3":"1349949124"},"map_files_photo_id_array":[{"photo_id":"1349949131","filename":"file5"},{"photo_id":"1349949120","filename":"file2"},{"photo_id":"1349949127","filename":"file4"},{"photo_id":"1349949116","filename":"file1"},{"photo_id":"1349949102","filename":"file0"},{"photo_id":"1349949124","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349949131":["hashtag1","hashtag2"]},{"1349949116":["hashtag1","hashtag2"]},{"1349949124":["hashtag1","hashtag2"]},{"1349949127":["hashtag1","hashtag2"]},{"1349949120":["hashtag1","hashtag2"]},{"1349949102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349949131, 1349949116, 1349949124, 1349949127, 1349949120, 1349949102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.281224489212036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:27:42.339054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_08_2859.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_10_2694.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_23_3723.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_47_2665.jpg', '/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_50_3562.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_08_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_08_2859.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_10_2694.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_23_3723.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_47_2665.jpg
/home/pi/Desktop/images/14042025/12/03/image_14042025_12_03_50_3562.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_08_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949155","1349949149","1349949172","1349949166","1349949181","1349949142"],"photo_ids_order":["1349949142","1349949149","1349949155","1349949166","1349949172","1349949181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c30b9a8cd774891c4010cbd7a633aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3154390875838920329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734523710,"filename":"image_14042025_12_03_23_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b893b5f3f517b69d11ceb9278702c91.jpg","text":"TemporaryFile(/tmp/multipartBody3547547106340090750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734523710,"filename":"image_14042025_12_03_10_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a10c6aeae5b241c0f4fd12e75b2d7ae.jpg","text":"TemporaryFile(/tmp/multipartBody8977976566308207478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734523710,"filename":"image_14042025_12_03_50_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/256ee05f44441b735723d4bc37590fcb.jpg","text":"TemporaryFile(/tmp/multipartBody1364273470251953650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734523710,"filename":"image_14042025_12_03_47_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d98e1bc0573aa0c599c7b3fe83f614f6.jpg","text":"TemporaryFile(/tmp/multipartBody3932059875470380113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734523710,"filename":"image_14042025_12_04_08_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79a2734fc83f1278a2b9c251bf6f0bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2805789374916816373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734523710,"filename":"image_14042025_12_03_08_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349949155","file1":"1349949149","file0":"1349949142","file4":"1349949172","file5":"1349949181","file3":"1349949166"},"map_files_photo_id_array":[{"photo_id":"1349949181","filename":"file5"},{"photo_id":"1349949155","filename":"file2"},{"photo_id":"1349949172","filename":"file4"},{"photo_id":"1349949149","filename":"file1"},{"photo_id":"1349949142","filename":"file0"},{"photo_id":"1349949166","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349949155":["hashtag1","hashtag2"]},{"1349949149":["hashtag1","hashtag2"]},{"1349949172":["hashtag1","hashtag2"]},{"1349949166":["hashtag1","hashtag2"]},{"1349949181":["hashtag1","hashtag2"]},{"1349949142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349949155, 1349949149, 1349949172, 1349949166, 1349949181, 1349949142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33024501800537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:28:22.586836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_17_3545.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_20_2712.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_26_2671.jpg', '/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_37_2666.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_07_2958.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_19_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_17_3545.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_20_2712.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_26_2671.jpg
/home/pi/Desktop/images/14042025/12/04/image_14042025_12_04_37_2666.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_07_2958.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_19_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949241","1349949217","1349949234","1349949228","1349949222","1349949225"],"photo_ids_order":["1349949217","1349949222","1349949225","1349949228","1349949234","1349949241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a895b6767fa82e8e4dbdaf20c7cc8048.jpg","text":"TemporaryFile(/tmp/multipartBody4112578779379216680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734565692,"filename":"image_14042025_12_05_19_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1dc95dfb2f54d0251ac2f1a10db19535.jpg","text":"TemporaryFile(/tmp/multipartBody7411099853678012378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734565692,"filename":"image_14042025_12_04_17_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dea613563bb424abb20362220f698a5.jpg","text":"TemporaryFile(/tmp/multipartBody1228049867666622450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734565692,"filename":"image_14042025_12_05_07_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d8e21eb320bb927135bcc8c51e105e0.jpg","text":"TemporaryFile(/tmp/multipartBody4932718523389067095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734565692,"filename":"image_14042025_12_04_37_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea7ba579e355a6a48e19bf6f2c1e0a7e.jpg","text":"TemporaryFile(/tmp/multipartBody3970652029550038173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734565692,"filename":"image_14042025_12_04_20_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4038118c8195ec94532819b3f88ed2b.jpg","text":"TemporaryFile(/tmp/multipartBody7414001473774753775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734565692,"filename":"image_14042025_12_04_26_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349949225","file1":"1349949222","file0":"1349949217","file4":"1349949234","file5":"1349949241","file3":"1349949228"},"map_files_photo_id_array":[{"photo_id":"1349949241","filename":"file5"},{"photo_id":"1349949225","filename":"file2"},{"photo_id":"1349949234","filename":"file4"},{"photo_id":"1349949222","filename":"file1"},{"photo_id":"1349949217","filename":"file0"},{"photo_id":"1349949228","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349949241":["hashtag1","hashtag2"]},{"1349949217":["hashtag1","hashtag2"]},{"1349949234":["hashtag1","hashtag2"]},{"1349949228":["hashtag1","hashtag2"]},{"1349949222":["hashtag1","hashtag2"]},{"1349949225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349949241, 1349949217, 1349949234, 1349949228, 1349949222, 1349949225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14415454864502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:29:03.016478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_31_5404.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_33_1792.jpg', '/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_50_3646.jpg', '/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_07_2822.jpg', '/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_14_3840.jpg', '/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_31_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_31_5404.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_33_1792.jpg
/home/pi/Desktop/images/14042025/12/05/image_14042025_12_05_50_3646.jpg
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_07_2822.jpg
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_14_3840.jpg
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_31_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949284","1349949263","1349949257","1349949268","1349949279","1349949273"],"photo_ids_order":["1349949257","1349949263","1349949268","1349949273","1349949279","1349949284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2cb618759eccf3c4fd1e55dacc8ee29.jpg","text":"TemporaryFile(/tmp/multipartBody5240122560878246269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734605730,"filename":"image_14042025_12_06_31_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a35be9a578989f4c3c618e4211b9bd6.jpg","text":"TemporaryFile(/tmp/multipartBody4344455956806488765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734605730,"filename":"image_14042025_12_05_33_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ceab07ca3c1fd719b1c70dae5b9f5eef.jpg","text":"TemporaryFile(/tmp/multipartBody6013465123111540004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734605730,"filename":"image_14042025_12_05_31_5404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc55d1a74efe2650084e2982fe7ebeed.jpg","text":"TemporaryFile(/tmp/multipartBody2343012710524809691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734605730,"filename":"image_14042025_12_05_50_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6e55ccd3017f240558478bbc4f40862.jpg","text":"TemporaryFile(/tmp/multipartBody8181512703998682272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734605730,"filename":"image_14042025_12_06_14_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df9eb7c07d6edf505666d7f136a7788f.jpg","text":"TemporaryFile(/tmp/multipartBody8073871416936352444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734605730,"filename":"image_14042025_12_06_07_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349949268","file1":"1349949263","file0":"1349949257","file4":"1349949279","file5":"1349949284","file3":"1349949273"},"map_files_photo_id_array":[{"photo_id":"1349949284","filename":"file5"},{"photo_id":"1349949268","filename":"file2"},{"photo_id":"1349949279","filename":"file4"},{"photo_id":"1349949263","filename":"file1"},{"photo_id":"1349949257","filename":"file0"},{"photo_id":"1349949273","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349949284":["hashtag1","hashtag2"]},{"1349949263":["hashtag1","hashtag2"]},{"1349949257":["hashtag1","hashtag2"]},{"1349949268":["hashtag1","hashtag2"]},{"1349949279":["hashtag1","hashtag2"]},{"1349949273":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349949284, 1349949263, 1349949257, 1349949268, 1349949279, 1349949273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.447309494018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:29:41.836717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_53_3639.jpg', '/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_01_2624.jpg', '/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_08_2934.jpg', '/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_19_2617.jpg', '/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_26_3657.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_04_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/06/image_14042025_12_06_53_3639.jpg
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_01_2624.jpg
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_08_2934.jpg
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_19_2617.jpg
/home/pi/Desktop/images/14042025/12/07/image_14042025_12_07_26_3657.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_04_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949338","1349949397","1349949367","1349949439","1349949307","1349949293"],"photo_ids_order":["1349949293","1349949307","1349949338","1349949367","1349949397","1349949439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d7c318a9e310af74073d2dad20d4d1f.jpg","text":"TemporaryFile(/tmp/multipartBody5574996003825297596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734643232,"filename":"image_14042025_12_07_08_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31d51c6fb146e1f4abb8e27f6efc1fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1386151331999510924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734643232,"filename":"image_14042025_12_07_26_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e714fedc554994430d1acfd06b489c06.jpg","text":"TemporaryFile(/tmp/multipartBody93663287821952388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734643232,"filename":"image_14042025_12_07_19_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b5a86a2be250c48e2f0b3deee3bfddc.jpg","text":"TemporaryFile(/tmp/multipartBody356765237950256437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734643232,"filename":"image_14042025_12_08_04_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dad25ecfe518bbdc974480ef570ea14.jpg","text":"TemporaryFile(/tmp/multipartBody6204628612743122449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734643232,"filename":"image_14042025_12_07_01_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73fe4fb4f7b0b170838d28e186373df3.jpg","text":"TemporaryFile(/tmp/multipartBody1952622274137451239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734643232,"filename":"image_14042025_12_06_53_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349949338","file1":"1349949307","file0":"1349949293","file4":"1349949397","file5":"1349949439","file3":"1349949367"},"map_files_photo_id_array":[{"photo_id":"1349949439","filename":"file5"},{"photo_id":"1349949338","filename":"file2"},{"photo_id":"1349949397","filename":"file4"},{"photo_id":"1349949307","filename":"file1"},{"photo_id":"1349949293","filename":"file0"},{"photo_id":"1349949367","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349949338":["hashtag1","hashtag2"]},{"1349949397":["hashtag1","hashtag2"]},{"1349949367":["hashtag1","hashtag2"]},{"1349949439":["hashtag1","hashtag2"]},{"1349949307":["hashtag1","hashtag2"]},{"1349949293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349949338, 1349949397, 1349949367, 1349949439, 1349949307, 1349949293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28101921081543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:30:22.728356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_22_3594.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_31_3718.jpg', '/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_52_2700.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_07_3688.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_16_3626.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_19_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_22_3594.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_31_3718.jpg
/home/pi/Desktop/images/14042025/12/08/image_14042025_12_08_52_2700.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_07_3688.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_16_3626.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_19_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949559","1349949628","1349949622","1349949619","1349949594","1349949648"],"photo_ids_order":["1349949559","1349949594","1349949619","1349949622","1349949628","1349949648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7aaf7212f1842d34bd8f1a1551eac5a.jpg","text":"TemporaryFile(/tmp/multipartBody1374628736911916664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734685937,"filename":"image_14042025_12_08_22_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84e517f584331f032489a337807204b9.jpg","text":"TemporaryFile(/tmp/multipartBody2866350628194777772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734685937,"filename":"image_14042025_12_09_16_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c93be7553d5098011e2c7bf125cc1131.jpg","text":"TemporaryFile(/tmp/multipartBody282888114126537458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734685937,"filename":"image_14042025_12_09_07_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3ad2e4825a300766b6b840b5910ec66.jpg","text":"TemporaryFile(/tmp/multipartBody7383905305950943682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734685937,"filename":"image_14042025_12_08_52_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08ac3b85ec25aaa1fcaea27404cf480d.jpg","text":"TemporaryFile(/tmp/multipartBody1569685168213460691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734685937,"filename":"image_14042025_12_08_31_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7956ba3247096fb6ae563e358a34b8cf.jpg","text":"TemporaryFile(/tmp/multipartBody9186745098501022530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734685937,"filename":"image_14042025_12_09_19_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349949619","file1":"1349949594","file0":"1349949559","file4":"1349949628","file5":"1349949648","file3":"1349949622"},"map_files_photo_id_array":[{"photo_id":"1349949648","filename":"file5"},{"photo_id":"1349949619","filename":"file2"},{"photo_id":"1349949628","filename":"file4"},{"photo_id":"1349949594","filename":"file1"},{"photo_id":"1349949559","filename":"file0"},{"photo_id":"1349949622","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349949559":["hashtag1","hashtag2"]},{"1349949628":["hashtag1","hashtag2"]},{"1349949622":["hashtag1","hashtag2"]},{"1349949619":["hashtag1","hashtag2"]},{"1349949594":["hashtag1","hashtag2"]},{"1349949648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349949559, 1349949628, 1349949622, 1349949619, 1349949594, 1349949648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.108132123947144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:31:21.950513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/26/image_15042025_18_26_53_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/26/image_15042025_18_26_53_2558.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949719"],"photo_id":"1349949719","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34f0c31ee5a5ea1ac763710b341499a3.jpg","text":"TemporaryFile(/tmp/multipartBody3222932346679827846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734742480,"filename":"image_15042025_18_26_53_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349949719"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349949719"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.922931909561157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:31:41.932315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_31_2581.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_37_2817.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_40_2671.jpg', '/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_58_2677.jpg', '/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_07_2635.jpg', '/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_16_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_31_2581.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_37_2817.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_40_2671.jpg
/home/pi/Desktop/images/14042025/12/09/image_14042025_12_09_58_2677.jpg
/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_07_2635.jpg
/home/pi/Desktop/images/14042025/12/10/image_14042025_12_10_16_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949767","1349949842","1349949772","1349949784","1349949780","1349949777"],"photo_ids_order":["1349949767","1349949772","1349949777","1349949780","1349949784","1349949842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f3914fa06c70fa37f6c1f9ea201a211.jpg","text":"TemporaryFile(/tmp/multipartBody9072404368416164350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734763309,"filename":"image_14042025_12_09_31_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79cb4b8a33958b182a8869347771fb89.jpg","text":"TemporaryFile(/tmp/multipartBody5311388532028977515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734763309,"filename":"image_14042025_12_10_16_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/845bef5d1ebf007274733497f883a7d3.jpg","text":"TemporaryFile(/tmp/multipartBody5426194300055159407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734763309,"filename":"image_14042025_12_09_37_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd7357eca93d41c4670ee74a3de2751d.jpg","text":"TemporaryFile(/tmp/multipartBody4008587012484640100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734763309,"filename":"image_14042025_12_10_07_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c61827976cf19d2dbac96ff0576d11a.jpg","text":"TemporaryFile(/tmp/multipartBody1054180338973838070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734763309,"filename":"image_14042025_12_09_58_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f36b55b06d21cd18d171b4c692de386.jpg","text":"TemporaryFile(/tmp/multipartBody9061895647279215132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734763309,"filename":"image_14042025_12_09_40_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349949777","file1":"1349949772","file0":"1349949767","file4":"1349949784","file5":"1349949842","file3":"1349949780"},"map_files_photo_id_array":[{"photo_id":"1349949842","filename":"file5"},{"photo_id":"1349949777","filename":"file2"},{"photo_id":"1349949784","filename":"file4"},{"photo_id":"1349949772","filename":"file1"},{"photo_id":"1349949767","filename":"file0"},{"photo_id":"1349949780","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349949767":["hashtag1","hashtag2"]},{"1349949842":["hashtag1","hashtag2"]},{"1349949772":["hashtag1","hashtag2"]},{"1349949784":["hashtag1","hashtag2"]},{"1349949780":["hashtag1","hashtag2"]},{"1349949777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349949767, 1349949842, 1349949772, 1349949784, 1349949780, 1349949777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9410445690155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:32:22.015168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_07_2739.jpg', '/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_55_2807.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_10_3642.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_28_3699.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_37_3679.jpg', '/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_43_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_07_2739.jpg
/home/pi/Desktop/images/14042025/12/11/image_14042025_12_11_55_2807.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_10_3642.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_28_3699.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_37_3679.jpg
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_43_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349949862","1349949904","1349949913","1349949909","1349949900","1349949893"],"photo_ids_order":["1349949862","1349949893","1349949900","1349949904","1349949909","1349949913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8465becdf0b4a47a9fe7d32633449d7d.jpg","text":"TemporaryFile(/tmp/multipartBody6720634544338601277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734805447,"filename":"image_14042025_12_11_07_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6283edfcfa9b3d7cd865b28e70bb08d5.jpg","text":"TemporaryFile(/tmp/multipartBody4680358189665863990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734805447,"filename":"image_14042025_12_12_28_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3aa0e16f66dcb072fa5d1615b7bf40cc.jpg","text":"TemporaryFile(/tmp/multipartBody5767427808691403686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734805447,"filename":"image_14042025_12_12_43_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ad38fd6a4f91f50d2c18f601fcbf727.jpg","text":"TemporaryFile(/tmp/multipartBody1950112852163917164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734805447,"filename":"image_14042025_12_12_37_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/366215ec8e689ff8a6d86f794aef16de.jpg","text":"TemporaryFile(/tmp/multipartBody7642346589250686675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734805447,"filename":"image_14042025_12_12_10_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/776cd79716f9f9e2cadb23321836c818.jpg","text":"TemporaryFile(/tmp/multipartBody8680385309789976698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734805447,"filename":"image_14042025_12_11_55_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349949900","file1":"1349949893","file0":"1349949862","file4":"1349949909","file5":"1349949913","file3":"1349949904"},"map_files_photo_id_array":[{"photo_id":"1349949913","filename":"file5"},{"photo_id":"1349949900","filename":"file2"},{"photo_id":"1349949909","filename":"file4"},{"photo_id":"1349949893","filename":"file1"},{"photo_id":"1349949862","filename":"file0"},{"photo_id":"1349949904","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349949862":["hashtag1","hashtag2"]},{"1349949904":["hashtag1","hashtag2"]},{"1349949913":["hashtag1","hashtag2"]},{"1349949909":["hashtag1","hashtag2"]},{"1349949900":["hashtag1","hashtag2"]},{"1349949893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349949862, 1349949904, 1349949913, 1349949909, 1349949900, 1349949893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03480815887451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:33:02.581609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_54_2643.jpg', '/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_10_2687.jpg', '/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_34_2612.jpg', '/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_43_3522.jpg', '/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_54_2537.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_19_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/12/image_14042025_12_12_54_2643.jpg
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_10_2687.jpg
/home/pi/Desktop/images/14042025/12/13/image_14042025_12_13_34_2612.jpg
/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_43_3522.jpg
/home/pi/Desktop/images/14042025/12/14/image_14042025_12_14_54_2537.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_19_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349950305","1349950314","1349950280","1349950331","1349950310","1349950219"],"photo_ids_order":["1349950219","1349950280","1349950305","1349950310","1349950314","1349950331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3925552602281b7159e22262960a3f9.jpg","text":"TemporaryFile(/tmp/multipartBody3601388035741708163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734845174,"filename":"image_14042025_12_13_34_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4dd1a9cc35651cc29304fe92806d350f.jpg","text":"TemporaryFile(/tmp/multipartBody4010324068072708730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734845174,"filename":"image_14042025_12_14_54_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c844b2add29a93b08643e4ebf6caa4b.jpg","text":"TemporaryFile(/tmp/multipartBody6115549238349595810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734845174,"filename":"image_14042025_12_13_10_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47b2cd24ea39722b456d229f7d01abe1.jpg","text":"TemporaryFile(/tmp/multipartBody7025874520557597098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734845174,"filename":"image_14042025_12_15_19_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/12954610c79f6919efc6ffbb2629ba79.jpg","text":"TemporaryFile(/tmp/multipartBody3175583795898252826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734845174,"filename":"image_14042025_12_14_43_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4356d8c70c73a1b3681d59c329323216.jpg","text":"TemporaryFile(/tmp/multipartBody2711687058001528229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734845174,"filename":"image_14042025_12_12_54_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349950305","file1":"1349950280","file0":"1349950219","file4":"1349950314","file5":"1349950331","file3":"1349950310"},"map_files_photo_id_array":[{"photo_id":"1349950331","filename":"file5"},{"photo_id":"1349950305","filename":"file2"},{"photo_id":"1349950314","filename":"file4"},{"photo_id":"1349950280","filename":"file1"},{"photo_id":"1349950219","filename":"file0"},{"photo_id":"1349950310","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349950305":["hashtag1","hashtag2"]},{"1349950314":["hashtag1","hashtag2"]},{"1349950280":["hashtag1","hashtag2"]},{"1349950331":["hashtag1","hashtag2"]},{"1349950310":["hashtag1","hashtag2"]},{"1349950219":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349950305, 1349950314, 1349950280, 1349950331, 1349950310, 1349950219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52901601791382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:33:41.848422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_31_2729.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_39_2724.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_46_3681.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_49_2819.jpg', '/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_58_2603.jpg', '/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_34_3738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_31_2729.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_39_2724.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_46_3681.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_49_2819.jpg
/home/pi/Desktop/images/14042025/12/15/image_14042025_12_15_58_2603.jpg
/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_34_3738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349950410","1349950415","1349950357","1349950387","1349950423","1349950395"],"photo_ids_order":["1349950357","1349950387","1349950395","1349950410","1349950415","1349950423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63356810cb4516927efed40f638b84e5.jpg","text":"TemporaryFile(/tmp/multipartBody1727787249755395039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734883251,"filename":"image_14042025_12_15_49_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd44b6fa8ad8a7324d1efe9f3f5b67eb.jpg","text":"TemporaryFile(/tmp/multipartBody7267930458112970576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734883251,"filename":"image_14042025_12_15_58_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b11ff1b70a8ccf743511c0fd5e7c30be.jpg","text":"TemporaryFile(/tmp/multipartBody5424112572370238730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734883251,"filename":"image_14042025_12_15_31_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93077f23753f9215f577157abb48b181.jpg","text":"TemporaryFile(/tmp/multipartBody5970131430347192868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734883251,"filename":"image_14042025_12_15_39_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ebbc9b830bd2b6878f73a8df56df165.jpg","text":"TemporaryFile(/tmp/multipartBody1615839431147580077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734883251,"filename":"image_14042025_12_16_34_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dfa9f17f38023658aa1036f1aaf619c1.jpg","text":"TemporaryFile(/tmp/multipartBody7087347701482818732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734883251,"filename":"image_14042025_12_15_46_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349950395","file1":"1349950387","file0":"1349950357","file4":"1349950415","file5":"1349950423","file3":"1349950410"},"map_files_photo_id_array":[{"photo_id":"1349950423","filename":"file5"},{"photo_id":"1349950395","filename":"file2"},{"photo_id":"1349950415","filename":"file4"},{"photo_id":"1349950387","filename":"file1"},{"photo_id":"1349950357","filename":"file0"},{"photo_id":"1349950410","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349950410":["hashtag1","hashtag2"]},{"1349950415":["hashtag1","hashtag2"]},{"1349950357":["hashtag1","hashtag2"]},{"1349950387":["hashtag1","hashtag2"]},{"1349950423":["hashtag1","hashtag2"]},{"1349950395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349950410, 1349950415, 1349950357, 1349950387, 1349950423, 1349950395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.599130153656006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:34:22.294971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_43_3597.jpg', '/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_06_2732.jpg', '/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_30_2649.jpg', '/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_39_6225.jpg', '/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_42_1553.jpg', '/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_45_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/16/image_14042025_12_16_43_3597.jpg
/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_06_2732.jpg
/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_30_2649.jpg
/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_39_6225.jpg
/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_42_1553.jpg
/home/pi/Desktop/images/14042025/12/17/image_14042025_12_17_45_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349950484","1349950493","1349950472","1349950474","1349950476","1349950479"],"photo_ids_order":["1349950472","1349950474","1349950476","1349950479","1349950484","1349950493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0768872f98ed6a58ed3e5ddafa76360b.jpg","text":"TemporaryFile(/tmp/multipartBody4498540912437070071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734925526,"filename":"image_14042025_12_17_42_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3711d929a9da30023670ef3470ad5dd.jpg","text":"TemporaryFile(/tmp/multipartBody6104345636539162420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734925526,"filename":"image_14042025_12_17_45_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/108a63ee706f161f2059db7958d08551.jpg","text":"TemporaryFile(/tmp/multipartBody2076776848170152946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734925526,"filename":"image_14042025_12_16_43_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ffc36b88a4985aa7023e6089345519e.jpg","text":"TemporaryFile(/tmp/multipartBody8896133868205604270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734925526,"filename":"image_14042025_12_17_06_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc97a8c823d190a017709299c91d43e4.jpg","text":"TemporaryFile(/tmp/multipartBody8186300688588004743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734925526,"filename":"image_14042025_12_17_30_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/778d26e34692511dfb94ac51546d65fc.jpg","text":"TemporaryFile(/tmp/multipartBody6804761860101086631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734925526,"filename":"image_14042025_12_17_39_6225.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349950476","file1":"1349950474","file0":"1349950472","file4":"1349950484","file5":"1349950493","file3":"1349950479"},"map_files_photo_id_array":[{"photo_id":"1349950493","filename":"file5"},{"photo_id":"1349950476","filename":"file2"},{"photo_id":"1349950484","filename":"file4"},{"photo_id":"1349950474","filename":"file1"},{"photo_id":"1349950472","filename":"file0"},{"photo_id":"1349950479","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349950484":["hashtag1","hashtag2"]},{"1349950493":["hashtag1","hashtag2"]},{"1349950472":["hashtag1","hashtag2"]},{"1349950474":["hashtag1","hashtag2"]},{"1349950476":["hashtag1","hashtag2"]},{"1349950479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349950484, 1349950493, 1349950472, 1349950474, 1349950476, 1349950479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.578240156173706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:35:02.903002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_39_2649.jpg', '/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_45_2599.jpg', '/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_48_2702.jpg', '/home/pi/Desktop/images/14042025/12/18/image_14042025_12_19_00_3595.jpg', '/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_09_3718.jpg', '/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_33_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_39_2649.jpg
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_45_2599.jpg
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_18_48_2702.jpg
/home/pi/Desktop/images/14042025/12/18/image_14042025_12_19_00_3595.jpg
/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_09_3718.jpg
/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_33_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349950853","1349950913","1349950907","1349950837","1349950893","1349950884"],"photo_ids_order":["1349950837","1349950853","1349950884","1349950893","1349950907","1349950913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b30ade47e01b89a3bb8f01630fb7b91.jpg","text":"TemporaryFile(/tmp/multipartBody5309023889962561208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734965421,"filename":"image_14042025_12_18_45_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf007ced1113f3231e4e8488e27373b0.jpg","text":"TemporaryFile(/tmp/multipartBody3740961589256561192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734965421,"filename":"image_14042025_12_19_33_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4c027d15914ba854f50f946d81a86f7.jpg","text":"TemporaryFile(/tmp/multipartBody4410203911313341718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734965421,"filename":"image_14042025_12_19_09_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f457624058a4b2dadfa109b69dfcfb3.jpg","text":"TemporaryFile(/tmp/multipartBody8218897973069104513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734965421,"filename":"image_14042025_12_18_39_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9afd7d485a006edb8e747e2d467067b8.jpg","text":"TemporaryFile(/tmp/multipartBody2587348473277537520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734965421,"filename":"image_14042025_12_19_00_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10bcefc38e73da54de0dfef05a0c5f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8425243267563237291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744734965421,"filename":"image_14042025_12_18_48_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349950884","file1":"1349950853","file0":"1349950837","file4":"1349950907","file5":"1349950913","file3":"1349950893"},"map_files_photo_id_array":[{"photo_id":"1349950913","filename":"file5"},{"photo_id":"1349950884","filename":"file2"},{"photo_id":"1349950907","filename":"file4"},{"photo_id":"1349950853","filename":"file1"},{"photo_id":"1349950837","filename":"file0"},{"photo_id":"1349950893","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349950853":["hashtag1","hashtag2"]},{"1349950913":["hashtag1","hashtag2"]},{"1349950907":["hashtag1","hashtag2"]},{"1349950837":["hashtag1","hashtag2"]},{"1349950893":["hashtag1","hashtag2"]},{"1349950884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349950853, 1349950913, 1349950907, 1349950837, 1349950893, 1349950884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.235246419906616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:35:42.003886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_51_2706.jpg', '/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_54_2677.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_03_2713.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_24_3551.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_27_2751.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_30_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_51_2706.jpg
/home/pi/Desktop/images/14042025/12/19/image_14042025_12_19_54_2677.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_03_2713.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_24_3551.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_27_2751.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_30_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951057","1349950997","1349950984","1349951029","1349950972","1349951013"],"photo_ids_order":["1349950972","1349950984","1349950997","1349951013","1349951029","1349951057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06ef86e32b8fb39a1cf6951bff69ea9d.jpg","text":"TemporaryFile(/tmp/multipartBody5721348939913998040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735003390,"filename":"image_14042025_12_20_30_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f61b75037d52e1b4dec4c06fc73af1c7.jpg","text":"TemporaryFile(/tmp/multipartBody767441529186533641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735003390,"filename":"image_14042025_12_20_03_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f0d54ac47d64aa826f69eb6019af0e8.jpg","text":"TemporaryFile(/tmp/multipartBody7867637172749575481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735003390,"filename":"image_14042025_12_19_54_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e7431fd02399a6f6da0d7a17aa1c2ce.jpg","text":"TemporaryFile(/tmp/multipartBody4947943649310316095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735003390,"filename":"image_14042025_12_20_27_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7474d9f072d562f04f0aec034d667bea.jpg","text":"TemporaryFile(/tmp/multipartBody3290113164245305460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735003390,"filename":"image_14042025_12_19_51_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94511f64c19853de7813a311072efc6b.jpg","text":"TemporaryFile(/tmp/multipartBody4707158052720228579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735003390,"filename":"image_14042025_12_20_24_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349950997","file1":"1349950984","file0":"1349950972","file4":"1349951029","file5":"1349951057","file3":"1349951013"},"map_files_photo_id_array":[{"photo_id":"1349951057","filename":"file5"},{"photo_id":"1349950997","filename":"file2"},{"photo_id":"1349951029","filename":"file4"},{"photo_id":"1349950984","filename":"file1"},{"photo_id":"1349950972","filename":"file0"},{"photo_id":"1349951013","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349951057":["hashtag1","hashtag2"]},{"1349950997":["hashtag1","hashtag2"]},{"1349950984":["hashtag1","hashtag2"]},{"1349951029":["hashtag1","hashtag2"]},{"1349950972":["hashtag1","hashtag2"]},{"1349951013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349951057, 1349950997, 1349950984, 1349951029, 1349950972, 1349951013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93394160270691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:36:22.302713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_39_2723.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_42_3619.jpg', '/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_54_3696.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_06_2676.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_15_2902.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_21_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_39_2723.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_42_3619.jpg
/home/pi/Desktop/images/14042025/12/20/image_14042025_12_20_54_3696.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_06_2676.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_15_2902.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_21_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951075","1349951078","1349951104","1349951088","1349951082","1349951136"],"photo_ids_order":["1349951075","1349951078","1349951082","1349951088","1349951104","1349951136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e14038e942f4ad52740fe2999e79fe8.jpg","text":"TemporaryFile(/tmp/multipartBody4989967844135204045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735045412,"filename":"image_14042025_12_20_39_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64aaa802989afc2f1f439a134e953395.jpg","text":"TemporaryFile(/tmp/multipartBody3100069980311472139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735045412,"filename":"image_14042025_12_20_42_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68a92fa009837428d9533951e1aa1e1c.jpg","text":"TemporaryFile(/tmp/multipartBody593266355743893391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735045412,"filename":"image_14042025_12_21_15_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fdc3e3fe212da6aa9e9025973597716e.jpg","text":"TemporaryFile(/tmp/multipartBody207043835683610948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735045412,"filename":"image_14042025_12_21_06_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d15b0b4e8a0608d9f1e2f65c0d9fcac1.jpg","text":"TemporaryFile(/tmp/multipartBody8043109257042496420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735045412,"filename":"image_14042025_12_20_54_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4780118360208fffd1100ebb43547e7.jpg","text":"TemporaryFile(/tmp/multipartBody9208096374978698673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735045412,"filename":"image_14042025_12_21_21_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349951082","file1":"1349951078","file0":"1349951075","file4":"1349951104","file5":"1349951136","file3":"1349951088"},"map_files_photo_id_array":[{"photo_id":"1349951136","filename":"file5"},{"photo_id":"1349951082","filename":"file2"},{"photo_id":"1349951104","filename":"file4"},{"photo_id":"1349951078","filename":"file1"},{"photo_id":"1349951075","filename":"file0"},{"photo_id":"1349951088","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349951075":["hashtag1","hashtag2"]},{"1349951078":["hashtag1","hashtag2"]},{"1349951104":["hashtag1","hashtag2"]},{"1349951088":["hashtag1","hashtag2"]},{"1349951082":["hashtag1","hashtag2"]},{"1349951136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349951075, 1349951078, 1349951104, 1349951088, 1349951082, 1349951136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64744257926941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:37:03.600317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_24_2960.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_27_3783.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_33_2608.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_39_2560.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_48_2731.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_51_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_24_2960.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_27_3783.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_33_2608.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_39_2560.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_48_2731.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_51_2854.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951261","1349951255","1349951225","1349951230","1349951244","1349951220"],"photo_ids_order":["1349951220","1349951225","1349951230","1349951244","1349951255","1349951261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5ed11f35fd398a8c0fb71ae4e7798e9.jpg","text":"TemporaryFile(/tmp/multipartBody3662289431672018238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735086224,"filename":"image_14042025_12_21_51_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60861e70b967fd39a92349deb699b69b.jpg","text":"TemporaryFile(/tmp/multipartBody2981882113552890886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735086224,"filename":"image_14042025_12_21_48_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5eddbeb6c9a1cc74d2fbf49376569c72.jpg","text":"TemporaryFile(/tmp/multipartBody8866612326964993316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735086224,"filename":"image_14042025_12_21_27_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8420595ee31dad89b36c7e070b6fdbb.jpg","text":"TemporaryFile(/tmp/multipartBody7346090452734235332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735086224,"filename":"image_14042025_12_21_33_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa97d282a811bd738b7402c94ab5f5b8.jpg","text":"TemporaryFile(/tmp/multipartBody7241864136201927065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735086224,"filename":"image_14042025_12_21_39_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/009480d705606f39fe675dc0b3eab3c3.jpg","text":"TemporaryFile(/tmp/multipartBody6919726437095521267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735086224,"filename":"image_14042025_12_21_24_2960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349951230","file1":"1349951225","file0":"1349951220","file4":"1349951255","file5":"1349951261","file3":"1349951244"},"map_files_photo_id_array":[{"photo_id":"1349951261","filename":"file5"},{"photo_id":"1349951230","filename":"file2"},{"photo_id":"1349951255","filename":"file4"},{"photo_id":"1349951225","filename":"file1"},{"photo_id":"1349951220","filename":"file0"},{"photo_id":"1349951244","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349951261":["hashtag1","hashtag2"]},{"1349951255":["hashtag1","hashtag2"]},{"1349951225":["hashtag1","hashtag2"]},{"1349951230":["hashtag1","hashtag2"]},{"1349951244":["hashtag1","hashtag2"]},{"1349951220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349951261, 1349951255, 1349951225, 1349951230, 1349951244, 1349951220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94621777534485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:37:42.769511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_53_2597.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_57_3737.jpg', '/home/pi/Desktop/images/14042025/12/21/image_14042025_12_22_00_2671.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_03_2722.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_06_3716.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_11_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_53_2597.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_21_57_3737.jpg
/home/pi/Desktop/images/14042025/12/21/image_14042025_12_22_00_2671.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_03_2722.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_06_3716.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_11_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951291","1349951270","1349951281","1349951286","1349951307","1349951276"],"photo_ids_order":["1349951270","1349951276","1349951281","1349951286","1349951291","1349951307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84efe44f5f5b8fb67f6867f073f2670e.jpg","text":"TemporaryFile(/tmp/multipartBody5844045757694167450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735124139,"filename":"image_14042025_12_22_06_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7347298d433e3dbb57b49e4eedb2a1b3.jpg","text":"TemporaryFile(/tmp/multipartBody333148558435249337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735124139,"filename":"image_14042025_12_21_53_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2bb20832848525af303bc4401b79b4cd.jpg","text":"TemporaryFile(/tmp/multipartBody4476271051922476453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735124139,"filename":"image_14042025_12_22_00_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2cfda454f8c37b4a7ba47a2ab96722e.jpg","text":"TemporaryFile(/tmp/multipartBody2553821725693805465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735124139,"filename":"image_14042025_12_22_03_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/374291f0049ef17a146238d60293cb56.jpg","text":"TemporaryFile(/tmp/multipartBody6413715523997378437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735124139,"filename":"image_14042025_12_22_11_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d14b6eb1c235857beea14216785a6334.jpg","text":"TemporaryFile(/tmp/multipartBody6492100597710528241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735124139,"filename":"image_14042025_12_21_57_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349951281","file1":"1349951276","file0":"1349951270","file4":"1349951291","file5":"1349951307","file3":"1349951286"},"map_files_photo_id_array":[{"photo_id":"1349951307","filename":"file5"},{"photo_id":"1349951281","filename":"file2"},{"photo_id":"1349951291","filename":"file4"},{"photo_id":"1349951276","filename":"file1"},{"photo_id":"1349951270","filename":"file0"},{"photo_id":"1349951286","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349951291":["hashtag1","hashtag2"]},{"1349951270":["hashtag1","hashtag2"]},{"1349951281":["hashtag1","hashtag2"]},{"1349951286":["hashtag1","hashtag2"]},{"1349951307":["hashtag1","hashtag2"]},{"1349951276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349951291, 1349951270, 1349951281, 1349951286, 1349951307, 1349951276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10287070274353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:38:22.783673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_23_2650.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_27_3794.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_30_2675.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_36_3727.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_39_2606.jpg', '/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_41_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_23_2650.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_27_3794.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_30_2675.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_36_3727.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_39_2606.jpg
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_41_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951342","1349951336","1349951359","1349951332","1349951326","1349951349"],"photo_ids_order":["1349951326","1349951332","1349951336","1349951342","1349951349","1349951359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1fa436902794c7f24868bd418f7e4c3b.jpg","text":"TemporaryFile(/tmp/multipartBody2057612481323854017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735165933,"filename":"image_14042025_12_22_36_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff9509474aa5b0f09346543145a05a37.jpg","text":"TemporaryFile(/tmp/multipartBody4826159295598977632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735165933,"filename":"image_14042025_12_22_30_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afb158550edef1426518f25276c266c7.jpg","text":"TemporaryFile(/tmp/multipartBody5816239277886278275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735165933,"filename":"image_14042025_12_22_41_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44d1e210b64ea1b16f8a5f2df15f60d7.jpg","text":"TemporaryFile(/tmp/multipartBody7316718173955162947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735165933,"filename":"image_14042025_12_22_27_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/adb207b02090319b6dac6589a9c6c9c9.jpg","text":"TemporaryFile(/tmp/multipartBody5261568472039997099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735165933,"filename":"image_14042025_12_22_23_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8433d1125c620a7af3356fd3e8720b7.jpg","text":"TemporaryFile(/tmp/multipartBody4386424100336998206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735165933,"filename":"image_14042025_12_22_39_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349951336","file1":"1349951332","file0":"1349951326","file4":"1349951349","file5":"1349951359","file3":"1349951342"},"map_files_photo_id_array":[{"photo_id":"1349951359","filename":"file5"},{"photo_id":"1349951336","filename":"file2"},{"photo_id":"1349951349","filename":"file4"},{"photo_id":"1349951332","filename":"file1"},{"photo_id":"1349951326","filename":"file0"},{"photo_id":"1349951342","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349951342":["hashtag1","hashtag2"]},{"1349951336":["hashtag1","hashtag2"]},{"1349951359":["hashtag1","hashtag2"]},{"1349951332":["hashtag1","hashtag2"]},{"1349951326":["hashtag1","hashtag2"]},{"1349951349":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349951342, 1349951336, 1349951359, 1349951332, 1349951326, 1349951349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58317804336548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:39:03.286832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_50_2681.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_02_2827.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_23_2773.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_30_3657.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_35_2667.jpg', '/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_51_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/22/image_14042025_12_22_50_2681.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_02_2827.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_23_2773.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_30_3657.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_35_2667.jpg
/home/pi/Desktop/images/14042025/12/23/image_14042025_12_23_51_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951399","1349951408","1349951383","1349951413","1349951379","1349951388"],"photo_ids_order":["1349951379","1349951383","1349951388","1349951399","1349951408","1349951413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10ee1680640f47bc7af40818b4decd3b.jpg","text":"TemporaryFile(/tmp/multipartBody7077771734056500709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735208872,"filename":"image_14042025_12_23_30_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d33db917b502c69b66c6771b49d0201.jpg","text":"TemporaryFile(/tmp/multipartBody7055726374041514495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735208872,"filename":"image_14042025_12_23_35_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e778a8540f194fa0365be8181a8f7da.jpg","text":"TemporaryFile(/tmp/multipartBody4804678269107396149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735208872,"filename":"image_14042025_12_23_02_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89cfacaee26de5693c05bda34571fbe6.jpg","text":"TemporaryFile(/tmp/multipartBody2345523302256670300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735208872,"filename":"image_14042025_12_23_51_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56fbfe06e6be1c4fcf64bd0c13147975.jpg","text":"TemporaryFile(/tmp/multipartBody8666004607211028732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735208872,"filename":"image_14042025_12_22_50_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/019b57d0a4d817672dc1fa9a7b1f093d.jpg","text":"TemporaryFile(/tmp/multipartBody3984145482585740335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735208872,"filename":"image_14042025_12_23_23_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349951388","file1":"1349951383","file0":"1349951379","file4":"1349951408","file5":"1349951413","file3":"1349951399"},"map_files_photo_id_array":[{"photo_id":"1349951413","filename":"file5"},{"photo_id":"1349951388","filename":"file2"},{"photo_id":"1349951408","filename":"file4"},{"photo_id":"1349951383","filename":"file1"},{"photo_id":"1349951379","filename":"file0"},{"photo_id":"1349951399","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349951399":["hashtag1","hashtag2"]},{"1349951408":["hashtag1","hashtag2"]},{"1349951383":["hashtag1","hashtag2"]},{"1349951413":["hashtag1","hashtag2"]},{"1349951379":["hashtag1","hashtag2"]},{"1349951388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349951399, 1349951408, 1349951383, 1349951413, 1349951379, 1349951388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.37292170524597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:40:03.286752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_05_2786.jpg', '/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_09_3765.jpg', '/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_33_3655.jpg', '/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_44_2577.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_06_2752.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_08_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_05_2786.jpg
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_09_3765.jpg
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_33_3655.jpg
/home/pi/Desktop/images/14042025/12/24/image_14042025_12_24_44_2577.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_06_2752.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_08_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951468","1349951453","1349951458","1349951481","1349951509","1349951445"],"photo_ids_order":["1349951445","1349951453","1349951458","1349951468","1349951481","1349951509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ad7e073abcc5e8857428ff1af3559fe.jpg","text":"TemporaryFile(/tmp/multipartBody1073482790260798897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735265724,"filename":"image_14042025_12_24_44_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ccabd85e487631a64f91a7e38ffea71.jpg","text":"TemporaryFile(/tmp/multipartBody4981405225484477228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735265724,"filename":"image_14042025_12_24_09_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f64ad3785387ae942892218d7e5183e.jpg","text":"TemporaryFile(/tmp/multipartBody3850497141075305752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735265724,"filename":"image_14042025_12_24_33_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/224538a343077c2ce1cd79aa3eba04cf.jpg","text":"TemporaryFile(/tmp/multipartBody9185257637350822079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735265724,"filename":"image_14042025_12_25_06_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2222e057f4c461b2d33964ce86b3ed76.jpg","text":"TemporaryFile(/tmp/multipartBody9173403261049064281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735265724,"filename":"image_14042025_12_25_08_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a1781e7a98396aa4336fb442f1ef9c9.jpg","text":"TemporaryFile(/tmp/multipartBody5540944517424247779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735265724,"filename":"image_14042025_12_24_05_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349951458","file1":"1349951453","file0":"1349951445","file4":"1349951481","file5":"1349951509","file3":"1349951468"},"map_files_photo_id_array":[{"photo_id":"1349951509","filename":"file5"},{"photo_id":"1349951458","filename":"file2"},{"photo_id":"1349951481","filename":"file4"},{"photo_id":"1349951453","filename":"file1"},{"photo_id":"1349951445","filename":"file0"},{"photo_id":"1349951468","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349951468":["hashtag1","hashtag2"]},{"1349951453":["hashtag1","hashtag2"]},{"1349951458":["hashtag1","hashtag2"]},{"1349951481":["hashtag1","hashtag2"]},{"1349951509":["hashtag1","hashtag2"]},{"1349951445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349951468, 1349951453, 1349951458, 1349951481, 1349951509, 1349951445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60283875465393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:41:03.374381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:41:22.671641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_15_3504.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_17_2527.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_21_3613.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_36_3533.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_39_2633.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_41_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_15_3504.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_17_2527.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_21_3613.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_36_3533.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_39_2633.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_41_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951654","1349951662","1349951635","1349951644","1349951649","1349951640"],"photo_ids_order":["1349951635","1349951640","1349951644","1349951649","1349951654","1349951662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71e48e01822932a7931cb3956d5734f0.jpg","text":"TemporaryFile(/tmp/multipartBody3263466881362597087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735345656,"filename":"image_14042025_12_25_39_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a93e0e49f50868c20f14eeaf70d179ae.jpg","text":"TemporaryFile(/tmp/multipartBody3991573480007272981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735345656,"filename":"image_14042025_12_25_41_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a2e3e586388f332335b92263090f854.jpg","text":"TemporaryFile(/tmp/multipartBody2182094974017330571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735345656,"filename":"image_14042025_12_25_15_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ae11488c87f6fb7ed9126ab5eb3384b.jpg","text":"TemporaryFile(/tmp/multipartBody3767013356270589472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735345656,"filename":"image_14042025_12_25_21_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd3a4cd033e41e0a4d53575180dbf462.jpg","text":"TemporaryFile(/tmp/multipartBody6911301551735311680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735345656,"filename":"image_14042025_12_25_36_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d45e70e74f5be6f5598ec8b7adedcfd1.jpg","text":"TemporaryFile(/tmp/multipartBody7136449072453092973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735345656,"filename":"image_14042025_12_25_17_2527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349951644","file1":"1349951640","file0":"1349951635","file4":"1349951654","file5":"1349951662","file3":"1349951649"},"map_files_photo_id_array":[{"photo_id":"1349951662","filename":"file5"},{"photo_id":"1349951644","filename":"file2"},{"photo_id":"1349951654","filename":"file4"},{"photo_id":"1349951640","filename":"file1"},{"photo_id":"1349951635","filename":"file0"},{"photo_id":"1349951649","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349951654":["hashtag1","hashtag2"]},{"1349951662":["hashtag1","hashtag2"]},{"1349951635":["hashtag1","hashtag2"]},{"1349951644":["hashtag1","hashtag2"]},{"1349951649":["hashtag1","hashtag2"]},{"1349951640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349951654, 1349951662, 1349951635, 1349951644, 1349951649, 1349951640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40156817436218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:42:03.268792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_48_2692.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_50_2556.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_56_2636.jpg', '/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_59_2862.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_02_2790.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_06_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_48_2692.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_50_2556.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_56_2636.jpg
/home/pi/Desktop/images/14042025/12/25/image_14042025_12_25_59_2862.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_02_2790.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_06_3594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349951780","1349951711","1349952058","1349951848","1349951997","1349951917"],"photo_ids_order":["1349951711","1349951780","1349951848","1349951917","1349951997","1349952058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c84639fad9b58e45d55e04e262ff6b3f.jpg","text":"TemporaryFile(/tmp/multipartBody8514420829271190395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735385687,"filename":"image_14042025_12_25_50_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94a08db12709854ffe6d39ff44959d2a.jpg","text":"TemporaryFile(/tmp/multipartBody3529836915861839501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735385687,"filename":"image_14042025_12_25_48_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c668858b463c697379cdb0f601c2687.jpg","text":"TemporaryFile(/tmp/multipartBody9087237348272545464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735385687,"filename":"image_14042025_12_26_06_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f49cc25e09b9fbda73bf53e1cad5a53c.jpg","text":"TemporaryFile(/tmp/multipartBody8892945006976349249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735385687,"filename":"image_14042025_12_25_56_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9371a7021994f2a4cb5b111477a02a8.jpg","text":"TemporaryFile(/tmp/multipartBody5613064261025701533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735385687,"filename":"image_14042025_12_26_02_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24971ec014bb37746170ac9a5a9d8d84.jpg","text":"TemporaryFile(/tmp/multipartBody729576157425753552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735385687,"filename":"image_14042025_12_25_59_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349951848","file1":"1349951780","file0":"1349951711","file4":"1349951997","file5":"1349952058","file3":"1349951917"},"map_files_photo_id_array":[{"photo_id":"1349952058","filename":"file5"},{"photo_id":"1349951848","filename":"file2"},{"photo_id":"1349951997","filename":"file4"},{"photo_id":"1349951780","filename":"file1"},{"photo_id":"1349951711","filename":"file0"},{"photo_id":"1349951917","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349951780":["hashtag1","hashtag2"]},{"1349951711":["hashtag1","hashtag2"]},{"1349952058":["hashtag1","hashtag2"]},{"1349951848":["hashtag1","hashtag2"]},{"1349951997":["hashtag1","hashtag2"]},{"1349951917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349951780, 1349951711, 1349952058, 1349951848, 1349951997, 1349951917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.989917039871216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:42:42.609830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/31/image_15042025_18_31_08_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/31/image_15042025_18_31_08_2577.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952170"],"photo_id":"1349952170","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef8c56995c327b79fd9f26e5ffacbc33.jpg","text":"TemporaryFile(/tmp/multipartBody6677466479172780987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735423138,"filename":"image_15042025_18_31_08_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349952170"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349952170"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.863069534301758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:43:03.290955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_12_3614.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_15_2629.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_24_3687.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_30_3619.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_35_2774.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_42_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_12_3614.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_15_2629.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_24_3687.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_30_3619.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_35_2774.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_42_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952292","1349952277","1349952282","1349952287","1349952296","1349952299"],"photo_ids_order":["1349952277","1349952282","1349952287","1349952292","1349952296","1349952299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6d7bf1e37eb1562775720583e22c452.jpg","text":"TemporaryFile(/tmp/multipartBody5858506220290232419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735445835,"filename":"image_14042025_12_26_30_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f6a2e1ca42a407782cdf32f563e799e.jpg","text":"TemporaryFile(/tmp/multipartBody7984858851582138840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735445835,"filename":"image_14042025_12_26_12_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5fcc850a1b7581048559e89f53ca0f46.jpg","text":"TemporaryFile(/tmp/multipartBody3893756492315208171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735445835,"filename":"image_14042025_12_26_15_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f05b8c4da33ca2aed0e2cbefefa53ecb.jpg","text":"TemporaryFile(/tmp/multipartBody5831313779226495528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735445835,"filename":"image_14042025_12_26_24_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e7d3acd81b78ad542a01861c065e0cb.jpg","text":"TemporaryFile(/tmp/multipartBody11383087165159261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735445835,"filename":"image_14042025_12_26_35_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a7023ff61ab241858c3789927f67b29.jpg","text":"TemporaryFile(/tmp/multipartBody3059920017815482532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735445835,"filename":"image_14042025_12_26_42_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952287","file1":"1349952282","file0":"1349952277","file4":"1349952296","file5":"1349952299","file3":"1349952292"},"map_files_photo_id_array":[{"photo_id":"1349952299","filename":"file5"},{"photo_id":"1349952287","filename":"file2"},{"photo_id":"1349952296","filename":"file4"},{"photo_id":"1349952282","filename":"file1"},{"photo_id":"1349952277","filename":"file0"},{"photo_id":"1349952292","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349952292":["hashtag1","hashtag2"]},{"1349952277":["hashtag1","hashtag2"]},{"1349952282":["hashtag1","hashtag2"]},{"1349952287":["hashtag1","hashtag2"]},{"1349952296":["hashtag1","hashtag2"]},{"1349952299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349952292, 1349952277, 1349952282, 1349952287, 1349952296, 1349952299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16944074630737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:43:42.430894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_44_2813.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_53_2587.jpg', '/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_59_2627.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_11_2844.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_20_2793.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_23_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_44_2813.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_53_2587.jpg
/home/pi/Desktop/images/14042025/12/26/image_14042025_12_26_59_2627.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_11_2844.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_20_2793.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_23_2535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952347","1349952332","1349952326","1349952308","1349952313","1349952321"],"photo_ids_order":["1349952308","1349952313","1349952321","1349952326","1349952332","1349952347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bafe2368c3fcf229dc5f504a1836cea1.jpg","text":"TemporaryFile(/tmp/multipartBody8305796216070837145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735483810,"filename":"image_14042025_12_27_23_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab3b33caf145421481b6f2455b52c34d.jpg","text":"TemporaryFile(/tmp/multipartBody4166670727922444757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735483810,"filename":"image_14042025_12_27_20_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60aa2261f8f0b90c0384e190efe637db.jpg","text":"TemporaryFile(/tmp/multipartBody3843624357269873974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735483810,"filename":"image_14042025_12_27_11_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5029ef09621f6a539ab12b994e18fa4.jpg","text":"TemporaryFile(/tmp/multipartBody5127555590944820772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735483810,"filename":"image_14042025_12_26_44_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6379f4ea170d1d431e8ed3537250870.jpg","text":"TemporaryFile(/tmp/multipartBody443976336636989483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735483810,"filename":"image_14042025_12_26_53_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a114d5f609584d63e285ddc91581b56.jpg","text":"TemporaryFile(/tmp/multipartBody3027512704755660977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735483810,"filename":"image_14042025_12_26_59_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952321","file1":"1349952313","file0":"1349952308","file4":"1349952332","file5":"1349952347","file3":"1349952326"},"map_files_photo_id_array":[{"photo_id":"1349952347","filename":"file5"},{"photo_id":"1349952321","filename":"file2"},{"photo_id":"1349952332","filename":"file4"},{"photo_id":"1349952313","filename":"file1"},{"photo_id":"1349952308","filename":"file0"},{"photo_id":"1349952326","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349952347":["hashtag1","hashtag2"]},{"1349952332":["hashtag1","hashtag2"]},{"1349952326":["hashtag1","hashtag2"]},{"1349952308":["hashtag1","hashtag2"]},{"1349952313":["hashtag1","hashtag2"]},{"1349952321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349952347, 1349952332, 1349952326, 1349952308, 1349952313, 1349952321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1233651638031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:44:21.913227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_29_2654.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_33_3635.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_35_2674.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_47_2743.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_50_2690.jpg', '/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_53_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_29_2654.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_33_3635.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_35_2674.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_47_2743.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_50_2690.jpg
/home/pi/Desktop/images/14042025/12/27/image_14042025_12_27_53_3533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952391","1349952375","1349952384","1349952369","1349952402","1349952380"],"photo_ids_order":["1349952369","1349952375","1349952380","1349952384","1349952391","1349952402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb0baac74bd0057c35307262602e5dce.jpg","text":"TemporaryFile(/tmp/multipartBody5605403740605389883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735525221,"filename":"image_14042025_12_27_50_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8593b2d418a509048a62f618475c9304.jpg","text":"TemporaryFile(/tmp/multipartBody8804517780290673756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735525221,"filename":"image_14042025_12_27_33_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80467b57ae257f59a5a58623075ee271.jpg","text":"TemporaryFile(/tmp/multipartBody4854360073416052353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735525221,"filename":"image_14042025_12_27_47_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f99ac151da78e7aa37a530335ada3ebe.jpg","text":"TemporaryFile(/tmp/multipartBody2391297006768036057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735525221,"filename":"image_14042025_12_27_29_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14743bb65a5e5e4a4a8eb02c3ad22d5f.jpg","text":"TemporaryFile(/tmp/multipartBody7243076416125068609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735525221,"filename":"image_14042025_12_27_53_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c9eb678485012f25e6a7f24ff67c75f.jpg","text":"TemporaryFile(/tmp/multipartBody5086412681261397938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735525221,"filename":"image_14042025_12_27_35_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952380","file1":"1349952375","file0":"1349952369","file4":"1349952391","file5":"1349952402","file3":"1349952384"},"map_files_photo_id_array":[{"photo_id":"1349952402","filename":"file5"},{"photo_id":"1349952380","filename":"file2"},{"photo_id":"1349952391","filename":"file4"},{"photo_id":"1349952375","filename":"file1"},{"photo_id":"1349952369","filename":"file0"},{"photo_id":"1349952384","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349952391":["hashtag1","hashtag2"]},{"1349952375":["hashtag1","hashtag2"]},{"1349952384":["hashtag1","hashtag2"]},{"1349952369":["hashtag1","hashtag2"]},{"1349952402":["hashtag1","hashtag2"]},{"1349952380":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349952391, 1349952375, 1349952384, 1349952369, 1349952402, 1349952380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54833436012268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:45:22.585137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_24_2991.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_26_2766.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_29_2762.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_32_2651.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_50_2586.jpg', '/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_54_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_24_2991.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_26_2766.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_29_2762.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_32_2651.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_50_2586.jpg
/home/pi/Desktop/images/14042025/12/28/image_14042025_12_28_54_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952457","1349952480","1349952462","1349952485","1349952473","1349952467"],"photo_ids_order":["1349952457","1349952462","1349952467","1349952473","1349952480","1349952485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa03fc7e6a63281bf2e9fd901fdd86a3.jpg","text":"TemporaryFile(/tmp/multipartBody7329723643832994918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735585611,"filename":"image_14042025_12_28_24_2991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bd9f3bf78e2048727c05dc70340ed6d.jpg","text":"TemporaryFile(/tmp/multipartBody3702983389837160510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735585611,"filename":"image_14042025_12_28_50_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c76be95bea98cf0a4135278094b8f9fb.jpg","text":"TemporaryFile(/tmp/multipartBody8738362915245071910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735585611,"filename":"image_14042025_12_28_26_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6e104ec95d6038e5688703a3202b112.jpg","text":"TemporaryFile(/tmp/multipartBody3196124060457765834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735585611,"filename":"image_14042025_12_28_54_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c162574b2d834b3e357620fcd5dc5338.jpg","text":"TemporaryFile(/tmp/multipartBody1569140700005088467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735585611,"filename":"image_14042025_12_28_32_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b85aa23425e4af543b2bcbb864532bc.jpg","text":"TemporaryFile(/tmp/multipartBody8592043709348279036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735585611,"filename":"image_14042025_12_28_29_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952467","file1":"1349952462","file0":"1349952457","file4":"1349952480","file5":"1349952485","file3":"1349952473"},"map_files_photo_id_array":[{"photo_id":"1349952485","filename":"file5"},{"photo_id":"1349952467","filename":"file2"},{"photo_id":"1349952480","filename":"file4"},{"photo_id":"1349952462","filename":"file1"},{"photo_id":"1349952457","filename":"file0"},{"photo_id":"1349952473","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349952457":["hashtag1","hashtag2"]},{"1349952480":["hashtag1","hashtag2"]},{"1349952462":["hashtag1","hashtag2"]},{"1349952485":["hashtag1","hashtag2"]},{"1349952473":["hashtag1","hashtag2"]},{"1349952467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349952457, 1349952480, 1349952462, 1349952485, 1349952473, 1349952467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52396368980408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:46:03.247753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_35_3661.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_38_2697.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_41_2812.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_44_2843.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_47_3733.jpg', '/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_50_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_35_3661.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_38_2697.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_41_2812.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_44_2843.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_47_3733.jpg
/home/pi/Desktop/images/14042025/12/29/image_14042025_12_29_50_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952499","1349952493","1349952517","1349952511","1349952522","1349952504"],"photo_ids_order":["1349952493","1349952499","1349952504","1349952511","1349952517","1349952522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17112e77ee1a5fd40ac058dda5405a81.jpg","text":"TemporaryFile(/tmp/multipartBody2582884320454665782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735625761,"filename":"image_14042025_12_29_38_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb22fdf5e10d5bc434eebd745e0a39db.jpg","text":"TemporaryFile(/tmp/multipartBody5841847462281552801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735625761,"filename":"image_14042025_12_29_35_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbadefd644fe507a1e4f81a5252805c9.jpg","text":"TemporaryFile(/tmp/multipartBody651460987596819087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735625761,"filename":"image_14042025_12_29_47_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/225f7403674afd318fc91122df166da9.jpg","text":"TemporaryFile(/tmp/multipartBody215937343198213135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735625761,"filename":"image_14042025_12_29_44_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/065e6a4bc867ab97ca1eb4c2fe01a2ad.jpg","text":"TemporaryFile(/tmp/multipartBody1889400964317892417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735625761,"filename":"image_14042025_12_29_50_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a481a181e5b61fab455525b5c102541.jpg","text":"TemporaryFile(/tmp/multipartBody8250420915736303602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735625761,"filename":"image_14042025_12_29_41_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952504","file1":"1349952499","file0":"1349952493","file4":"1349952517","file5":"1349952522","file3":"1349952511"},"map_files_photo_id_array":[{"photo_id":"1349952522","filename":"file5"},{"photo_id":"1349952504","filename":"file2"},{"photo_id":"1349952517","filename":"file4"},{"photo_id":"1349952499","filename":"file1"},{"photo_id":"1349952493","filename":"file0"},{"photo_id":"1349952511","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349952499":["hashtag1","hashtag2"]},{"1349952493":["hashtag1","hashtag2"]},{"1349952517":["hashtag1","hashtag2"]},{"1349952511":["hashtag1","hashtag2"]},{"1349952522":["hashtag1","hashtag2"]},{"1349952504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349952499, 1349952493, 1349952517, 1349952511, 1349952522, 1349952504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51406931877136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:46:42.693065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_07_3010.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_11_3622.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_14_2711.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_16_2663.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_23_2598.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_26_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_07_3010.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_11_3622.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_14_2711.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_16_2663.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_23_2598.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_26_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952539","1349952805","1349952594","1349952899","1349952702","1349952533"],"photo_ids_order":["1349952533","1349952539","1349952594","1349952702","1349952805","1349952899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3b69986377e97a70da9cf1ae63bed3b.jpg","text":"TemporaryFile(/tmp/multipartBody1616978470449890828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735664197,"filename":"image_14042025_12_30_11_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b08a611c2816fc3e5d854ea61e805810.jpg","text":"TemporaryFile(/tmp/multipartBody3576820742458848104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735664197,"filename":"image_14042025_12_30_23_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb3704ea6d12a7dc4c7c50e7e823776a.jpg","text":"TemporaryFile(/tmp/multipartBody2877946861975365404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735664197,"filename":"image_14042025_12_30_14_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82978ea071da188eabd1e5defa973109.jpg","text":"TemporaryFile(/tmp/multipartBody8850003772617334355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735664197,"filename":"image_14042025_12_30_26_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c9086105647e9749caa405c571720f7.jpg","text":"TemporaryFile(/tmp/multipartBody7222266051094304872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735664197,"filename":"image_14042025_12_30_16_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a5b3e771f3d6807b5ec2fc436f04a0a.jpg","text":"TemporaryFile(/tmp/multipartBody4219819464143540240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735664197,"filename":"image_14042025_12_30_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952594","file1":"1349952539","file0":"1349952533","file4":"1349952805","file5":"1349952899","file3":"1349952702"},"map_files_photo_id_array":[{"photo_id":"1349952899","filename":"file5"},{"photo_id":"1349952594","filename":"file2"},{"photo_id":"1349952805","filename":"file4"},{"photo_id":"1349952539","filename":"file1"},{"photo_id":"1349952533","filename":"file0"},{"photo_id":"1349952702","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349952539":["hashtag1","hashtag2"]},{"1349952805":["hashtag1","hashtag2"]},{"1349952594":["hashtag1","hashtag2"]},{"1349952899":["hashtag1","hashtag2"]},{"1349952702":["hashtag1","hashtag2"]},{"1349952533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349952539, 1349952805, 1349952594, 1349952899, 1349952702, 1349952533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45769643783569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:47:22.187877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_29_3672.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_32_2677.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_35_2686.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_37_2728.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_41_3608.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_44_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_29_3672.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_32_2677.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_35_2686.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_37_2728.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_41_3608.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_44_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952949","1349952934","1349952958","1349952938","1349952953","1349952926"],"photo_ids_order":["1349952926","1349952934","1349952938","1349952949","1349952953","1349952958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cea3bad8bc8d27a8f6e3a62eec58ca97.jpg","text":"TemporaryFile(/tmp/multipartBody1484952128579759777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735705307,"filename":"image_14042025_12_30_37_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a077bcb31a8151200063a7864928e110.jpg","text":"TemporaryFile(/tmp/multipartBody1628256973508391310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735705307,"filename":"image_14042025_12_30_32_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4fb79197cb6029cf40b52c7b8016d043.jpg","text":"TemporaryFile(/tmp/multipartBody7795923648222705312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735705307,"filename":"image_14042025_12_30_44_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6e9fe173b80c96674c462ee4aa0a0ad.jpg","text":"TemporaryFile(/tmp/multipartBody3903063693894804884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735705307,"filename":"image_14042025_12_30_35_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/289850c8d02f8e7031df0be88a4df91d.jpg","text":"TemporaryFile(/tmp/multipartBody8339501572353183247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735705307,"filename":"image_14042025_12_30_41_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5c1928101719b6fdaca3fa258fe7588.jpg","text":"TemporaryFile(/tmp/multipartBody2524598096942991158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735705307,"filename":"image_14042025_12_30_29_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952938","file1":"1349952934","file0":"1349952926","file4":"1349952953","file5":"1349952958","file3":"1349952949"},"map_files_photo_id_array":[{"photo_id":"1349952958","filename":"file5"},{"photo_id":"1349952938","filename":"file2"},{"photo_id":"1349952953","filename":"file4"},{"photo_id":"1349952934","filename":"file1"},{"photo_id":"1349952926","filename":"file0"},{"photo_id":"1349952949","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349952949":["hashtag1","hashtag2"]},{"1349952934":["hashtag1","hashtag2"]},{"1349952958":["hashtag1","hashtag2"]},{"1349952938":["hashtag1","hashtag2"]},{"1349952953":["hashtag1","hashtag2"]},{"1349952926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349952949, 1349952934, 1349952958, 1349952938, 1349952953, 1349952926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.699912786483765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:48:03.404027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_47_2839.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_50_3616.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_53_2667.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_55_2681.jpg', '/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_59_3618.jpg', '/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_17_2937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_47_2839.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_50_3616.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_53_2667.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_55_2681.jpg
/home/pi/Desktop/images/14042025/12/30/image_14042025_12_30_59_3618.jpg
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_17_2937.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349952991","1349952982","1349952996","1349952978","1349952972","1349952986"],"photo_ids_order":["1349952972","1349952978","1349952982","1349952986","1349952991","1349952996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e40e8335d641fc9f72332ce200e31d76.jpg","text":"TemporaryFile(/tmp/multipartBody5576661707537128913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735745923,"filename":"image_14042025_12_30_59_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65eca112000e553201576d49239fd0eb.jpg","text":"TemporaryFile(/tmp/multipartBody6185412891940634633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735745923,"filename":"image_14042025_12_30_53_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6472cef0527b0de183a419443658c2a2.jpg","text":"TemporaryFile(/tmp/multipartBody6123450470639949307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735745923,"filename":"image_14042025_12_31_17_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f92d88c1fe7cd1373c320ce0294f002c.jpg","text":"TemporaryFile(/tmp/multipartBody8122699053539450143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735745923,"filename":"image_14042025_12_30_50_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2671e2eb3b4d198562c52a0d8287d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3160015460711816190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735745923,"filename":"image_14042025_12_30_47_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cae3ccb8dd0d80f5a720933c5071e731.jpg","text":"TemporaryFile(/tmp/multipartBody8052182603180753352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735745923,"filename":"image_14042025_12_30_55_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349952982","file1":"1349952978","file0":"1349952972","file4":"1349952991","file5":"1349952996","file3":"1349952986"},"map_files_photo_id_array":[{"photo_id":"1349952996","filename":"file5"},{"photo_id":"1349952982","filename":"file2"},{"photo_id":"1349952991","filename":"file4"},{"photo_id":"1349952978","filename":"file1"},{"photo_id":"1349952972","filename":"file0"},{"photo_id":"1349952986","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349952991":["hashtag1","hashtag2"]},{"1349952982":["hashtag1","hashtag2"]},{"1349952996":["hashtag1","hashtag2"]},{"1349952978":["hashtag1","hashtag2"]},{"1349952972":["hashtag1","hashtag2"]},{"1349952986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349952991, 1349952982, 1349952996, 1349952978, 1349952972, 1349952986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.523417472839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:48:42.647107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_20_2652.jpg', '/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_23_3637.jpg', '/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_50_3652.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_26_2858.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_32_3597.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_35_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_20_2652.jpg
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_23_3637.jpg
/home/pi/Desktop/images/14042025/12/31/image_14042025_12_31_50_3652.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_26_2858.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_32_3597.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_35_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953039","1349953009","1349953032","1349953035","1349953020","1349953028"],"photo_ids_order":["1349953009","1349953020","1349953028","1349953032","1349953035","1349953039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42c92a655d7f0f292a8f18a279f79073.jpg","text":"TemporaryFile(/tmp/multipartBody1401223391860185893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735784040,"filename":"image_14042025_12_32_35_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3e91c4080381e28397907f1ff3e7971.jpg","text":"TemporaryFile(/tmp/multipartBody909546972767971983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735784040,"filename":"image_14042025_12_31_20_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9116f40c05b95756ec25c222203732c8.jpg","text":"TemporaryFile(/tmp/multipartBody258232065115263140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735784040,"filename":"image_14042025_12_32_26_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/927543d3f5acc188e4a6dfed026f89fa.jpg","text":"TemporaryFile(/tmp/multipartBody7470488854914526504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735784040,"filename":"image_14042025_12_32_32_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f57f3699f25a1b0050ff9e386061eaa.jpg","text":"TemporaryFile(/tmp/multipartBody5356247224723419323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735784040,"filename":"image_14042025_12_31_23_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83c1718fffc45651b91645ea4e7ef5ae.jpg","text":"TemporaryFile(/tmp/multipartBody4441276529770515192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735784040,"filename":"image_14042025_12_31_50_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953028","file1":"1349953020","file0":"1349953009","file4":"1349953035","file5":"1349953039","file3":"1349953032"},"map_files_photo_id_array":[{"photo_id":"1349953039","filename":"file5"},{"photo_id":"1349953028","filename":"file2"},{"photo_id":"1349953035","filename":"file4"},{"photo_id":"1349953020","filename":"file1"},{"photo_id":"1349953009","filename":"file0"},{"photo_id":"1349953032","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953039":["hashtag1","hashtag2"]},{"1349953009":["hashtag1","hashtag2"]},{"1349953032":["hashtag1","hashtag2"]},{"1349953035":["hashtag1","hashtag2"]},{"1349953020":["hashtag1","hashtag2"]},{"1349953028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953039, 1349953009, 1349953032, 1349953035, 1349953020, 1349953028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81043601036072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:49:22.351615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_44_3676.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_47_2675.jpg', '/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_49_2636.jpg', '/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_02_3646.jpg', '/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_10_2756.jpg', '/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_28_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_44_3676.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_47_2675.jpg
/home/pi/Desktop/images/14042025/12/32/image_14042025_12_32_49_2636.jpg
/home/pi/Desktop/images/14042025/12/33/image_14042025_12_33_02_3646.jpg
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_10_2756.jpg
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_28_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953123","1349953143","1349953064","1349953052","1349953109","1349953084"],"photo_ids_order":["1349953052","1349953064","1349953084","1349953109","1349953123","1349953143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da25c1d6f281db832a136a6ef2978468.jpg","text":"TemporaryFile(/tmp/multipartBody6236393763799275505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735825417,"filename":"image_14042025_12_35_10_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4baacb935406ffaf56cb233898369ba.jpg","text":"TemporaryFile(/tmp/multipartBody2289095746570701243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735825417,"filename":"image_14042025_12_35_28_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65b08e409501ae6709a2205a7023e074.jpg","text":"TemporaryFile(/tmp/multipartBody3439234470164775526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735825417,"filename":"image_14042025_12_32_47_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/704ca0109aaafae975deb129c240342b.jpg","text":"TemporaryFile(/tmp/multipartBody1536188020564500873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735825417,"filename":"image_14042025_12_32_44_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c6ba239a5747fb471159aee42c922e2.jpg","text":"TemporaryFile(/tmp/multipartBody3678885087283470737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735825417,"filename":"image_14042025_12_33_02_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75efaaf87bd84d98e351f424a9571447.jpg","text":"TemporaryFile(/tmp/multipartBody3792674742709871145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735825417,"filename":"image_14042025_12_32_49_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953084","file1":"1349953064","file0":"1349953052","file4":"1349953123","file5":"1349953143","file3":"1349953109"},"map_files_photo_id_array":[{"photo_id":"1349953143","filename":"file5"},{"photo_id":"1349953084","filename":"file2"},{"photo_id":"1349953123","filename":"file4"},{"photo_id":"1349953064","filename":"file1"},{"photo_id":"1349953052","filename":"file0"},{"photo_id":"1349953109","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953123":["hashtag1","hashtag2"]},{"1349953143":["hashtag1","hashtag2"]},{"1349953064":["hashtag1","hashtag2"]},{"1349953052":["hashtag1","hashtag2"]},{"1349953109":["hashtag1","hashtag2"]},{"1349953084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953123, 1349953143, 1349953064, 1349953052, 1349953109, 1349953084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.08648920059204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:50:22.208996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_40_2857.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_34_2555.jpg', '/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_58_2567.jpg', '/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_13_2658.jpg', '/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_16_2765.jpg', '/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_17_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/35/image_14042025_12_35_40_2857.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_34_2555.jpg
/home/pi/Desktop/images/14042025/12/36/image_14042025_12_36_58_2567.jpg
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_13_2658.jpg
/home/pi/Desktop/images/14042025/12/37/image_14042025_12_37_16_2765.jpg
/home/pi/Desktop/images/14042025/12/38/image_14042025_12_38_17_3700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953333","1349953321","1349953296","1349953341","1349953308","1349953302"],"photo_ids_order":["1349953296","1349953302","1349953308","1349953321","1349953333","1349953341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d97b8c29f900ed181e78b28938c0017b.jpg","text":"TemporaryFile(/tmp/multipartBody2551978429516558394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735885260,"filename":"image_14042025_12_37_16_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/306d6e36f351c0eeda980b5d62c36f89.jpg","text":"TemporaryFile(/tmp/multipartBody4765731099001631854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735885260,"filename":"image_14042025_12_37_13_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae30ca137975993c2bbc0de1068170a0.jpg","text":"TemporaryFile(/tmp/multipartBody5921064403520745013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735885260,"filename":"image_14042025_12_35_40_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eeed09ed63cf5a635656c385274a127d.jpg","text":"TemporaryFile(/tmp/multipartBody1982800800387390844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735885260,"filename":"image_14042025_12_38_17_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c9a03bf03c24dc8fc71afe0563c347e.jpg","text":"TemporaryFile(/tmp/multipartBody5193959930178235891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735885260,"filename":"image_14042025_12_36_58_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dbe98668d660fe54c2523a3cc3241ba.jpg","text":"TemporaryFile(/tmp/multipartBody3729167027715721627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735885260,"filename":"image_14042025_12_36_34_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953308","file1":"1349953302","file0":"1349953296","file4":"1349953333","file5":"1349953341","file3":"1349953321"},"map_files_photo_id_array":[{"photo_id":"1349953341","filename":"file5"},{"photo_id":"1349953308","filename":"file2"},{"photo_id":"1349953333","filename":"file4"},{"photo_id":"1349953302","filename":"file1"},{"photo_id":"1349953296","filename":"file0"},{"photo_id":"1349953321","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953333":["hashtag1","hashtag2"]},{"1349953321":["hashtag1","hashtag2"]},{"1349953296":["hashtag1","hashtag2"]},{"1349953341":["hashtag1","hashtag2"]},{"1349953308":["hashtag1","hashtag2"]},{"1349953302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953333, 1349953321, 1349953296, 1349953341, 1349953308, 1349953302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.193326234817505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:51:03.311503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_22_2712.jpg', '/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_04_3635.jpg', '/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_07_2618.jpg', '/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_48_2745.jpg', '/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_52_3742.jpg', '/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_58_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/39/image_14042025_12_39_22_2712.jpg
/home/pi/Desktop/images/14042025/12/41/image_14042025_12_41_04_3635.jpg
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_07_2618.jpg
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_48_2745.jpg
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_52_3742.jpg
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_42_58_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953357","1349953353","1349953377","1349953365","1349953382","1349953385"],"photo_ids_order":["1349953353","1349953357","1349953365","1349953377","1349953382","1349953385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4da88f6d372f42f7104141647eea7820.jpg","text":"TemporaryFile(/tmp/multipartBody8739404296409128920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735925857,"filename":"image_14042025_12_41_04_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1d101dfe4887c7e9da338bf3076fcd6.jpg","text":"TemporaryFile(/tmp/multipartBody7851636695413189229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735925857,"filename":"image_14042025_12_39_22_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed792af8cb7316c11630cceccb7a7229.jpg","text":"TemporaryFile(/tmp/multipartBody2120974794322816014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735925857,"filename":"image_14042025_12_42_48_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a4ba724a2b4282fba667bd617213d01.jpg","text":"TemporaryFile(/tmp/multipartBody4521932300895304391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735925857,"filename":"image_14042025_12_42_07_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6980aacc9e90cfd43cb01556b5200adb.jpg","text":"TemporaryFile(/tmp/multipartBody1682870018904037602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735925857,"filename":"image_14042025_12_42_52_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a822616b0fd6d8dc6e8d31c24eab2dda.jpg","text":"TemporaryFile(/tmp/multipartBody8850785957765602740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735925857,"filename":"image_14042025_12_42_58_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953365","file1":"1349953357","file0":"1349953353","file4":"1349953382","file5":"1349953385","file3":"1349953377"},"map_files_photo_id_array":[{"photo_id":"1349953385","filename":"file5"},{"photo_id":"1349953365","filename":"file2"},{"photo_id":"1349953382","filename":"file4"},{"photo_id":"1349953357","filename":"file1"},{"photo_id":"1349953353","filename":"file0"},{"photo_id":"1349953377","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953357":["hashtag1","hashtag2"]},{"1349953353":["hashtag1","hashtag2"]},{"1349953377":["hashtag1","hashtag2"]},{"1349953365":["hashtag1","hashtag2"]},{"1349953382":["hashtag1","hashtag2"]},{"1349953385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953357, 1349953353, 1349953377, 1349953365, 1349953382, 1349953385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.176377058029175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:51:42.703651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/42/image_14042025_12_43_00_2975.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_04_3635.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_27_2566.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_30_3175.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_34_3651.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_37_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/42/image_14042025_12_43_00_2975.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_04_3635.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_27_2566.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_30_3175.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_34_3651.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_37_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953459","1349953441","1349953429","1349953420","1349953410","1349953436"],"photo_ids_order":["1349953410","1349953420","1349953429","1349953436","1349953441","1349953459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a383f22b2c1ad2e8841229e06dabe8e2.jpg","text":"TemporaryFile(/tmp/multipartBody7902180273043473352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735964063,"filename":"image_14042025_12_43_37_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f9b919e8b86b48f8870dcee9f8f1d63.jpg","text":"TemporaryFile(/tmp/multipartBody8210608582830438536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735964063,"filename":"image_14042025_12_43_34_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/347d80179e2c258ae562839b87ace8e3.jpg","text":"TemporaryFile(/tmp/multipartBody2671462735053171686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735964063,"filename":"image_14042025_12_43_27_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c76efad6101657fc37c29c04c48d8823.jpg","text":"TemporaryFile(/tmp/multipartBody8193304639165435741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735964063,"filename":"image_14042025_12_43_04_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f94ec749bfd1218f5b89ad8e58cb77bb.jpg","text":"TemporaryFile(/tmp/multipartBody9064034372860829341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735964063,"filename":"image_14042025_12_43_00_2975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26a5b3f7de54622b1da64260b7e52434.jpg","text":"TemporaryFile(/tmp/multipartBody1861877343042436441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744735964063,"filename":"image_14042025_12_43_30_3175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953429","file1":"1349953420","file0":"1349953410","file4":"1349953441","file5":"1349953459","file3":"1349953436"},"map_files_photo_id_array":[{"photo_id":"1349953459","filename":"file5"},{"photo_id":"1349953429","filename":"file2"},{"photo_id":"1349953441","filename":"file4"},{"photo_id":"1349953420","filename":"file1"},{"photo_id":"1349953410","filename":"file0"},{"photo_id":"1349953436","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953459":["hashtag1","hashtag2"]},{"1349953441":["hashtag1","hashtag2"]},{"1349953429":["hashtag1","hashtag2"]},{"1349953420":["hashtag1","hashtag2"]},{"1349953410":["hashtag1","hashtag2"]},{"1349953436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953459, 1349953441, 1349953429, 1349953420, 1349953410, 1349953436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39157176017761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:52:21.854986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_39_2623.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_42_2658.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_46_3748.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_49_2746.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_51_2717.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_55_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_39_2623.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_42_2658.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_46_3748.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_49_2746.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_51_2717.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_55_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953497","1349953470","1349953482","1349953506","1349953489","1349953474"],"photo_ids_order":["1349953470","1349953474","1349953482","1349953489","1349953497","1349953506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6cccae64629b5dfeb7e4400fcfcc5b87.jpg","text":"TemporaryFile(/tmp/multipartBody5544336176806343384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736004845,"filename":"image_14042025_12_43_51_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/382c7210eac9af9c10a8e728696f03b7.jpg","text":"TemporaryFile(/tmp/multipartBody6836353655251058249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736004845,"filename":"image_14042025_12_43_39_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/156eeb5cd3a612f3ce2cb1b5ab48a130.jpg","text":"TemporaryFile(/tmp/multipartBody1061963032251904206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736004845,"filename":"image_14042025_12_43_46_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69c210cd4d2590ca57485e4c2b872de0.jpg","text":"TemporaryFile(/tmp/multipartBody5693694588454310714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736004845,"filename":"image_14042025_12_43_55_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9882304963cc83e384be16bb64ca88b6.jpg","text":"TemporaryFile(/tmp/multipartBody3989800097172448926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736004845,"filename":"image_14042025_12_43_49_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21b6228d96ba41bde31bb860ec1939bc.jpg","text":"TemporaryFile(/tmp/multipartBody4988020375043911917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736004845,"filename":"image_14042025_12_43_42_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953482","file1":"1349953474","file0":"1349953470","file4":"1349953497","file5":"1349953506","file3":"1349953489"},"map_files_photo_id_array":[{"photo_id":"1349953506","filename":"file5"},{"photo_id":"1349953482","filename":"file2"},{"photo_id":"1349953497","filename":"file4"},{"photo_id":"1349953474","filename":"file1"},{"photo_id":"1349953470","filename":"file0"},{"photo_id":"1349953489","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953497":["hashtag1","hashtag2"]},{"1349953470":["hashtag1","hashtag2"]},{"1349953482":["hashtag1","hashtag2"]},{"1349953506":["hashtag1","hashtag2"]},{"1349953489":["hashtag1","hashtag2"]},{"1349953474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953497, 1349953470, 1349953482, 1349953506, 1349953489, 1349953474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33330035209656 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:53:22.789025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_58_2702.jpg', '/home/pi/Desktop/images/14042025/12/43/image_14042025_12_44_00_2553.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_04_3612.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_06_2573.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_10_3580.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_13_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_43_58_2702.jpg
/home/pi/Desktop/images/14042025/12/43/image_14042025_12_44_00_2553.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_04_3612.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_06_2573.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_10_3580.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_13_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953554","1349953548","1349953542","1349953536","1349953532","1349953538"],"photo_ids_order":["1349953532","1349953536","1349953538","1349953542","1349953548","1349953554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5543e6b5aeb767817bc0dc4a9e99f6f8.jpg","text":"TemporaryFile(/tmp/multipartBody4818049692398763506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736065770,"filename":"image_14042025_12_44_13_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b062d83394083f37c1894cda795d7b82.jpg","text":"TemporaryFile(/tmp/multipartBody3534542233178042825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736065770,"filename":"image_14042025_12_44_10_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ee229b5e824e807ca29bfb60374c915.jpg","text":"TemporaryFile(/tmp/multipartBody1907208302492136703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736065770,"filename":"image_14042025_12_44_06_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/263fb066001df2fe1ea187e89aa8df20.jpg","text":"TemporaryFile(/tmp/multipartBody5576773196206247697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736065770,"filename":"image_14042025_12_44_00_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d8178f56adea42b1d223cba275578d0.jpg","text":"TemporaryFile(/tmp/multipartBody7174016912343076731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736065770,"filename":"image_14042025_12_43_58_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11588d234e1455949763a624f9aa3ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1659055216026665475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736065770,"filename":"image_14042025_12_44_04_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953538","file1":"1349953536","file0":"1349953532","file4":"1349953548","file5":"1349953554","file3":"1349953542"},"map_files_photo_id_array":[{"photo_id":"1349953554","filename":"file5"},{"photo_id":"1349953538","filename":"file2"},{"photo_id":"1349953548","filename":"file4"},{"photo_id":"1349953536","filename":"file1"},{"photo_id":"1349953532","filename":"file0"},{"photo_id":"1349953542","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953554":["hashtag1","hashtag2"]},{"1349953548":["hashtag1","hashtag2"]},{"1349953542":["hashtag1","hashtag2"]},{"1349953536":["hashtag1","hashtag2"]},{"1349953532":["hashtag1","hashtag2"]},{"1349953538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953554, 1349953548, 1349953542, 1349953536, 1349953532, 1349953538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2252995967865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:54:02.844325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_15_2666.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_18_2737.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_22_3813.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_25_2709.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_27_2651.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_31_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_15_2666.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_18_2737.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_22_3813.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_25_2709.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_27_2651.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_31_3648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953590","1349953578","1349953587","1349953602","1349953580","1349953573"],"photo_ids_order":["1349953573","1349953578","1349953580","1349953587","1349953590","1349953602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc73cac8aa753921336e91ee8ae46199.jpg","text":"TemporaryFile(/tmp/multipartBody3050286501862663802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736105278,"filename":"image_14042025_12_44_27_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de1cf6169d8076bb0a78866e6a21980e.jpg","text":"TemporaryFile(/tmp/multipartBody7017538086973628624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736105278,"filename":"image_14042025_12_44_18_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5be2fe3ba3fed8a7a672c13632f62170.jpg","text":"TemporaryFile(/tmp/multipartBody8114648335829484805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736105278,"filename":"image_14042025_12_44_25_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7732f9eaff234fdbcc2e9c43f1d37643.jpg","text":"TemporaryFile(/tmp/multipartBody6289267991631855964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736105278,"filename":"image_14042025_12_44_31_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fe29bb5311b421668675070c7f533b9.jpg","text":"TemporaryFile(/tmp/multipartBody8193193443560808238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736105278,"filename":"image_14042025_12_44_22_3813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cae347b533b2a96caa31f07736240f4d.jpg","text":"TemporaryFile(/tmp/multipartBody3706968371493013424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736105278,"filename":"image_14042025_12_44_15_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953580","file1":"1349953578","file0":"1349953573","file4":"1349953590","file5":"1349953602","file3":"1349953587"},"map_files_photo_id_array":[{"photo_id":"1349953602","filename":"file5"},{"photo_id":"1349953580","filename":"file2"},{"photo_id":"1349953590","filename":"file4"},{"photo_id":"1349953578","filename":"file1"},{"photo_id":"1349953573","filename":"file0"},{"photo_id":"1349953587","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953590":["hashtag1","hashtag2"]},{"1349953578":["hashtag1","hashtag2"]},{"1349953587":["hashtag1","hashtag2"]},{"1349953602":["hashtag1","hashtag2"]},{"1349953580":["hashtag1","hashtag2"]},{"1349953573":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953590, 1349953578, 1349953587, 1349953602, 1349953580, 1349953573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.564008951187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:54:42.014511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_33_2561.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_37_3739.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_39_1955.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_42_3276.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_45_2732.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_48_3250.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_33_2561.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_37_3739.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_39_1955.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_42_3276.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_45_2732.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_48_3250.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953794","1349953623","1349953652","1349953646","1349953811","1349953634"],"photo_ids_order":["1349953623","1349953634","1349953646","1349953652","1349953794","1349953811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41c3599d2459dc611519a0c829212534.jpg","text":"TemporaryFile(/tmp/multipartBody7010974651343436640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736143458,"filename":"image_14042025_12_44_45_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebaef1ff64d39246caa4115eeab0b37d.jpg","text":"TemporaryFile(/tmp/multipartBody8279608164048679816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736143458,"filename":"image_14042025_12_44_33_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/689a83086307f60d9734d38ee0834427.jpg","text":"TemporaryFile(/tmp/multipartBody6429682079226788240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736143458,"filename":"image_14042025_12_44_42_3276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/356ca7513f921f0023ef14c5149cc1e6.jpg","text":"TemporaryFile(/tmp/multipartBody28183179164286125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736143458,"filename":"image_14042025_12_44_39_1955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ae14426274a9a5df323b45c3d375d66.jpg","text":"TemporaryFile(/tmp/multipartBody7117741148128564168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736143458,"filename":"image_14042025_12_44_48_3250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ec53501b77b860229d9651dd90a8f86.jpg","text":"TemporaryFile(/tmp/multipartBody7857483130951692385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736143458,"filename":"image_14042025_12_44_37_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953646","file1":"1349953634","file0":"1349953623","file4":"1349953794","file5":"1349953811","file3":"1349953652"},"map_files_photo_id_array":[{"photo_id":"1349953811","filename":"file5"},{"photo_id":"1349953646","filename":"file2"},{"photo_id":"1349953794","filename":"file4"},{"photo_id":"1349953634","filename":"file1"},{"photo_id":"1349953623","filename":"file0"},{"photo_id":"1349953652","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953794":["hashtag1","hashtag2"]},{"1349953623":["hashtag1","hashtag2"]},{"1349953652":["hashtag1","hashtag2"]},{"1349953646":["hashtag1","hashtag2"]},{"1349953811":["hashtag1","hashtag2"]},{"1349953634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953794, 1349953623, 1349953652, 1349953646, 1349953811, 1349953634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86606788635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:55:22.116240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_51_2824.jpg', '/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_57_2763.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_01_3631.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_04_2770.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_07_3108.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_09_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_51_2824.jpg
/home/pi/Desktop/images/14042025/12/44/image_14042025_12_44_57_2763.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_01_3631.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_04_2770.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_07_3108.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_09_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953825","1349953830","1349953848","1349953833","1349953842","1349953836"],"photo_ids_order":["1349953825","1349953830","1349953833","1349953836","1349953842","1349953848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de19748e95545d7b21c86329d39b0802.jpg","text":"TemporaryFile(/tmp/multipartBody6340330047879956972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736185283,"filename":"image_14042025_12_44_51_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d5b8551a879b2dd3692c6cbd90d7e78.jpg","text":"TemporaryFile(/tmp/multipartBody1770830605065281066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736185283,"filename":"image_14042025_12_44_57_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dce63024dd2cd85f6aea8175227abcfc.jpg","text":"TemporaryFile(/tmp/multipartBody8672492025390710538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736185283,"filename":"image_14042025_12_45_09_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4941eef18f534862a0e989c26a337de3.jpg","text":"TemporaryFile(/tmp/multipartBody7980245758389116018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736185283,"filename":"image_14042025_12_45_01_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54d8a6fc7ed789f5a196f7409bd7cf62.jpg","text":"TemporaryFile(/tmp/multipartBody7760113272755859177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736185283,"filename":"image_14042025_12_45_07_3108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb8f36dc2ec4ca0c84ac1be784f9acba.jpg","text":"TemporaryFile(/tmp/multipartBody7380774718408802349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736185283,"filename":"image_14042025_12_45_04_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953833","file1":"1349953830","file0":"1349953825","file4":"1349953842","file5":"1349953848","file3":"1349953836"},"map_files_photo_id_array":[{"photo_id":"1349953848","filename":"file5"},{"photo_id":"1349953833","filename":"file2"},{"photo_id":"1349953842","filename":"file4"},{"photo_id":"1349953830","filename":"file1"},{"photo_id":"1349953825","filename":"file0"},{"photo_id":"1349953836","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953825":["hashtag1","hashtag2"]},{"1349953830":["hashtag1","hashtag2"]},{"1349953848":["hashtag1","hashtag2"]},{"1349953833":["hashtag1","hashtag2"]},{"1349953842":["hashtag1","hashtag2"]},{"1349953836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953825, 1349953830, 1349953848, 1349953833, 1349953842, 1349953836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.638649702072144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:56:02.553624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_12_3004.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_15_2810.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_18_3123.jpg', '/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_33_2677.jpg', '/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_33_3081.jpg', '/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_57_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_12_3004.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_15_2810.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_18_3123.jpg
/home/pi/Desktop/images/14042025/12/45/image_14042025_12_45_33_2677.jpg
/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_33_3081.jpg
/home/pi/Desktop/images/14042025/12/46/image_14042025_12_46_57_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953875","1349953871","1349953868","1349953885","1349953879","1349953864"],"photo_ids_order":["1349953864","1349953868","1349953871","1349953875","1349953879","1349953885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c292213587e18f3824a9135a6caa715.jpg","text":"TemporaryFile(/tmp/multipartBody5057396452379786873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736224986,"filename":"image_14042025_12_45_33_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4420efcbf5297c48677945a817627915.jpg","text":"TemporaryFile(/tmp/multipartBody649697662367147879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736224986,"filename":"image_14042025_12_45_18_3123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a87a69ee0aa897292a248242d6fcf5cc.jpg","text":"TemporaryFile(/tmp/multipartBody4525654937666600841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736224986,"filename":"image_14042025_12_45_15_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96833424c89a2bd27bc0ac9f85488d86.jpg","text":"TemporaryFile(/tmp/multipartBody7673070400797177831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736224986,"filename":"image_14042025_12_46_57_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fdb1ce33b1c566fc2a06e315661f78d9.jpg","text":"TemporaryFile(/tmp/multipartBody7605501001840405569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736224986,"filename":"image_14042025_12_46_33_3081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2277912646b1332a2437675ce7ef1370.jpg","text":"TemporaryFile(/tmp/multipartBody5311458642537331167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736224986,"filename":"image_14042025_12_45_12_3004.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953871","file1":"1349953868","file0":"1349953864","file4":"1349953879","file5":"1349953885","file3":"1349953875"},"map_files_photo_id_array":[{"photo_id":"1349953885","filename":"file5"},{"photo_id":"1349953871","filename":"file2"},{"photo_id":"1349953879","filename":"file4"},{"photo_id":"1349953868","filename":"file1"},{"photo_id":"1349953864","filename":"file0"},{"photo_id":"1349953875","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953875":["hashtag1","hashtag2"]},{"1349953871":["hashtag1","hashtag2"]},{"1349953868":["hashtag1","hashtag2"]},{"1349953885":["hashtag1","hashtag2"]},{"1349953879":["hashtag1","hashtag2"]},{"1349953864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953875, 1349953871, 1349953868, 1349953885, 1349953879, 1349953864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0960259437561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 18:56:42.006947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_34_3572.jpg', '/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_10_3622.jpg', '/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_19_3799.jpg', '/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_15_3587.jpg', '/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_42_3601.jpg', '/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_51_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/47/image_14042025_12_47_34_3572.jpg
/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_10_3622.jpg
/home/pi/Desktop/images/14042025/12/49/image_14042025_12_49_19_3799.jpg
/home/pi/Desktop/images/14042025/12/50/image_14042025_12_50_15_3587.jpg
/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_42_3601.jpg
/home/pi/Desktop/images/14042025/12/51/image_14042025_12_51_51_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953915","1349953924","1349953903","1349953912","1349953929","1349953919"],"photo_ids_order":["1349953903","1349953912","1349953915","1349953919","1349953924","1349953929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45db5042ea0716768ea6eb208666cf84.jpg","text":"TemporaryFile(/tmp/multipartBody4182563291139909766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736263388,"filename":"image_14042025_12_49_19_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4691722e44b8feb3758f0cf7115f1958.jpg","text":"TemporaryFile(/tmp/multipartBody7214563648023539849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736263388,"filename":"image_14042025_12_51_42_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/516edd3f6d123ce372974315eab20670.jpg","text":"TemporaryFile(/tmp/multipartBody6567151910275797087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736263388,"filename":"image_14042025_12_47_34_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/963f477598ccfc21e864946d19624564.jpg","text":"TemporaryFile(/tmp/multipartBody7909664059100024338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736263388,"filename":"image_14042025_12_49_10_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f16f25043c2f38623c8bf0d1d49cffed.jpg","text":"TemporaryFile(/tmp/multipartBody6554130103695850507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736263388,"filename":"image_14042025_12_51_51_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4742968a317e39ce7f2727af61bc6e18.jpg","text":"TemporaryFile(/tmp/multipartBody6879768944362599668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736263388,"filename":"image_14042025_12_50_15_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953915","file1":"1349953912","file0":"1349953903","file4":"1349953924","file5":"1349953929","file3":"1349953919"},"map_files_photo_id_array":[{"photo_id":"1349953929","filename":"file5"},{"photo_id":"1349953915","filename":"file2"},{"photo_id":"1349953924","filename":"file4"},{"photo_id":"1349953912","filename":"file1"},{"photo_id":"1349953903","filename":"file0"},{"photo_id":"1349953919","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953915":["hashtag1","hashtag2"]},{"1349953924":["hashtag1","hashtag2"]},{"1349953903":["hashtag1","hashtag2"]},{"1349953912":["hashtag1","hashtag2"]},{"1349953929":["hashtag1","hashtag2"]},{"1349953919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953915, 1349953924, 1349953903, 1349953912, 1349953929, 1349953919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92723798751831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 18:57:22.084949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_03_2737.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_18_2976.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_21_2842.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_23_2655.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_30_2645.jpg', '/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_32_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_03_2737.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_18_2976.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_21_2842.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_23_2655.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_30_2645.jpg
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_32_2816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349953975","1349953983","1349953959","1349953950","1349953953","1349953967"],"photo_ids_order":["1349953950","1349953953","1349953959","1349953967","1349953975","1349953983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/454865f0baf21add0d5849cca6aaa262.jpg","text":"TemporaryFile(/tmp/multipartBody4776110642996141343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736305165,"filename":"image_14042025_12_52_30_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66b1a89ad1cda3c17b667c14f500bdfa.jpg","text":"TemporaryFile(/tmp/multipartBody1585463170247832976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736305165,"filename":"image_14042025_12_52_32_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1059a0833894eae014c791c11dbcccde.jpg","text":"TemporaryFile(/tmp/multipartBody1863959972754036198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736305165,"filename":"image_14042025_12_52_21_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/886b8706e848267b4f6ca10f12f2674c.jpg","text":"TemporaryFile(/tmp/multipartBody4352105431139515606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736305165,"filename":"image_14042025_12_52_03_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/532240ac7250b7910998047639d6edc3.jpg","text":"TemporaryFile(/tmp/multipartBody7800616082412279576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736305165,"filename":"image_14042025_12_52_18_2976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61a2346421502751eb1abcfb976c9bc1.jpg","text":"TemporaryFile(/tmp/multipartBody3524918024969298463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736305165,"filename":"image_14042025_12_52_23_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349953959","file1":"1349953953","file0":"1349953950","file4":"1349953975","file5":"1349953983","file3":"1349953967"},"map_files_photo_id_array":[{"photo_id":"1349953983","filename":"file5"},{"photo_id":"1349953959","filename":"file2"},{"photo_id":"1349953975","filename":"file4"},{"photo_id":"1349953953","filename":"file1"},{"photo_id":"1349953950","filename":"file0"},{"photo_id":"1349953967","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349953975":["hashtag1","hashtag2"]},{"1349953983":["hashtag1","hashtag2"]},{"1349953959":["hashtag1","hashtag2"]},{"1349953950":["hashtag1","hashtag2"]},{"1349953953":["hashtag1","hashtag2"]},{"1349953967":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349953975, 1349953983, 1349953959, 1349953950, 1349953953, 1349953967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84939241409302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 18:59:03.146536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_44_2696.jpg', '/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_36_3609.jpg', '/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_45_3783.jpg', '/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_53_2775.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_06_3052.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_12_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/52/image_14042025_12_52_44_2696.jpg
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_36_3609.jpg
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_45_3783.jpg
/home/pi/Desktop/images/14042025/12/54/image_14042025_12_54_53_2775.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_06_3052.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_12_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349954673","1349954454","1349954585","1349954511","1349954744","1349954807"],"photo_ids_order":["1349954454","1349954511","1349954585","1349954673","1349954744","1349954807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/074070e0ef667221636ed92720b7509f.jpg","text":"TemporaryFile(/tmp/multipartBody2639449368226977513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736405789,"filename":"image_14042025_12_54_53_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edc84e098ece97d9180adeae2cd69b65.jpg","text":"TemporaryFile(/tmp/multipartBody3873565333698241854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736405789,"filename":"image_14042025_12_52_44_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4248ecb3be5553256de211eb0d82b5bb.jpg","text":"TemporaryFile(/tmp/multipartBody8501101533748278666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736405789,"filename":"image_14042025_12_54_45_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55b2527a8de973d41315aff667321320.jpg","text":"TemporaryFile(/tmp/multipartBody4193332637346817493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736405789,"filename":"image_14042025_12_54_36_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1665dfa29c32481ae8ceb91832998564.jpg","text":"TemporaryFile(/tmp/multipartBody8693740277176086447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736405789,"filename":"image_14042025_12_55_06_3052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4afc094df27358d7a93c903532949da.jpg","text":"TemporaryFile(/tmp/multipartBody600632006910809048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736405789,"filename":"image_14042025_12_55_12_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349954585","file1":"1349954511","file0":"1349954454","file4":"1349954744","file5":"1349954807","file3":"1349954673"},"map_files_photo_id_array":[{"photo_id":"1349954807","filename":"file5"},{"photo_id":"1349954585","filename":"file2"},{"photo_id":"1349954744","filename":"file4"},{"photo_id":"1349954511","filename":"file1"},{"photo_id":"1349954454","filename":"file0"},{"photo_id":"1349954673","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349954673":["hashtag1","hashtag2"]},{"1349954454":["hashtag1","hashtag2"]},{"1349954585":["hashtag1","hashtag2"]},{"1349954511":["hashtag1","hashtag2"]},{"1349954744":["hashtag1","hashtag2"]},{"1349954807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349954673, 1349954454, 1349954585, 1349954511, 1349954744, 1349954807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84245991706848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:00:02.447416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_45_2821.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_47_2629.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_51_3598.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_53_2672.jpg', '/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_56_2973.jpg', '/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_11_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_45_2821.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_47_2629.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_51_3598.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_53_2672.jpg
/home/pi/Desktop/images/14042025/12/55/image_14042025_12_55_56_2973.jpg
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_11_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349955618","1349955219","1349955461","1349955355","1349955541","1349955276"],"photo_ids_order":["1349955219","1349955276","1349955355","1349955461","1349955541","1349955618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/655a34a699aa49add4b825ffd9db6366.jpg","text":"TemporaryFile(/tmp/multipartBody4507773863396373926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736464892,"filename":"image_14042025_12_57_11_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc1f454c2771c673d41054b669f004ae.jpg","text":"TemporaryFile(/tmp/multipartBody8306147481381856646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736464892,"filename":"image_14042025_12_55_45_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27664ba225f08933be15f447b8f786c1.jpg","text":"TemporaryFile(/tmp/multipartBody7238652629673089051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736464892,"filename":"image_14042025_12_55_53_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f722fa4524280088e47205e433a2de96.jpg","text":"TemporaryFile(/tmp/multipartBody386642036744575375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736464892,"filename":"image_14042025_12_55_51_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdfd8ab994e872c398dae8a55f11d9d5.jpg","text":"TemporaryFile(/tmp/multipartBody2808319713454728561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736464892,"filename":"image_14042025_12_55_56_2973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0d91a8853c422498e12bd41f0b5e301.jpg","text":"TemporaryFile(/tmp/multipartBody4135814516170742224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736464892,"filename":"image_14042025_12_55_47_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349955355","file1":"1349955276","file0":"1349955219","file4":"1349955541","file5":"1349955618","file3":"1349955461"},"map_files_photo_id_array":[{"photo_id":"1349955618","filename":"file5"},{"photo_id":"1349955355","filename":"file2"},{"photo_id":"1349955541","filename":"file4"},{"photo_id":"1349955276","filename":"file1"},{"photo_id":"1349955219","filename":"file0"},{"photo_id":"1349955461","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349955618":["hashtag1","hashtag2"]},{"1349955219":["hashtag1","hashtag2"]},{"1349955461":["hashtag1","hashtag2"]},{"1349955355":["hashtag1","hashtag2"]},{"1349955541":["hashtag1","hashtag2"]},{"1349955276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349955618, 1349955219, 1349955461, 1349955355, 1349955541, 1349955276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.535526275634766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:00:41.947172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_20_2793.jpg', '/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_45_3603.jpg', '/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_53_2625.jpg', '/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_57_3664.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_20_2610.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_28_2493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_20_2793.jpg
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_45_3603.jpg
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_53_2625.jpg
/home/pi/Desktop/images/14042025/12/57/image_14042025_12_57_57_3664.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_20_2610.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_28_2493.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349956094","1349955860","1349956025","1349956237","1349955943","1349956146"],"photo_ids_order":["1349955860","1349955943","1349956025","1349956094","1349956146","1349956237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a25f45711e939d50449636d1a4e9a9f.jpg","text":"TemporaryFile(/tmp/multipartBody6037515445681869951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736503338,"filename":"image_14042025_12_57_57_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f91f9598470a95dd381b022dfeef762d.jpg","text":"TemporaryFile(/tmp/multipartBody6358344145850501526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736503338,"filename":"image_14042025_12_57_20_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d7d8ccb85e7846fe90a1f39b708cac7.jpg","text":"TemporaryFile(/tmp/multipartBody5729574980186637538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736503338,"filename":"image_14042025_12_57_53_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4519a7cd269fcee9aa02069ba4c016d.jpg","text":"TemporaryFile(/tmp/multipartBody1204833715665697968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736503338,"filename":"image_14042025_13_00_28_2493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c86c95172b97296d5b7a1b293f7612c1.jpg","text":"TemporaryFile(/tmp/multipartBody4061743722060035168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736503338,"filename":"image_14042025_12_57_45_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61e5d35ea297483426add5536d654df7.jpg","text":"TemporaryFile(/tmp/multipartBody8913302288803926230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736503338,"filename":"image_14042025_13_00_20_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349956025","file1":"1349955943","file0":"1349955860","file4":"1349956146","file5":"1349956237","file3":"1349956094"},"map_files_photo_id_array":[{"photo_id":"1349956237","filename":"file5"},{"photo_id":"1349956025","filename":"file2"},{"photo_id":"1349956146","filename":"file4"},{"photo_id":"1349955943","filename":"file1"},{"photo_id":"1349955860","filename":"file0"},{"photo_id":"1349956094","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349956094":["hashtag1","hashtag2"]},{"1349955860":["hashtag1","hashtag2"]},{"1349956025":["hashtag1","hashtag2"]},{"1349956237":["hashtag1","hashtag2"]},{"1349955943":["hashtag1","hashtag2"]},{"1349956146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349956094, 1349955860, 1349956025, 1349956237, 1349955943, 1349956146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61582589149475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:01:22.427337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_32_3639.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_35_2570.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_41_3624.jpg', '/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_53_3626.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_02_3666.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_29_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_32_3639.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_35_2570.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_41_3624.jpg
/home/pi/Desktop/images/14042025/13/00/image_14042025_13_00_53_3626.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_02_3666.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_29_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349956729","1349956630","1349956552","1349956797","1349956485","1349956764"],"photo_ids_order":["1349956485","1349956552","1349956630","1349956729","1349956764","1349956797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c3800fb336bd6661e126f5f11d02322.jpg","text":"TemporaryFile(/tmp/multipartBody7389903133714620820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736545462,"filename":"image_14042025_13_00_53_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0d98a02586184072043f658a1477617.jpg","text":"TemporaryFile(/tmp/multipartBody4038031163421177566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736545462,"filename":"image_14042025_13_00_41_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c67ac59a374a0f940a90247bd32427ee.jpg","text":"TemporaryFile(/tmp/multipartBody4910419928903894523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736545462,"filename":"image_14042025_13_00_35_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd536458e35b7ea6e114d5fcbd5e8778.jpg","text":"TemporaryFile(/tmp/multipartBody8630735596740326575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736545462,"filename":"image_14042025_13_01_29_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fe0b8757e21b75bf105f48e8b5f99d2.jpg","text":"TemporaryFile(/tmp/multipartBody7181401131264235910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736545462,"filename":"image_14042025_13_00_32_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d35a9e977d8f621f3dae890fc0c1edbc.jpg","text":"TemporaryFile(/tmp/multipartBody5622459476041813821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736545462,"filename":"image_14042025_13_01_02_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349956630","file1":"1349956552","file0":"1349956485","file4":"1349956764","file5":"1349956797","file3":"1349956729"},"map_files_photo_id_array":[{"photo_id":"1349956797","filename":"file5"},{"photo_id":"1349956630","filename":"file2"},{"photo_id":"1349956764","filename":"file4"},{"photo_id":"1349956552","filename":"file1"},{"photo_id":"1349956485","filename":"file0"},{"photo_id":"1349956729","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349956729":["hashtag1","hashtag2"]},{"1349956630":["hashtag1","hashtag2"]},{"1349956552":["hashtag1","hashtag2"]},{"1349956797":["hashtag1","hashtag2"]},{"1349956485":["hashtag1","hashtag2"]},{"1349956764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349956729, 1349956630, 1349956552, 1349956797, 1349956485, 1349956764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.675524950027466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:02:22.240499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_31_2641.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_34_2641.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_37_3384.jpg', '/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_40_2757.jpg', '/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_32_3662.jpg', '/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_26_3925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_31_2641.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_34_2641.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_37_3384.jpg
/home/pi/Desktop/images/14042025/13/01/image_14042025_13_01_40_2757.jpg
/home/pi/Desktop/images/14042025/13/02/image_14042025_13_02_32_3662.jpg
/home/pi/Desktop/images/14042025/13/04/image_14042025_13_04_26_3925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349956917","1349956945","1349956903","1349957124","1349957046","1349956983"],"photo_ids_order":["1349956903","1349956917","1349956945","1349956983","1349957046","1349957124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a69292f5c39a54f2b26b1ff5574dd7c.jpg","text":"TemporaryFile(/tmp/multipartBody3087572222876655690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736605381,"filename":"image_14042025_13_01_34_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9c099ac07493dcd616239a7a645abbe.jpg","text":"TemporaryFile(/tmp/multipartBody6074154213540936812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736605381,"filename":"image_14042025_13_01_37_3384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98b8645c386701d55932c2c183e53e6e.jpg","text":"TemporaryFile(/tmp/multipartBody860449449752466577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736605381,"filename":"image_14042025_13_01_31_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/034a804151108fdc56d6101253cbd918.jpg","text":"TemporaryFile(/tmp/multipartBody3260038326786339901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736605381,"filename":"image_14042025_13_04_26_3925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c4477e933d040c24e669642a7944229.jpg","text":"TemporaryFile(/tmp/multipartBody2823590386569950738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736605381,"filename":"image_14042025_13_02_32_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/268ab0e4344ca792188f654aa2ebf958.jpg","text":"TemporaryFile(/tmp/multipartBody5788795226338177330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736605381,"filename":"image_14042025_13_01_40_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349956945","file1":"1349956917","file0":"1349956903","file4":"1349957046","file5":"1349957124","file3":"1349956983"},"map_files_photo_id_array":[{"photo_id":"1349957124","filename":"file5"},{"photo_id":"1349956945","filename":"file2"},{"photo_id":"1349957046","filename":"file4"},{"photo_id":"1349956917","filename":"file1"},{"photo_id":"1349956903","filename":"file0"},{"photo_id":"1349956983","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349956917":["hashtag1","hashtag2"]},{"1349956945":["hashtag1","hashtag2"]},{"1349956903":["hashtag1","hashtag2"]},{"1349957124":["hashtag1","hashtag2"]},{"1349957046":["hashtag1","hashtag2"]},{"1349956983":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349956917, 1349956945, 1349956903, 1349957124, 1349957046, 1349956983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59042191505432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:03:03.697353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_28_3750.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_31_2851.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_34_2696.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_43_2599.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_48_2673.jpg', '/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_52_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_28_3750.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_31_2851.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_34_2696.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_43_2599.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_48_2673.jpg
/home/pi/Desktop/images/14042025/13/07/image_14042025_13_07_52_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349957648","1349957366","1349957426","1349957572","1349957492","1349957703"],"photo_ids_order":["1349957366","1349957426","1349957492","1349957572","1349957648","1349957703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3c926d3acadbe9e7a7b987083aab411.jpg","text":"TemporaryFile(/tmp/multipartBody251032112270317010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736646209,"filename":"image_14042025_13_07_48_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9793d0282e70f5222e2f0deff7d4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6931528388782951413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736646209,"filename":"image_14042025_13_07_28_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cc7286c44134822d97af5bbaea9b192.jpg","text":"TemporaryFile(/tmp/multipartBody4756586597524431732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736646209,"filename":"image_14042025_13_07_31_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c11e2e2ba5cef665424bbacc301d4c46.jpg","text":"TemporaryFile(/tmp/multipartBody4175446609366859050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736646209,"filename":"image_14042025_13_07_43_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10d7b97efb3d34b43e1f669981372492.jpg","text":"TemporaryFile(/tmp/multipartBody7986000130648144264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736646209,"filename":"image_14042025_13_07_34_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e39f69ddca39148dfb4f662b7229b66e.jpg","text":"TemporaryFile(/tmp/multipartBody8260555016897734844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736646209,"filename":"image_14042025_13_07_52_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349957492","file1":"1349957426","file0":"1349957366","file4":"1349957648","file5":"1349957703","file3":"1349957572"},"map_files_photo_id_array":[{"photo_id":"1349957703","filename":"file5"},{"photo_id":"1349957492","filename":"file2"},{"photo_id":"1349957648","filename":"file4"},{"photo_id":"1349957426","filename":"file1"},{"photo_id":"1349957366","filename":"file0"},{"photo_id":"1349957572","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349957648":["hashtag1","hashtag2"]},{"1349957366":["hashtag1","hashtag2"]},{"1349957426":["hashtag1","hashtag2"]},{"1349957572":["hashtag1","hashtag2"]},{"1349957492":["hashtag1","hashtag2"]},{"1349957703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349957648, 1349957366, 1349957426, 1349957572, 1349957492, 1349957703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.712806701660156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:03:42.892418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_12_2627.jpg', '/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_42_2567.jpg', '/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_36_2790.jpg', '/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_39_3556.jpg', '/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_09_3593.jpg', '/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_12_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/12/image_14042025_13_12_12_2627.jpg
/home/pi/Desktop/images/14042025/13/13/image_14042025_13_13_42_2567.jpg
/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_36_2790.jpg
/home/pi/Desktop/images/14042025/13/14/image_14042025_13_14_39_3556.jpg
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_09_3593.jpg
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_12_2696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349957918","1349957896","1349957950","1349957872","1349957970","1349958015"],"photo_ids_order":["1349957872","1349957896","1349957918","1349957950","1349957970","1349958015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eccdbb2fdd4ec7c8b8009b9f72a0e45d.jpg","text":"TemporaryFile(/tmp/multipartBody8207623745953699012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736684328,"filename":"image_14042025_13_14_36_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7260aa407528743ada7cea40ac5ea42c.jpg","text":"TemporaryFile(/tmp/multipartBody6266371455516840571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736684328,"filename":"image_14042025_13_13_42_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd73b1206520c5ff20d65d42fc2ce389.jpg","text":"TemporaryFile(/tmp/multipartBody5046183664599618389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736684328,"filename":"image_14042025_13_14_39_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0382e36c5bffc26028ca6733edceccd6.jpg","text":"TemporaryFile(/tmp/multipartBody6088292412599857597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736684328,"filename":"image_14042025_13_12_12_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8380444d44138a9f859497f87d65c71.jpg","text":"TemporaryFile(/tmp/multipartBody5979804725571426731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736684328,"filename":"image_14042025_13_16_09_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76e82ad311e5bae7e2a4ba01f9585ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5104791030544868013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736684328,"filename":"image_14042025_13_16_12_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349957918","file1":"1349957896","file0":"1349957872","file4":"1349957970","file5":"1349958015","file3":"1349957950"},"map_files_photo_id_array":[{"photo_id":"1349958015","filename":"file5"},{"photo_id":"1349957918","filename":"file2"},{"photo_id":"1349957970","filename":"file4"},{"photo_id":"1349957896","filename":"file1"},{"photo_id":"1349957872","filename":"file0"},{"photo_id":"1349957950","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349957918":["hashtag1","hashtag2"]},{"1349957896":["hashtag1","hashtag2"]},{"1349957950":["hashtag1","hashtag2"]},{"1349957872":["hashtag1","hashtag2"]},{"1349957970":["hashtag1","hashtag2"]},{"1349958015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349957918, 1349957896, 1349957950, 1349957872, 1349957970, 1349958015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.777138233184814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:04:42.121463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_15_2636.jpg', '/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_35_2345.jpg', '/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_39_3750.jpg', '/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_42_2655.jpg', '/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_02_2665.jpg', '/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_18_8862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/16/image_14042025_13_16_15_2636.jpg
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_35_2345.jpg
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_39_3750.jpg
/home/pi/Desktop/images/14042025/13/19/image_14042025_13_19_42_2655.jpg
/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_02_2665.jpg
/home/pi/Desktop/images/14042025/13/20/image_14042025_13_20_18_8862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349958233","1349958206","1349958196","1349958297","1349958291","1349958266"],"photo_ids_order":["1349958196","1349958206","1349958233","1349958266","1349958291","1349958297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/522b688a0b2a1ce0b7b72e400f2498c8.jpg","text":"TemporaryFile(/tmp/multipartBody76588505203546250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736743515,"filename":"image_14042025_13_19_39_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41b9cb330f2269dab597e6a1292971c5.jpg","text":"TemporaryFile(/tmp/multipartBody2412350998177153092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736743515,"filename":"image_14042025_13_19_35_2345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c51fe3b0845756f712cf761d55b9948.jpg","text":"TemporaryFile(/tmp/multipartBody5052801871209349749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736743515,"filename":"image_14042025_13_16_15_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16293afec2931ccb819fc3bf4ad0be16.jpg","text":"TemporaryFile(/tmp/multipartBody4953217269294462309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736743515,"filename":"image_14042025_13_20_18_8862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2901671877b5cba3477bcaa6527f648.jpg","text":"TemporaryFile(/tmp/multipartBody23550794176679757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736743515,"filename":"image_14042025_13_20_02_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90df18d318da652fddbbe18027cbad2d.jpg","text":"TemporaryFile(/tmp/multipartBody7623537056802440727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736743515,"filename":"image_14042025_13_19_42_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349958233","file1":"1349958206","file0":"1349958196","file4":"1349958291","file5":"1349958297","file3":"1349958266"},"map_files_photo_id_array":[{"photo_id":"1349958297","filename":"file5"},{"photo_id":"1349958233","filename":"file2"},{"photo_id":"1349958291","filename":"file4"},{"photo_id":"1349958206","filename":"file1"},{"photo_id":"1349958196","filename":"file0"},{"photo_id":"1349958266","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349958233":["hashtag1","hashtag2"]},{"1349958206":["hashtag1","hashtag2"]},{"1349958196":["hashtag1","hashtag2"]},{"1349958297":["hashtag1","hashtag2"]},{"1349958291":["hashtag1","hashtag2"]},{"1349958266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349958233, 1349958206, 1349958196, 1349958297, 1349958291, 1349958266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81499361991882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:05:22.066894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_08_2605.jpg', '/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_35_2837.jpg', '/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_22_2702.jpg', '/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_46_2674.jpg', '/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_52_3626.jpg', '/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_58_3516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/24/image_14042025_13_24_08_2605.jpg
/home/pi/Desktop/images/14042025/13/26/image_14042025_13_26_35_2837.jpg
/home/pi/Desktop/images/14042025/13/29/image_14042025_13_29_22_2702.jpg
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_46_2674.jpg
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_52_3626.jpg
/home/pi/Desktop/images/14042025/13/31/image_14042025_13_31_58_3516.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349958552","1349958357","1349958465","1349958330","1349958324","1349958401"],"photo_ids_order":["1349958324","1349958330","1349958357","1349958401","1349958465","1349958552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e3ff066b8702625c04d45f46bfe0e23.jpg","text":"TemporaryFile(/tmp/multipartBody7363572356095432210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736785121,"filename":"image_14042025_13_31_58_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a2a19d83293e2ecba44d2d4fbd3dd50.jpg","text":"TemporaryFile(/tmp/multipartBody4135317393624679886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736785121,"filename":"image_14042025_13_29_22_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/247db3026e45785a1bc09b47230a569e.jpg","text":"TemporaryFile(/tmp/multipartBody1253647971712790333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736785121,"filename":"image_14042025_13_31_52_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e379e8e910f7db7ac5a8bc11ef1c87f2.jpg","text":"TemporaryFile(/tmp/multipartBody5409937173015523524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736785121,"filename":"image_14042025_13_26_35_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5152972ec45946f4a16f1e5d06bc0edd.jpg","text":"TemporaryFile(/tmp/multipartBody7619327326413091532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736785121,"filename":"image_14042025_13_24_08_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1feab5cea8e4cb6de68c3d2bd1aa0780.jpg","text":"TemporaryFile(/tmp/multipartBody3064165903811783334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736785121,"filename":"image_14042025_13_31_46_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349958357","file1":"1349958330","file0":"1349958324","file4":"1349958465","file5":"1349958552","file3":"1349958401"},"map_files_photo_id_array":[{"photo_id":"1349958552","filename":"file5"},{"photo_id":"1349958357","filename":"file2"},{"photo_id":"1349958465","filename":"file4"},{"photo_id":"1349958330","filename":"file1"},{"photo_id":"1349958324","filename":"file0"},{"photo_id":"1349958401","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349958552":["hashtag1","hashtag2"]},{"1349958357":["hashtag1","hashtag2"]},{"1349958465":["hashtag1","hashtag2"]},{"1349958330":["hashtag1","hashtag2"]},{"1349958324":["hashtag1","hashtag2"]},{"1349958401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349958552, 1349958357, 1349958465, 1349958330, 1349958324, 1349958401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10927700996399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:06:02.642883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_01_2802.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_04_2677.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_12_2603.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_16_3727.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_22_2969.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_24_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_01_2802.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_04_2677.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_12_2603.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_16_3727.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_22_2969.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_24_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349958736","1349958870","1349958948","1349959088","1349959013","1349958812"],"photo_ids_order":["1349958736","1349958812","1349958870","1349958948","1349959013","1349959088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d60ea0a026bc9bc52efabf28eecbf16.jpg","text":"TemporaryFile(/tmp/multipartBody6576782086323509077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736825055,"filename":"image_14042025_13_32_01_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dda32f18f88ddf2f4a7fbee9080288ba.jpg","text":"TemporaryFile(/tmp/multipartBody1019764895826534179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736825055,"filename":"image_14042025_13_32_12_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f4aa3caaeb85d0d06444a90cdd9a464.jpg","text":"TemporaryFile(/tmp/multipartBody7580158882942930868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736825055,"filename":"image_14042025_13_32_16_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d97a94f48de3bdc583e4afbe1c19c3b.jpg","text":"TemporaryFile(/tmp/multipartBody5058982893996151619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736825055,"filename":"image_14042025_13_32_24_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04f94f54ba2bd0bf12b64c689e6d3baf.jpg","text":"TemporaryFile(/tmp/multipartBody7766398306115806498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736825055,"filename":"image_14042025_13_32_22_2969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0927c4d8c5e621b1f8065b78a5594e2.jpg","text":"TemporaryFile(/tmp/multipartBody1940572752705671765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736825055,"filename":"image_14042025_13_32_04_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349958870","file1":"1349958812","file0":"1349958736","file4":"1349959013","file5":"1349959088","file3":"1349958948"},"map_files_photo_id_array":[{"photo_id":"1349959088","filename":"file5"},{"photo_id":"1349958870","filename":"file2"},{"photo_id":"1349959013","filename":"file4"},{"photo_id":"1349958812","filename":"file1"},{"photo_id":"1349958736","filename":"file0"},{"photo_id":"1349958948","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349958736":["hashtag1","hashtag2"]},{"1349958870":["hashtag1","hashtag2"]},{"1349958948":["hashtag1","hashtag2"]},{"1349959088":["hashtag1","hashtag2"]},{"1349959013":["hashtag1","hashtag2"]},{"1349958812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349958736, 1349958870, 1349958948, 1349959088, 1349959013, 1349958812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41366982460022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:06:41.952166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_40_2697.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_42_2567.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_49_2698.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_09_2574.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_18_2692.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_36_2506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_40_2697.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_42_2567.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_49_2698.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_09_2574.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_18_2692.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_36_2506.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2701408863067627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:07:02.838642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_40_2697.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_42_2567.jpg', '/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_49_2698.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_09_2574.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_18_2692.jpg', '/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_36_2506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_40_2697.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_42_2567.jpg
/home/pi/Desktop/images/14042025/13/32/image_14042025_13_32_49_2698.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_09_2574.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_18_2692.jpg
/home/pi/Desktop/images/14042025/13/33/image_14042025_13_33_36_2506.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349959483","1349959635","1349959416","1349959571","1349959604","1349959532"],"photo_ids_order":["1349959416","1349959483","1349959532","1349959571","1349959604","1349959635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1895d618e49d03ad5e86ebca3f18c532.jpg","text":"TemporaryFile(/tmp/multipartBody2836024470958328682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736885370,"filename":"image_14042025_13_32_42_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/772a6a282db97f877c03ab18de105abb.jpg","text":"TemporaryFile(/tmp/multipartBody1971218398675373162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736885370,"filename":"image_14042025_13_33_36_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/199817a3c5e648df850d428b820ea094.jpg","text":"TemporaryFile(/tmp/multipartBody7580427626323191853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736885370,"filename":"image_14042025_13_32_40_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bee254141de4c6ac4f9d8ed24914cc11.jpg","text":"TemporaryFile(/tmp/multipartBody1897996364612784540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736885370,"filename":"image_14042025_13_33_09_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7f8b50608007ed75c67bf2e3f85809b.jpg","text":"TemporaryFile(/tmp/multipartBody482578576403595190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736885370,"filename":"image_14042025_13_33_18_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66d7238845fb2df2ca56b35dcaa46fda.jpg","text":"TemporaryFile(/tmp/multipartBody4803187719372528492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736885370,"filename":"image_14042025_13_32_49_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349959532","file1":"1349959483","file0":"1349959416","file4":"1349959604","file5":"1349959635","file3":"1349959571"},"map_files_photo_id_array":[{"photo_id":"1349959635","filename":"file5"},{"photo_id":"1349959532","filename":"file2"},{"photo_id":"1349959604","filename":"file4"},{"photo_id":"1349959483","filename":"file1"},{"photo_id":"1349959416","filename":"file0"},{"photo_id":"1349959571","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349959483":["hashtag1","hashtag2"]},{"1349959635":["hashtag1","hashtag2"]},{"1349959416":["hashtag1","hashtag2"]},{"1349959571":["hashtag1","hashtag2"]},{"1349959604":["hashtag1","hashtag2"]},{"1349959532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349959483, 1349959635, 1349959416, 1349959571, 1349959604, 1349959532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.712196826934814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:07:41.989073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_45_2637.jpg', '/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_19_3702.jpg', '/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_15_3658.jpg', '/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_33_3613.jpg', '/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_09_2656.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_15_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/34/image_14042025_13_34_45_2637.jpg
/home/pi/Desktop/images/14042025/13/35/image_14042025_13_35_19_3702.jpg
/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_15_3658.jpg
/home/pi/Desktop/images/14042025/13/38/image_14042025_13_38_33_3613.jpg
/home/pi/Desktop/images/14042025/13/39/image_14042025_13_39_09_2656.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_15_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349959791","1349959992","1349959819","1349959851","1349959894","1349959759"],"photo_ids_order":["1349959759","1349959791","1349959819","1349959851","1349959894","1349959992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ff0f8f59e2f1255496e02f3314eaa6d.jpg","text":"TemporaryFile(/tmp/multipartBody5483420191458494071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736923389,"filename":"image_14042025_13_35_19_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0bc8f708dc09726349210a3bc7032c7.jpg","text":"TemporaryFile(/tmp/multipartBody3235224312803343385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736923389,"filename":"image_14042025_13_42_15_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be51bf3be6ecfb06ce9c4e37d3921e3a.jpg","text":"TemporaryFile(/tmp/multipartBody7785610384921153964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736923389,"filename":"image_14042025_13_38_15_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb8a0afe232db4b43638fa866c292995.jpg","text":"TemporaryFile(/tmp/multipartBody3602054770905864312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736923389,"filename":"image_14042025_13_38_33_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3b5c2f18aaef3a3502f29a9897a2a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3743333744234065134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736923389,"filename":"image_14042025_13_39_09_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e9fdc563b59e7ad2ddca6b68616e486.jpg","text":"TemporaryFile(/tmp/multipartBody415119602347513578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736923389,"filename":"image_14042025_13_34_45_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349959819","file1":"1349959791","file0":"1349959759","file4":"1349959894","file5":"1349959992","file3":"1349959851"},"map_files_photo_id_array":[{"photo_id":"1349959992","filename":"file5"},{"photo_id":"1349959819","filename":"file2"},{"photo_id":"1349959894","filename":"file4"},{"photo_id":"1349959791","filename":"file1"},{"photo_id":"1349959759","filename":"file0"},{"photo_id":"1349959851","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349959791":["hashtag1","hashtag2"]},{"1349959992":["hashtag1","hashtag2"]},{"1349959819":["hashtag1","hashtag2"]},{"1349959851":["hashtag1","hashtag2"]},{"1349959894":["hashtag1","hashtag2"]},{"1349959759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349959791, 1349959992, 1349959819, 1349959851, 1349959894, 1349959759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83615565299988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:08:22.276526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_19_4549.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_21_1723.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_23_2625.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_32_2703.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_39_2823.jpg', '/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_41_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_19_4549.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_21_1723.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_23_2625.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_32_2703.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_39_2823.jpg
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_41_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349960224","1349960445","1349960276","1349960384","1349960165","1349960330"],"photo_ids_order":["1349960165","1349960224","1349960276","1349960330","1349960384","1349960445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2877fb7043bbdd10fd7c3d31e8fb603c.jpg","text":"TemporaryFile(/tmp/multipartBody5591765759676270345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736965449,"filename":"image_14042025_13_42_21_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/279061f1b47cc9a8d080a9ad0e12eaaf.jpg","text":"TemporaryFile(/tmp/multipartBody8380246382440610310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736965449,"filename":"image_14042025_13_42_41_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ddc6b3c355b08d80bc901edabe5522b9.jpg","text":"TemporaryFile(/tmp/multipartBody1679987344152897542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736965449,"filename":"image_14042025_13_42_23_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/634efea212cd512925065926439ba511.jpg","text":"TemporaryFile(/tmp/multipartBody1377927979353144821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736965449,"filename":"image_14042025_13_42_39_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b19fbaa2ff226a626b6f603c73d1137.jpg","text":"TemporaryFile(/tmp/multipartBody962642169314322457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736965449,"filename":"image_14042025_13_42_19_4549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b93a7f93a3355595208aa74265a956a.jpg","text":"TemporaryFile(/tmp/multipartBody8442530638881052426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744736965449,"filename":"image_14042025_13_42_32_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349960276","file1":"1349960224","file0":"1349960165","file4":"1349960384","file5":"1349960445","file3":"1349960330"},"map_files_photo_id_array":[{"photo_id":"1349960445","filename":"file5"},{"photo_id":"1349960276","filename":"file2"},{"photo_id":"1349960384","filename":"file4"},{"photo_id":"1349960224","filename":"file1"},{"photo_id":"1349960165","filename":"file0"},{"photo_id":"1349960330","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349960224":["hashtag1","hashtag2"]},{"1349960445":["hashtag1","hashtag2"]},{"1349960276":["hashtag1","hashtag2"]},{"1349960384":["hashtag1","hashtag2"]},{"1349960165":["hashtag1","hashtag2"]},{"1349960330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349960224, 1349960445, 1349960276, 1349960384, 1349960165, 1349960330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49036693572998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:09:03.701313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_48_2569.jpg', '/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_18_3676.jpg', '/home/pi/Desktop/images/14042025/13/43/image_14042025_13_44_00_3741.jpg', '/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_57_3661.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_14_2637.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_17_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/42/image_14042025_13_42_48_2569.jpg
/home/pi/Desktop/images/14042025/13/43/image_14042025_13_43_18_3676.jpg
/home/pi/Desktop/images/14042025/13/43/image_14042025_13_44_00_3741.jpg
/home/pi/Desktop/images/14042025/13/44/image_14042025_13_44_57_3661.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_14_2637.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_17_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349960599","1349960592","1349960571","1349960582","1349960618","1349960603"],"photo_ids_order":["1349960571","1349960582","1349960592","1349960599","1349960603","1349960618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eeb45df50c13722b3da73fb8f4937483.jpg","text":"TemporaryFile(/tmp/multipartBody1215526846004535286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737006318,"filename":"image_14042025_13_44_57_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ffc3d2c3378a33ef20d258ba6facbf4.jpg","text":"TemporaryFile(/tmp/multipartBody6044378831618917807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737006318,"filename":"image_14042025_13_44_00_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61e61d86d82d69c2ec3d8b91dc1f5564.jpg","text":"TemporaryFile(/tmp/multipartBody6892290893905481468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737006318,"filename":"image_14042025_13_42_48_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b37182c533cb60a304573dfb0043c15a.jpg","text":"TemporaryFile(/tmp/multipartBody8338767793109773641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737006318,"filename":"image_14042025_13_43_18_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/717a4e59954081f5caf1846d9aded85b.jpg","text":"TemporaryFile(/tmp/multipartBody7487274003218808017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737006318,"filename":"image_14042025_13_45_17_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccf37cea48d09a79850e065288dc419d.jpg","text":"TemporaryFile(/tmp/multipartBody8936950414078231263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737006318,"filename":"image_14042025_13_45_14_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349960592","file1":"1349960582","file0":"1349960571","file4":"1349960603","file5":"1349960618","file3":"1349960599"},"map_files_photo_id_array":[{"photo_id":"1349960618","filename":"file5"},{"photo_id":"1349960592","filename":"file2"},{"photo_id":"1349960603","filename":"file4"},{"photo_id":"1349960582","filename":"file1"},{"photo_id":"1349960571","filename":"file0"},{"photo_id":"1349960599","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349960599":["hashtag1","hashtag2"]},{"1349960592":["hashtag1","hashtag2"]},{"1349960571":["hashtag1","hashtag2"]},{"1349960582":["hashtag1","hashtag2"]},{"1349960618":["hashtag1","hashtag2"]},{"1349960603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349960599, 1349960592, 1349960571, 1349960582, 1349960618, 1349960603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.875760555267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:09:42.732712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_27_3618.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_29_2767.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_37_7363.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_44_1592.jpg', '/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_59_2643.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_06_3774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_27_3618.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_29_2767.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_37_7363.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_44_1592.jpg
/home/pi/Desktop/images/14042025/13/45/image_14042025_13_45_59_2643.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_06_3774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349960806","1349960935","1349960778","1349960745","1349960879","1349960703"],"photo_ids_order":["1349960703","1349960745","1349960778","1349960806","1349960879","1349960935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab312c4b4590c71177d5b50c3dc11327.jpg","text":"TemporaryFile(/tmp/multipartBody6715389119109550554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737044125,"filename":"image_14042025_13_45_44_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f263eeaf49302bf0e9c79a8d81563539.jpg","text":"TemporaryFile(/tmp/multipartBody7098844450673625282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737044125,"filename":"image_14042025_13_46_06_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0968efb6506b927bd7e8bf1cd0f7ea40.jpg","text":"TemporaryFile(/tmp/multipartBody8240602698757634738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737044125,"filename":"image_14042025_13_45_37_7363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aabc0097869d69b6995291d6ac3e2ce9.jpg","text":"TemporaryFile(/tmp/multipartBody8123090840170348906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737044125,"filename":"image_14042025_13_45_29_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f546fc8f1a3aee2901b2364dd02c19cc.jpg","text":"TemporaryFile(/tmp/multipartBody4705183794396969016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737044125,"filename":"image_14042025_13_45_59_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1bf64c76d636b4d5a2fbb1fdbe10b9de.jpg","text":"TemporaryFile(/tmp/multipartBody4317946854207335228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737044125,"filename":"image_14042025_13_45_27_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349960778","file1":"1349960745","file0":"1349960703","file4":"1349960879","file5":"1349960935","file3":"1349960806"},"map_files_photo_id_array":[{"photo_id":"1349960935","filename":"file5"},{"photo_id":"1349960778","filename":"file2"},{"photo_id":"1349960879","filename":"file4"},{"photo_id":"1349960745","filename":"file1"},{"photo_id":"1349960703","filename":"file0"},{"photo_id":"1349960806","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349960806":["hashtag1","hashtag2"]},{"1349960935":["hashtag1","hashtag2"]},{"1349960778":["hashtag1","hashtag2"]},{"1349960745":["hashtag1","hashtag2"]},{"1349960879":["hashtag1","hashtag2"]},{"1349960703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349960806, 1349960935, 1349960778, 1349960745, 1349960879, 1349960703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3274884223938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:10:22.527238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_23_2622.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_38_3616.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_41_2735.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_48_3731.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_50_2588.jpg', '/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_56_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_23_2622.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_38_3616.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_41_2735.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_48_3731.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_50_2588.jpg
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_56_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349961297","1349961075","1349961135","1349961194","1349961260","1349961047"],"photo_ids_order":["1349961047","1349961075","1349961135","1349961194","1349961260","1349961297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91816b949748b558c990336d2d7ea7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5688992848120833963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737085723,"filename":"image_14042025_13_46_56_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a5de64935024c54f9001413799a2e9f.jpg","text":"TemporaryFile(/tmp/multipartBody3293586800044939403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737085723,"filename":"image_14042025_13_46_38_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8bd670aa9ed6c2e76f7936338d02508e.jpg","text":"TemporaryFile(/tmp/multipartBody1838591258510957583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737085723,"filename":"image_14042025_13_46_41_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15c53a7af1bc695548fa910ac186d7a6.jpg","text":"TemporaryFile(/tmp/multipartBody4852554247746927307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737085723,"filename":"image_14042025_13_46_48_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b49cb6dae28e85b09154e0dafbc3973d.jpg","text":"TemporaryFile(/tmp/multipartBody277972268615849377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737085723,"filename":"image_14042025_13_46_50_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/727b51aa91d99254707cd2d76ce2d122.jpg","text":"TemporaryFile(/tmp/multipartBody8256727680750378177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737085723,"filename":"image_14042025_13_46_23_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349961135","file1":"1349961075","file0":"1349961047","file4":"1349961260","file5":"1349961297","file3":"1349961194"},"map_files_photo_id_array":[{"photo_id":"1349961297","filename":"file5"},{"photo_id":"1349961135","filename":"file2"},{"photo_id":"1349961260","filename":"file4"},{"photo_id":"1349961075","filename":"file1"},{"photo_id":"1349961047","filename":"file0"},{"photo_id":"1349961194","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349961297":["hashtag1","hashtag2"]},{"1349961075":["hashtag1","hashtag2"]},{"1349961135":["hashtag1","hashtag2"]},{"1349961194":["hashtag1","hashtag2"]},{"1349961260":["hashtag1","hashtag2"]},{"1349961047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349961297, 1349961075, 1349961135, 1349961194, 1349961260, 1349961047)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.06896257400513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:11:25.455934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_59_2740.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_02_2679.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_15_3588.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_23_3638.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_26_2660.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_29_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/46/image_14042025_13_46_59_2740.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_02_2679.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_15_3588.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_23_3638.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_26_2660.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_29_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349961430","1349961532","1349961427","1349961436","1349961468","1349961501"],"photo_ids_order":["1349961427","1349961430","1349961436","1349961468","1349961501","1349961532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bf36f7824a77ac08a067ce49fbb766c.jpg","text":"TemporaryFile(/tmp/multipartBody4565827701054443656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737148619,"filename":"image_14042025_13_47_02_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2107954eed31eb9b907e8c225bc5c8bf.jpg","text":"TemporaryFile(/tmp/multipartBody1134044497190761923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737148619,"filename":"image_14042025_13_47_29_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04317b3eabc0c3b77fb314e5b6bbd155.jpg","text":"TemporaryFile(/tmp/multipartBody5747431181581543961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737148619,"filename":"image_14042025_13_46_59_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38146317cce53ae74e2fe5b5db268ab3.jpg","text":"TemporaryFile(/tmp/multipartBody3022834698621370096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737148619,"filename":"image_14042025_13_47_15_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/930dbecf774af5dd85391346ea4da422.jpg","text":"TemporaryFile(/tmp/multipartBody1737187641912325754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737148619,"filename":"image_14042025_13_47_23_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e057ffc87b67683269fab2ace480d7db.jpg","text":"TemporaryFile(/tmp/multipartBody6896904082547477791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737148619,"filename":"image_14042025_13_47_26_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349961436","file1":"1349961430","file0":"1349961427","file4":"1349961501","file5":"1349961532","file3":"1349961468"},"map_files_photo_id_array":[{"photo_id":"1349961532","filename":"file5"},{"photo_id":"1349961436","filename":"file2"},{"photo_id":"1349961501","filename":"file4"},{"photo_id":"1349961430","filename":"file1"},{"photo_id":"1349961427","filename":"file0"},{"photo_id":"1349961468","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349961430":["hashtag1","hashtag2"]},{"1349961532":["hashtag1","hashtag2"]},{"1349961427":["hashtag1","hashtag2"]},{"1349961436":["hashtag1","hashtag2"]},{"1349961468":["hashtag1","hashtag2"]},{"1349961501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349961430, 1349961532, 1349961427, 1349961436, 1349961468, 1349961501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30035352706909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:12:03.171944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:12:24.014255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_38_2698.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_41_3735.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_48_3557.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_50_2774.jpg', '/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_53_2780.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_02_2908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_38_2698.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_41_3735.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_48_3557.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_50_2774.jpg
/home/pi/Desktop/images/14042025/13/47/image_14042025_13_47_53_2780.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_02_2908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349961664","1349961642","1349961639","1349961650","1349961632","1349961656"],"photo_ids_order":["1349961632","1349961639","1349961642","1349961650","1349961656","1349961664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ec6b1694fc18b253d41d59bc1d2eb38.jpg","text":"TemporaryFile(/tmp/multipartBody7722989940251031087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737207018,"filename":"image_14042025_13_48_02_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e8301f6a629316d2483d1001fee1624.jpg","text":"TemporaryFile(/tmp/multipartBody7086317873878844871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737207018,"filename":"image_14042025_13_47_48_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d98cf624086de658f0283c268f7557de.jpg","text":"TemporaryFile(/tmp/multipartBody1021482721328881967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737207018,"filename":"image_14042025_13_47_41_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0111520a73a40465dd2dc8f35206bbd.jpg","text":"TemporaryFile(/tmp/multipartBody6835068339912629353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737207018,"filename":"image_14042025_13_47_50_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9939ffda9ca1936627e5ec58e5f5a4f8.jpg","text":"TemporaryFile(/tmp/multipartBody2908251483950043949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737207018,"filename":"image_14042025_13_47_38_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e62fddecf158c35ad4abe2b91377507b.jpg","text":"TemporaryFile(/tmp/multipartBody6061801661885439141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737207018,"filename":"image_14042025_13_47_53_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349961642","file1":"1349961639","file0":"1349961632","file4":"1349961656","file5":"1349961664","file3":"1349961650"},"map_files_photo_id_array":[{"photo_id":"1349961664","filename":"file5"},{"photo_id":"1349961642","filename":"file2"},{"photo_id":"1349961656","filename":"file4"},{"photo_id":"1349961639","filename":"file1"},{"photo_id":"1349961632","filename":"file0"},{"photo_id":"1349961650","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349961664":["hashtag1","hashtag2"]},{"1349961642":["hashtag1","hashtag2"]},{"1349961639":["hashtag1","hashtag2"]},{"1349961650":["hashtag1","hashtag2"]},{"1349961632":["hashtag1","hashtag2"]},{"1349961656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349961664, 1349961642, 1349961639, 1349961650, 1349961632, 1349961656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74428987503052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:13:21.886249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_05_3640.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_08_2642.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_11_2651.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_20_3666.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_23_2666.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_26_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_05_3640.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_08_2642.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_11_2651.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_20_3666.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_23_2666.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_26_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349962074","1349961798","1349961855","1349961962","1349961911","1349962015"],"photo_ids_order":["1349961798","1349961855","1349961911","1349961962","1349962015","1349962074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d34fd61e4c430dd282c80896c9c348f.jpg","text":"TemporaryFile(/tmp/multipartBody443979632571413138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737264847,"filename":"image_14042025_13_48_26_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bead6d30a1cf87d8b12618c3e6ddeab.jpg","text":"TemporaryFile(/tmp/multipartBody15797698043077486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737264847,"filename":"image_14042025_13_48_05_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19f5c867fde4ad993a06f7ed741fe5d6.jpg","text":"TemporaryFile(/tmp/multipartBody8887863099910758922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737264847,"filename":"image_14042025_13_48_08_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c46963f940c7b9cc074d88abed7c3ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3742072829274421551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737264847,"filename":"image_14042025_13_48_20_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bf0c54975fa784406f317ecba4281aa.jpg","text":"TemporaryFile(/tmp/multipartBody160869810849784808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737264847,"filename":"image_14042025_13_48_11_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5d8a7b031d1d02109f9fabc700163ed.jpg","text":"TemporaryFile(/tmp/multipartBody3826334739431600117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737264847,"filename":"image_14042025_13_48_23_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349961911","file1":"1349961855","file0":"1349961798","file4":"1349962015","file5":"1349962074","file3":"1349961962"},"map_files_photo_id_array":[{"photo_id":"1349962074","filename":"file5"},{"photo_id":"1349961911","filename":"file2"},{"photo_id":"1349962015","filename":"file4"},{"photo_id":"1349961855","filename":"file1"},{"photo_id":"1349961798","filename":"file0"},{"photo_id":"1349961962","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349962074":["hashtag1","hashtag2"]},{"1349961798":["hashtag1","hashtag2"]},{"1349961855":["hashtag1","hashtag2"]},{"1349961962":["hashtag1","hashtag2"]},{"1349961911":["hashtag1","hashtag2"]},{"1349962015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349962074, 1349961798, 1349961855, 1349961962, 1349961911, 1349962015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91886353492737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:14:03.209017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_28_2743.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_32_3740.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_35_2815.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_40_2660.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_44_3626.jpg', '/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_53_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_28_2743.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_32_3740.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_35_2815.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_40_2660.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_44_3626.jpg
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_53_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349962617","1349962388","1349962253","1349962526","1349962588","1349962555"],"photo_ids_order":["1349962253","1349962388","1349962526","1349962555","1349962588","1349962617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b7e5fe2714f569d62a6eb8bcac33bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7963263966262319131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737305899,"filename":"image_14042025_13_48_53_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f2442c5f7d632de17d516f553978636.jpg","text":"TemporaryFile(/tmp/multipartBody2456300664913031685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737305899,"filename":"image_14042025_13_48_32_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2bcc1c3a25fa861fed235d7d880151cc.jpg","text":"TemporaryFile(/tmp/multipartBody5856623660873456017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737305899,"filename":"image_14042025_13_48_28_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae10ac09e10fbb1ea535ce042764efa1.jpg","text":"TemporaryFile(/tmp/multipartBody8231760864018497226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737305899,"filename":"image_14042025_13_48_35_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/840466229f7a6329c6c9de74776a52aa.jpg","text":"TemporaryFile(/tmp/multipartBody6007749948929809779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737305899,"filename":"image_14042025_13_48_44_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd371e179ad8c531e191f4d7e3f4c7b1.jpg","text":"TemporaryFile(/tmp/multipartBody4061452369554903729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737305899,"filename":"image_14042025_13_48_40_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349962526","file1":"1349962388","file0":"1349962253","file4":"1349962588","file5":"1349962617","file3":"1349962555"},"map_files_photo_id_array":[{"photo_id":"1349962617","filename":"file5"},{"photo_id":"1349962526","filename":"file2"},{"photo_id":"1349962588","filename":"file4"},{"photo_id":"1349962388","filename":"file1"},{"photo_id":"1349962253","filename":"file0"},{"photo_id":"1349962555","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349962617":["hashtag1","hashtag2"]},{"1349962388":["hashtag1","hashtag2"]},{"1349962253":["hashtag1","hashtag2"]},{"1349962526":["hashtag1","hashtag2"]},{"1349962588":["hashtag1","hashtag2"]},{"1349962555":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349962617, 1349962388, 1349962253, 1349962526, 1349962588, 1349962555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.410693883895874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:15:03.330639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_59_2803.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_05_2679.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_14_2656.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_20_2670.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_23_3652.jpg', '/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_41_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/48/image_14042025_13_48_59_2803.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_05_2679.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_14_2656.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_20_2670.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_23_3652.jpg
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_41_3566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349962825","1349962776","1349963078","1349962892","1349962793","1349962858"],"photo_ids_order":["1349962776","1349962793","1349962825","1349962858","1349962892","1349963078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f76ed7c20adeafee988d63ae05fda3e7.jpg","text":"TemporaryFile(/tmp/multipartBody484932146297861643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737366035,"filename":"image_14042025_13_49_14_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62995eda42dddaa8d185256818177032.jpg","text":"TemporaryFile(/tmp/multipartBody4979536314928383366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737366035,"filename":"image_14042025_13_48_59_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c17c5e0eaca2b2383a79b241ec9768f.jpg","text":"TemporaryFile(/tmp/multipartBody7425353488048120825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737366035,"filename":"image_14042025_13_49_41_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65e1fa4eb702cc3efda3a17c5587fc5f.jpg","text":"TemporaryFile(/tmp/multipartBody8293457968883165693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737366035,"filename":"image_14042025_13_49_23_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f55c287eb5da67d1499ac1302985498.jpg","text":"TemporaryFile(/tmp/multipartBody1316979189850262388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737366035,"filename":"image_14042025_13_49_05_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/576cec0e9785bbb7ca4105c23855cd7a.jpg","text":"TemporaryFile(/tmp/multipartBody248804226475908359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737366035,"filename":"image_14042025_13_49_20_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349962825","file1":"1349962793","file0":"1349962776","file4":"1349962892","file5":"1349963078","file3":"1349962858"},"map_files_photo_id_array":[{"photo_id":"1349963078","filename":"file5"},{"photo_id":"1349962825","filename":"file2"},{"photo_id":"1349962892","filename":"file4"},{"photo_id":"1349962793","filename":"file1"},{"photo_id":"1349962776","filename":"file0"},{"photo_id":"1349962858","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349962825":["hashtag1","hashtag2"]},{"1349962776":["hashtag1","hashtag2"]},{"1349963078":["hashtag1","hashtag2"]},{"1349962892":["hashtag1","hashtag2"]},{"1349962793":["hashtag1","hashtag2"]},{"1349962858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349962825, 1349962776, 1349963078, 1349962892, 1349962793, 1349962858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14623236656189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:16:02.715659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_50_3603.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_07_2608.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_23_2695.jpg', '/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_28_2714.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_05_2773.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_08_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/49/image_14042025_13_49_50_3603.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_07_2608.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_23_2695.jpg
/home/pi/Desktop/images/14042025/13/50/image_14042025_13_50_28_2714.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_05_2773.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_08_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349963811","1349963555","1349963650","1349963694","1349963847","1349963754"],"photo_ids_order":["1349963555","1349963650","1349963694","1349963754","1349963811","1349963847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc4afb39124a9243d834123cefc6bf89.jpg","text":"TemporaryFile(/tmp/multipartBody5854830204840072437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737425119,"filename":"image_14042025_13_51_05_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85a0948401a7289367635945a7aa896e.jpg","text":"TemporaryFile(/tmp/multipartBody2042790094304261757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737425119,"filename":"image_14042025_13_49_50_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edeb7d99178259cf0ec77858b7ddb981.jpg","text":"TemporaryFile(/tmp/multipartBody4715173603875314591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737425119,"filename":"image_14042025_13_50_07_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ca858feb94e8c92b9c44c0d2a17c6ba.jpg","text":"TemporaryFile(/tmp/multipartBody1841158352027660001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737425119,"filename":"image_14042025_13_50_23_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f275d63a80965da90ca97a481b29407.jpg","text":"TemporaryFile(/tmp/multipartBody6882192490166838191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737425119,"filename":"image_14042025_13_51_08_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d276857c964cd44fde75e46745026ff.jpg","text":"TemporaryFile(/tmp/multipartBody8853073697312543964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737425119,"filename":"image_14042025_13_50_28_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349963694","file1":"1349963650","file0":"1349963555","file4":"1349963811","file5":"1349963847","file3":"1349963754"},"map_files_photo_id_array":[{"photo_id":"1349963847","filename":"file5"},{"photo_id":"1349963694","filename":"file2"},{"photo_id":"1349963811","filename":"file4"},{"photo_id":"1349963650","filename":"file1"},{"photo_id":"1349963555","filename":"file0"},{"photo_id":"1349963754","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349963811":["hashtag1","hashtag2"]},{"1349963555":["hashtag1","hashtag2"]},{"1349963650":["hashtag1","hashtag2"]},{"1349963694":["hashtag1","hashtag2"]},{"1349963847":["hashtag1","hashtag2"]},{"1349963754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349963811, 1349963555, 1349963650, 1349963694, 1349963847, 1349963754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54781365394592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:17:02.801237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_10_2630.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_23_3569.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_26_2692.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_28_2678.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_32_3642.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_35_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_10_2630.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_23_3569.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_26_2692.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_28_2678.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_32_3642.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_35_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349964705","1349964461","1349964536","1349964376","1349964277","1349964630"],"photo_ids_order":["1349964277","1349964376","1349964461","1349964536","1349964630","1349964705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4d3016591367cafc7c7420a26d297d7.jpg","text":"TemporaryFile(/tmp/multipartBody1756108860007744259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737485376,"filename":"image_14042025_13_51_35_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e79aa7024f1b8a97fd92d2656716694.jpg","text":"TemporaryFile(/tmp/multipartBody415714713694111541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737485376,"filename":"image_14042025_13_51_26_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3cb9f113f0f41326f29a4f72912dd21.jpg","text":"TemporaryFile(/tmp/multipartBody8277665396062005237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737485376,"filename":"image_14042025_13_51_28_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35785a6388c67cf74c80492fa871d754.jpg","text":"TemporaryFile(/tmp/multipartBody6426305239871185370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737485376,"filename":"image_14042025_13_51_23_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/052b0a050cef8ceb2d04e3b2240ee6d1.jpg","text":"TemporaryFile(/tmp/multipartBody3234257799898823646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737485376,"filename":"image_14042025_13_51_10_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f5e54c694227b105e27ae173406de9f.jpg","text":"TemporaryFile(/tmp/multipartBody7956542581864086149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737485376,"filename":"image_14042025_13_51_32_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349964461","file1":"1349964376","file0":"1349964277","file4":"1349964630","file5":"1349964705","file3":"1349964536"},"map_files_photo_id_array":[{"photo_id":"1349964705","filename":"file5"},{"photo_id":"1349964461","filename":"file2"},{"photo_id":"1349964630","filename":"file4"},{"photo_id":"1349964376","filename":"file1"},{"photo_id":"1349964277","filename":"file0"},{"photo_id":"1349964536","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349964705":["hashtag1","hashtag2"]},{"1349964461":["hashtag1","hashtag2"]},{"1349964536":["hashtag1","hashtag2"]},{"1349964376":["hashtag1","hashtag2"]},{"1349964277":["hashtag1","hashtag2"]},{"1349964630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349964705, 1349964461, 1349964536, 1349964376, 1349964277, 1349964630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.981027126312256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:17:41.912863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_37_2631.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_50_3707.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_53_2806.jpg', '/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_59_3594.jpg', '/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_04_2626.jpg', '/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_17_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_37_2631.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_50_3707.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_53_2806.jpg
/home/pi/Desktop/images/14042025/13/51/image_14042025_13_51_59_3594.jpg
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_04_2626.jpg
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_17_3532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349964935","1349965001","1349965060","1349964972","1349964867","1349964900"],"photo_ids_order":["1349964867","1349964900","1349964935","1349964972","1349965001","1349965060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b70c131aa3d205a4f14912bca28a9ac2.jpg","text":"TemporaryFile(/tmp/multipartBody2113562700702457440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737523284,"filename":"image_14042025_13_51_53_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b55786916246ebf5b6f9cc04470b21a.jpg","text":"TemporaryFile(/tmp/multipartBody8013954010289430949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737523284,"filename":"image_14042025_13_52_04_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ffddd81c05fb7dabe072dd8d1146472.jpg","text":"TemporaryFile(/tmp/multipartBody7142609735355324126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737523284,"filename":"image_14042025_13_52_17_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cbeddb455850928438330fe6ac56be2a.jpg","text":"TemporaryFile(/tmp/multipartBody7094349282179528126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737523284,"filename":"image_14042025_13_51_59_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82316a50e95774ff39454bfcdb0afd5e.jpg","text":"TemporaryFile(/tmp/multipartBody5945476499857045031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737523284,"filename":"image_14042025_13_51_37_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b59b6c95d3f2e3e94a706a499792335.jpg","text":"TemporaryFile(/tmp/multipartBody2471174240514754002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737523284,"filename":"image_14042025_13_51_50_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349964935","file1":"1349964900","file0":"1349964867","file4":"1349965001","file5":"1349965060","file3":"1349964972"},"map_files_photo_id_array":[{"photo_id":"1349965060","filename":"file5"},{"photo_id":"1349964935","filename":"file2"},{"photo_id":"1349965001","filename":"file4"},{"photo_id":"1349964900","filename":"file1"},{"photo_id":"1349964867","filename":"file0"},{"photo_id":"1349964972","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349964935":["hashtag1","hashtag2"]},{"1349965001":["hashtag1","hashtag2"]},{"1349965060":["hashtag1","hashtag2"]},{"1349964972":["hashtag1","hashtag2"]},{"1349964867":["hashtag1","hashtag2"]},{"1349964900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349964935, 1349965001, 1349965060, 1349964972, 1349964867, 1349964900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.690316677093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:18:22.254049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_23_3656.jpg', '/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_56_3685.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_05_2660.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_20_2798.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_23_2746.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_25_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_23_3656.jpg
/home/pi/Desktop/images/14042025/13/52/image_14042025_13_52_56_3685.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_05_2660.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_20_2798.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_23_2746.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_25_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349965214","1349965278","1349965188","1349965245","1349965181","1349965308"],"photo_ids_order":["1349965181","1349965188","1349965214","1349965245","1349965278","1349965308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f00d0334d32bfaaa563d207e96a424a.jpg","text":"TemporaryFile(/tmp/multipartBody2194202730006129765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737565470,"filename":"image_14042025_13_53_05_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98f3eb2791e41133bffe932a860c2413.jpg","text":"TemporaryFile(/tmp/multipartBody9128995621972261887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737565470,"filename":"image_14042025_13_53_23_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb5760aeb0023d5d2a24df1096ba2cbd.jpg","text":"TemporaryFile(/tmp/multipartBody1057081620969620417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737565470,"filename":"image_14042025_13_52_56_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/806ad95ee93a404b5dded3fa8c40ccda.jpg","text":"TemporaryFile(/tmp/multipartBody2447043154174753453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737565470,"filename":"image_14042025_13_53_20_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50da850ac7d10574776b6ad2f481970b.jpg","text":"TemporaryFile(/tmp/multipartBody4591679180883524067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737565470,"filename":"image_14042025_13_52_23_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33dd8e34e4eebe3e7a342bbf3bbcd98f.jpg","text":"TemporaryFile(/tmp/multipartBody4742134958979372152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737565470,"filename":"image_14042025_13_53_25_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349965214","file1":"1349965188","file0":"1349965181","file4":"1349965278","file5":"1349965308","file3":"1349965245"},"map_files_photo_id_array":[{"photo_id":"1349965308","filename":"file5"},{"photo_id":"1349965214","filename":"file2"},{"photo_id":"1349965278","filename":"file4"},{"photo_id":"1349965188","filename":"file1"},{"photo_id":"1349965181","filename":"file0"},{"photo_id":"1349965245","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349965214":["hashtag1","hashtag2"]},{"1349965278":["hashtag1","hashtag2"]},{"1349965188":["hashtag1","hashtag2"]},{"1349965245":["hashtag1","hashtag2"]},{"1349965181":["hashtag1","hashtag2"]},{"1349965308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349965214, 1349965278, 1349965188, 1349965245, 1349965181, 1349965308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72073745727539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:19:03.630500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_28_2722.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_32_3614.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_41_2678.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_43_2634.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_47_3614.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_50_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_28_2722.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_32_3614.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_41_2678.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_43_2634.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_47_3614.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_50_2808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349965451","1349965417","1349965482","1349965614","1349965521","1349965574"],"photo_ids_order":["1349965417","1349965451","1349965482","1349965521","1349965574","1349965614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29df6af44d19de625ee34b7da402dde9.jpg","text":"TemporaryFile(/tmp/multipartBody260685022585351242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737606418,"filename":"image_14042025_13_53_32_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06c7732da15a90a1bbc22bf5c8131bfc.jpg","text":"TemporaryFile(/tmp/multipartBody1830441879211137945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737606418,"filename":"image_14042025_13_53_28_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6658cb9ef7b0227bf67fc9ec6df4a9d7.jpg","text":"TemporaryFile(/tmp/multipartBody2097659890932603014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737606418,"filename":"image_14042025_13_53_41_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e8f5564dba4ae272719972043a3546f.jpg","text":"TemporaryFile(/tmp/multipartBody7953741383473031335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737606418,"filename":"image_14042025_13_53_50_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b0110ca29114cf23a79f8bcecf8a86f.jpg","text":"TemporaryFile(/tmp/multipartBody4131832838347225390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737606418,"filename":"image_14042025_13_53_43_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92164afc20aa87bb0a6283749875c3a1.jpg","text":"TemporaryFile(/tmp/multipartBody2330600953673475288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737606418,"filename":"image_14042025_13_53_47_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349965482","file1":"1349965451","file0":"1349965417","file4":"1349965574","file5":"1349965614","file3":"1349965521"},"map_files_photo_id_array":[{"photo_id":"1349965614","filename":"file5"},{"photo_id":"1349965482","filename":"file2"},{"photo_id":"1349965574","filename":"file4"},{"photo_id":"1349965451","filename":"file1"},{"photo_id":"1349965417","filename":"file0"},{"photo_id":"1349965521","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349965451":["hashtag1","hashtag2"]},{"1349965417":["hashtag1","hashtag2"]},{"1349965482":["hashtag1","hashtag2"]},{"1349965614":["hashtag1","hashtag2"]},{"1349965521":["hashtag1","hashtag2"]},{"1349965574":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349965451, 1349965417, 1349965482, 1349965614, 1349965521, 1349965574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36198306083679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:19:42.719214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_52_2623.jpg', '/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_55_2638.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_10_2805.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_13_3088.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_16_2798.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_19_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_52_2623.jpg
/home/pi/Desktop/images/14042025/13/53/image_14042025_13_53_55_2638.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_10_2805.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_13_3088.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_16_2798.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_19_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349965829","1349965820","1349965808","1349965785","1349965704","1349965748"],"photo_ids_order":["1349965704","1349965748","1349965785","1349965808","1349965820","1349965829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4348effc9cd7081c1a74d080070d1f0.jpg","text":"TemporaryFile(/tmp/multipartBody6860821106722518643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737644113,"filename":"image_14042025_13_54_19_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92e39e812580dab6111282e37d3190d3.jpg","text":"TemporaryFile(/tmp/multipartBody2067556060322870150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737644113,"filename":"image_14042025_13_54_16_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9349c3980b1a88713b3bf20a5e937fb.jpg","text":"TemporaryFile(/tmp/multipartBody5035438722597928907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737644113,"filename":"image_14042025_13_54_13_3088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c41ada72635f5265b7e111254ab6e9e4.jpg","text":"TemporaryFile(/tmp/multipartBody55116812264661709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737644113,"filename":"image_14042025_13_54_10_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8c1037d7d94a9c35ecfed3a0a4ba3fd.jpg","text":"TemporaryFile(/tmp/multipartBody2636025736635843779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737644113,"filename":"image_14042025_13_53_52_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79912eaed19f1787dfe81371514d6596.jpg","text":"TemporaryFile(/tmp/multipartBody1114652755023767163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737644113,"filename":"image_14042025_13_53_55_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349965785","file1":"1349965748","file0":"1349965704","file4":"1349965820","file5":"1349965829","file3":"1349965808"},"map_files_photo_id_array":[{"photo_id":"1349965829","filename":"file5"},{"photo_id":"1349965785","filename":"file2"},{"photo_id":"1349965820","filename":"file4"},{"photo_id":"1349965748","filename":"file1"},{"photo_id":"1349965704","filename":"file0"},{"photo_id":"1349965808","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349965829":["hashtag1","hashtag2"]},{"1349965820":["hashtag1","hashtag2"]},{"1349965808":["hashtag1","hashtag2"]},{"1349965785":["hashtag1","hashtag2"]},{"1349965704":["hashtag1","hashtag2"]},{"1349965748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349965829, 1349965820, 1349965808, 1349965785, 1349965704, 1349965748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3075156211853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:20:22.515674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_23_3791.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_25_2496.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_28_2687.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_32_3702.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_44_3678.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_46_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_23_3791.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_25_2496.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_28_2687.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_32_3702.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_44_3678.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_46_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349966041","1349966178","1349966101","1349965932","1349965991","1349965958"],"photo_ids_order":["1349965932","1349965958","1349965991","1349966041","1349966101","1349966178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c8a2152cec6a48054258d45d2d18397.jpg","text":"TemporaryFile(/tmp/multipartBody6037603930941841052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737685689,"filename":"image_14042025_13_54_32_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ea03608e31cc9e073193344ff98d5cb.jpg","text":"TemporaryFile(/tmp/multipartBody6732055941830404852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737685689,"filename":"image_14042025_13_54_46_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ded5e15bb4934e745368ad6a67c2e8e4.jpg","text":"TemporaryFile(/tmp/multipartBody7502677874974182084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737685689,"filename":"image_14042025_13_54_44_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad1499cfdf2870fc203a77eb151ffe6c.jpg","text":"TemporaryFile(/tmp/multipartBody4471157505409042013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737685689,"filename":"image_14042025_13_54_23_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/384df58b6d6ca918f90a308961e53fed.jpg","text":"TemporaryFile(/tmp/multipartBody8338614446698124502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737685689,"filename":"image_14042025_13_54_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c93cc63c74a6b12007ecf76db6061fb.jpg","text":"TemporaryFile(/tmp/multipartBody4121637253778876595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737685689,"filename":"image_14042025_13_54_25_2496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349965991","file1":"1349965958","file0":"1349965932","file4":"1349966101","file5":"1349966178","file3":"1349966041"},"map_files_photo_id_array":[{"photo_id":"1349966178","filename":"file5"},{"photo_id":"1349965991","filename":"file2"},{"photo_id":"1349966101","filename":"file4"},{"photo_id":"1349965958","filename":"file1"},{"photo_id":"1349965932","filename":"file0"},{"photo_id":"1349966041","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349966041":["hashtag1","hashtag2"]},{"1349966178":["hashtag1","hashtag2"]},{"1349966101":["hashtag1","hashtag2"]},{"1349965932":["hashtag1","hashtag2"]},{"1349965991":["hashtag1","hashtag2"]},{"1349965958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349966041, 1349966178, 1349966101, 1349965932, 1349965991, 1349965958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70445942878723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:21:03.011627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_53_3609.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_55_2731.jpg', '/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_58_2673.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_02_3696.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_04_2664.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_11_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_53_3609.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_55_2731.jpg
/home/pi/Desktop/images/14042025/13/54/image_14042025_13_54_58_2673.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_02_3696.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_04_2664.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_11_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349966668","1349966551","1349966442","1349966391","1349966610","1349966498"],"photo_ids_order":["1349966391","1349966442","1349966498","1349966551","1349966610","1349966668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec10285d59f8a3e26c8fb919d070eafe.jpg","text":"TemporaryFile(/tmp/multipartBody4693829254984642509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737725598,"filename":"image_14042025_13_55_11_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bef380c615bc964305fbc8a650c909e0.jpg","text":"TemporaryFile(/tmp/multipartBody7856368700061872333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737725598,"filename":"image_14042025_13_55_02_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4fbc17c3fc4f959d8a48e0213053ad89.jpg","text":"TemporaryFile(/tmp/multipartBody8151668747381270241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737725598,"filename":"image_14042025_13_54_55_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7fdd7ccc88f623e87e568edf4fb42f0.jpg","text":"TemporaryFile(/tmp/multipartBody7408437257685848963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737725598,"filename":"image_14042025_13_54_53_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17f14ef0a16b075b6c747065d084e309.jpg","text":"TemporaryFile(/tmp/multipartBody3439430899261538335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737725598,"filename":"image_14042025_13_55_04_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67cff0e9798c4d99f0180547b1761721.jpg","text":"TemporaryFile(/tmp/multipartBody1887385046531282537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737725598,"filename":"image_14042025_13_54_58_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349966498","file1":"1349966442","file0":"1349966391","file4":"1349966610","file5":"1349966668","file3":"1349966551"},"map_files_photo_id_array":[{"photo_id":"1349966668","filename":"file5"},{"photo_id":"1349966498","filename":"file2"},{"photo_id":"1349966610","filename":"file4"},{"photo_id":"1349966442","filename":"file1"},{"photo_id":"1349966391","filename":"file0"},{"photo_id":"1349966551","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349966668":["hashtag1","hashtag2"]},{"1349966551":["hashtag1","hashtag2"]},{"1349966442":["hashtag1","hashtag2"]},{"1349966391":["hashtag1","hashtag2"]},{"1349966610":["hashtag1","hashtag2"]},{"1349966498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349966668, 1349966551, 1349966442, 1349966391, 1349966610, 1349966498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.774479150772095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:21:42.297900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_20_3697.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_22_2666.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_32_2725.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_41_3800.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_43_2728.jpg', '/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_49_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_20_3697.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_22_2666.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_32_2725.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_41_3800.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_43_2728.jpg
/home/pi/Desktop/images/14042025/13/55/image_14042025_13_55_49_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349967369","1349967270","1349967060","1349967167","1349966972","1349966867"],"photo_ids_order":["1349966867","1349966972","1349967060","1349967167","1349967270","1349967369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e1544f0b9fc296bf769af2f41f8035d.jpg","text":"TemporaryFile(/tmp/multipartBody8774739854243831995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737763683,"filename":"image_14042025_13_55_49_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6247d2fba2125ff95e8d76785f098cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3074216277695418072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737763683,"filename":"image_14042025_13_55_43_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63e3856df42e7b321abe2a655e9b6030.jpg","text":"TemporaryFile(/tmp/multipartBody8462224187076809224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737763683,"filename":"image_14042025_13_55_32_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de245041437102e43cb1e9dd30113a21.jpg","text":"TemporaryFile(/tmp/multipartBody7748363852735674926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737763683,"filename":"image_14042025_13_55_41_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8c3bd7c3babc274718c34bb22fb5be0.jpg","text":"TemporaryFile(/tmp/multipartBody7370300117893745202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737763683,"filename":"image_14042025_13_55_22_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a86dd44f1f1f4de16ce85bac3ef618a2.jpg","text":"TemporaryFile(/tmp/multipartBody3770863755564607994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737763683,"filename":"image_14042025_13_55_20_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349967060","file1":"1349966972","file0":"1349966867","file4":"1349967270","file5":"1349967369","file3":"1349967167"},"map_files_photo_id_array":[{"photo_id":"1349967369","filename":"file5"},{"photo_id":"1349967060","filename":"file2"},{"photo_id":"1349967270","filename":"file4"},{"photo_id":"1349966972","filename":"file1"},{"photo_id":"1349966867","filename":"file0"},{"photo_id":"1349967167","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349967369":["hashtag1","hashtag2"]},{"1349967270":["hashtag1","hashtag2"]},{"1349967060":["hashtag1","hashtag2"]},{"1349967167":["hashtag1","hashtag2"]},{"1349966972":["hashtag1","hashtag2"]},{"1349966867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349967369, 1349967270, 1349967060, 1349967167, 1349966972, 1349966867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.856616735458374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:22:23.418572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/18/42/image_15042025_18_42_15_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/18/42/image_15042025_18_42_15_2555.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349967611"],"photo_id":"1349967611","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c3c64d33b1e806f414d5dba3f0bc41f.jpg","text":"TemporaryFile(/tmp/multipartBody550155635099473261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737803944,"filename":"image_15042025_18_42_15_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349967611"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349967611"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.747105598449707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:22:43.396705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_04_2634.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_11_3676.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_25_2690.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_28_2698.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_34_2580.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_37_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_04_2634.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_11_3676.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_25_2690.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_28_2698.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_34_2580.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_37_2785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349967798","1349967948","1349968010","1349968007","1349968000","1349967853"],"photo_ids_order":["1349967798","1349967853","1349967948","1349968000","1349968007","1349968010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90630504d0676cd31c9b466cc6c53a4c.jpg","text":"TemporaryFile(/tmp/multipartBody1706634306640696697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737824758,"filename":"image_14042025_13_56_04_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7139980271728739fe7434d0a21d77d1.jpg","text":"TemporaryFile(/tmp/multipartBody5426890473046584549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737824758,"filename":"image_14042025_13_56_25_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2027e116a72a3271d6ac4cca3d75c441.jpg","text":"TemporaryFile(/tmp/multipartBody751528937251146659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737824758,"filename":"image_14042025_13_56_37_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0acaa945cfb788d328d595374564e0e0.jpg","text":"TemporaryFile(/tmp/multipartBody7718602965786709501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737824758,"filename":"image_14042025_13_56_34_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60a30193ac68f2999f180075e8cbda5b.jpg","text":"TemporaryFile(/tmp/multipartBody971860273928035033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737824758,"filename":"image_14042025_13_56_28_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15c7e385b4029fe4a6dde8b148a083da.jpg","text":"TemporaryFile(/tmp/multipartBody9022238372900774967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737824758,"filename":"image_14042025_13_56_11_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349967948","file1":"1349967853","file0":"1349967798","file4":"1349968007","file5":"1349968010","file3":"1349968000"},"map_files_photo_id_array":[{"photo_id":"1349968010","filename":"file5"},{"photo_id":"1349967948","filename":"file2"},{"photo_id":"1349968007","filename":"file4"},{"photo_id":"1349967853","filename":"file1"},{"photo_id":"1349967798","filename":"file0"},{"photo_id":"1349968000","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349967798":["hashtag1","hashtag2"]},{"1349967948":["hashtag1","hashtag2"]},{"1349968010":["hashtag1","hashtag2"]},{"1349968007":["hashtag1","hashtag2"]},{"1349968000":["hashtag1","hashtag2"]},{"1349967853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349967798, 1349967948, 1349968010, 1349968007, 1349968000, 1349967853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.98806118965149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:23:42.794442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_47_3671.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_49_2731.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_52_2529.jpg', '/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_56_3650.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_01_2771.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_04_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_47_3671.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_49_2731.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_52_2529.jpg
/home/pi/Desktop/images/14042025/13/56/image_14042025_13_56_56_3650.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_01_2771.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_04_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349968131","1349968101","1349968067","1349968037","1349968031","1349968025"],"photo_ids_order":["1349968025","1349968031","1349968037","1349968067","1349968101","1349968131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a954b55e0a548dc9111d28f26dd6536f.jpg","text":"TemporaryFile(/tmp/multipartBody1995796946108645194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737884189,"filename":"image_14042025_13_57_04_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e42b6acdb4c5107f8d298331aecb7f6.jpg","text":"TemporaryFile(/tmp/multipartBody5823289146313930700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737884189,"filename":"image_14042025_13_57_01_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d4f6f59a44d41524328b60bb2b47dd1.jpg","text":"TemporaryFile(/tmp/multipartBody8189569219518249459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737884189,"filename":"image_14042025_13_56_56_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f71aacfeeeec0b5a1ec827b3c248fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2686173215258169955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737884189,"filename":"image_14042025_13_56_52_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54abe09bfae920fb494235b375fe9458.jpg","text":"TemporaryFile(/tmp/multipartBody4591449814804267081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737884189,"filename":"image_14042025_13_56_49_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71267b4d8eb76fc84fe162117589a4e3.jpg","text":"TemporaryFile(/tmp/multipartBody1788729453916128831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737884189,"filename":"image_14042025_13_56_47_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349968037","file1":"1349968031","file0":"1349968025","file4":"1349968101","file5":"1349968131","file3":"1349968067"},"map_files_photo_id_array":[{"photo_id":"1349968131","filename":"file5"},{"photo_id":"1349968037","filename":"file2"},{"photo_id":"1349968101","filename":"file4"},{"photo_id":"1349968031","filename":"file1"},{"photo_id":"1349968025","filename":"file0"},{"photo_id":"1349968067","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349968131":["hashtag1","hashtag2"]},{"1349968101":["hashtag1","hashtag2"]},{"1349968067":["hashtag1","hashtag2"]},{"1349968037":["hashtag1","hashtag2"]},{"1349968031":["hashtag1","hashtag2"]},{"1349968025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349968131, 1349968101, 1349968067, 1349968037, 1349968031, 1349968025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75664496421814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:24:22.506172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_10_2836.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_16_2847.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_28_2813.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_31_3559.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_37_3693.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_43_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_10_2836.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_16_2847.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_28_2813.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_31_3559.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_37_3693.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_43_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349968365","1349968475","1349968594","1349968304","1349968537","1349968417"],"photo_ids_order":["1349968304","1349968365","1349968417","1349968475","1349968537","1349968594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63e97ebf747432a2d828155c30c248c5.jpg","text":"TemporaryFile(/tmp/multipartBody7242177798502815575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737925688,"filename":"image_14042025_13_57_16_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f4b9492f5a8a656d1f8e1f592fd5134.jpg","text":"TemporaryFile(/tmp/multipartBody1834716670865418087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737925688,"filename":"image_14042025_13_57_31_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec61a22f16ef15e9e340c1c179af68de.jpg","text":"TemporaryFile(/tmp/multipartBody4911930772174352161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737925688,"filename":"image_14042025_13_57_43_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/823d167ab9a7b7f5825a04cf2af38896.jpg","text":"TemporaryFile(/tmp/multipartBody3085691225356406180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737925688,"filename":"image_14042025_13_57_10_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16f6559a7193527daa3e35ce17680985.jpg","text":"TemporaryFile(/tmp/multipartBody7424929078000653187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737925688,"filename":"image_14042025_13_57_37_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e344a825b4b6f39f2a99d8021e69e80.jpg","text":"TemporaryFile(/tmp/multipartBody7797518995182834265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737925688,"filename":"image_14042025_13_57_28_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349968417","file1":"1349968365","file0":"1349968304","file4":"1349968537","file5":"1349968594","file3":"1349968475"},"map_files_photo_id_array":[{"photo_id":"1349968594","filename":"file5"},{"photo_id":"1349968417","filename":"file2"},{"photo_id":"1349968537","filename":"file4"},{"photo_id":"1349968365","filename":"file1"},{"photo_id":"1349968304","filename":"file0"},{"photo_id":"1349968475","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349968365":["hashtag1","hashtag2"]},{"1349968475":["hashtag1","hashtag2"]},{"1349968594":["hashtag1","hashtag2"]},{"1349968304":["hashtag1","hashtag2"]},{"1349968537":["hashtag1","hashtag2"]},{"1349968417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349968365, 1349968475, 1349968594, 1349968304, 1349968537, 1349968417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74202561378479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:25:03.052156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_52_2608.jpg', '/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_58_2616.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_07_2538.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_13_2666.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_22_2771.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_34_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_52_2608.jpg
/home/pi/Desktop/images/14042025/13/57/image_14042025_13_57_58_2616.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_07_2538.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_13_2666.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_22_2771.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_34_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349968889","1349969036","1349968940","1349968795","1349968975","1349968837"],"photo_ids_order":["1349968795","1349968837","1349968889","1349968940","1349968975","1349969036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09bb379836bc0d55e5e26cb33816e6dc.jpg","text":"TemporaryFile(/tmp/multipartBody8162535232005675042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737965615,"filename":"image_14042025_13_58_07_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bec1221b29210f6cc2e3f384b50cea3f.jpg","text":"TemporaryFile(/tmp/multipartBody5504112008465913784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737965615,"filename":"image_14042025_13_58_34_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/954396b402523e8bdbb547bffdbc2813.jpg","text":"TemporaryFile(/tmp/multipartBody6313285252410258810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737965615,"filename":"image_14042025_13_58_13_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ddda7d0431e14ac9804eba7afbc41ef.jpg","text":"TemporaryFile(/tmp/multipartBody4518237093246051297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737965615,"filename":"image_14042025_13_57_52_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17f05f1768fe954bae68640d43c7b031.jpg","text":"TemporaryFile(/tmp/multipartBody6924313172721377161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737965615,"filename":"image_14042025_13_58_22_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e76714531be636d142a09827d8170154.jpg","text":"TemporaryFile(/tmp/multipartBody6972948229670955697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744737965615,"filename":"image_14042025_13_57_58_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349968889","file1":"1349968837","file0":"1349968795","file4":"1349968975","file5":"1349969036","file3":"1349968940"},"map_files_photo_id_array":[{"photo_id":"1349969036","filename":"file5"},{"photo_id":"1349968889","filename":"file2"},{"photo_id":"1349968975","filename":"file4"},{"photo_id":"1349968837","filename":"file1"},{"photo_id":"1349968795","filename":"file0"},{"photo_id":"1349968940","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349968889":["hashtag1","hashtag2"]},{"1349969036":["hashtag1","hashtag2"]},{"1349968940":["hashtag1","hashtag2"]},{"1349968795":["hashtag1","hashtag2"]},{"1349968975":["hashtag1","hashtag2"]},{"1349968837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349968889, 1349969036, 1349968940, 1349968795, 1349968975, 1349968837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.423381328582764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:26:03.123962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_52_2604.jpg', '/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_58_2604.jpg', '/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_43_2695.jpg', '/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_46_3636.jpg', '/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_58_2748.jpg', '/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_17_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_52_2604.jpg
/home/pi/Desktop/images/14042025/13/58/image_14042025_13_58_58_2604.jpg
/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_43_2695.jpg
/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_46_3636.jpg
/home/pi/Desktop/images/14042025/13/59/image_14042025_13_59_58_2748.jpg
/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_17_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349969532","1349969762","1349969732","1349969644","1349969685","1349969595"],"photo_ids_order":["1349969532","1349969595","1349969644","1349969685","1349969732","1349969762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2a5f5d57b6cd1b9ce1c6b473fdf068c.jpg","text":"TemporaryFile(/tmp/multipartBody7731275614242727505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738025526,"filename":"image_14042025_13_58_52_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ae0dce6a5b4bd963c91c8b8a22494d9.jpg","text":"TemporaryFile(/tmp/multipartBody3232056053343208847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738025526,"filename":"image_14042025_14_00_17_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/157816ed770abde9694dbf5da21a2777.jpg","text":"TemporaryFile(/tmp/multipartBody1480579330701258330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738025526,"filename":"image_14042025_13_59_58_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/294a6faaba31728589d149efed83bcfc.jpg","text":"TemporaryFile(/tmp/multipartBody6423784677023643073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738025526,"filename":"image_14042025_13_59_43_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bcad0b9294ceaf192a02e69a622d4ae.jpg","text":"TemporaryFile(/tmp/multipartBody2670561537823715350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738025526,"filename":"image_14042025_13_59_46_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/815bd82672e28638748b56bdcb3247e3.jpg","text":"TemporaryFile(/tmp/multipartBody5361210842794214466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738025526,"filename":"image_14042025_13_58_58_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349969644","file1":"1349969595","file0":"1349969532","file4":"1349969732","file5":"1349969762","file3":"1349969685"},"map_files_photo_id_array":[{"photo_id":"1349969762","filename":"file5"},{"photo_id":"1349969644","filename":"file2"},{"photo_id":"1349969732","filename":"file4"},{"photo_id":"1349969595","filename":"file1"},{"photo_id":"1349969532","filename":"file0"},{"photo_id":"1349969685","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349969532":["hashtag1","hashtag2"]},{"1349969762":["hashtag1","hashtag2"]},{"1349969732":["hashtag1","hashtag2"]},{"1349969644":["hashtag1","hashtag2"]},{"1349969685":["hashtag1","hashtag2"]},{"1349969595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349969532, 1349969762, 1349969732, 1349969644, 1349969685, 1349969595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.662209272384644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:26:42.386177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_35_2642.jpg', '/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_53_2610.jpg', '/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_57_3718.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_02_2604.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_08_2731.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_11_2879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_35_2642.jpg
/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_53_2610.jpg
/home/pi/Desktop/images/14042025/14/00/image_14042025_14_00_57_3718.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_02_2604.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_08_2731.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_11_2879.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349969999","1349970165","1349970054","1349969945","1349970105","1349969889"],"photo_ids_order":["1349969889","1349969945","1349969999","1349970054","1349970105","1349970165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/664110bc87ba6c71b7c8e9dd6ea866c7.jpg","text":"TemporaryFile(/tmp/multipartBody8419566634161661478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738063760,"filename":"image_14042025_14_00_57_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7285369669dd4bd0435af76ee1ec7014.jpg","text":"TemporaryFile(/tmp/multipartBody6839910208263235001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738063760,"filename":"image_14042025_14_01_11_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/943f4e0cb5d154545985f086973e99ca.jpg","text":"TemporaryFile(/tmp/multipartBody6768187587081437710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738063760,"filename":"image_14042025_14_01_02_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/444405b09e9b122695a40ae93c93f251.jpg","text":"TemporaryFile(/tmp/multipartBody9108255091624483336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738063760,"filename":"image_14042025_14_00_53_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/999d3b9825fdd829c659429f207860fb.jpg","text":"TemporaryFile(/tmp/multipartBody4141355816495372911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738063760,"filename":"image_14042025_14_01_08_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23dfb978277f1241058d873682b5e079.jpg","text":"TemporaryFile(/tmp/multipartBody852334747938444944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738063760,"filename":"image_14042025_14_00_35_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349969999","file1":"1349969945","file0":"1349969889","file4":"1349970105","file5":"1349970165","file3":"1349970054"},"map_files_photo_id_array":[{"photo_id":"1349970165","filename":"file5"},{"photo_id":"1349969999","filename":"file2"},{"photo_id":"1349970105","filename":"file4"},{"photo_id":"1349969945","filename":"file1"},{"photo_id":"1349969889","filename":"file0"},{"photo_id":"1349970054","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349969999":["hashtag1","hashtag2"]},{"1349970165":["hashtag1","hashtag2"]},{"1349970054":["hashtag1","hashtag2"]},{"1349969945":["hashtag1","hashtag2"]},{"1349970105":["hashtag1","hashtag2"]},{"1349969889":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349969999, 1349970165, 1349970054, 1349969945, 1349970105, 1349969889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67793369293213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:27:22.175966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/22/image_15042025_19_22_45_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/22/image_15042025_19_22_45_2666.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349970408"],"photo_id":"1349970408","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59bc38ed504b672624f25d9b4f5b6743.jpg","text":"TemporaryFile(/tmp/multipartBody1043900661977674333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738102695,"filename":"image_15042025_19_22_45_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349970408"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349970408"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.06783413887024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:27:42.353096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_18_3722.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_20_2736.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_26_2722.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_30_3795.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_41_2592.jpg', '/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_50_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_18_3722.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_20_2736.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_26_2722.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_30_3795.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_41_2592.jpg
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_50_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349970801","1349970738","1349970866","1349971100","1349970929","1349971006"],"photo_ids_order":["1349970738","1349970801","1349970866","1349970929","1349971006","1349971100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4219e90d57f8e8f961f43017a5abd5e.jpg","text":"TemporaryFile(/tmp/multipartBody6168795641142767345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738123718,"filename":"image_14042025_14_01_20_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19cd5907afe429a3ffc2da8a7c10a534.jpg","text":"TemporaryFile(/tmp/multipartBody1592217240766263473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738123718,"filename":"image_14042025_14_01_18_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc23822a60f7ce8b686a42d2638fb3e3.jpg","text":"TemporaryFile(/tmp/multipartBody6262137916300923443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738123718,"filename":"image_14042025_14_01_26_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7c1d2fdfe7606304bf2ef89073a5959.jpg","text":"TemporaryFile(/tmp/multipartBody8586792634850352683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738123718,"filename":"image_14042025_14_01_50_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07b1e05a36588013094689a909c7546e.jpg","text":"TemporaryFile(/tmp/multipartBody6900850636498422081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738123718,"filename":"image_14042025_14_01_30_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/324d409b2e1627eb658bc5211e8ac370.jpg","text":"TemporaryFile(/tmp/multipartBody2959576478778791242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738123718,"filename":"image_14042025_14_01_41_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349970866","file1":"1349970801","file0":"1349970738","file4":"1349971006","file5":"1349971100","file3":"1349970929"},"map_files_photo_id_array":[{"photo_id":"1349971100","filename":"file5"},{"photo_id":"1349970866","filename":"file2"},{"photo_id":"1349971006","filename":"file4"},{"photo_id":"1349970801","filename":"file1"},{"photo_id":"1349970738","filename":"file0"},{"photo_id":"1349970929","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349970801":["hashtag1","hashtag2"]},{"1349970738":["hashtag1","hashtag2"]},{"1349970866":["hashtag1","hashtag2"]},{"1349971100":["hashtag1","hashtag2"]},{"1349970929":["hashtag1","hashtag2"]},{"1349971006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349970801, 1349970738, 1349970866, 1349971100, 1349970929, 1349971006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42238473892212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:28:22.163818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_56_2679.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_05_2510.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_09_3868.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_32_2628.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_35_3566.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_41_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/01/image_14042025_14_01_56_2679.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_05_2510.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_09_3868.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_32_2628.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_35_3566.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_41_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349971851","1349971556","1349971765","1349971444","1349971639","1349971705"],"photo_ids_order":["1349971444","1349971556","1349971639","1349971705","1349971765","1349971851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b84b5b8ce567812784580ab599a94eb.jpg","text":"TemporaryFile(/tmp/multipartBody9018448397189126388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738165354,"filename":"image_14042025_14_02_41_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d819f50af841efb447baced4f375950a.jpg","text":"TemporaryFile(/tmp/multipartBody8669655474371671271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738165354,"filename":"image_14042025_14_02_05_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/459c5cea3e8b69b7a4242b487a5fd59d.jpg","text":"TemporaryFile(/tmp/multipartBody1262546000483982503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738165354,"filename":"image_14042025_14_02_35_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c4dbd953ab04d5ef0405bb47170eb07.jpg","text":"TemporaryFile(/tmp/multipartBody1772428397617575631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738165354,"filename":"image_14042025_14_01_56_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/068dfdb6880ae2779cc8b0c766d5c71a.jpg","text":"TemporaryFile(/tmp/multipartBody658441884005073967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738165354,"filename":"image_14042025_14_02_09_3868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa6fd3719f5c322b1c9246c78c86df07.jpg","text":"TemporaryFile(/tmp/multipartBody1055141964863434960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738165354,"filename":"image_14042025_14_02_32_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349971639","file1":"1349971556","file0":"1349971444","file4":"1349971765","file5":"1349971851","file3":"1349971705"},"map_files_photo_id_array":[{"photo_id":"1349971851","filename":"file5"},{"photo_id":"1349971639","filename":"file2"},{"photo_id":"1349971765","filename":"file4"},{"photo_id":"1349971556","filename":"file1"},{"photo_id":"1349971444","filename":"file0"},{"photo_id":"1349971705","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349971851":["hashtag1","hashtag2"]},{"1349971556":["hashtag1","hashtag2"]},{"1349971765":["hashtag1","hashtag2"]},{"1349971444":["hashtag1","hashtag2"]},{"1349971639":["hashtag1","hashtag2"]},{"1349971705":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349971851, 1349971556, 1349971765, 1349971444, 1349971639, 1349971705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.178460121154785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:29:03.677489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_47_2654.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_53_3700.jpg', '/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_56_2604.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_02_3800.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_05_2690.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_08_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_47_2654.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_53_3700.jpg
/home/pi/Desktop/images/14042025/14/02/image_14042025_14_02_56_2604.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_02_3800.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_05_2690.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_08_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349972174","1349972156","1349972170","1349972131","1349972107","1349972166"],"photo_ids_order":["1349972107","1349972131","1349972156","1349972166","1349972170","1349972174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04071a8f7db07773a72b5cd2aba609b3.jpg","text":"TemporaryFile(/tmp/multipartBody7010946262770409164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738206190,"filename":"image_14042025_14_03_08_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/caf0962d41cb95a4f76fbabcc53dbff4.jpg","text":"TemporaryFile(/tmp/multipartBody6352373561919977425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738206190,"filename":"image_14042025_14_02_56_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6c987afe1b59a3317fc2aa493324205.jpg","text":"TemporaryFile(/tmp/multipartBody3869578890476691306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738206190,"filename":"image_14042025_14_03_05_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b424134728ede7ca7b604327677eee7e.jpg","text":"TemporaryFile(/tmp/multipartBody5912657155471920245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738206190,"filename":"image_14042025_14_02_53_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/391f57cd3e4eb0f846c8f09f5b22860b.jpg","text":"TemporaryFile(/tmp/multipartBody1372312497838114089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738206190,"filename":"image_14042025_14_02_47_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec55b04b3b6f6969330580aea8f4c317.jpg","text":"TemporaryFile(/tmp/multipartBody4098504934581840125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738206190,"filename":"image_14042025_14_03_02_3800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349972156","file1":"1349972131","file0":"1349972107","file4":"1349972170","file5":"1349972174","file3":"1349972166"},"map_files_photo_id_array":[{"photo_id":"1349972174","filename":"file5"},{"photo_id":"1349972156","filename":"file2"},{"photo_id":"1349972170","filename":"file4"},{"photo_id":"1349972131","filename":"file1"},{"photo_id":"1349972107","filename":"file0"},{"photo_id":"1349972166","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349972174":["hashtag1","hashtag2"]},{"1349972156":["hashtag1","hashtag2"]},{"1349972170":["hashtag1","hashtag2"]},{"1349972131":["hashtag1","hashtag2"]},{"1349972107":["hashtag1","hashtag2"]},{"1349972166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349972174, 1349972156, 1349972170, 1349972131, 1349972107, 1349972166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.637144804000854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:29:42.880081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_14_2593.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_20_3663.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_41_2669.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_44_2747.jpg', '/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_47_3546.jpg', '/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_08_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_14_2593.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_20_3663.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_41_2669.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_44_2747.jpg
/home/pi/Desktop/images/14042025/14/03/image_14042025_14_03_47_3546.jpg
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_08_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349972246","1349972300","1349972353","1349972503","1349972209","1349972418"],"photo_ids_order":["1349972209","1349972246","1349972300","1349972353","1349972418","1349972503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dfd179b84a00246c843759f944c6d798.jpg","text":"TemporaryFile(/tmp/multipartBody9148149368798418137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738244265,"filename":"image_14042025_14_03_20_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0736cc8d9f75af19f22fc7de91c012c7.jpg","text":"TemporaryFile(/tmp/multipartBody6109420690530003176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738244265,"filename":"image_14042025_14_03_41_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe01c3cf7b98ab3592a884bf1b8a8a93.jpg","text":"TemporaryFile(/tmp/multipartBody4650163761195708555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738244265,"filename":"image_14042025_14_03_44_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/847e92bd07a95ba82ce93620af1faf6b.jpg","text":"TemporaryFile(/tmp/multipartBody8527876395362763613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738244265,"filename":"image_14042025_14_04_08_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a176c2e533a5e310c7b3255f1c4de592.jpg","text":"TemporaryFile(/tmp/multipartBody8712257645866302607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738244265,"filename":"image_14042025_14_03_14_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ab1fc4339da114ee44b0b422339feb8.jpg","text":"TemporaryFile(/tmp/multipartBody4877435496778904607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738244265,"filename":"image_14042025_14_03_47_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349972300","file1":"1349972246","file0":"1349972209","file4":"1349972418","file5":"1349972503","file3":"1349972353"},"map_files_photo_id_array":[{"photo_id":"1349972503","filename":"file5"},{"photo_id":"1349972300","filename":"file2"},{"photo_id":"1349972418","filename":"file4"},{"photo_id":"1349972246","filename":"file1"},{"photo_id":"1349972209","filename":"file0"},{"photo_id":"1349972353","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349972246":["hashtag1","hashtag2"]},{"1349972300":["hashtag1","hashtag2"]},{"1349972353":["hashtag1","hashtag2"]},{"1349972503":["hashtag1","hashtag2"]},{"1349972209":["hashtag1","hashtag2"]},{"1349972418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349972246, 1349972300, 1349972353, 1349972503, 1349972209, 1349972418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91726636886597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:30:42.295046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_11_3589.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_29_3662.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_53_2679.jpg', '/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_59_3574.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_02_2638.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_04_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/04/image_14042025_14_04_11_3589.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_29_3662.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_53_2679.jpg
/home/pi/Desktop/images/14042025/14/05/image_14042025_14_05_59_3574.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_02_2638.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_04_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349972711","1349972884","1349972854","1349972821","1349972743","1349972780"],"photo_ids_order":["1349972711","1349972743","1349972780","1349972821","1349972854","1349972884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd4e9a26080ceaccc9ff83208410fd63.jpg","text":"TemporaryFile(/tmp/multipartBody4325221224513610032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738303644,"filename":"image_14042025_14_04_11_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f19160a11d5f649a7854223d63c62dee.jpg","text":"TemporaryFile(/tmp/multipartBody8612664778657786125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738303644,"filename":"image_14042025_14_06_04_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9839b2c9c85f80375c6a60ca44fda8d0.jpg","text":"TemporaryFile(/tmp/multipartBody4125431511828214668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738303644,"filename":"image_14042025_14_06_02_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f42fc170c1e6d06a20807eb619fae36.jpg","text":"TemporaryFile(/tmp/multipartBody8986794398744598851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738303644,"filename":"image_14042025_14_05_59_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33eafc5ac4b3791e19686e0ec15c4f76.jpg","text":"TemporaryFile(/tmp/multipartBody2122421049125584838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738303644,"filename":"image_14042025_14_05_29_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bb3c5a806e34d9f44dbd640fc0436ec.jpg","text":"TemporaryFile(/tmp/multipartBody8150699785331645139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738303644,"filename":"image_14042025_14_05_53_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349972780","file1":"1349972743","file0":"1349972711","file4":"1349972854","file5":"1349972884","file3":"1349972821"},"map_files_photo_id_array":[{"photo_id":"1349972884","filename":"file5"},{"photo_id":"1349972780","filename":"file2"},{"photo_id":"1349972854","filename":"file4"},{"photo_id":"1349972743","filename":"file1"},{"photo_id":"1349972711","filename":"file0"},{"photo_id":"1349972821","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349972711":["hashtag1","hashtag2"]},{"1349972884":["hashtag1","hashtag2"]},{"1349972854":["hashtag1","hashtag2"]},{"1349972821":["hashtag1","hashtag2"]},{"1349972743":["hashtag1","hashtag2"]},{"1349972780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349972711, 1349972884, 1349972854, 1349972821, 1349972743, 1349972780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46370196342468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:31:22.480739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_08_3534.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_11_2638.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_13_2876.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_17_3718.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_35_3587.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_38_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_08_3534.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_11_2638.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_13_2876.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_17_3718.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_35_3587.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_38_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349973145","1349973241","1349972962","1349973069","1349973015","1349973353"],"photo_ids_order":["1349972962","1349973015","1349973069","1349973145","1349973241","1349973353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5215e058b1e5569d6d83112815527d8d.jpg","text":"TemporaryFile(/tmp/multipartBody653785002122572640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738345730,"filename":"image_14042025_14_06_17_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9aee68b0d4ef335bf0c364c5ec88ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7284789169771748072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738345730,"filename":"image_14042025_14_06_35_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce472afecbd90f26dd7e4fd5a5a0f04b.jpg","text":"TemporaryFile(/tmp/multipartBody5707623767458249837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738345730,"filename":"image_14042025_14_06_08_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cef8d6852e5f34aae76f59d305f8984.jpg","text":"TemporaryFile(/tmp/multipartBody2174897344302018832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738345730,"filename":"image_14042025_14_06_13_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3abcc0494c52bf1d710564617858ca1.jpg","text":"TemporaryFile(/tmp/multipartBody6807024061953268955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738345730,"filename":"image_14042025_14_06_11_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3a56a5fa5424f179f992c1a328da918.jpg","text":"TemporaryFile(/tmp/multipartBody4387676848971482250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738345730,"filename":"image_14042025_14_06_38_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349973069","file1":"1349973015","file0":"1349972962","file4":"1349973241","file5":"1349973353","file3":"1349973145"},"map_files_photo_id_array":[{"photo_id":"1349973353","filename":"file5"},{"photo_id":"1349973069","filename":"file2"},{"photo_id":"1349973241","filename":"file4"},{"photo_id":"1349973015","filename":"file1"},{"photo_id":"1349972962","filename":"file0"},{"photo_id":"1349973145","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349973145":["hashtag1","hashtag2"]},{"1349973241":["hashtag1","hashtag2"]},{"1349972962":["hashtag1","hashtag2"]},{"1349973069":["hashtag1","hashtag2"]},{"1349973015":["hashtag1","hashtag2"]},{"1349973353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349973145, 1349973241, 1349972962, 1349973069, 1349973015, 1349973353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.900617599487305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:32:22.451696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_44_3559.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_47_2670.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_49_2626.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_52_2839.jpg', '/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_56_3897.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_01_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_44_3559.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_47_2670.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_49_2626.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_52_2839.jpg
/home/pi/Desktop/images/14042025/14/06/image_14042025_14_06_56_3897.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_01_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349973733","1349973721","1349973703","1349973672","1349973654","1349973698"],"photo_ids_order":["1349973654","1349973672","1349973698","1349973703","1349973721","1349973733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09e1cce93c58aca5dd28ffb9d65bcd59.jpg","text":"TemporaryFile(/tmp/multipartBody580944675271711504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738405707,"filename":"image_14042025_14_07_01_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b87664d990264bde47d497b9cda0c29.jpg","text":"TemporaryFile(/tmp/multipartBody9119446425974236560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738405707,"filename":"image_14042025_14_06_56_3897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c971bb5b9b3dc58605cc866a605058af.jpg","text":"TemporaryFile(/tmp/multipartBody1911065729968253695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738405707,"filename":"image_14042025_14_06_52_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/319cd9079f09ad6ead231ca6c14fcd23.jpg","text":"TemporaryFile(/tmp/multipartBody6439714128450548961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738405707,"filename":"image_14042025_14_06_47_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06f356c4bf8a67302e2ebb5f546e1ff1.jpg","text":"TemporaryFile(/tmp/multipartBody981554996959222370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738405707,"filename":"image_14042025_14_06_44_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d97d5959653664fa976ca13201c1a56.jpg","text":"TemporaryFile(/tmp/multipartBody1780294663172379293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738405707,"filename":"image_14042025_14_06_49_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349973698","file1":"1349973672","file0":"1349973654","file4":"1349973721","file5":"1349973733","file3":"1349973703"},"map_files_photo_id_array":[{"photo_id":"1349973733","filename":"file5"},{"photo_id":"1349973698","filename":"file2"},{"photo_id":"1349973721","filename":"file4"},{"photo_id":"1349973672","filename":"file1"},{"photo_id":"1349973654","filename":"file0"},{"photo_id":"1349973703","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349973733":["hashtag1","hashtag2"]},{"1349973721":["hashtag1","hashtag2"]},{"1349973703":["hashtag1","hashtag2"]},{"1349973672":["hashtag1","hashtag2"]},{"1349973654":["hashtag1","hashtag2"]},{"1349973698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349973733, 1349973721, 1349973703, 1349973672, 1349973654, 1349973698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68060231208801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:33:02.878178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_05_3615.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_08_2688.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_10_2682.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_14_3565.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_17_2612.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_19_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_05_3615.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_08_2688.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_10_2682.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_14_3565.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_17_2612.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_19_2837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349973865","1349973835","1349973801","1349973767","1349974118","1349973920"],"photo_ids_order":["1349973767","1349973801","1349973835","1349973865","1349973920","1349974118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf00b4a09b4d35f3173bdcde8f5a1b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3246426794654236644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738445389,"filename":"image_14042025_14_07_14_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5be66fb9e2fae197b25ec902c09a8972.jpg","text":"TemporaryFile(/tmp/multipartBody3940335514429630615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738445389,"filename":"image_14042025_14_07_10_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02a50b22ad68124e28851536ee48c8bb.jpg","text":"TemporaryFile(/tmp/multipartBody8140015344886114560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738445389,"filename":"image_14042025_14_07_08_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/724459e049367be519b5838bc6b6a9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2752420195545927846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738445389,"filename":"image_14042025_14_07_05_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07e2af4f1c049c0f4d62b84c6fcd773a.jpg","text":"TemporaryFile(/tmp/multipartBody8055433920197728403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738445389,"filename":"image_14042025_14_07_19_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec9a9ccac62f80a93677e94c91fb107e.jpg","text":"TemporaryFile(/tmp/multipartBody3671009311377041281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738445389,"filename":"image_14042025_14_07_17_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349973835","file1":"1349973801","file0":"1349973767","file4":"1349973920","file5":"1349974118","file3":"1349973865"},"map_files_photo_id_array":[{"photo_id":"1349974118","filename":"file5"},{"photo_id":"1349973835","filename":"file2"},{"photo_id":"1349973920","filename":"file4"},{"photo_id":"1349973801","filename":"file1"},{"photo_id":"1349973767","filename":"file0"},{"photo_id":"1349973865","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349973865":["hashtag1","hashtag2"]},{"1349973835":["hashtag1","hashtag2"]},{"1349973801":["hashtag1","hashtag2"]},{"1349973767":["hashtag1","hashtag2"]},{"1349974118":["hashtag1","hashtag2"]},{"1349973920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349973865, 1349973835, 1349973801, 1349973767, 1349974118, 1349973920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.437551975250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:33:42.041066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/27/image_15042025_19_27_53_2619.jpg', '/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_12_2804.jpg', '/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_16_3744.jpg', '/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_37_3728.jpg', '/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_40_2818.jpg', '/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_42_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/27/image_15042025_19_27_53_2619.jpg
/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_12_2804.jpg
/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_16_3744.jpg
/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_37_3728.jpg
/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_40_2818.jpg
/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_42_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349974648","1349974593","1349974656","1349974563","1349974650","1349974626"],"photo_ids_order":["1349974563","1349974593","1349974626","1349974648","1349974650","1349974656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9603b0c160d095585ea4ec75f27f7ce5.jpg","text":"TemporaryFile(/tmp/multipartBody7910742517426244793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738482734,"filename":"image_15042025_19_33_37_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a02f93c17c584bf0f76187f340afeb2.jpg","text":"TemporaryFile(/tmp/multipartBody4464450033828982818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738482734,"filename":"image_15042025_19_33_12_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70a09b328a13b2b041c4dab41e99087b.jpg","text":"TemporaryFile(/tmp/multipartBody7308956018750923759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738482734,"filename":"image_15042025_19_33_42_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/280007e17ead1f5a07b37799d3fbb0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1758920407373184443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738482734,"filename":"image_15042025_19_27_53_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4917b98e76a6c07d190dd8487253ba97.jpg","text":"TemporaryFile(/tmp/multipartBody1606076052899854328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738482734,"filename":"image_15042025_19_33_40_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81e86c1506fd8edd760d44de135e1ff7.jpg","text":"TemporaryFile(/tmp/multipartBody801738368623729296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738482734,"filename":"image_15042025_19_33_16_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349974626","file1":"1349974593","file0":"1349974563","file4":"1349974650","file5":"1349974656","file3":"1349974648"},"map_files_photo_id_array":[{"photo_id":"1349974656","filename":"file5"},{"photo_id":"1349974626","filename":"file2"},{"photo_id":"1349974650","filename":"file4"},{"photo_id":"1349974593","filename":"file1"},{"photo_id":"1349974563","filename":"file0"},{"photo_id":"1349974648","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349974648":["hashtag1","hashtag2"]},{"1349974593":["hashtag1","hashtag2"]},{"1349974656":["hashtag1","hashtag2"]},{"1349974563":["hashtag1","hashtag2"]},{"1349974650":["hashtag1","hashtag2"]},{"1349974626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349974648, 1349974593, 1349974656, 1349974563, 1349974650, 1349974626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13200807571411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:34:22.612168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_46_3701.jpg', '/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_49_2625.jpg', '/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_52_2686.jpg', '/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_12_2715.jpg', '/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_25_3796.jpg', '/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_28_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_46_3701.jpg
/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_49_2625.jpg
/home/pi/Desktop/images/15042025/19/33/image_15042025_19_33_52_2686.jpg
/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_12_2715.jpg
/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_25_3796.jpg
/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_28_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975046","1349974689","1349974818","1349974676","1349974700","1349974681"],"photo_ids_order":["1349974676","1349974681","1349974689","1349974700","1349974818","1349975046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f32bef9cecb0d0426454c72740ca1473.jpg","text":"TemporaryFile(/tmp/multipartBody2646301566692551180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738523409,"filename":"image_15042025_19_34_28_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/563a1a19fa6a82dd054b1741a610fca8.jpg","text":"TemporaryFile(/tmp/multipartBody8953181347448839728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738523409,"filename":"image_15042025_19_33_52_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca19bd794a8e2b7b224206a3970fc96f.jpg","text":"TemporaryFile(/tmp/multipartBody6023754556394519694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738523409,"filename":"image_15042025_19_34_25_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e95b423ed537831ac604570f4f974fa8.jpg","text":"TemporaryFile(/tmp/multipartBody2618685793644055424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738523409,"filename":"image_15042025_19_33_46_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/138ecd0bac4a2b4a90cca6d09e79d062.jpg","text":"TemporaryFile(/tmp/multipartBody2538037654333832662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738523409,"filename":"image_15042025_19_34_12_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86d04e92304a95b4821802ee949c4324.jpg","text":"TemporaryFile(/tmp/multipartBody7357787345451717763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738523409,"filename":"image_15042025_19_33_49_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349974689","file1":"1349974681","file0":"1349974676","file4":"1349974818","file5":"1349975046","file3":"1349974700"},"map_files_photo_id_array":[{"photo_id":"1349975046","filename":"file5"},{"photo_id":"1349974689","filename":"file2"},{"photo_id":"1349974818","filename":"file4"},{"photo_id":"1349974681","filename":"file1"},{"photo_id":"1349974676","filename":"file0"},{"photo_id":"1349974700","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349975046":["hashtag1","hashtag2"]},{"1349974689":["hashtag1","hashtag2"]},{"1349974818":["hashtag1","hashtag2"]},{"1349974676":["hashtag1","hashtag2"]},{"1349974700":["hashtag1","hashtag2"]},{"1349974681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349975046, 1349974689, 1349974818, 1349974676, 1349974700, 1349974681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36733293533325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:35:02.785293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_40_3029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_40_3029.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975097"],"photo_id":"1349975097","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95c10533f0050171d4e3dfeedcdbac62.jpg","text":"TemporaryFile(/tmp/multipartBody1625679498346012126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738563510,"filename":"image_15042025_19_34_40_3029.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349975097"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349975097"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.7811598777771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:35:21.977947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_51_2560.jpg', '/home/pi/Desktop/images/15042025/19/35/image_15042025_19_35_09_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/34/image_15042025_19_34_51_2560.jpg
/home/pi/Desktop/images/15042025/19/35/image_15042025_19_35_09_2703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975269","1349975254"],"photo_ids_order":["1349975254","1349975269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d781eb082c406d9dae499eee6c313a1.jpg","text":"TemporaryFile(/tmp/multipartBody6049682726568412404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738582533,"filename":"image_15042025_19_35_09_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c5691878e559e4367f9ec56d5a6e9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2746143656683371051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738582533,"filename":"image_15042025_19_34_51_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349975269","file0":"1349975254"},"map_files_photo_id_array":[{"photo_id":"1349975269","filename":"file1"},{"photo_id":"1349975254","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349975269":["hashtag1","hashtag2"]},{"1349975254":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349975269, 1349975254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.842822790145874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:35:41.967348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_22_2826.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_29_2752.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_31_2680.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_35_3577.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_37_2360.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_41_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_22_2826.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_29_2752.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_31_2680.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_35_3577.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_37_2360.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_41_3748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975487","1349975286","1349975306","1349975281","1349975476","1349975290"],"photo_ids_order":["1349975281","1349975286","1349975290","1349975306","1349975476","1349975487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76e480917d44ed2ebd3325ff519afd25.jpg","text":"TemporaryFile(/tmp/multipartBody9219998696499040240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738603423,"filename":"image_14042025_14_07_41_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24dd64904f0e664662d988ba3fb97082.jpg","text":"TemporaryFile(/tmp/multipartBody9169677593835398730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738603423,"filename":"image_14042025_14_07_29_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c04235f5d70a7773847bacd81f70d8f8.jpg","text":"TemporaryFile(/tmp/multipartBody2553521726841218213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738603423,"filename":"image_14042025_14_07_35_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ad5824c32c264c08d24f28c6f8e4ed7.jpg","text":"TemporaryFile(/tmp/multipartBody5130735198704410719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738603423,"filename":"image_14042025_14_07_22_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94d38c827a0aebe373d3e799b3f01158.jpg","text":"TemporaryFile(/tmp/multipartBody7804331187608045298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738603423,"filename":"image_14042025_14_07_37_2360.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/284c850ed9ce17a005b3dde45fc5e86e.jpg","text":"TemporaryFile(/tmp/multipartBody6183240346005704255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738603423,"filename":"image_14042025_14_07_31_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349975290","file1":"1349975286","file0":"1349975281","file4":"1349975476","file5":"1349975487","file3":"1349975306"},"map_files_photo_id_array":[{"photo_id":"1349975487","filename":"file5"},{"photo_id":"1349975290","filename":"file2"},{"photo_id":"1349975476","filename":"file4"},{"photo_id":"1349975286","filename":"file1"},{"photo_id":"1349975281","filename":"file0"},{"photo_id":"1349975306","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349975487":["hashtag1","hashtag2"]},{"1349975286":["hashtag1","hashtag2"]},{"1349975306":["hashtag1","hashtag2"]},{"1349975281":["hashtag1","hashtag2"]},{"1349975476":["hashtag1","hashtag2"]},{"1349975290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349975487, 1349975286, 1349975306, 1349975281, 1349975476, 1349975290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40445065498352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:36:22.305942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/35/image_15042025_19_36_01_3562.jpg', '/home/pi/Desktop/images/15042025/19/36/image_15042025_19_36_10_3860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/35/image_15042025_19_36_01_3562.jpg
/home/pi/Desktop/images/15042025/19/36/image_15042025_19_36_10_3860.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975502","1349975507"],"photo_ids_order":["1349975502","1349975507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5246db1032d628d0460534ea50c08295.jpg","text":"TemporaryFile(/tmp/multipartBody2140400017924721578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738643015,"filename":"image_15042025_19_36_01_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14201d0e73ab2b497706c5582a8ee284.jpg","text":"TemporaryFile(/tmp/multipartBody3812287678238731285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738643015,"filename":"image_15042025_19_36_10_3860.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349975507","file0":"1349975502"},"map_files_photo_id_array":[{"photo_id":"1349975507","filename":"file1"},{"photo_id":"1349975502","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349975502":["hashtag1","hashtag2"]},{"1349975507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349975502, 1349975507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.008522510528564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:36:42.286439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_46_2557.jpg', '/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_50_3756.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_08_3644.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_13_2669.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_16_2643.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_20_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_46_2557.jpg
/home/pi/Desktop/images/14042025/14/07/image_14042025_14_07_50_3756.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_08_3644.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_13_2669.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_16_2643.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_20_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975518","1349975553","1349975526","1349975558","1349975534","1349975539"],"photo_ids_order":["1349975518","1349975526","1349975534","1349975539","1349975553","1349975558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cc4aeb2446e4859d0743cd7cc0a6ae1.jpg","text":"TemporaryFile(/tmp/multipartBody2565060587090850319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738663747,"filename":"image_14042025_14_07_46_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dc0f95840cf0282c340b2fefbddc1d2.jpg","text":"TemporaryFile(/tmp/multipartBody4613855437985576368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738663747,"filename":"image_14042025_14_08_16_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0969df4cca2154790f67b9ec2fdd7586.jpg","text":"TemporaryFile(/tmp/multipartBody5034056602809739532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738663747,"filename":"image_14042025_14_07_50_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a577d837399e67ffea2fa76e9ec80f82.jpg","text":"TemporaryFile(/tmp/multipartBody3211947316965568675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738663747,"filename":"image_14042025_14_08_20_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b7f4925a23633e2715c403a5b0b63d2.jpg","text":"TemporaryFile(/tmp/multipartBody730520651930325697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738663747,"filename":"image_14042025_14_08_08_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f4f85c821038b279f45d0a5717c944f.jpg","text":"TemporaryFile(/tmp/multipartBody2932152620591981989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738663747,"filename":"image_14042025_14_08_13_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349975534","file1":"1349975526","file0":"1349975518","file4":"1349975553","file5":"1349975558","file3":"1349975539"},"map_files_photo_id_array":[{"photo_id":"1349975558","filename":"file5"},{"photo_id":"1349975534","filename":"file2"},{"photo_id":"1349975553","filename":"file4"},{"photo_id":"1349975526","filename":"file1"},{"photo_id":"1349975518","filename":"file0"},{"photo_id":"1349975539","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349975518":["hashtag1","hashtag2"]},{"1349975553":["hashtag1","hashtag2"]},{"1349975526":["hashtag1","hashtag2"]},{"1349975558":["hashtag1","hashtag2"]},{"1349975534":["hashtag1","hashtag2"]},{"1349975539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349975518, 1349975553, 1349975526, 1349975558, 1349975534, 1349975539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97862672805786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:37:22.788877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_22_2650.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_37_2791.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_41_3718.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_44_2990.jpg', '/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_47_2643.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_22_2650.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_37_2791.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_41_3718.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_44_2990.jpg
/home/pi/Desktop/images/14042025/14/08/image_14042025_14_08_47_2643.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_01_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975614","1349975608","1349975598","1349975619","1349975590","1349975587"],"photo_ids_order":["1349975587","1349975590","1349975598","1349975608","1349975614","1349975619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cd2aa958ccc77bc00b67525193e4712.jpg","text":"TemporaryFile(/tmp/multipartBody1980249838441755121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738705831,"filename":"image_14042025_14_08_47_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51ff4fd63b32f4790fc20dfc27f20481.jpg","text":"TemporaryFile(/tmp/multipartBody4391584599378794397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738705831,"filename":"image_14042025_14_08_44_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38ae12ec316ae70d69cb818a4abdd077.jpg","text":"TemporaryFile(/tmp/multipartBody4570185404205529912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738705831,"filename":"image_14042025_14_08_41_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/494982f6c60a7685fef48fdcd2472442.jpg","text":"TemporaryFile(/tmp/multipartBody7877582259895422563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738705831,"filename":"image_14042025_14_09_01_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e2908f646296a24d92e39d9199fc6b0.jpg","text":"TemporaryFile(/tmp/multipartBody6373141639857868888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738705831,"filename":"image_14042025_14_08_37_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3658b7b48b59a399e896524ed7cf1792.jpg","text":"TemporaryFile(/tmp/multipartBody5497262971575842491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738705831,"filename":"image_14042025_14_08_22_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349975598","file1":"1349975590","file0":"1349975587","file4":"1349975614","file5":"1349975619","file3":"1349975608"},"map_files_photo_id_array":[{"photo_id":"1349975619","filename":"file5"},{"photo_id":"1349975598","filename":"file2"},{"photo_id":"1349975614","filename":"file4"},{"photo_id":"1349975590","filename":"file1"},{"photo_id":"1349975587","filename":"file0"},{"photo_id":"1349975608","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349975614":["hashtag1","hashtag2"]},{"1349975608":["hashtag1","hashtag2"]},{"1349975598":["hashtag1","hashtag2"]},{"1349975619":["hashtag1","hashtag2"]},{"1349975590":["hashtag1","hashtag2"]},{"1349975587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349975614, 1349975608, 1349975598, 1349975619, 1349975590, 1349975587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5939359664917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:38:02.436719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_10_2607.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_19_2921.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_31_2766.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_35_3658.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_44_3756.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_47_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_10_2607.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_19_2921.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_31_2766.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_35_3658.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_44_3756.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_47_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975685","1349975694","1349975748","1349975744","1349975714","1349975674"],"photo_ids_order":["1349975674","1349975685","1349975694","1349975714","1349975744","1349975748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9bb1f62625db3347fbd0749bd597656.jpg","text":"TemporaryFile(/tmp/multipartBody2866280374546734527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738744867,"filename":"image_14042025_14_09_19_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6c7c3a065c25f731a25a7655b04dcf6.jpg","text":"TemporaryFile(/tmp/multipartBody1370439143023380309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738744867,"filename":"image_14042025_14_09_31_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/060a6980e722fdfb981d21557d1a541c.jpg","text":"TemporaryFile(/tmp/multipartBody586451182189824011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738744867,"filename":"image_14042025_14_09_47_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e38c2bde9f10fe6ec869d6ddc0c85a6f.jpg","text":"TemporaryFile(/tmp/multipartBody8420186667093983283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738744867,"filename":"image_14042025_14_09_44_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a1f346cb1852c2a94ba032fece9b791.jpg","text":"TemporaryFile(/tmp/multipartBody7726116323247198159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738744867,"filename":"image_14042025_14_09_35_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a81aaa511dd929679d55a663d5e7a3a.jpg","text":"TemporaryFile(/tmp/multipartBody955997401750681591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738744867,"filename":"image_14042025_14_09_10_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349975694","file1":"1349975685","file0":"1349975674","file4":"1349975744","file5":"1349975748","file3":"1349975714"},"map_files_photo_id_array":[{"photo_id":"1349975748","filename":"file5"},{"photo_id":"1349975694","filename":"file2"},{"photo_id":"1349975744","filename":"file4"},{"photo_id":"1349975685","filename":"file1"},{"photo_id":"1349975674","filename":"file0"},{"photo_id":"1349975714","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349975685":["hashtag1","hashtag2"]},{"1349975694":["hashtag1","hashtag2"]},{"1349975748":["hashtag1","hashtag2"]},{"1349975744":["hashtag1","hashtag2"]},{"1349975714":["hashtag1","hashtag2"]},{"1349975674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349975685, 1349975694, 1349975748, 1349975744, 1349975714, 1349975674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27892088890076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:38:41.878735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/36/image_15042025_19_36_58_3788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/36/image_15042025_19_36_58_3788.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4653904438018799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:39:03.036216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/36/image_15042025_19_36_58_3788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/36/image_15042025_19_36_58_3788.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975773"],"photo_id":"1349975773","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af15e6614b9d7f9122381ec92e11179b.jpg","text":"TemporaryFile(/tmp/multipartBody2034432463334431297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738803839,"filename":"image_15042025_19_36_58_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349975773"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349975773"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.502810955047607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:39:21.991390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_49_2710.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_52_2732.jpg', '/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_56_3667.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_16_2681.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_20_3648.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_35_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_49_2710.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_52_2732.jpg
/home/pi/Desktop/images/14042025/14/09/image_14042025_14_09_56_3667.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_16_2681.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_20_3648.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_35_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975824","1349975809","1349975820","1349975838","1349975817","1349975815"],"photo_ids_order":["1349975809","1349975815","1349975817","1349975820","1349975824","1349975838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88a6cd7e428aef46f3f6f1dd7df27b74.jpg","text":"TemporaryFile(/tmp/multipartBody1603925526799353714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738824991,"filename":"image_14042025_14_10_20_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7c889588ae04813e4026b8c5497ddf9.jpg","text":"TemporaryFile(/tmp/multipartBody1297529060079658384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738824991,"filename":"image_14042025_14_09_49_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3fdf949c7e3aead277c6aff3bc1847c9.jpg","text":"TemporaryFile(/tmp/multipartBody7057379217907203965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738824991,"filename":"image_14042025_14_10_16_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26850b291ad673371a983fcdfb026ee5.jpg","text":"TemporaryFile(/tmp/multipartBody9145866885146744972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738824991,"filename":"image_14042025_14_10_35_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82cb713eb96be2492614e6dbfce03c9c.jpg","text":"TemporaryFile(/tmp/multipartBody8859002283927384751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738824991,"filename":"image_14042025_14_09_56_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53885c3cec034e21109cd71780c7ca02.jpg","text":"TemporaryFile(/tmp/multipartBody1362554668053448967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738824991,"filename":"image_14042025_14_09_52_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349975817","file1":"1349975815","file0":"1349975809","file4":"1349975824","file5":"1349975838","file3":"1349975820"},"map_files_photo_id_array":[{"photo_id":"1349975838","filename":"file5"},{"photo_id":"1349975817","filename":"file2"},{"photo_id":"1349975824","filename":"file4"},{"photo_id":"1349975815","filename":"file1"},{"photo_id":"1349975809","filename":"file0"},{"photo_id":"1349975820","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349975824":["hashtag1","hashtag2"]},{"1349975809":["hashtag1","hashtag2"]},{"1349975820":["hashtag1","hashtag2"]},{"1349975838":["hashtag1","hashtag2"]},{"1349975817":["hashtag1","hashtag2"]},{"1349975815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349975824, 1349975809, 1349975820, 1349975838, 1349975817, 1349975815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42630743980408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:40:03.108947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_37_2616.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_47_3696.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_49_2685.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_52_2721.jpg', '/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_58_2679.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_05_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_37_2616.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_47_3696.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_49_2685.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_52_2721.jpg
/home/pi/Desktop/images/14042025/14/10/image_14042025_14_10_58_2679.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_05_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349975973","1349976012","1349976146","1349976074","1349976109","1349975941"],"photo_ids_order":["1349975941","1349975973","1349976012","1349976074","1349976109","1349976146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d436ee6aab336a250f2b35c2600a48a9.jpg","text":"TemporaryFile(/tmp/multipartBody5920829145467328520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738865529,"filename":"image_14042025_14_10_47_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2717e62b2ea1a17a29636da6818c5d8c.jpg","text":"TemporaryFile(/tmp/multipartBody6339025421279413609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738865529,"filename":"image_14042025_14_10_49_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/654ff0b8569e7237ed00dcb9adb6179b.jpg","text":"TemporaryFile(/tmp/multipartBody525164107669431380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738865529,"filename":"image_14042025_14_11_05_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84f6829ec338ab5fd5d010e885723c3b.jpg","text":"TemporaryFile(/tmp/multipartBody101146306973018045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738865529,"filename":"image_14042025_14_10_52_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8572166451a90ad8aa2602c59c42d930.jpg","text":"TemporaryFile(/tmp/multipartBody9128399626115580019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738865529,"filename":"image_14042025_14_10_58_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f8c378381b7bf119373c89f163cf661.jpg","text":"TemporaryFile(/tmp/multipartBody7111642783749148008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738865529,"filename":"image_14042025_14_10_37_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349976012","file1":"1349975973","file0":"1349975941","file4":"1349976109","file5":"1349976146","file3":"1349976074"},"map_files_photo_id_array":[{"photo_id":"1349976146","filename":"file5"},{"photo_id":"1349976012","filename":"file2"},{"photo_id":"1349976109","filename":"file4"},{"photo_id":"1349975973","filename":"file1"},{"photo_id":"1349975941","filename":"file0"},{"photo_id":"1349976074","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349975973":["hashtag1","hashtag2"]},{"1349976012":["hashtag1","hashtag2"]},{"1349976146":["hashtag1","hashtag2"]},{"1349976074":["hashtag1","hashtag2"]},{"1349976109":["hashtag1","hashtag2"]},{"1349975941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349975973, 1349976012, 1349976146, 1349976074, 1349976109, 1349975941)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.74954843521118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:41:06.345983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:41:25.666462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/38/image_15042025_19_38_12_2768.jpg', '/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_15_3685.jpg', '/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_18_2682.jpg', '/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_21_2572.jpg', '/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_24_3617.jpg', '/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_39_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/38/image_15042025_19_38_12_2768.jpg
/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_15_3685.jpg
/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_18_2682.jpg
/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_21_2572.jpg
/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_24_3617.jpg
/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_39_2803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349976447","1349976402","1349976426","1349976374","1349976436","1349976412"],"photo_ids_order":["1349976374","1349976402","1349976412","1349976426","1349976436","1349976447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc0830ea1fdc8dfdda14cb6594957d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2312381949583435403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738947543,"filename":"image_15042025_19_40_39_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7137ed4584fb4ec5330d4210eb729c55.jpg","text":"TemporaryFile(/tmp/multipartBody5013136646568036881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738947543,"filename":"image_15042025_19_40_15_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/283a8c94eac8385103942d17092996b6.jpg","text":"TemporaryFile(/tmp/multipartBody489235274006244423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738947543,"filename":"image_15042025_19_40_21_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c1f3ae0443e9935cb0f0658cffb7f41.jpg","text":"TemporaryFile(/tmp/multipartBody6506277950357687296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738947543,"filename":"image_15042025_19_38_12_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ff8aa2ca1562b1bc5de24949701742b.jpg","text":"TemporaryFile(/tmp/multipartBody6123894501485296696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738947543,"filename":"image_15042025_19_40_24_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/803eddd7d63935d8a5379a3d30d67dd6.jpg","text":"TemporaryFile(/tmp/multipartBody7044943126479006991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744738947543,"filename":"image_15042025_19_40_18_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349976412","file1":"1349976402","file0":"1349976374","file4":"1349976436","file5":"1349976447","file3":"1349976426"},"map_files_photo_id_array":[{"photo_id":"1349976447","filename":"file5"},{"photo_id":"1349976412","filename":"file2"},{"photo_id":"1349976436","filename":"file4"},{"photo_id":"1349976402","filename":"file1"},{"photo_id":"1349976374","filename":"file0"},{"photo_id":"1349976426","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349976447":["hashtag1","hashtag2"]},{"1349976402":["hashtag1","hashtag2"]},{"1349976426":["hashtag1","hashtag2"]},{"1349976374":["hashtag1","hashtag2"]},{"1349976436":["hashtag1","hashtag2"]},{"1349976412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349976447, 1349976402, 1349976426, 1349976374, 1349976436, 1349976412)","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 = 1349976412 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/15042025/19/40/image_15042025_19_40_18_2682.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.206544160842896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:42:42.266394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/40/image_15042025_19_41_00_2720.jpg', '/home/pi/Desktop/images/15042025/19/41/image_15042025_19_41_24_2628.jpg', '/home/pi/Desktop/images/15042025/19/41/image_15042025_19_41_34_1733.jpg', '/home/pi/Desktop/images/15042025/19/41/image_15042025_19_41_39_2725.jpg', '/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_12_6798.jpg', '/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_14_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/40/image_15042025_19_41_00_2720.jpg
/home/pi/Desktop/images/15042025/19/41/image_15042025_19_41_24_2628.jpg
/home/pi/Desktop/images/15042025/19/41/image_15042025_19_41_34_1733.jpg
/home/pi/Desktop/images/15042025/19/41/image_15042025_19_41_39_2725.jpg
/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_12_6798.jpg
/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_14_1669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349977085","1349976965","1349976836","1349976704","1349976586","1349976517"],"photo_ids_order":["1349976517","1349976586","1349976704","1349976836","1349976965","1349977085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0660566f3fa84106e7bfcd2c0700de6.jpg","text":"TemporaryFile(/tmp/multipartBody102969665176582713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739022996,"filename":"image_15042025_19_42_14_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46d3df5085c3c93b9a22d142ced0d046.jpg","text":"TemporaryFile(/tmp/multipartBody3781173509896895844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739022996,"filename":"image_15042025_19_42_12_6798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7aaffdad2c962b890fa671ae2d198859.jpg","text":"TemporaryFile(/tmp/multipartBody9149137970612993315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739022996,"filename":"image_15042025_19_41_39_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5904105e93306d0c545c1651a4279fa4.jpg","text":"TemporaryFile(/tmp/multipartBody7124353050620276185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739022996,"filename":"image_15042025_19_41_34_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0eaa8af3a8ead2e7115e9c2f5430c92.jpg","text":"TemporaryFile(/tmp/multipartBody7812761654038291318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739022996,"filename":"image_15042025_19_41_24_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c374b5dd2c002e967bfded0e63a95df0.jpg","text":"TemporaryFile(/tmp/multipartBody3311669400571798640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739022996,"filename":"image_15042025_19_41_00_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349976704","file1":"1349976586","file0":"1349976517","file4":"1349976965","file5":"1349977085","file3":"1349976836"},"map_files_photo_id_array":[{"photo_id":"1349977085","filename":"file5"},{"photo_id":"1349976704","filename":"file2"},{"photo_id":"1349976965","filename":"file4"},{"photo_id":"1349976586","filename":"file1"},{"photo_id":"1349976517","filename":"file0"},{"photo_id":"1349976836","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349977085":["hashtag1","hashtag2"]},{"1349976965":["hashtag1","hashtag2"]},{"1349976836":["hashtag1","hashtag2"]},{"1349976704":["hashtag1","hashtag2"]},{"1349976586":["hashtag1","hashtag2"]},{"1349976517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349977085, 1349976965, 1349976836, 1349976704, 1349976586, 1349976517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44037485122681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:43:22.023806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_23_1586.jpg', '/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_32_2563.jpg', '/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_53_1647.jpg', '/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_03_2623.jpg', '/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_06_3550.jpg', '/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_36_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_23_1586.jpg
/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_32_2563.jpg
/home/pi/Desktop/images/15042025/19/42/image_15042025_19_42_53_1647.jpg
/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_03_2623.jpg
/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_06_3550.jpg
/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_36_2796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349977262","1349977241","1349977244","1349977238","1349977255","1349977248"],"photo_ids_order":["1349977238","1349977241","1349977244","1349977248","1349977255","1349977262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff9cd6e8f447b477e8be7995c19af4b3.jpg","text":"TemporaryFile(/tmp/multipartBody278011702676485796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739062700,"filename":"image_15042025_19_43_36_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee5bc62ad27fcee1f608b558aacbc54f.jpg","text":"TemporaryFile(/tmp/multipartBody3892299405902608542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739062700,"filename":"image_15042025_19_42_32_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcdcad5bbff57e7df911a71aaa815eea.jpg","text":"TemporaryFile(/tmp/multipartBody2992597404953235804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739062700,"filename":"image_15042025_19_42_53_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b58adc43b408543d4a75db21a932a909.jpg","text":"TemporaryFile(/tmp/multipartBody4908143552522007430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739062700,"filename":"image_15042025_19_42_23_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2421976dd15ecac9885d6b5059786dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3138439448424017489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739062700,"filename":"image_15042025_19_43_06_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7cbd74e5a97b8aebd06b0bb83b0a23a.jpg","text":"TemporaryFile(/tmp/multipartBody1409063609287304772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739062700,"filename":"image_15042025_19_43_03_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349977244","file1":"1349977241","file0":"1349977238","file4":"1349977255","file5":"1349977262","file3":"1349977248"},"map_files_photo_id_array":[{"photo_id":"1349977262","filename":"file5"},{"photo_id":"1349977244","filename":"file2"},{"photo_id":"1349977255","filename":"file4"},{"photo_id":"1349977241","filename":"file1"},{"photo_id":"1349977238","filename":"file0"},{"photo_id":"1349977248","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349977262":["hashtag1","hashtag2"]},{"1349977241":["hashtag1","hashtag2"]},{"1349977244":["hashtag1","hashtag2"]},{"1349977238":["hashtag1","hashtag2"]},{"1349977255":["hashtag1","hashtag2"]},{"1349977248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349977262, 1349977241, 1349977244, 1349977238, 1349977255, 1349977248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17771530151367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:44:02.708115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_42_3725.jpg', '/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_51_2935.jpg', '/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_54_2600.jpg', '/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_57_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_42_3725.jpg
/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_51_2935.jpg
/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_54_2600.jpg
/home/pi/Desktop/images/15042025/19/43/image_15042025_19_43_57_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349977515","1349977367","1349977435","1349977572"],"photo_ids_order":["1349977367","1349977435","1349977515","1349977572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99f407ef10b56307688553dde15ab31c.jpg","text":"TemporaryFile(/tmp/multipartBody6560873097607133797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739103553,"filename":"image_15042025_19_43_54_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc08b919d84b3915a96c4b9c7e4c401c.jpg","text":"TemporaryFile(/tmp/multipartBody2997348848751024348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739103553,"filename":"image_15042025_19_43_42_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e5e167856763c6c6723639fdadf5c66.jpg","text":"TemporaryFile(/tmp/multipartBody4530589852691594541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739103553,"filename":"image_15042025_19_43_51_2935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/439b1a78944c7f890bcd1026e7288d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1334223332673013713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739103553,"filename":"image_15042025_19_43_57_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349977515","file1":"1349977435","file0":"1349977367","file3":"1349977572"},"map_files_photo_id_array":[{"photo_id":"1349977515","filename":"file2"},{"photo_id":"1349977435","filename":"file1"},{"photo_id":"1349977367","filename":"file0"},{"photo_id":"1349977572","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349977515":["hashtag1","hashtag2"]},{"1349977367":["hashtag1","hashtag2"]},{"1349977435":["hashtag1","hashtag2"]},{"1349977572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349977515, 1349977367, 1349977435, 1349977572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.81565546989441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:44:41.932371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/43/image_15042025_19_44_00_2643.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_05_2704.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_09_3623.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_18_3561.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_21_2648.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_26_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/43/image_15042025_19_44_00_2643.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_05_2704.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_09_3623.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_18_3561.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_21_2648.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_26_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349978068","1349977960","1349977855","1349977918","1349977887","1349978016"],"photo_ids_order":["1349977855","1349977887","1349977918","1349977960","1349978016","1349978068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ccf1f159478f855aea6bfeb584b5c86.jpg","text":"TemporaryFile(/tmp/multipartBody2739257668373310196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739142658,"filename":"image_15042025_19_44_26_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eeb2f5295078646e8fb051ced1b0bbf1.jpg","text":"TemporaryFile(/tmp/multipartBody2067789741510699023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739142658,"filename":"image_15042025_19_44_18_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be1e2e60dc9cfcd0ccd19e59f00e5871.jpg","text":"TemporaryFile(/tmp/multipartBody1597796057985241214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739142658,"filename":"image_15042025_19_44_00_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/beaa328b78d516676820a957934c9fe3.jpg","text":"TemporaryFile(/tmp/multipartBody744852595190464268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739142658,"filename":"image_15042025_19_44_09_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dab573436a9c51646fc25d4461a77749.jpg","text":"TemporaryFile(/tmp/multipartBody372606437370091778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739142658,"filename":"image_15042025_19_44_05_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2195b6b0280b4dfb188a4248f5037039.jpg","text":"TemporaryFile(/tmp/multipartBody4356937190985697012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739142658,"filename":"image_15042025_19_44_21_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349977918","file1":"1349977887","file0":"1349977855","file4":"1349978016","file5":"1349978068","file3":"1349977960"},"map_files_photo_id_array":[{"photo_id":"1349978068","filename":"file5"},{"photo_id":"1349977918","filename":"file2"},{"photo_id":"1349978016","filename":"file4"},{"photo_id":"1349977887","filename":"file1"},{"photo_id":"1349977855","filename":"file0"},{"photo_id":"1349977960","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349978068":["hashtag1","hashtag2"]},{"1349977960":["hashtag1","hashtag2"]},{"1349977855":["hashtag1","hashtag2"]},{"1349977918":["hashtag1","hashtag2"]},{"1349977887":["hashtag1","hashtag2"]},{"1349978016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349978068, 1349977960, 1349977855, 1349977918, 1349977887, 1349978016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.011682748794556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:45:21.925090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_36_3634.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_48_3712.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_51_2648.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_53_2773.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_57_3769.jpg', '/home/pi/Desktop/images/15042025/19/44/image_15042025_19_45_00_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_36_3634.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_48_3712.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_51_2648.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_53_2773.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_44_57_3769.jpg
/home/pi/Desktop/images/15042025/19/44/image_15042025_19_45_00_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349978255","1349978528","1349978228","1349978201","1349978325","1349978462"],"photo_ids_order":["1349978201","1349978228","1349978255","1349978325","1349978462","1349978528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/381eb1dab1d5f51a55209985aa821445.jpg","text":"TemporaryFile(/tmp/multipartBody4423348982338469336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739182599,"filename":"image_15042025_19_44_51_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8bbd4499a914e82564fe9fa0803cf89a.jpg","text":"TemporaryFile(/tmp/multipartBody6345289441035121106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739182599,"filename":"image_15042025_19_45_00_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b9d92d8996fdcf9473b786858b80a15.jpg","text":"TemporaryFile(/tmp/multipartBody7404889304621338409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739182599,"filename":"image_15042025_19_44_48_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98f3cfea9cba9f6bc12ac6a022991325.jpg","text":"TemporaryFile(/tmp/multipartBody6529348439472518792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739182599,"filename":"image_15042025_19_44_36_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80f407a3c02d14840a776c9d72c04222.jpg","text":"TemporaryFile(/tmp/multipartBody3065067436837062336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739182599,"filename":"image_15042025_19_44_53_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e20a203bb6741417ec4934392525efc.jpg","text":"TemporaryFile(/tmp/multipartBody6758240644335118482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739182599,"filename":"image_15042025_19_44_57_3769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349978255","file1":"1349978228","file0":"1349978201","file4":"1349978462","file5":"1349978528","file3":"1349978325"},"map_files_photo_id_array":[{"photo_id":"1349978528","filename":"file5"},{"photo_id":"1349978255","filename":"file2"},{"photo_id":"1349978462","filename":"file4"},{"photo_id":"1349978228","filename":"file1"},{"photo_id":"1349978201","filename":"file0"},{"photo_id":"1349978325","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349978255":["hashtag1","hashtag2"]},{"1349978528":["hashtag1","hashtag2"]},{"1349978228":["hashtag1","hashtag2"]},{"1349978201":["hashtag1","hashtag2"]},{"1349978325":["hashtag1","hashtag2"]},{"1349978462":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349978255, 1349978528, 1349978228, 1349978201, 1349978325, 1349978462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.161412715911865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:46:03.147154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_03_2839.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_06_2637.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_12_3644.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_15_2748.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_17_2710.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_21_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_03_2839.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_06_2637.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_12_3644.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_15_2748.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_17_2710.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_21_3665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349978735","1349978746","1349978728","1349978743","1349978691","1349978660"],"photo_ids_order":["1349978660","1349978691","1349978728","1349978735","1349978743","1349978746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f92c3e6b5f5f15e5c9a5b481fabf2d56.jpg","text":"TemporaryFile(/tmp/multipartBody7279436268045195776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739223894,"filename":"image_15042025_19_45_15_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3b0f362a2057fa8f05aad40fe02ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody3824749483174899913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739223894,"filename":"image_15042025_19_45_21_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/adf3a2743ed1c55bce3d6f5fe3f3916b.jpg","text":"TemporaryFile(/tmp/multipartBody5700561860701524771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739223894,"filename":"image_15042025_19_45_12_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b0ee1d87ec8d0a19dd25e83c0696f4f.jpg","text":"TemporaryFile(/tmp/multipartBody2904118654926417250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739223894,"filename":"image_15042025_19_45_17_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3b33ce9f2d7182a706398d70d6ee326.jpg","text":"TemporaryFile(/tmp/multipartBody2120217684911794361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739223894,"filename":"image_15042025_19_45_06_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2663f899c3c351b4564d51e95d988949.jpg","text":"TemporaryFile(/tmp/multipartBody6504521978731356651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739223894,"filename":"image_15042025_19_45_03_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349978728","file1":"1349978691","file0":"1349978660","file4":"1349978743","file5":"1349978746","file3":"1349978735"},"map_files_photo_id_array":[{"photo_id":"1349978746","filename":"file5"},{"photo_id":"1349978728","filename":"file2"},{"photo_id":"1349978743","filename":"file4"},{"photo_id":"1349978691","filename":"file1"},{"photo_id":"1349978660","filename":"file0"},{"photo_id":"1349978735","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349978735":["hashtag1","hashtag2"]},{"1349978746":["hashtag1","hashtag2"]},{"1349978728":["hashtag1","hashtag2"]},{"1349978743":["hashtag1","hashtag2"]},{"1349978691":["hashtag1","hashtag2"]},{"1349978660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349978735, 1349978746, 1349978728, 1349978743, 1349978691, 1349978660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86505484580994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:46:42.575453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_24_2593.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_26_2806.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_29_2652.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_35_2672.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_39_3535.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_42_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_24_2593.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_26_2806.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_29_2652.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_35_2672.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_39_3535.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_42_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349978819","1349978770","1349978776","1349978781","1349978799","1349978790"],"photo_ids_order":["1349978770","1349978776","1349978781","1349978790","1349978799","1349978819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3aa089bf3136aba960b4a210a97bf12d.jpg","text":"TemporaryFile(/tmp/multipartBody6998661722738898764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739263253,"filename":"image_15042025_19_45_42_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64d022cadc8ccfcbece9dcab858bb733.jpg","text":"TemporaryFile(/tmp/multipartBody108819838459781922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739263253,"filename":"image_15042025_19_45_24_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3c2a0d1e6f0d8ce770cc7cea8d0e164.jpg","text":"TemporaryFile(/tmp/multipartBody277215901307746142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739263253,"filename":"image_15042025_19_45_26_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4aa4d1e017933cf445625a87fd9fd6b5.jpg","text":"TemporaryFile(/tmp/multipartBody3601357621944935032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739263253,"filename":"image_15042025_19_45_29_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1759eda5c902fdefa36958acc8a3e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1130542572956056567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739263253,"filename":"image_15042025_19_45_39_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a721d9cee5b3ffb966251ffad6b0dd37.jpg","text":"TemporaryFile(/tmp/multipartBody3270931964334463680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739263253,"filename":"image_15042025_19_45_35_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349978781","file1":"1349978776","file0":"1349978770","file4":"1349978799","file5":"1349978819","file3":"1349978790"},"map_files_photo_id_array":[{"photo_id":"1349978819","filename":"file5"},{"photo_id":"1349978781","filename":"file2"},{"photo_id":"1349978799","filename":"file4"},{"photo_id":"1349978776","filename":"file1"},{"photo_id":"1349978770","filename":"file0"},{"photo_id":"1349978790","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349978819":["hashtag1","hashtag2"]},{"1349978770":["hashtag1","hashtag2"]},{"1349978776":["hashtag1","hashtag2"]},{"1349978781":["hashtag1","hashtag2"]},{"1349978799":["hashtag1","hashtag2"]},{"1349978790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349978819, 1349978770, 1349978776, 1349978781, 1349978799, 1349978790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.219579458236694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:47:22.425199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_44_2780.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_47_2768.jpg', '/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_56_2610.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_09_3792.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_18_3802.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_21_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_44_2780.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_47_2768.jpg
/home/pi/Desktop/images/15042025/19/45/image_15042025_19_45_56_2610.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_09_3792.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_18_3802.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_21_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349978933","1349979104","1349979075","1349979030","1349978961","1349978990"],"photo_ids_order":["1349978933","1349978961","1349978990","1349979030","1349979075","1349979104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db4a82ba74ee4bfac23cea0fc77f3e48.jpg","text":"TemporaryFile(/tmp/multipartBody5515274893923027833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739303111,"filename":"image_15042025_19_45_44_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/681888359ce974a213a4863f952e04e6.jpg","text":"TemporaryFile(/tmp/multipartBody2638147286239654694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739303111,"filename":"image_15042025_19_46_21_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b30669eb0591523df9710fa887a707e.jpg","text":"TemporaryFile(/tmp/multipartBody2230752155510121326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739303111,"filename":"image_15042025_19_46_18_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f18a332df652ba7a7238f87ea351dfb.jpg","text":"TemporaryFile(/tmp/multipartBody6150103350864881191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739303111,"filename":"image_15042025_19_46_09_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2007403b829cbacf55416a4a4448cf1b.jpg","text":"TemporaryFile(/tmp/multipartBody3581043232111430347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739303111,"filename":"image_15042025_19_45_47_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b6d28dc0cb1717c93687eff11e926a9.jpg","text":"TemporaryFile(/tmp/multipartBody876549403595556001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739303111,"filename":"image_15042025_19_45_56_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349978990","file1":"1349978961","file0":"1349978933","file4":"1349979075","file5":"1349979104","file3":"1349979030"},"map_files_photo_id_array":[{"photo_id":"1349979104","filename":"file5"},{"photo_id":"1349978990","filename":"file2"},{"photo_id":"1349979075","filename":"file4"},{"photo_id":"1349978961","filename":"file1"},{"photo_id":"1349978933","filename":"file0"},{"photo_id":"1349979030","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349978933":["hashtag1","hashtag2"]},{"1349979104":["hashtag1","hashtag2"]},{"1349979075":["hashtag1","hashtag2"]},{"1349979030":["hashtag1","hashtag2"]},{"1349978961":["hashtag1","hashtag2"]},{"1349978990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349978933, 1349979104, 1349979075, 1349979030, 1349978961, 1349978990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.064247369766235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:48:02.831483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_32_2714.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_35_2698.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_39_3666.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_42_2771.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_48_3680.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_51_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_32_2714.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_35_2698.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_39_3666.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_42_2771.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_48_3680.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_51_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349979205","1349979174","1349979152","1349979146","1349979149","1349979140"],"photo_ids_order":["1349979140","1349979146","1349979149","1349979152","1349979174","1349979205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02e5856e53b3409fcdce890836f2eb5b.jpg","text":"TemporaryFile(/tmp/multipartBody6525644235546268488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739343582,"filename":"image_15042025_19_46_51_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2aa14e374393d134ceaf4bfb7f8942a0.jpg","text":"TemporaryFile(/tmp/multipartBody5969807037117551488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739343582,"filename":"image_15042025_19_46_48_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f713fed95c112b713419cc454a7cf05.jpg","text":"TemporaryFile(/tmp/multipartBody2166158524818564024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739343582,"filename":"image_15042025_19_46_42_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10e724149a6948ce3efa024ac8c1c979.jpg","text":"TemporaryFile(/tmp/multipartBody1468856035274800026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739343582,"filename":"image_15042025_19_46_35_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7cb515a98332e72d4938250152e3234.jpg","text":"TemporaryFile(/tmp/multipartBody917701419220318109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739343582,"filename":"image_15042025_19_46_39_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6356f6f7160074ff27e955c8c25e532.jpg","text":"TemporaryFile(/tmp/multipartBody1613176335570576398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739343582,"filename":"image_15042025_19_46_32_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349979149","file1":"1349979146","file0":"1349979140","file4":"1349979174","file5":"1349979205","file3":"1349979152"},"map_files_photo_id_array":[{"photo_id":"1349979205","filename":"file5"},{"photo_id":"1349979149","filename":"file2"},{"photo_id":"1349979174","filename":"file4"},{"photo_id":"1349979146","filename":"file1"},{"photo_id":"1349979140","filename":"file0"},{"photo_id":"1349979152","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349979205":["hashtag1","hashtag2"]},{"1349979174":["hashtag1","hashtag2"]},{"1349979152":["hashtag1","hashtag2"]},{"1349979146":["hashtag1","hashtag2"]},{"1349979149":["hashtag1","hashtag2"]},{"1349979140":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349979205, 1349979174, 1349979152, 1349979146, 1349979149, 1349979140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.898035764694214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:48:42.136428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_53_2671.jpg', '/home/pi/Desktop/images/15042025/19/46/image_15042025_19_47_00_3623.jpg', '/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_02_2595.jpg', '/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_09_2645.jpg', '/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_15_3563.jpg', '/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_24_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_46_53_2671.jpg
/home/pi/Desktop/images/15042025/19/46/image_15042025_19_47_00_3623.jpg
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_02_2595.jpg
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_09_2645.jpg
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_15_3563.jpg
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_24_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349979341","1349979331","1349979336","1349979321","1349979299","1349979338"],"photo_ids_order":["1349979299","1349979321","1349979331","1349979336","1349979338","1349979341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3723284da132c6990881ea41146b703.jpg","text":"TemporaryFile(/tmp/multipartBody6628862008540218376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739382887,"filename":"image_15042025_19_47_24_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b16e507df7f5add03700e9d2162323a9.jpg","text":"TemporaryFile(/tmp/multipartBody7711503260847638368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739382887,"filename":"image_15042025_19_47_02_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c35667db8e453d32502d54befa23b3a.jpg","text":"TemporaryFile(/tmp/multipartBody2713865471963055954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739382887,"filename":"image_15042025_19_47_09_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1c5650080dd507ae882947c9ed4230a.jpg","text":"TemporaryFile(/tmp/multipartBody8434721068223043143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739382887,"filename":"image_15042025_19_47_00_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/710cdddb296ca5aaa4447fd13c447f0b.jpg","text":"TemporaryFile(/tmp/multipartBody6070353477353478744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739382887,"filename":"image_15042025_19_46_53_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69dcde6410b457094a6f4571cc2c9f02.jpg","text":"TemporaryFile(/tmp/multipartBody5028242450611449977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739382887,"filename":"image_15042025_19_47_15_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349979331","file1":"1349979321","file0":"1349979299","file4":"1349979338","file5":"1349979341","file3":"1349979336"},"map_files_photo_id_array":[{"photo_id":"1349979341","filename":"file5"},{"photo_id":"1349979331","filename":"file2"},{"photo_id":"1349979338","filename":"file4"},{"photo_id":"1349979321","filename":"file1"},{"photo_id":"1349979299","filename":"file0"},{"photo_id":"1349979336","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349979341":["hashtag1","hashtag2"]},{"1349979331":["hashtag1","hashtag2"]},{"1349979336":["hashtag1","hashtag2"]},{"1349979321":["hashtag1","hashtag2"]},{"1349979299":["hashtag1","hashtag2"]},{"1349979338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349979341, 1349979331, 1349979336, 1349979321, 1349979299, 1349979338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17814874649048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:49:21.980298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_26_2670.jpg', '/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_29_2683.jpg', '/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_51_3677.jpg', '/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_53_2686.jpg', '/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_56_2543.jpg', '/home/pi/Desktop/images/15042025/19/47/image_15042025_19_48_00_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_26_2670.jpg
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_29_2683.jpg
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_51_3677.jpg
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_53_2686.jpg
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_47_56_2543.jpg
/home/pi/Desktop/images/15042025/19/47/image_15042025_19_48_00_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349979495","1349979396","1349979384","1349979558","1349979435","1349979405"],"photo_ids_order":["1349979384","1349979396","1349979405","1349979435","1349979495","1349979558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d618c2f8e1e9b5291927c19c159ba9b4.jpg","text":"TemporaryFile(/tmp/multipartBody610566319150940206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739422664,"filename":"image_15042025_19_47_56_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d61e697a719a4bf5f68c57aaa6b2fc14.jpg","text":"TemporaryFile(/tmp/multipartBody855381708821513569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739422664,"filename":"image_15042025_19_47_29_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/646d3e6ac83b46d027524b9aa2c398ce.jpg","text":"TemporaryFile(/tmp/multipartBody2273455734834225449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739422664,"filename":"image_15042025_19_47_26_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75906a6c1ff06244ecf8967da306acc7.jpg","text":"TemporaryFile(/tmp/multipartBody4576614861012126616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739422664,"filename":"image_15042025_19_48_00_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5fd3bf06a52452831a8c1f9d80166048.jpg","text":"TemporaryFile(/tmp/multipartBody8855872593141362273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739422664,"filename":"image_15042025_19_47_53_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3d0c308f755fafffeea7e15fe53ffcf.jpg","text":"TemporaryFile(/tmp/multipartBody9082672008031175570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739422664,"filename":"image_15042025_19_47_51_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349979405","file1":"1349979396","file0":"1349979384","file4":"1349979495","file5":"1349979558","file3":"1349979435"},"map_files_photo_id_array":[{"photo_id":"1349979558","filename":"file5"},{"photo_id":"1349979405","filename":"file2"},{"photo_id":"1349979495","filename":"file4"},{"photo_id":"1349979396","filename":"file1"},{"photo_id":"1349979384","filename":"file0"},{"photo_id":"1349979435","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349979495":["hashtag1","hashtag2"]},{"1349979396":["hashtag1","hashtag2"]},{"1349979384":["hashtag1","hashtag2"]},{"1349979558":["hashtag1","hashtag2"]},{"1349979435":["hashtag1","hashtag2"]},{"1349979405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349979495, 1349979396, 1349979384, 1349979558, 1349979435, 1349979405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01389765739441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:50:02.661950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_02_2724.jpg', '/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_05_2695.jpg', '/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_39_3866.jpg', '/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_48_3695.jpg', '/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_59_2740.jpg', '/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_08_2908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_02_2724.jpg
/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_05_2695.jpg
/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_39_3866.jpg
/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_48_3695.jpg
/home/pi/Desktop/images/15042025/19/48/image_15042025_19_48_59_2740.jpg
/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_08_2908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349979796","1349979784","1349979718","1349979789","1349979804","1349979776"],"photo_ids_order":["1349979718","1349979776","1349979784","1349979789","1349979796","1349979804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47f621492d459aa4f45ec908d9c35d38.jpg","text":"TemporaryFile(/tmp/multipartBody4538480670380695269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739463420,"filename":"image_15042025_19_48_59_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9823d0f6a00efecebe0967f9f8f82c74.jpg","text":"TemporaryFile(/tmp/multipartBody5474328274231648793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739463420,"filename":"image_15042025_19_48_39_3866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c21798cf3ec5e05704199b2c09565a34.jpg","text":"TemporaryFile(/tmp/multipartBody6508741349882904223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739463420,"filename":"image_15042025_19_48_02_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/532ecf9328a5f46a38bbae8055a42ac3.jpg","text":"TemporaryFile(/tmp/multipartBody1542546827769223480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739463420,"filename":"image_15042025_19_48_48_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42abd35edeaae7c60deef91875cd2a3c.jpg","text":"TemporaryFile(/tmp/multipartBody1533639972592319142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739463420,"filename":"image_15042025_19_49_08_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f438fe3992f32020e4575f8fc5d042e5.jpg","text":"TemporaryFile(/tmp/multipartBody7130430778511858540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739463420,"filename":"image_15042025_19_48_05_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349979784","file1":"1349979776","file0":"1349979718","file4":"1349979796","file5":"1349979804","file3":"1349979789"},"map_files_photo_id_array":[{"photo_id":"1349979804","filename":"file5"},{"photo_id":"1349979784","filename":"file2"},{"photo_id":"1349979796","filename":"file4"},{"photo_id":"1349979776","filename":"file1"},{"photo_id":"1349979718","filename":"file0"},{"photo_id":"1349979789","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349979796":["hashtag1","hashtag2"]},{"1349979784":["hashtag1","hashtag2"]},{"1349979718":["hashtag1","hashtag2"]},{"1349979789":["hashtag1","hashtag2"]},{"1349979804":["hashtag1","hashtag2"]},{"1349979776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349979796, 1349979784, 1349979718, 1349979789, 1349979804, 1349979776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.819544076919556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:51:02.917042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_12_3625.jpg', '/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_20_2812.jpg', '/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_33_3776.jpg', '/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_47_2595.jpg', '/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_59_2887.jpg', '/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_03_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_12_3625.jpg
/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_20_2812.jpg
/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_33_3776.jpg
/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_47_2595.jpg
/home/pi/Desktop/images/15042025/19/49/image_15042025_19_49_59_2887.jpg
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_03_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349979830","1349979824","1349979847","1349979936","1349979881","1349979908"],"photo_ids_order":["1349979824","1349979830","1349979847","1349979881","1349979908","1349979936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b91087ff196f0d61d6ac7008ab1aba5.jpg","text":"TemporaryFile(/tmp/multipartBody665127073960329819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739523713,"filename":"image_15042025_19_49_20_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c7caa7c3de3c25b485f82d27b107520.jpg","text":"TemporaryFile(/tmp/multipartBody2561313566543271556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739523713,"filename":"image_15042025_19_49_12_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea6147986510cd3e6ab729d7314855c5.jpg","text":"TemporaryFile(/tmp/multipartBody6053467730814131160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739523713,"filename":"image_15042025_19_49_33_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad96f197fe228fc12cc44e4639e33907.jpg","text":"TemporaryFile(/tmp/multipartBody8543316353874822002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739523713,"filename":"image_15042025_19_50_03_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46495ea41bfdb91fda573654d7f60656.jpg","text":"TemporaryFile(/tmp/multipartBody5230233223216763733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739523713,"filename":"image_15042025_19_49_47_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2f8395f890902165184931d050a947f.jpg","text":"TemporaryFile(/tmp/multipartBody8180574814832401051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739523713,"filename":"image_15042025_19_49_59_2887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349979847","file1":"1349979830","file0":"1349979824","file4":"1349979908","file5":"1349979936","file3":"1349979881"},"map_files_photo_id_array":[{"photo_id":"1349979936","filename":"file5"},{"photo_id":"1349979847","filename":"file2"},{"photo_id":"1349979908","filename":"file4"},{"photo_id":"1349979830","filename":"file1"},{"photo_id":"1349979824","filename":"file0"},{"photo_id":"1349979881","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349979830":["hashtag1","hashtag2"]},{"1349979824":["hashtag1","hashtag2"]},{"1349979847":["hashtag1","hashtag2"]},{"1349979936":["hashtag1","hashtag2"]},{"1349979881":["hashtag1","hashtag2"]},{"1349979908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349979830, 1349979824, 1349979847, 1349979936, 1349979881, 1349979908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50377106666565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:51:42.353079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_05_2837.jpg', '/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_08_2651.jpg', '/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_11_2703.jpg', '/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_14_3692.jpg', '/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_17_2571.jpg', '/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_20_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_05_2837.jpg
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_08_2651.jpg
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_11_2703.jpg
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_14_3692.jpg
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_17_2571.jpg
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_20_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349980091","1349980046","1349980229","1349980159","1349980122","1349980193"],"photo_ids_order":["1349980046","1349980091","1349980122","1349980159","1349980193","1349980229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1224181f10ce093cb4411aae04379662.jpg","text":"TemporaryFile(/tmp/multipartBody3718637149715885688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739563069,"filename":"image_15042025_19_50_08_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1df731a5f099dda725bcf8987fd48d8.jpg","text":"TemporaryFile(/tmp/multipartBody4620466299889870508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739563069,"filename":"image_15042025_19_50_05_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/873baf5bc776de3ec10f79fac9e855e2.jpg","text":"TemporaryFile(/tmp/multipartBody225556458891762564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739563069,"filename":"image_15042025_19_50_20_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5946ca0b78a7746c0c78ae4fd8e9a6c3.jpg","text":"TemporaryFile(/tmp/multipartBody5195998896573168278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739563069,"filename":"image_15042025_19_50_14_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1f1d6bd26e4cddf90611a90e3a8fadf.jpg","text":"TemporaryFile(/tmp/multipartBody9172387051909689235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739563069,"filename":"image_15042025_19_50_11_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6815c38c3038fc8b7ab361028f7ed4ce.jpg","text":"TemporaryFile(/tmp/multipartBody134014547207368205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739563069,"filename":"image_15042025_19_50_17_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349980122","file1":"1349980091","file0":"1349980046","file4":"1349980193","file5":"1349980229","file3":"1349980159"},"map_files_photo_id_array":[{"photo_id":"1349980229","filename":"file5"},{"photo_id":"1349980122","filename":"file2"},{"photo_id":"1349980193","filename":"file4"},{"photo_id":"1349980091","filename":"file1"},{"photo_id":"1349980046","filename":"file0"},{"photo_id":"1349980159","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349980091":["hashtag1","hashtag2"]},{"1349980046":["hashtag1","hashtag2"]},{"1349980229":["hashtag1","hashtag2"]},{"1349980159":["hashtag1","hashtag2"]},{"1349980122":["hashtag1","hashtag2"]},{"1349980193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349980091, 1349980046, 1349980229, 1349980159, 1349980122, 1349980193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20818018913269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:52:22.317295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_23_3619.jpg', '/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_26_2758.jpg', '/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_32_3519.jpg', '/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_41_3702.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_02_3542.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_05_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_23_3619.jpg
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_26_2758.jpg
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_32_3519.jpg
/home/pi/Desktop/images/15042025/19/50/image_15042025_19_50_41_3702.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_02_3542.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_05_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349980361","1349980337","1349980348","1349980344","1349980341","1349980292"],"photo_ids_order":["1349980292","1349980337","1349980341","1349980344","1349980348","1349980361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bdd05af982d9d89bacc49aab14e07b8.jpg","text":"TemporaryFile(/tmp/multipartBody3957711229154936864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739603021,"filename":"image_15042025_19_51_05_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca204af1ea5e332ec4672f312497dc77.jpg","text":"TemporaryFile(/tmp/multipartBody8680464796221486788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739603021,"filename":"image_15042025_19_50_26_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ada50b364cdd0cdaf66cb697d8e3976e.jpg","text":"TemporaryFile(/tmp/multipartBody6302811500820470846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739603021,"filename":"image_15042025_19_51_02_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26be0dbead1639f259f5e5f9b5b87941.jpg","text":"TemporaryFile(/tmp/multipartBody4199218890738726893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739603021,"filename":"image_15042025_19_50_41_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4181d6662dc8db4e12ff41498adcf676.jpg","text":"TemporaryFile(/tmp/multipartBody3415617624309980563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739603021,"filename":"image_15042025_19_50_32_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/beccb8e1e53201fd09b801dc2a943a5e.jpg","text":"TemporaryFile(/tmp/multipartBody6756792849499778138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739603021,"filename":"image_15042025_19_50_23_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349980341","file1":"1349980337","file0":"1349980292","file4":"1349980348","file5":"1349980361","file3":"1349980344"},"map_files_photo_id_array":[{"photo_id":"1349980361","filename":"file5"},{"photo_id":"1349980341","filename":"file2"},{"photo_id":"1349980348","filename":"file4"},{"photo_id":"1349980337","filename":"file1"},{"photo_id":"1349980292","filename":"file0"},{"photo_id":"1349980344","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349980361":["hashtag1","hashtag2"]},{"1349980337":["hashtag1","hashtag2"]},{"1349980348":["hashtag1","hashtag2"]},{"1349980344":["hashtag1","hashtag2"]},{"1349980341":["hashtag1","hashtag2"]},{"1349980292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349980361, 1349980337, 1349980348, 1349980344, 1349980341, 1349980292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06253623962402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:53:03.452995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_08_2873.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_14_2669.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_17_2735.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_23_3671.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_26_2634.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_39_6640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_08_2873.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_14_2669.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_17_2735.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_23_3671.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_26_2634.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_39_6640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349980415","1349980420","1349980402","1349980395","1349980383","1349980388"],"photo_ids_order":["1349980383","1349980388","1349980395","1349980402","1349980415","1349980420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28c819df112b2023ce538d1cfdde1c73.jpg","text":"TemporaryFile(/tmp/multipartBody8752197478579344858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739644329,"filename":"image_15042025_19_51_26_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40a333b570ce79f137c369aea1b416fb.jpg","text":"TemporaryFile(/tmp/multipartBody2865201343427089736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739644329,"filename":"image_15042025_19_51_39_6640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34191b7b06ab661dd23cbb5234438a52.jpg","text":"TemporaryFile(/tmp/multipartBody7053570163170078366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739644329,"filename":"image_15042025_19_51_23_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2fe0e782f85f424663b59a5a5067c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody8857033832526999581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739644329,"filename":"image_15042025_19_51_17_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5882b3fe97a544c9cce93e5df5425529.jpg","text":"TemporaryFile(/tmp/multipartBody3815350918371716001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739644329,"filename":"image_15042025_19_51_08_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/feebd3ff01b8488095218c9bbd49b624.jpg","text":"TemporaryFile(/tmp/multipartBody3229461294309658393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739644329,"filename":"image_15042025_19_51_14_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349980395","file1":"1349980388","file0":"1349980383","file4":"1349980415","file5":"1349980420","file3":"1349980402"},"map_files_photo_id_array":[{"photo_id":"1349980420","filename":"file5"},{"photo_id":"1349980395","filename":"file2"},{"photo_id":"1349980415","filename":"file4"},{"photo_id":"1349980388","filename":"file1"},{"photo_id":"1349980383","filename":"file0"},{"photo_id":"1349980402","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349980415":["hashtag1","hashtag2"]},{"1349980420":["hashtag1","hashtag2"]},{"1349980402":["hashtag1","hashtag2"]},{"1349980395":["hashtag1","hashtag2"]},{"1349980383":["hashtag1","hashtag2"]},{"1349980388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349980415, 1349980420, 1349980402, 1349980395, 1349980383, 1349980388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.285890102386475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:53:42.725582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_41_1712.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_47_2619.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_50_3629.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_53_2759.jpg', '/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_59_2740.jpg', '/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_05_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_41_1712.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_47_2619.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_50_3629.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_53_2759.jpg
/home/pi/Desktop/images/15042025/19/51/image_15042025_19_51_59_2740.jpg
/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_05_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349980432","1349980456","1349980444","1349980437","1349980449","1349980428"],"photo_ids_order":["1349980428","1349980432","1349980437","1349980444","1349980449","1349980456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6caaa903a4c5be84a4b5cf9c8730229.jpg","text":"TemporaryFile(/tmp/multipartBody8223410828803954375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739683422,"filename":"image_15042025_19_51_47_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ba0a00b8556999cecfd6553b6c3fe4c.jpg","text":"TemporaryFile(/tmp/multipartBody8976191824499474339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739683422,"filename":"image_15042025_19_52_05_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdb6486ca5eeecce375e3958a0ab1b3f.jpg","text":"TemporaryFile(/tmp/multipartBody3159943900959305555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739683422,"filename":"image_15042025_19_51_53_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b85a7c0f9f96c254b9399d2cdff8d7f9.jpg","text":"TemporaryFile(/tmp/multipartBody1565207417047571742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739683422,"filename":"image_15042025_19_51_50_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a623bb364ed2669f507f93b5184f7610.jpg","text":"TemporaryFile(/tmp/multipartBody4356148650522125072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739683422,"filename":"image_15042025_19_51_59_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f63981069527289731e8e906b8d05a7.jpg","text":"TemporaryFile(/tmp/multipartBody4228961388415915423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739683422,"filename":"image_15042025_19_51_41_1712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349980437","file1":"1349980432","file0":"1349980428","file4":"1349980449","file5":"1349980456","file3":"1349980444"},"map_files_photo_id_array":[{"photo_id":"1349980456","filename":"file5"},{"photo_id":"1349980437","filename":"file2"},{"photo_id":"1349980449","filename":"file4"},{"photo_id":"1349980432","filename":"file1"},{"photo_id":"1349980428","filename":"file0"},{"photo_id":"1349980444","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349980432":["hashtag1","hashtag2"]},{"1349980456":["hashtag1","hashtag2"]},{"1349980444":["hashtag1","hashtag2"]},{"1349980437":["hashtag1","hashtag2"]},{"1349980449":["hashtag1","hashtag2"]},{"1349980428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349980432, 1349980456, 1349980444, 1349980437, 1349980449, 1349980428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0022394657135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:54:21.867673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_20_1573.jpg', '/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_26_2726.jpg', '/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_29_2553.jpg', '/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_40_2775.jpg', '/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_44_3741.jpg', '/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_51_4697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_20_1573.jpg
/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_26_2726.jpg
/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_29_2553.jpg
/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_40_2775.jpg
/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_44_3741.jpg
/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_51_4697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349980745","1349980733","1349980544","1349980480","1349980474","1349980726"],"photo_ids_order":["1349980474","1349980480","1349980544","1349980726","1349980733","1349980745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a67ba1bee957d88358bea8cfb58b612.jpg","text":"TemporaryFile(/tmp/multipartBody7361594565386658735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739722551,"filename":"image_15042025_19_52_51_4697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88881c45b753fac4ac3bee31f5d24346.jpg","text":"TemporaryFile(/tmp/multipartBody4368595429440316410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739722551,"filename":"image_15042025_19_52_44_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afbf050d305c20fc7558455605204a00.jpg","text":"TemporaryFile(/tmp/multipartBody7354558226089240934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739722551,"filename":"image_15042025_19_52_29_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/227fced97f55ab33b0b24e65444bd066.jpg","text":"TemporaryFile(/tmp/multipartBody3234923985996281460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739722551,"filename":"image_15042025_19_52_26_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0bac00e9405f315c55becf00a1849c3.jpg","text":"TemporaryFile(/tmp/multipartBody3885537485054254526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739722551,"filename":"image_15042025_19_52_20_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69ec6670bb54e164e3c602fd0eab21ca.jpg","text":"TemporaryFile(/tmp/multipartBody4114553124627647014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739722551,"filename":"image_15042025_19_52_40_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349980544","file1":"1349980480","file0":"1349980474","file4":"1349980733","file5":"1349980745","file3":"1349980726"},"map_files_photo_id_array":[{"photo_id":"1349980745","filename":"file5"},{"photo_id":"1349980544","filename":"file2"},{"photo_id":"1349980733","filename":"file4"},{"photo_id":"1349980480","filename":"file1"},{"photo_id":"1349980474","filename":"file0"},{"photo_id":"1349980726","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349980745":["hashtag1","hashtag2"]},{"1349980733":["hashtag1","hashtag2"]},{"1349980544":["hashtag1","hashtag2"]},{"1349980480":["hashtag1","hashtag2"]},{"1349980474":["hashtag1","hashtag2"]},{"1349980726":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349980745, 1349980733, 1349980544, 1349980480, 1349980474, 1349980726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05774784088135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:55:03.570370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_59_2702.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_02_3606.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_05_2725.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_08_3028.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_11_2742.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_19_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/52/image_15042025_19_52_59_2702.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_02_3606.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_05_2725.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_08_3028.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_11_2742.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_19_2556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349980789","1349980798","1349980785","1349980794","1349980776","1349980812"],"photo_ids_order":["1349980776","1349980785","1349980789","1349980794","1349980798","1349980812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/906116eeee1dc67993da54bed0e6341d.jpg","text":"TemporaryFile(/tmp/multipartBody7725541239476946251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739764383,"filename":"image_15042025_19_53_05_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3660dd6ed8f6413256e72bdfeef70659.jpg","text":"TemporaryFile(/tmp/multipartBody4366192417128608104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739764383,"filename":"image_15042025_19_53_11_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57b2e4bc26ba94f5f785035ccb391f15.jpg","text":"TemporaryFile(/tmp/multipartBody7015344319079986521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739764383,"filename":"image_15042025_19_53_02_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca411db71385e4337001e6862506844b.jpg","text":"TemporaryFile(/tmp/multipartBody3615436558795088884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739764383,"filename":"image_15042025_19_53_08_3028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d811a7ea977a55341a9c1c5fe342a168.jpg","text":"TemporaryFile(/tmp/multipartBody8733756999056701040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739764383,"filename":"image_15042025_19_52_59_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5963738692c3629b20a8d7674068cb45.jpg","text":"TemporaryFile(/tmp/multipartBody8714082888985587980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739764383,"filename":"image_15042025_19_53_19_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349980789","file1":"1349980785","file0":"1349980776","file4":"1349980798","file5":"1349980812","file3":"1349980794"},"map_files_photo_id_array":[{"photo_id":"1349980812","filename":"file5"},{"photo_id":"1349980789","filename":"file2"},{"photo_id":"1349980798","filename":"file4"},{"photo_id":"1349980785","filename":"file1"},{"photo_id":"1349980776","filename":"file0"},{"photo_id":"1349980794","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349980789":["hashtag1","hashtag2"]},{"1349980798":["hashtag1","hashtag2"]},{"1349980785":["hashtag1","hashtag2"]},{"1349980794":["hashtag1","hashtag2"]},{"1349980776":["hashtag1","hashtag2"]},{"1349980812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349980789, 1349980798, 1349980785, 1349980794, 1349980776, 1349980812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37479639053345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:55:42.634071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_23_3814.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_26_2567.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_28_2662.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_32_3638.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_35_2777.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_41_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_23_3814.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_26_2567.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_28_2662.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_32_3638.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_35_2777.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_41_3713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349981147","1349981132","1349981080","1349981140","1349981136","1349981153"],"photo_ids_order":["1349981080","1349981132","1349981136","1349981140","1349981147","1349981153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b6562feea6ee29ff06a782ee997ca03.jpg","text":"TemporaryFile(/tmp/multipartBody7482884606450636923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739803327,"filename":"image_15042025_19_53_35_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d97bfd1ce2e346d405a0b28d07d6a37e.jpg","text":"TemporaryFile(/tmp/multipartBody807471608108175769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739803327,"filename":"image_15042025_19_53_26_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef5cb154475876944268be87f64c18f8.jpg","text":"TemporaryFile(/tmp/multipartBody642889360270985918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739803327,"filename":"image_15042025_19_53_23_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae156ac42790e6b55a63828684bcfe80.jpg","text":"TemporaryFile(/tmp/multipartBody7475653910679147113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739803327,"filename":"image_15042025_19_53_32_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fc6fd6f2f7a7bb3294d0353eb9b2a3e.jpg","text":"TemporaryFile(/tmp/multipartBody699297820750662276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739803327,"filename":"image_15042025_19_53_28_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4fe866e516db51bfb4aa294272b42732.jpg","text":"TemporaryFile(/tmp/multipartBody8885247172887516010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739803327,"filename":"image_15042025_19_53_41_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349981136","file1":"1349981132","file0":"1349981080","file4":"1349981147","file5":"1349981153","file3":"1349981140"},"map_files_photo_id_array":[{"photo_id":"1349981153","filename":"file5"},{"photo_id":"1349981136","filename":"file2"},{"photo_id":"1349981147","filename":"file4"},{"photo_id":"1349981132","filename":"file1"},{"photo_id":"1349981080","filename":"file0"},{"photo_id":"1349981140","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349981147":["hashtag1","hashtag2"]},{"1349981132":["hashtag1","hashtag2"]},{"1349981080":["hashtag1","hashtag2"]},{"1349981140":["hashtag1","hashtag2"]},{"1349981136":["hashtag1","hashtag2"]},{"1349981153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349981147, 1349981132, 1349981080, 1349981140, 1349981136, 1349981153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74229192733765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 19:56:22.070750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_49_2707.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_53_3651.jpg', '/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_56_2718.jpg', '/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_04_2600.jpg', '/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_08_3728.jpg', '/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_11_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_49_2707.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_53_3651.jpg
/home/pi/Desktop/images/15042025/19/53/image_15042025_19_53_56_2718.jpg
/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_04_2600.jpg
/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_08_3728.jpg
/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_11_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349981210","1349981182","1349981176","1349981203","1349981187","1349981196"],"photo_ids_order":["1349981176","1349981182","1349981187","1349981196","1349981203","1349981210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a160e5ffcea36ece2a50c83b2f973b6.jpg","text":"TemporaryFile(/tmp/multipartBody5037151196196481493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739842794,"filename":"image_15042025_19_54_11_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65842b13e2308f6a17ccbc2e25e52653.jpg","text":"TemporaryFile(/tmp/multipartBody4769864239579248167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739842794,"filename":"image_15042025_19_53_53_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/267f41b08c751b253b892dc46a2ceaf6.jpg","text":"TemporaryFile(/tmp/multipartBody4246378249930274583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739842794,"filename":"image_15042025_19_53_49_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65eb7da1f111e8a30d20ed242060f52e.jpg","text":"TemporaryFile(/tmp/multipartBody3668538178339980671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739842794,"filename":"image_15042025_19_54_08_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce05eee8fd2f308d20eb798c71236dd5.jpg","text":"TemporaryFile(/tmp/multipartBody134563042919010030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739842794,"filename":"image_15042025_19_53_56_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb8cf4f6cd0f016d99541ff13a81d260.jpg","text":"TemporaryFile(/tmp/multipartBody6082856400776615577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739842794,"filename":"image_15042025_19_54_04_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349981187","file1":"1349981182","file0":"1349981176","file4":"1349981203","file5":"1349981210","file3":"1349981196"},"map_files_photo_id_array":[{"photo_id":"1349981210","filename":"file5"},{"photo_id":"1349981187","filename":"file2"},{"photo_id":"1349981203","filename":"file4"},{"photo_id":"1349981182","filename":"file1"},{"photo_id":"1349981176","filename":"file0"},{"photo_id":"1349981196","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349981210":["hashtag1","hashtag2"]},{"1349981182":["hashtag1","hashtag2"]},{"1349981176":["hashtag1","hashtag2"]},{"1349981203":["hashtag1","hashtag2"]},{"1349981187":["hashtag1","hashtag2"]},{"1349981196":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349981210, 1349981182, 1349981176, 1349981203, 1349981187, 1349981196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6382954120636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:57:03.150166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_14_2781.jpg', '/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_17_3678.jpg', '/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_20_2747.jpg', '/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_29_3725.jpg', '/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_32_2531.jpg', '/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_01_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_14_2781.jpg
/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_17_3678.jpg
/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_20_2747.jpg
/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_29_3725.jpg
/home/pi/Desktop/images/15042025/19/54/image_15042025_19_54_32_2531.jpg
/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_01_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349981233","1349981250","1349981244","1349981226","1349981229","1349981222"],"photo_ids_order":["1349981222","1349981226","1349981229","1349981233","1349981244","1349981250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81923e3a6193ae02deec9a50be3c09dd.jpg","text":"TemporaryFile(/tmp/multipartBody235679959455788404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739883985,"filename":"image_15042025_19_54_29_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a26e49fa54d3c208ccc1b0b7bb044204.jpg","text":"TemporaryFile(/tmp/multipartBody4358094920720841665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739883985,"filename":"image_15042025_19_55_01_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/844cbffab784f5deef07bd4e98bd91dd.jpg","text":"TemporaryFile(/tmp/multipartBody1215481337695628960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739883985,"filename":"image_15042025_19_54_32_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a9b20280bcefc5330196f9e8016f323.jpg","text":"TemporaryFile(/tmp/multipartBody6157977941945111251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739883985,"filename":"image_15042025_19_54_17_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72ea5f336ae361daf72c29be53b4e313.jpg","text":"TemporaryFile(/tmp/multipartBody7581319894264729770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739883985,"filename":"image_15042025_19_54_20_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/002dff11db63376b5bbd647d1ee6b137.jpg","text":"TemporaryFile(/tmp/multipartBody8680432376927615390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739883985,"filename":"image_15042025_19_54_14_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349981229","file1":"1349981226","file0":"1349981222","file4":"1349981244","file5":"1349981250","file3":"1349981233"},"map_files_photo_id_array":[{"photo_id":"1349981250","filename":"file5"},{"photo_id":"1349981229","filename":"file2"},{"photo_id":"1349981244","filename":"file4"},{"photo_id":"1349981226","filename":"file1"},{"photo_id":"1349981222","filename":"file0"},{"photo_id":"1349981233","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349981233":["hashtag1","hashtag2"]},{"1349981250":["hashtag1","hashtag2"]},{"1349981244":["hashtag1","hashtag2"]},{"1349981226":["hashtag1","hashtag2"]},{"1349981229":["hashtag1","hashtag2"]},{"1349981222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349981233, 1349981250, 1349981244, 1349981226, 1349981229, 1349981222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.759859800338745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 19:57:42.317067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_47_2856.jpg', '/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_50_2786.jpg', '/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_53_2933.jpg', '/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_55_2584.jpg', '/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_59_3776.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_05_2992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_47_2856.jpg
/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_50_2786.jpg
/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_53_2933.jpg
/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_55_2584.jpg
/home/pi/Desktop/images/15042025/19/55/image_15042025_19_55_59_3776.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_05_2992.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349981293","1349981290","1349981286","1349981277","1349981267","1349981261"],"photo_ids_order":["1349981261","1349981267","1349981277","1349981286","1349981290","1349981293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bef67f7d46f686045d27c8da52a0898f.jpg","text":"TemporaryFile(/tmp/multipartBody8461546400628948498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739923004,"filename":"image_15042025_19_56_05_2992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/272aa727afc6dfc56bc92ac27051759c.jpg","text":"TemporaryFile(/tmp/multipartBody7596463484984625153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739923004,"filename":"image_15042025_19_55_59_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/414b227eb5f5754b94e6867f8a53f34f.jpg","text":"TemporaryFile(/tmp/multipartBody887649316972195691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739923004,"filename":"image_15042025_19_55_55_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4deac81fa61a284880857a8db8e0423.jpg","text":"TemporaryFile(/tmp/multipartBody7905483819512183156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739923004,"filename":"image_15042025_19_55_53_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfb81442d90a088aebfb8da4cd477dea.jpg","text":"TemporaryFile(/tmp/multipartBody8836817235459900921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739923004,"filename":"image_15042025_19_55_50_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07c7960c4943e5145776aaea50055020.jpg","text":"TemporaryFile(/tmp/multipartBody2565974685984261779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744739923004,"filename":"image_15042025_19_55_47_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349981277","file1":"1349981267","file0":"1349981261","file4":"1349981290","file5":"1349981293","file3":"1349981286"},"map_files_photo_id_array":[{"photo_id":"1349981293","filename":"file5"},{"photo_id":"1349981277","filename":"file2"},{"photo_id":"1349981290","filename":"file4"},{"photo_id":"1349981267","filename":"file1"},{"photo_id":"1349981261","filename":"file0"},{"photo_id":"1349981286","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349981293":["hashtag1","hashtag2"]},{"1349981290":["hashtag1","hashtag2"]},{"1349981286":["hashtag1","hashtag2"]},{"1349981277":["hashtag1","hashtag2"]},{"1349981267":["hashtag1","hashtag2"]},{"1349981261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349981293, 1349981290, 1349981286, 1349981277, 1349981267, 1349981261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.966017961502075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 19:59:03.801578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_10_2799.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_14_3650.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_17_2726.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_28_2615.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_32_3618.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_34_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_10_2799.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_14_3650.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_17_2726.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_28_2615.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_32_3618.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_34_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349981998","1349981664","1349981871","1349981594","1349981726","1349981528"],"photo_ids_order":["1349981528","1349981594","1349981664","1349981726","1349981871","1349981998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fccaf037364c732f2a5238b310a9bbc8.jpg","text":"TemporaryFile(/tmp/multipartBody6298865965984294909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740004841,"filename":"image_15042025_19_56_34_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4849b460c3e3c73e680a7c2bf46599e.jpg","text":"TemporaryFile(/tmp/multipartBody3139894848782903439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740004841,"filename":"image_15042025_19_56_17_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a320c0feb30299c0250da8983355bba.jpg","text":"TemporaryFile(/tmp/multipartBody643945388734114872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740004841,"filename":"image_15042025_19_56_32_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86fd1f65aa926a7fd4530c6879818f49.jpg","text":"TemporaryFile(/tmp/multipartBody7339598317546897135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740004841,"filename":"image_15042025_19_56_14_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8be977e77436a7467c0bb9849556ac96.jpg","text":"TemporaryFile(/tmp/multipartBody3969229855464052327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740004841,"filename":"image_15042025_19_56_28_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2eb5e5f7ec54e7958168f739012489c.jpg","text":"TemporaryFile(/tmp/multipartBody5293667795541891245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740004841,"filename":"image_15042025_19_56_10_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349981664","file1":"1349981594","file0":"1349981528","file4":"1349981871","file5":"1349981998","file3":"1349981726"},"map_files_photo_id_array":[{"photo_id":"1349981998","filename":"file5"},{"photo_id":"1349981664","filename":"file2"},{"photo_id":"1349981871","filename":"file4"},{"photo_id":"1349981594","filename":"file1"},{"photo_id":"1349981528","filename":"file0"},{"photo_id":"1349981726","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349981998":["hashtag1","hashtag2"]},{"1349981664":["hashtag1","hashtag2"]},{"1349981871":["hashtag1","hashtag2"]},{"1349981594":["hashtag1","hashtag2"]},{"1349981726":["hashtag1","hashtag2"]},{"1349981528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349981998, 1349981664, 1349981871, 1349981594, 1349981726, 1349981528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.090803384780884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:00:02.794108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_43_2591.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_50_3680.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_52_2641.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_55_2794.jpg', '/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_59_3744.jpg', '/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_02_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_43_2591.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_50_3680.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_52_2641.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_55_2794.jpg
/home/pi/Desktop/images/15042025/19/56/image_15042025_19_56_59_3744.jpg
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_02_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349982349","1349982671","1349982275","1349982584","1349982422","1349982493"],"photo_ids_order":["1349982275","1349982349","1349982422","1349982493","1349982584","1349982671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68f92849396f11104cd0223ca03dca37.jpg","text":"TemporaryFile(/tmp/multipartBody5622334542859044505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740063567,"filename":"image_15042025_19_56_50_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8b70da54379d32101d3aa29cf673175.jpg","text":"TemporaryFile(/tmp/multipartBody6128440960193987848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740063567,"filename":"image_15042025_19_57_02_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/646bb0c121389369b49e9f27e4a205f3.jpg","text":"TemporaryFile(/tmp/multipartBody1716415024559857315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740063567,"filename":"image_15042025_19_56_43_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75dcdf734eabf54e5aa8348b59ac76be.jpg","text":"TemporaryFile(/tmp/multipartBody7734071468930871988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740063567,"filename":"image_15042025_19_56_59_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/341c8b2a3f71229b35faf079256462c1.jpg","text":"TemporaryFile(/tmp/multipartBody742726632641818654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740063567,"filename":"image_15042025_19_56_52_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7fe4a5d3facdc794fb6bfeaea5bce47.jpg","text":"TemporaryFile(/tmp/multipartBody7918160289170267697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740063567,"filename":"image_15042025_19_56_55_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349982422","file1":"1349982349","file0":"1349982275","file4":"1349982584","file5":"1349982671","file3":"1349982493"},"map_files_photo_id_array":[{"photo_id":"1349982671","filename":"file5"},{"photo_id":"1349982422","filename":"file2"},{"photo_id":"1349982584","filename":"file4"},{"photo_id":"1349982349","filename":"file1"},{"photo_id":"1349982275","filename":"file0"},{"photo_id":"1349982493","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349982349":["hashtag1","hashtag2"]},{"1349982671":["hashtag1","hashtag2"]},{"1349982275":["hashtag1","hashtag2"]},{"1349982584":["hashtag1","hashtag2"]},{"1349982422":["hashtag1","hashtag2"]},{"1349982493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349982349, 1349982671, 1349982275, 1349982584, 1349982422, 1349982493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.47654175758362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:01:03.317415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_04_2671.jpg', '/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_08_3642.jpg', '/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_13_2864.jpg', '/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_23_2671.jpg', '/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_25_2600.jpg', '/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_38_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_04_2671.jpg
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_08_3642.jpg
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_13_2864.jpg
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_23_2671.jpg
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_25_2600.jpg
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_38_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349983170","1349982972","1349983023","1349983073","1349983106","1349983138"],"photo_ids_order":["1349982972","1349983023","1349983073","1349983106","1349983138","1349983170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/405cc584139103c1be91d0eaf590fb4c.jpg","text":"TemporaryFile(/tmp/multipartBody2028799710840794449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740124138,"filename":"image_15042025_19_57_38_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efd1c34df56054423a23e410c5b7901d.jpg","text":"TemporaryFile(/tmp/multipartBody6465566678188206737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740124138,"filename":"image_15042025_19_57_04_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a014868a02bf7ef1ba2c3434c0487e2.jpg","text":"TemporaryFile(/tmp/multipartBody6454971309989985039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740124138,"filename":"image_15042025_19_57_08_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3959599f0891a1ca5341efd4633983e.jpg","text":"TemporaryFile(/tmp/multipartBody8885881257045007372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740124138,"filename":"image_15042025_19_57_13_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23130b3c954b030cffb160a57d6f31ac.jpg","text":"TemporaryFile(/tmp/multipartBody461264986706957731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740124138,"filename":"image_15042025_19_57_23_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7cae65dc16376d26c86a24cadcb25a20.jpg","text":"TemporaryFile(/tmp/multipartBody8353900105970978388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740124138,"filename":"image_15042025_19_57_25_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349983073","file1":"1349983023","file0":"1349982972","file4":"1349983138","file5":"1349983170","file3":"1349983106"},"map_files_photo_id_array":[{"photo_id":"1349983170","filename":"file5"},{"photo_id":"1349983073","filename":"file2"},{"photo_id":"1349983138","filename":"file4"},{"photo_id":"1349983023","filename":"file1"},{"photo_id":"1349982972","filename":"file0"},{"photo_id":"1349983106","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349983170":["hashtag1","hashtag2"]},{"1349982972":["hashtag1","hashtag2"]},{"1349983023":["hashtag1","hashtag2"]},{"1349983073":["hashtag1","hashtag2"]},{"1349983106":["hashtag1","hashtag2"]},{"1349983138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349983170, 1349982972, 1349983023, 1349983073, 1349983106, 1349983138)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.06652474403381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:02:02.865099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_40_2725.jpg', '/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_47_3685.jpg', '/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_50_2845.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_04_2591.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_08_3666.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_10_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_40_2725.jpg
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_47_3685.jpg
/home/pi/Desktop/images/15042025/19/57/image_15042025_19_57_50_2845.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_04_2591.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_08_3666.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_10_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349983497","1349983388","1349983463","1349983526","1349983427","1349983444"],"photo_ids_order":["1349983388","1349983427","1349983444","1349983463","1349983497","1349983526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98f39025a6ef8db1a6208c8fc1ce53b5.jpg","text":"TemporaryFile(/tmp/multipartBody630352675163915530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740183628,"filename":"image_15042025_19_58_08_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be71348c5e7d14f8b659648d1bb47e36.jpg","text":"TemporaryFile(/tmp/multipartBody1954820466752964213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740183628,"filename":"image_15042025_19_57_40_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dfddd75aa51aa66770796ed0d89e2ef.jpg","text":"TemporaryFile(/tmp/multipartBody8534189688187010386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740183628,"filename":"image_15042025_19_58_04_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6f1f62cb3fe381afe2240b8efec47b2.jpg","text":"TemporaryFile(/tmp/multipartBody6592474758824316780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740183628,"filename":"image_15042025_19_58_10_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f460c94b50b58859e0da22a5112055a.jpg","text":"TemporaryFile(/tmp/multipartBody477066490556613535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740183628,"filename":"image_15042025_19_57_47_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eca957d0ab7f68f16588e372b8ec048d.jpg","text":"TemporaryFile(/tmp/multipartBody2522897965383021761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740183628,"filename":"image_15042025_19_57_50_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349983444","file1":"1349983427","file0":"1349983388","file4":"1349983497","file5":"1349983526","file3":"1349983463"},"map_files_photo_id_array":[{"photo_id":"1349983526","filename":"file5"},{"photo_id":"1349983444","filename":"file2"},{"photo_id":"1349983497","filename":"file4"},{"photo_id":"1349983427","filename":"file1"},{"photo_id":"1349983388","filename":"file0"},{"photo_id":"1349983463","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349983497":["hashtag1","hashtag2"]},{"1349983388":["hashtag1","hashtag2"]},{"1349983463":["hashtag1","hashtag2"]},{"1349983526":["hashtag1","hashtag2"]},{"1349983427":["hashtag1","hashtag2"]},{"1349983444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349983497, 1349983388, 1349983463, 1349983526, 1349983427, 1349983444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94603729248047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:02:42.297233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_16_2727.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_23_2813.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_28_2664.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_34_2656.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_37_2683.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_41_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_16_2727.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_23_2813.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_28_2664.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_34_2656.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_37_2683.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_41_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349983729","1349983899","1349983788","1349983841","1349983678","1349983630"],"photo_ids_order":["1349983630","1349983678","1349983729","1349983788","1349983841","1349983899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc47b289bbaa9ea1c967442a396055f5.jpg","text":"TemporaryFile(/tmp/multipartBody4232389611881915243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740223007,"filename":"image_15042025_19_58_28_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cef9f1d5658877c42986e81e7dd4c77.jpg","text":"TemporaryFile(/tmp/multipartBody7615774695003441518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740223007,"filename":"image_15042025_19_58_41_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea2b192dddb7a27c4c477c2760dd0750.jpg","text":"TemporaryFile(/tmp/multipartBody6110059318470690898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740223007,"filename":"image_15042025_19_58_34_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8dd767493becddefd2bfa930dca543ca.jpg","text":"TemporaryFile(/tmp/multipartBody2471222426243533171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740223007,"filename":"image_15042025_19_58_37_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f49eb966b908374498d678349ffe27b0.jpg","text":"TemporaryFile(/tmp/multipartBody5104478148120971952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740223007,"filename":"image_15042025_19_58_23_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de9bce4bdd2a16034853d7f27f243caf.jpg","text":"TemporaryFile(/tmp/multipartBody8617572467027565150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740223007,"filename":"image_15042025_19_58_16_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349983729","file1":"1349983678","file0":"1349983630","file4":"1349983841","file5":"1349983899","file3":"1349983788"},"map_files_photo_id_array":[{"photo_id":"1349983899","filename":"file5"},{"photo_id":"1349983729","filename":"file2"},{"photo_id":"1349983841","filename":"file4"},{"photo_id":"1349983678","filename":"file1"},{"photo_id":"1349983630","filename":"file0"},{"photo_id":"1349983788","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349983729":["hashtag1","hashtag2"]},{"1349983899":["hashtag1","hashtag2"]},{"1349983788":["hashtag1","hashtag2"]},{"1349983841":["hashtag1","hashtag2"]},{"1349983678":["hashtag1","hashtag2"]},{"1349983630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349983729, 1349983899, 1349983788, 1349983841, 1349983678, 1349983630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07786464691162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:03:22.185938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_43_2614.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_46_2581.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_50_3669.jpg', '/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_55_2663.jpg', '/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_01_2670.jpg', '/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_04_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_43_2614.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_46_2581.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_50_3669.jpg
/home/pi/Desktop/images/15042025/19/58/image_15042025_19_58_55_2663.jpg
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_01_2670.jpg
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_04_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984148","1349984121","1349984189","1349984054","1349984078","1349984098"],"photo_ids_order":["1349984054","1349984078","1349984098","1349984121","1349984148","1349984189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71dd9dda3c57bb9cbd8987ffccc178ae.jpg","text":"TemporaryFile(/tmp/multipartBody6657826718732753041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740262935,"filename":"image_15042025_19_59_01_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0454a1480e4fe41c36b82ffd04be2ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8502063017079060626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740262935,"filename":"image_15042025_19_58_55_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1cf1e4d23280523d8042f9c7c3ca4ffc.jpg","text":"TemporaryFile(/tmp/multipartBody6242797454406604540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740262935,"filename":"image_15042025_19_59_04_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac70acd1bc3889d4862e9f92e0daefe4.jpg","text":"TemporaryFile(/tmp/multipartBody4748854346254856184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740262935,"filename":"image_15042025_19_58_43_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf54b78f11a12af10e72fb897f7a78d5.jpg","text":"TemporaryFile(/tmp/multipartBody7002842195229237223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740262935,"filename":"image_15042025_19_58_46_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c959269b22f14af1b18f589ac5c5b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1088690926587545964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740262935,"filename":"image_15042025_19_58_50_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984098","file1":"1349984078","file0":"1349984054","file4":"1349984148","file5":"1349984189","file3":"1349984121"},"map_files_photo_id_array":[{"photo_id":"1349984189","filename":"file5"},{"photo_id":"1349984098","filename":"file2"},{"photo_id":"1349984148","filename":"file4"},{"photo_id":"1349984078","filename":"file1"},{"photo_id":"1349984054","filename":"file0"},{"photo_id":"1349984121","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349984148":["hashtag1","hashtag2"]},{"1349984121":["hashtag1","hashtag2"]},{"1349984189":["hashtag1","hashtag2"]},{"1349984054":["hashtag1","hashtag2"]},{"1349984078":["hashtag1","hashtag2"]},{"1349984098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349984148, 1349984121, 1349984189, 1349984054, 1349984078, 1349984098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12400269508362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:04:02.686702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_16_2744.jpg', '/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_22_2715.jpg', '/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_25_3689.jpg', '/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_28_2648.jpg', '/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_31_2674.jpg', '/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_34_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_16_2744.jpg
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_22_2715.jpg
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_25_3689.jpg
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_28_2648.jpg
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_31_2674.jpg
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_34_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984283","1349984229","1349984291","1349984263","1349984305","1349984274"],"photo_ids_order":["1349984229","1349984263","1349984274","1349984283","1349984291","1349984305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ebf337b43424ba48f32ecfdff39c5ed.jpg","text":"TemporaryFile(/tmp/multipartBody8141600112191571020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740303499,"filename":"image_15042025_19_59_28_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2598419a2c1ec18b0c4148b4f039ee44.jpg","text":"TemporaryFile(/tmp/multipartBody1299091881351463403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740303499,"filename":"image_15042025_19_59_16_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5544897806fec223b12a6fa81c056d81.jpg","text":"TemporaryFile(/tmp/multipartBody7076599434553878729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740303499,"filename":"image_15042025_19_59_31_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7353b10e1c1e922f7b8287983773faec.jpg","text":"TemporaryFile(/tmp/multipartBody5140643024175736550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740303499,"filename":"image_15042025_19_59_22_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a9c104e0e31f35a30841cf2427a10e9.jpg","text":"TemporaryFile(/tmp/multipartBody2043387620134465879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740303499,"filename":"image_15042025_19_59_34_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a33ea6561df3743a8c8a2ad1450208b2.jpg","text":"TemporaryFile(/tmp/multipartBody2691208410554420610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740303499,"filename":"image_15042025_19_59_25_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984274","file1":"1349984263","file0":"1349984229","file4":"1349984291","file5":"1349984305","file3":"1349984283"},"map_files_photo_id_array":[{"photo_id":"1349984305","filename":"file5"},{"photo_id":"1349984274","filename":"file2"},{"photo_id":"1349984291","filename":"file4"},{"photo_id":"1349984263","filename":"file1"},{"photo_id":"1349984229","filename":"file0"},{"photo_id":"1349984283","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349984283":["hashtag1","hashtag2"]},{"1349984229":["hashtag1","hashtag2"]},{"1349984291":["hashtag1","hashtag2"]},{"1349984263":["hashtag1","hashtag2"]},{"1349984305":["hashtag1","hashtag2"]},{"1349984274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349984283, 1349984229, 1349984291, 1349984263, 1349984305, 1349984274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31411838531494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:04:41.914803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_37_2735.jpg', '/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_46_2679.jpg', '/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_49_2904.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_05_3804.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_07_2703.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_10_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_37_2735.jpg
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_46_2679.jpg
/home/pi/Desktop/images/15042025/19/59/image_15042025_19_59_49_2904.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_05_3804.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_07_2703.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_10_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984349","1349984328","1349984354","1349984338","1349984347","1349984323"],"photo_ids_order":["1349984323","1349984328","1349984338","1349984347","1349984349","1349984354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a81a969d110eabdb114275a9afc4ac82.jpg","text":"TemporaryFile(/tmp/multipartBody2229869532314963872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740342640,"filename":"image_15042025_20_00_07_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c359b16dc3f18713541055fc8eb19d3c.jpg","text":"TemporaryFile(/tmp/multipartBody6288457045999919780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740342640,"filename":"image_15042025_19_59_46_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c6c696b299f0b6a7d420bd602f22731.jpg","text":"TemporaryFile(/tmp/multipartBody1218360312214542341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740342640,"filename":"image_15042025_20_00_10_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b4815389c6f09ee47890527b7914af2.jpg","text":"TemporaryFile(/tmp/multipartBody6024121755820522567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740342640,"filename":"image_15042025_19_59_49_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/299eee8dc73d5216c7e2791a29b6ab79.jpg","text":"TemporaryFile(/tmp/multipartBody2877881776681744676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740342640,"filename":"image_15042025_20_00_05_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3cf6879aceda3f21c994e6949d79170.jpg","text":"TemporaryFile(/tmp/multipartBody3251522933204272266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740342640,"filename":"image_15042025_19_59_37_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984338","file1":"1349984328","file0":"1349984323","file4":"1349984349","file5":"1349984354","file3":"1349984347"},"map_files_photo_id_array":[{"photo_id":"1349984354","filename":"file5"},{"photo_id":"1349984338","filename":"file2"},{"photo_id":"1349984349","filename":"file4"},{"photo_id":"1349984328","filename":"file1"},{"photo_id":"1349984323","filename":"file0"},{"photo_id":"1349984347","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349984349":["hashtag1","hashtag2"]},{"1349984328":["hashtag1","hashtag2"]},{"1349984354":["hashtag1","hashtag2"]},{"1349984338":["hashtag1","hashtag2"]},{"1349984347":["hashtag1","hashtag2"]},{"1349984323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349984349, 1349984328, 1349984354, 1349984338, 1349984347, 1349984323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2057580947876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:05:21.779919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_24_1650.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_29_1727.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_31_1587.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_32_1592.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_34_1752.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_38_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_24_1650.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_29_1727.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_31_1587.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_32_1592.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_34_1752.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_38_3533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984399","1349984390","1349984387","1349984392","1349984383","1349984394"],"photo_ids_order":["1349984383","1349984387","1349984390","1349984392","1349984394","1349984399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4c933b5271061af85e45619bf3d1339.jpg","text":"TemporaryFile(/tmp/multipartBody3303602572011079517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740382488,"filename":"image_15042025_20_00_38_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db154f1f66afaf978c256b6eadbb033f.jpg","text":"TemporaryFile(/tmp/multipartBody6183172637594801469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740382488,"filename":"image_15042025_20_00_31_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85138643f2b2f0564b5d06e882922219.jpg","text":"TemporaryFile(/tmp/multipartBody8693639132856094759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740382488,"filename":"image_15042025_20_00_29_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d203a67b900ed84828ee28d018e4887.jpg","text":"TemporaryFile(/tmp/multipartBody2832925049010263679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740382488,"filename":"image_15042025_20_00_32_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1b24633752a813ad60c7b14c7c078aa.jpg","text":"TemporaryFile(/tmp/multipartBody3995067426657347875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740382488,"filename":"image_15042025_20_00_24_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c0aadc53835942438fdbb5420d5ff0e.jpg","text":"TemporaryFile(/tmp/multipartBody6536217532450654611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740382488,"filename":"image_15042025_20_00_34_1752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984390","file1":"1349984387","file0":"1349984383","file4":"1349984394","file5":"1349984399","file3":"1349984392"},"map_files_photo_id_array":[{"photo_id":"1349984399","filename":"file5"},{"photo_id":"1349984390","filename":"file2"},{"photo_id":"1349984394","filename":"file4"},{"photo_id":"1349984387","filename":"file1"},{"photo_id":"1349984383","filename":"file0"},{"photo_id":"1349984392","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349984399":["hashtag1","hashtag2"]},{"1349984390":["hashtag1","hashtag2"]},{"1349984387":["hashtag1","hashtag2"]},{"1349984392":["hashtag1","hashtag2"]},{"1349984383":["hashtag1","hashtag2"]},{"1349984394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349984399, 1349984390, 1349984387, 1349984392, 1349984383, 1349984394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42181134223938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:06:03.347241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_41_3006.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_43_2597.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_46_2684.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_49_3621.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_55_2600.jpg', '/home/pi/Desktop/images/15042025/20/00/image_15042025_20_01_01_3752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_41_3006.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_43_2597.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_46_2684.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_49_3621.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_00_55_2600.jpg
/home/pi/Desktop/images/15042025/20/00/image_15042025_20_01_01_3752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984415","1349984445","1349984439","1349984427","1349984449","1349984452"],"photo_ids_order":["1349984415","1349984427","1349984439","1349984445","1349984449","1349984452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e11b334e9ea4f37a78a3e676d8a4dde2.jpg","text":"TemporaryFile(/tmp/multipartBody3583505447384773904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740424098,"filename":"image_15042025_20_00_41_3006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5f95e1387ab8bb180533d9b2d35dd96.jpg","text":"TemporaryFile(/tmp/multipartBody8851034483743084115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740424098,"filename":"image_15042025_20_00_49_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9317017bf5eea931b7d0ee2489413098.jpg","text":"TemporaryFile(/tmp/multipartBody3896812058042049548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740424098,"filename":"image_15042025_20_00_46_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d830b4659303b6febc8bfbe1e2d3f99c.jpg","text":"TemporaryFile(/tmp/multipartBody7684313884849332779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740424098,"filename":"image_15042025_20_00_43_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e72d37cfb3aa53e739d63c38c45aece.jpg","text":"TemporaryFile(/tmp/multipartBody3388815604699083106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740424098,"filename":"image_15042025_20_00_55_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ac4013e764a2ba819d2b64978b46c02.jpg","text":"TemporaryFile(/tmp/multipartBody4256533645196970370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740424098,"filename":"image_15042025_20_01_01_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984439","file1":"1349984427","file0":"1349984415","file4":"1349984449","file5":"1349984452","file3":"1349984445"},"map_files_photo_id_array":[{"photo_id":"1349984452","filename":"file5"},{"photo_id":"1349984439","filename":"file2"},{"photo_id":"1349984449","filename":"file4"},{"photo_id":"1349984427","filename":"file1"},{"photo_id":"1349984415","filename":"file0"},{"photo_id":"1349984445","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349984415":["hashtag1","hashtag2"]},{"1349984445":["hashtag1","hashtag2"]},{"1349984439":["hashtag1","hashtag2"]},{"1349984427":["hashtag1","hashtag2"]},{"1349984449":["hashtag1","hashtag2"]},{"1349984452":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349984415, 1349984445, 1349984439, 1349984427, 1349984449, 1349984452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70341086387634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:06:42.686427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_07_2750.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_13_2545.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_16_2585.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_19_3599.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_22_2719.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_28_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_07_2750.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_13_2545.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_16_2585.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_19_3599.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_22_2719.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_28_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984489","1349984528","1349984467","1349984461","1349984539","1349984503"],"photo_ids_order":["1349984461","1349984467","1349984489","1349984503","1349984528","1349984539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/985edb8c4cb5f0517a7bf0bf8eff5152.jpg","text":"TemporaryFile(/tmp/multipartBody3353174428311448813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740463373,"filename":"image_15042025_20_01_16_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5152ee63535890904c1770f5e2d2c7c3.jpg","text":"TemporaryFile(/tmp/multipartBody7659437443003537989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740463373,"filename":"image_15042025_20_01_22_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc520e53f6a1481a61784dca11daba71.jpg","text":"TemporaryFile(/tmp/multipartBody1128455144283059535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740463373,"filename":"image_15042025_20_01_13_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ea0c5d7a842cd39ff432d39b11b07b9.jpg","text":"TemporaryFile(/tmp/multipartBody2888800729051567809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740463373,"filename":"image_15042025_20_01_07_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c0c761818426fda82c28ac3b54ea97f.jpg","text":"TemporaryFile(/tmp/multipartBody8215702398384414931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740463373,"filename":"image_15042025_20_01_28_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c2183817287f203dd16d5db86a6c509.jpg","text":"TemporaryFile(/tmp/multipartBody3928219055533539833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740463373,"filename":"image_15042025_20_01_19_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984489","file1":"1349984467","file0":"1349984461","file4":"1349984528","file5":"1349984539","file3":"1349984503"},"map_files_photo_id_array":[{"photo_id":"1349984539","filename":"file5"},{"photo_id":"1349984489","filename":"file2"},{"photo_id":"1349984528","filename":"file4"},{"photo_id":"1349984467","filename":"file1"},{"photo_id":"1349984461","filename":"file0"},{"photo_id":"1349984503","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349984489":["hashtag1","hashtag2"]},{"1349984528":["hashtag1","hashtag2"]},{"1349984467":["hashtag1","hashtag2"]},{"1349984461":["hashtag1","hashtag2"]},{"1349984539":["hashtag1","hashtag2"]},{"1349984503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349984489, 1349984528, 1349984467, 1349984461, 1349984539, 1349984503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.049166202545166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:07:22.685681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_31_2705.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_37_3765.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_43_3628.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_46_2783.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_52_2697.jpg', '/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_57_2017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_31_2705.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_37_3765.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_43_3628.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_46_2783.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_52_2697.jpg
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_01_57_2017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984579","1349984606","1349984581","1349984611","1349984608","1349984583"],"photo_ids_order":["1349984579","1349984581","1349984583","1349984606","1349984608","1349984611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5deb50abe9e8f681b868e59fbbebd08.jpg","text":"TemporaryFile(/tmp/multipartBody343435808862353223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740503417,"filename":"image_15042025_20_01_31_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0aee527ef3e79ada15c7568ed6f0ae07.jpg","text":"TemporaryFile(/tmp/multipartBody3220288577160184815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740503417,"filename":"image_15042025_20_01_46_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/166a15594a426d38db46a85174c0a946.jpg","text":"TemporaryFile(/tmp/multipartBody6020665725730256284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740503417,"filename":"image_15042025_20_01_37_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a1133e075d9f2f73a81c4f21783566d.jpg","text":"TemporaryFile(/tmp/multipartBody720264188972691006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740503417,"filename":"image_15042025_20_01_57_2017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43be4283df9ec071f92f5f4649584065.jpg","text":"TemporaryFile(/tmp/multipartBody2859923135063856208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740503417,"filename":"image_15042025_20_01_52_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd94276f8737d6a18f1ba4cdbc906429.jpg","text":"TemporaryFile(/tmp/multipartBody2723576297979235972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740503417,"filename":"image_15042025_20_01_43_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984583","file1":"1349984581","file0":"1349984579","file4":"1349984608","file5":"1349984611","file3":"1349984606"},"map_files_photo_id_array":[{"photo_id":"1349984611","filename":"file5"},{"photo_id":"1349984583","filename":"file2"},{"photo_id":"1349984608","filename":"file4"},{"photo_id":"1349984581","filename":"file1"},{"photo_id":"1349984579","filename":"file0"},{"photo_id":"1349984606","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349984579":["hashtag1","hashtag2"]},{"1349984606":["hashtag1","hashtag2"]},{"1349984581":["hashtag1","hashtag2"]},{"1349984611":["hashtag1","hashtag2"]},{"1349984608":["hashtag1","hashtag2"]},{"1349984583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349984579, 1349984606, 1349984581, 1349984611, 1349984608, 1349984583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69391870498657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:08:03.243546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/01/image_15042025_20_02_01_3722.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_04_2675.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_07_2916.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_10_3612.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_13_2725.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_22_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/01/image_15042025_20_02_01_3722.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_04_2675.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_07_2916.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_10_3612.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_13_2725.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_22_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984646","1349984625","1349984654","1349984639","1349984633","1349984650"],"photo_ids_order":["1349984625","1349984633","1349984639","1349984646","1349984650","1349984654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b6532c1e681427e5701e4636b343366.jpg","text":"TemporaryFile(/tmp/multipartBody7647447819173334703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740544019,"filename":"image_15042025_20_02_10_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73a4cc2fd342dfea0e5742708e02617f.jpg","text":"TemporaryFile(/tmp/multipartBody2001251600948282274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740544019,"filename":"image_15042025_20_02_01_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9c01930776ec5eb07fcb02f6357a63d.jpg","text":"TemporaryFile(/tmp/multipartBody5706657011211933118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740544019,"filename":"image_15042025_20_02_22_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2cde0dc8825c64b3b10fe0c72b8a2ad.jpg","text":"TemporaryFile(/tmp/multipartBody9065190658059574911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740544019,"filename":"image_15042025_20_02_07_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01a5b885ecda8f4475d30655bbf6b7fd.jpg","text":"TemporaryFile(/tmp/multipartBody3260472901110870439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740544019,"filename":"image_15042025_20_02_04_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a224f5bfd11d4c45c573e016169b18e0.jpg","text":"TemporaryFile(/tmp/multipartBody6416271222623724128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740544019,"filename":"image_15042025_20_02_13_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984639","file1":"1349984633","file0":"1349984625","file4":"1349984650","file5":"1349984654","file3":"1349984646"},"map_files_photo_id_array":[{"photo_id":"1349984654","filename":"file5"},{"photo_id":"1349984639","filename":"file2"},{"photo_id":"1349984650","filename":"file4"},{"photo_id":"1349984633","filename":"file1"},{"photo_id":"1349984625","filename":"file0"},{"photo_id":"1349984646","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349984646":["hashtag1","hashtag2"]},{"1349984625":["hashtag1","hashtag2"]},{"1349984654":["hashtag1","hashtag2"]},{"1349984639":["hashtag1","hashtag2"]},{"1349984633":["hashtag1","hashtag2"]},{"1349984650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349984646, 1349984625, 1349984654, 1349984639, 1349984633, 1349984650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.340214252471924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:08:42.620996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_25_2670.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_28_2684.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_34_2605.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_37_2696.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_40_3569.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_48_7708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_25_2670.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_28_2684.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_34_2605.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_37_2696.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_40_3569.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_48_7708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349984742","1349984684","1349984825","1349984711","1349984797","1349984770"],"photo_ids_order":["1349984684","1349984711","1349984742","1349984770","1349984797","1349984825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2369e6bfbe33826f1358d1d072b8e65.jpg","text":"TemporaryFile(/tmp/multipartBody854938415971253694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740583312,"filename":"image_15042025_20_02_34_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47d1b6e7c86763cb70b934157969d070.jpg","text":"TemporaryFile(/tmp/multipartBody6994046376199801382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740583312,"filename":"image_15042025_20_02_25_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b17d09a53ae6bb84f7872935c1ed940.jpg","text":"TemporaryFile(/tmp/multipartBody8324449186563128681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740583312,"filename":"image_15042025_20_02_48_7708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/418e25b9b86211b612e4f2e92d334637.jpg","text":"TemporaryFile(/tmp/multipartBody5586167051149615301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740583312,"filename":"image_15042025_20_02_28_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/652de8676825962daa70fe301a2cfe32.jpg","text":"TemporaryFile(/tmp/multipartBody2277410513650332662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740583312,"filename":"image_15042025_20_02_40_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7337c50d2a2a293008f9cd2f0e4a3622.jpg","text":"TemporaryFile(/tmp/multipartBody6450841536023678987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740583312,"filename":"image_15042025_20_02_37_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984742","file1":"1349984711","file0":"1349984684","file4":"1349984797","file5":"1349984825","file3":"1349984770"},"map_files_photo_id_array":[{"photo_id":"1349984825","filename":"file5"},{"photo_id":"1349984742","filename":"file2"},{"photo_id":"1349984797","filename":"file4"},{"photo_id":"1349984711","filename":"file1"},{"photo_id":"1349984684","filename":"file0"},{"photo_id":"1349984770","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349984742":["hashtag1","hashtag2"]},{"1349984684":["hashtag1","hashtag2"]},{"1349984825":["hashtag1","hashtag2"]},{"1349984711":["hashtag1","hashtag2"]},{"1349984797":["hashtag1","hashtag2"]},{"1349984770":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349984742, 1349984684, 1349984825, 1349984711, 1349984797, 1349984770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28899812698364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:09:22.452923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_49_1611.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_51_1665.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_53_1649.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_54_1602.jpg', '/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_58_3717.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_01_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_49_1611.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_51_1665.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_53_1649.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_54_1602.jpg
/home/pi/Desktop/images/15042025/20/02/image_15042025_20_02_58_3717.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_01_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349985074","1349985041","1349984933","1349984995","1349985034","1349984965"],"photo_ids_order":["1349984933","1349984965","1349984995","1349985034","1349985041","1349985074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5924125f89e520cfcd049ce3859a52e.jpg","text":"TemporaryFile(/tmp/multipartBody6878218899874200940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740623141,"filename":"image_15042025_20_03_01_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc72b907eaaa8ecf4dfb4def85ea9f79.jpg","text":"TemporaryFile(/tmp/multipartBody7660158392406502178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740623141,"filename":"image_15042025_20_02_58_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7007039616bd4cfaabade0b6ec418e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4086265325548222277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740623141,"filename":"image_15042025_20_02_49_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27a97fc67e7f6721497ea20f87e9c906.jpg","text":"TemporaryFile(/tmp/multipartBody3184604710232315361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740623141,"filename":"image_15042025_20_02_53_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/862a70ae2c0799b717ddb8e74600b9ac.jpg","text":"TemporaryFile(/tmp/multipartBody6701221868594178599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740623141,"filename":"image_15042025_20_02_54_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52219f423d450cb1589cc74401867ea7.jpg","text":"TemporaryFile(/tmp/multipartBody5426308231360750290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740623141,"filename":"image_15042025_20_02_51_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349984995","file1":"1349984965","file0":"1349984933","file4":"1349985041","file5":"1349985074","file3":"1349985034"},"map_files_photo_id_array":[{"photo_id":"1349985074","filename":"file5"},{"photo_id":"1349984995","filename":"file2"},{"photo_id":"1349985041","filename":"file4"},{"photo_id":"1349984965","filename":"file1"},{"photo_id":"1349984933","filename":"file0"},{"photo_id":"1349985034","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349985074":["hashtag1","hashtag2"]},{"1349985041":["hashtag1","hashtag2"]},{"1349984933":["hashtag1","hashtag2"]},{"1349984995":["hashtag1","hashtag2"]},{"1349985034":["hashtag1","hashtag2"]},{"1349984965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349985074, 1349985041, 1349984933, 1349984995, 1349985034, 1349984965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.426172733306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:10:02.431918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_07_2746.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_13_3649.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_21_2734.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_28_2791.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_31_2708.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_37_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_07_2746.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_13_3649.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_21_2734.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_28_2791.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_31_2708.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_37_3640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6886284351348877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:10:21.813422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_07_2746.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_13_3649.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_21_2734.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_28_2791.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_31_2708.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_37_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_07_2746.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_13_3649.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_21_2734.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_28_2791.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_31_2708.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_37_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349985213","1349985209","1349985241","1349985220","1349985208","1349985202"],"photo_ids_order":["1349985202","1349985208","1349985209","1349985213","1349985220","1349985241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/feacde62dc5e6a4aef74e41092f91e85.jpg","text":"TemporaryFile(/tmp/multipartBody7031146980009257083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740682495,"filename":"image_15042025_20_03_28_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/131f3fc250340ccfa58509d4f8d8e081.jpg","text":"TemporaryFile(/tmp/multipartBody4311842542386276272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740682495,"filename":"image_15042025_20_03_21_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89aa8e979b3b2cda315636cbee65ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody2767351966578774190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740682495,"filename":"image_15042025_20_03_37_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8763ff5c28c640863841cd71c730c102.jpg","text":"TemporaryFile(/tmp/multipartBody2027052862968785636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740682495,"filename":"image_15042025_20_03_31_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78d2e6dd144883eeece24dd23c8ff1e7.jpg","text":"TemporaryFile(/tmp/multipartBody7650885154664472617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740682495,"filename":"image_15042025_20_03_13_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75475ffdf2e0b24bbe2b94b1d2822b03.jpg","text":"TemporaryFile(/tmp/multipartBody9144199711002899443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740682495,"filename":"image_15042025_20_03_07_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349985209","file1":"1349985208","file0":"1349985202","file4":"1349985220","file5":"1349985241","file3":"1349985213"},"map_files_photo_id_array":[{"photo_id":"1349985241","filename":"file5"},{"photo_id":"1349985209","filename":"file2"},{"photo_id":"1349985220","filename":"file4"},{"photo_id":"1349985208","filename":"file1"},{"photo_id":"1349985202","filename":"file0"},{"photo_id":"1349985213","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349985213":["hashtag1","hashtag2"]},{"1349985209":["hashtag1","hashtag2"]},{"1349985241":["hashtag1","hashtag2"]},{"1349985220":["hashtag1","hashtag2"]},{"1349985208":["hashtag1","hashtag2"]},{"1349985202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349985213, 1349985209, 1349985241, 1349985220, 1349985208, 1349985202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27166962623596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:11:02.783315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_40_2533.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_46_3800.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_51_2654.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_55_3640.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_58_2691.jpg', '/home/pi/Desktop/images/15042025/20/03/image_15042025_20_04_00_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_40_2533.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_46_3800.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_51_2654.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_55_3640.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_03_58_2691.jpg
/home/pi/Desktop/images/15042025/20/03/image_15042025_20_04_00_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349985411","1349985428","1349985397","1349985367","1349985361","1349985424"],"photo_ids_order":["1349985361","1349985367","1349985397","1349985411","1349985424","1349985428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39313fe173dd7bad4db2d4c42f54904f.jpg","text":"TemporaryFile(/tmp/multipartBody257904630205063767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740723635,"filename":"image_15042025_20_03_55_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d552ecb015bb6087bad948b410735f6.jpg","text":"TemporaryFile(/tmp/multipartBody3310087751510621393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740723635,"filename":"image_15042025_20_04_00_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5a1ec541401cef67184998b7ad9f609.jpg","text":"TemporaryFile(/tmp/multipartBody4464566415125617151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740723635,"filename":"image_15042025_20_03_51_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f6adf5512e451581523f809368b0dc4.jpg","text":"TemporaryFile(/tmp/multipartBody8291905978250336483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740723635,"filename":"image_15042025_20_03_46_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a5ce7c7b7f663ff25f636124aa53439.jpg","text":"TemporaryFile(/tmp/multipartBody1544344865629294273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740723635,"filename":"image_15042025_20_03_40_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2a67e681647175d250fb20b067dbe8f.jpg","text":"TemporaryFile(/tmp/multipartBody5909469563373529558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740723635,"filename":"image_15042025_20_03_58_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349985397","file1":"1349985367","file0":"1349985361","file4":"1349985424","file5":"1349985428","file3":"1349985411"},"map_files_photo_id_array":[{"photo_id":"1349985428","filename":"file5"},{"photo_id":"1349985397","filename":"file2"},{"photo_id":"1349985424","filename":"file4"},{"photo_id":"1349985367","filename":"file1"},{"photo_id":"1349985361","filename":"file0"},{"photo_id":"1349985411","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349985411":["hashtag1","hashtag2"]},{"1349985428":["hashtag1","hashtag2"]},{"1349985397":["hashtag1","hashtag2"]},{"1349985367":["hashtag1","hashtag2"]},{"1349985361":["hashtag1","hashtag2"]},{"1349985424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349985411, 1349985428, 1349985397, 1349985367, 1349985361, 1349985424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95665907859802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:11:42.002399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_07_3061.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_12_2704.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_16_3724.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_19_2747.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_22_2639.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_28_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_07_3061.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_12_2704.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_16_3724.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_19_2747.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_22_2639.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_28_3546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349985500","1349985478","1349985517","1349985511","1349985489","1349985486"],"photo_ids_order":["1349985478","1349985486","1349985489","1349985500","1349985511","1349985517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45106bf816ee2b4f27651ac2beb61b71.jpg","text":"TemporaryFile(/tmp/multipartBody2811127476207428072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740762731,"filename":"image_15042025_20_04_19_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/baccccceb5d6e3f2e08566e516c92bcf.jpg","text":"TemporaryFile(/tmp/multipartBody1527499453063407901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740762731,"filename":"image_15042025_20_04_07_3061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bafd775f73db6a9e7a2256795798b6fb.jpg","text":"TemporaryFile(/tmp/multipartBody8052581467398888925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740762731,"filename":"image_15042025_20_04_28_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74e67ee8058298dfd553ac2593ae10ac.jpg","text":"TemporaryFile(/tmp/multipartBody4585066383136966382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740762731,"filename":"image_15042025_20_04_22_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8bebda13128920cd48da50854fbe2288.jpg","text":"TemporaryFile(/tmp/multipartBody2472072286626853055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740762731,"filename":"image_15042025_20_04_16_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b92bda58a9f583d37c06f184acf6be5.jpg","text":"TemporaryFile(/tmp/multipartBody5529692328660407299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740762731,"filename":"image_15042025_20_04_12_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349985489","file1":"1349985486","file0":"1349985478","file4":"1349985511","file5":"1349985517","file3":"1349985500"},"map_files_photo_id_array":[{"photo_id":"1349985517","filename":"file5"},{"photo_id":"1349985489","filename":"file2"},{"photo_id":"1349985511","filename":"file4"},{"photo_id":"1349985486","filename":"file1"},{"photo_id":"1349985478","filename":"file0"},{"photo_id":"1349985500","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349985500":["hashtag1","hashtag2"]},{"1349985478":["hashtag1","hashtag2"]},{"1349985517":["hashtag1","hashtag2"]},{"1349985511":["hashtag1","hashtag2"]},{"1349985489":["hashtag1","hashtag2"]},{"1349985486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349985500, 1349985478, 1349985517, 1349985511, 1349985489, 1349985486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07807731628418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:12:22.437170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_30_2523.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_34_3529.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_43_3612.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_46_2691.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_52_2642.jpg', '/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_57_2845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_30_2523.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_34_3529.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_43_3612.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_46_2691.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_52_2642.jpg
/home/pi/Desktop/images/15042025/20/04/image_15042025_20_04_57_2845.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349985615","1349985671","1349985554","1349985643","1349985586","1349985700"],"photo_ids_order":["1349985554","1349985586","1349985615","1349985643","1349985671","1349985700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d83ccddbb2e2c28bf969b9ffe686759.jpg","text":"TemporaryFile(/tmp/multipartBody3284159661328080297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740803118,"filename":"image_15042025_20_04_43_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8e6972cd5d399f08250240a5f40278a.jpg","text":"TemporaryFile(/tmp/multipartBody4794259135941722840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740803118,"filename":"image_15042025_20_04_52_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20cbc8fdb2af711894d768cb95265f27.jpg","text":"TemporaryFile(/tmp/multipartBody2146326541102428064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740803118,"filename":"image_15042025_20_04_30_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8e29157b4f8dd802a37adf9e976a893.jpg","text":"TemporaryFile(/tmp/multipartBody3792155220989622937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740803118,"filename":"image_15042025_20_04_46_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8943831ba8963902a025073e3f6ec486.jpg","text":"TemporaryFile(/tmp/multipartBody8293006978664000329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740803118,"filename":"image_15042025_20_04_34_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e5b3d1d93956ad92ae0d746ad1440dc.jpg","text":"TemporaryFile(/tmp/multipartBody5567164612193134845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740803118,"filename":"image_15042025_20_04_57_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349985615","file1":"1349985586","file0":"1349985554","file4":"1349985671","file5":"1349985700","file3":"1349985643"},"map_files_photo_id_array":[{"photo_id":"1349985700","filename":"file5"},{"photo_id":"1349985615","filename":"file2"},{"photo_id":"1349985671","filename":"file4"},{"photo_id":"1349985586","filename":"file1"},{"photo_id":"1349985554","filename":"file0"},{"photo_id":"1349985643","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349985615":["hashtag1","hashtag2"]},{"1349985671":["hashtag1","hashtag2"]},{"1349985554":["hashtag1","hashtag2"]},{"1349985643":["hashtag1","hashtag2"]},{"1349985586":["hashtag1","hashtag2"]},{"1349985700":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349985615, 1349985671, 1349985554, 1349985643, 1349985586, 1349985700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.097320318222046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:13:02.559261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_06_2633.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_10_3628.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_17_4286.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_19_1682.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_21_2618.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_25_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_06_2633.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_10_3628.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_17_4286.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_19_1682.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_21_2618.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_25_3578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349985890","1349985902","1349985874","1349985862","1349985885","1349985831"],"photo_ids_order":["1349985831","1349985862","1349985874","1349985885","1349985890","1349985902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59449c1df5c503904fab2cc24070201a.jpg","text":"TemporaryFile(/tmp/multipartBody6950581820316475470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740843384,"filename":"image_15042025_20_05_21_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7adbd9323ba7ae016943ac2ac6673099.jpg","text":"TemporaryFile(/tmp/multipartBody1986069504196179333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740843384,"filename":"image_15042025_20_05_25_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d89698536a4ba4bfac84092ff5a19bc.jpg","text":"TemporaryFile(/tmp/multipartBody4003985629819940501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740843384,"filename":"image_15042025_20_05_17_4286.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd8176569b3a58e84cf29767ce475d5a.jpg","text":"TemporaryFile(/tmp/multipartBody6684918421359592347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740843384,"filename":"image_15042025_20_05_10_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2559721a465c6925d0e9aa0ed1f139c7.jpg","text":"TemporaryFile(/tmp/multipartBody8166741615425304795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740843384,"filename":"image_15042025_20_05_19_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76481789857236f793e04402d7edef15.jpg","text":"TemporaryFile(/tmp/multipartBody6485548063581330631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740843384,"filename":"image_15042025_20_05_06_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349985874","file1":"1349985862","file0":"1349985831","file4":"1349985890","file5":"1349985902","file3":"1349985885"},"map_files_photo_id_array":[{"photo_id":"1349985902","filename":"file5"},{"photo_id":"1349985874","filename":"file2"},{"photo_id":"1349985890","filename":"file4"},{"photo_id":"1349985862","filename":"file1"},{"photo_id":"1349985831","filename":"file0"},{"photo_id":"1349985885","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349985890":["hashtag1","hashtag2"]},{"1349985902":["hashtag1","hashtag2"]},{"1349985874":["hashtag1","hashtag2"]},{"1349985862":["hashtag1","hashtag2"]},{"1349985885":["hashtag1","hashtag2"]},{"1349985831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349985890, 1349985902, 1349985874, 1349985862, 1349985885, 1349985831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46775841712952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:13:41.830159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_28_2751.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_30_2970.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_33_2694.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_42_2579.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_46_3703.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_49_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_28_2751.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_30_2970.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_33_2694.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_42_2579.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_46_3703.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_49_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349985920","1349985928","1349985916","1349986073","1349985930","1349985924"],"photo_ids_order":["1349985916","1349985920","1349985924","1349985928","1349985930","1349986073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb5dad4e773deb1b91be6a6faa8f22d5.jpg","text":"TemporaryFile(/tmp/multipartBody4341451131582986252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740882529,"filename":"image_15042025_20_05_30_2970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c96a2083b09755151446f733f2d37088.jpg","text":"TemporaryFile(/tmp/multipartBody3038094341847718563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740882529,"filename":"image_15042025_20_05_42_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d9f7cfed035e28a1aebf8b13ee98399.jpg","text":"TemporaryFile(/tmp/multipartBody4917867531983800941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740882529,"filename":"image_15042025_20_05_28_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/994487aba606c695e19953028d15f8e0.jpg","text":"TemporaryFile(/tmp/multipartBody7413902105858122235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740882529,"filename":"image_15042025_20_05_49_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da1551c0d44ce4fc88e462ac79f872be.jpg","text":"TemporaryFile(/tmp/multipartBody8372769838413715315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740882529,"filename":"image_15042025_20_05_46_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/570d4f6360050a7cbee30fc5f4044a06.jpg","text":"TemporaryFile(/tmp/multipartBody6507032000081650550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740882529,"filename":"image_15042025_20_05_33_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349985924","file1":"1349985920","file0":"1349985916","file4":"1349985930","file5":"1349986073","file3":"1349985928"},"map_files_photo_id_array":[{"photo_id":"1349986073","filename":"file5"},{"photo_id":"1349985924","filename":"file2"},{"photo_id":"1349985930","filename":"file4"},{"photo_id":"1349985920","filename":"file1"},{"photo_id":"1349985916","filename":"file0"},{"photo_id":"1349985928","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349985920":["hashtag1","hashtag2"]},{"1349985928":["hashtag1","hashtag2"]},{"1349985916":["hashtag1","hashtag2"]},{"1349986073":["hashtag1","hashtag2"]},{"1349985930":["hashtag1","hashtag2"]},{"1349985924":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349985920, 1349985928, 1349985916, 1349986073, 1349985930, 1349985924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64045691490173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:14:21.808254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_51_2646.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_55_3664.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_58_2596.jpg', '/home/pi/Desktop/images/15042025/20/05/image_15042025_20_06_00_2819.jpg', '/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_07_2617.jpg', '/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_16_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_51_2646.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_55_3664.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_05_58_2596.jpg
/home/pi/Desktop/images/15042025/20/05/image_15042025_20_06_00_2819.jpg
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_07_2617.jpg
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_16_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349986168","1349986261","1349986293","1349986231","1349986204","1349986134"],"photo_ids_order":["1349986134","1349986168","1349986204","1349986231","1349986261","1349986293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/903dc77f1cb271acf621af870ec055d3.jpg","text":"TemporaryFile(/tmp/multipartBody97875378941397549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740922624,"filename":"image_15042025_20_05_55_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b0137d8c2c8da3268c40e17688b29ae.jpg","text":"TemporaryFile(/tmp/multipartBody364852388194694474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740922624,"filename":"image_15042025_20_06_07_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac758d498ffb0a9a5c0cc84de885e805.jpg","text":"TemporaryFile(/tmp/multipartBody4636402858150119662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740922624,"filename":"image_15042025_20_06_16_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01de7225cadf7b03e3faa2625fa0ef3f.jpg","text":"TemporaryFile(/tmp/multipartBody4544348405839807568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740922624,"filename":"image_15042025_20_06_00_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2974c931a24511eaf477f8f3955ef2b.jpg","text":"TemporaryFile(/tmp/multipartBody8735021934320299475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740922624,"filename":"image_15042025_20_05_58_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/383b535fb602933765559159b3049cf4.jpg","text":"TemporaryFile(/tmp/multipartBody2349382827185611505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740922624,"filename":"image_15042025_20_05_51_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349986204","file1":"1349986168","file0":"1349986134","file4":"1349986261","file5":"1349986293","file3":"1349986231"},"map_files_photo_id_array":[{"photo_id":"1349986293","filename":"file5"},{"photo_id":"1349986204","filename":"file2"},{"photo_id":"1349986261","filename":"file4"},{"photo_id":"1349986168","filename":"file1"},{"photo_id":"1349986134","filename":"file0"},{"photo_id":"1349986231","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349986168":["hashtag1","hashtag2"]},{"1349986261":["hashtag1","hashtag2"]},{"1349986293":["hashtag1","hashtag2"]},{"1349986231":["hashtag1","hashtag2"]},{"1349986204":["hashtag1","hashtag2"]},{"1349986134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349986168, 1349986261, 1349986293, 1349986231, 1349986204, 1349986134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36234402656555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:15:03.453362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_22_3687.jpg', '/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_25_2949.jpg', '/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_28_2665.jpg', '/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_34_3568.jpg', '/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_39_2856.jpg', '/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_43_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_22_3687.jpg
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_25_2949.jpg
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_28_2665.jpg
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_34_3568.jpg
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_39_2856.jpg
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_43_3603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349986754","1349986637","1349986696","1349986528","1349986580","1349986472"],"photo_ids_order":["1349986472","1349986528","1349986580","1349986637","1349986696","1349986754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f64da69bd522e796f9ba4ad8ddb4159.jpg","text":"TemporaryFile(/tmp/multipartBody1373632737836354453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740964273,"filename":"image_15042025_20_06_43_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b61b4933b2dc0d27255d145531b35639.jpg","text":"TemporaryFile(/tmp/multipartBody7156390563594088978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740964273,"filename":"image_15042025_20_06_34_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06e4a03ad2def148254fa6dae89c2eac.jpg","text":"TemporaryFile(/tmp/multipartBody3318707961360645825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740964273,"filename":"image_15042025_20_06_39_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e547604c977dedd31b1b961c2ef5b26.jpg","text":"TemporaryFile(/tmp/multipartBody9014067764109412672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740964273,"filename":"image_15042025_20_06_25_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b057df12fea07b1233796a815f9aa957.jpg","text":"TemporaryFile(/tmp/multipartBody6368502286115346157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740964273,"filename":"image_15042025_20_06_28_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/277c511dc7f3c532ccc0e5a7077b07a7.jpg","text":"TemporaryFile(/tmp/multipartBody7958196368625838147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744740964273,"filename":"image_15042025_20_06_22_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349986580","file1":"1349986528","file0":"1349986472","file4":"1349986696","file5":"1349986754","file3":"1349986637"},"map_files_photo_id_array":[{"photo_id":"1349986754","filename":"file5"},{"photo_id":"1349986580","filename":"file2"},{"photo_id":"1349986696","filename":"file4"},{"photo_id":"1349986528","filename":"file1"},{"photo_id":"1349986472","filename":"file0"},{"photo_id":"1349986637","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349986754":["hashtag1","hashtag2"]},{"1349986637":["hashtag1","hashtag2"]},{"1349986696":["hashtag1","hashtag2"]},{"1349986528":["hashtag1","hashtag2"]},{"1349986580":["hashtag1","hashtag2"]},{"1349986472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349986754, 1349986637, 1349986696, 1349986528, 1349986580, 1349986472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59230589866638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:15:42.652225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_48_2692.jpg', '/home/pi/Desktop/images/15042025/20/07/image_15042025_20_07_04_2744.jpg', '/home/pi/Desktop/images/15042025/20/07/image_15042025_20_07_09_2733.jpg', '/home/pi/Desktop/images/15042025/20/07/image_15042025_20_07_18_2711.jpg', '/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_10_3526.jpg', '/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_36_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/06/image_15042025_20_06_48_2692.jpg
/home/pi/Desktop/images/15042025/20/07/image_15042025_20_07_04_2744.jpg
/home/pi/Desktop/images/15042025/20/07/image_15042025_20_07_09_2733.jpg
/home/pi/Desktop/images/15042025/20/07/image_15042025_20_07_18_2711.jpg
/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_10_3526.jpg
/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_36_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349986943","1349987083","1349987227","1349987005","1349987273","1349987174"],"photo_ids_order":["1349986943","1349987005","1349987083","1349987174","1349987227","1349987273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1774684dce759e9a2e3a4b1786d78560.jpg","text":"TemporaryFile(/tmp/multipartBody6701461328118186516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741003363,"filename":"image_15042025_20_06_48_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e77460ff04c1bf91318e7098bde2063.jpg","text":"TemporaryFile(/tmp/multipartBody1562866345500226070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741003363,"filename":"image_15042025_20_07_09_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b006b946d877e3e623992880b2d7dd5.jpg","text":"TemporaryFile(/tmp/multipartBody2509024329934179826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741003363,"filename":"image_15042025_20_08_10_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c89fa1b7b28dfcecb770e92418ef5a96.jpg","text":"TemporaryFile(/tmp/multipartBody2862967300925093211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741003363,"filename":"image_15042025_20_07_04_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bf4124c247754a15cd550454c27ae69.jpg","text":"TemporaryFile(/tmp/multipartBody5970333918924925825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741003363,"filename":"image_15042025_20_08_36_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf5b11855988663197fdc0916b3b3c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6515023967596437534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741003363,"filename":"image_15042025_20_07_18_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349987083","file1":"1349987005","file0":"1349986943","file4":"1349987227","file5":"1349987273","file3":"1349987174"},"map_files_photo_id_array":[{"photo_id":"1349987273","filename":"file5"},{"photo_id":"1349987083","filename":"file2"},{"photo_id":"1349987227","filename":"file4"},{"photo_id":"1349987005","filename":"file1"},{"photo_id":"1349986943","filename":"file0"},{"photo_id":"1349987174","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349986943":["hashtag1","hashtag2"]},{"1349987083":["hashtag1","hashtag2"]},{"1349987227":["hashtag1","hashtag2"]},{"1349987005":["hashtag1","hashtag2"]},{"1349987273":["hashtag1","hashtag2"]},{"1349987174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349986943, 1349987083, 1349987227, 1349987005, 1349987273, 1349987174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38224005699158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:16:22.201628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_39_2782.jpg', '/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_43_3854.jpg', '/home/pi/Desktop/images/15042025/20/09/image_15042025_20_09_43_3736.jpg', '/home/pi/Desktop/images/15042025/20/11/image_15042025_20_11_51_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_39_2782.jpg
/home/pi/Desktop/images/15042025/20/08/image_15042025_20_08_43_3854.jpg
/home/pi/Desktop/images/15042025/20/09/image_15042025_20_09_43_3736.jpg
/home/pi/Desktop/images/15042025/20/11/image_15042025_20_11_51_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349987496","1349987382","1349987445","1349987415"],"photo_ids_order":["1349987382","1349987415","1349987445","1349987496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ba60a6938a4dc8412f6e2563646ea04.jpg","text":"TemporaryFile(/tmp/multipartBody605994695381556464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741042850,"filename":"image_15042025_20_11_51_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6461fcb9d91f189211151873c8501193.jpg","text":"TemporaryFile(/tmp/multipartBody5158260490656363803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741042850,"filename":"image_15042025_20_08_39_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88e079d3ca8461f797922f96c978e713.jpg","text":"TemporaryFile(/tmp/multipartBody8429577844733755765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741042850,"filename":"image_15042025_20_09_43_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42d816b11c73f30e409272286f0b2481.jpg","text":"TemporaryFile(/tmp/multipartBody5799805436191807870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741042850,"filename":"image_15042025_20_08_43_3854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349987445","file1":"1349987415","file0":"1349987382","file3":"1349987496"},"map_files_photo_id_array":[{"photo_id":"1349987445","filename":"file2"},{"photo_id":"1349987415","filename":"file1"},{"photo_id":"1349987382","filename":"file0"},{"photo_id":"1349987496","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349987496":["hashtag1","hashtag2"]},{"1349987382":["hashtag1","hashtag2"]},{"1349987445":["hashtag1","hashtag2"]},{"1349987415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349987496, 1349987382, 1349987445, 1349987415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.45247507095337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:17:02.697107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_07_2712.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_10_2906.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_13_2671.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_17_3626.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_19_2644.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_26_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_07_2712.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_10_2906.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_13_2671.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_17_3626.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_19_2644.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_26_3558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349988120","1349988207","1349988272","1349988239","1349988032","1349988169"],"photo_ids_order":["1349988032","1349988120","1349988169","1349988207","1349988239","1349988272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e75258651fcc49d1e4dc0fdeaa90bd7a.jpg","text":"TemporaryFile(/tmp/multipartBody3399094084012556870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741085295,"filename":"image_14042025_14_11_10_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a51bccb922e1b6def05c93ef915249a.jpg","text":"TemporaryFile(/tmp/multipartBody4659204303054511866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741085295,"filename":"image_14042025_14_11_17_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/786abe1d94287288671af6eabe2e3994.jpg","text":"TemporaryFile(/tmp/multipartBody7987102330470500308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741085295,"filename":"image_14042025_14_11_26_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ddbd262d611f0135cd31dee0a1864ffa.jpg","text":"TemporaryFile(/tmp/multipartBody3773425208313084170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741085295,"filename":"image_14042025_14_11_19_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f32b8d15054164e6481f84dd0f24d1d0.jpg","text":"TemporaryFile(/tmp/multipartBody3643000014607514261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741085295,"filename":"image_14042025_14_11_07_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2db5796e8a9d9077d16c5110281a2167.jpg","text":"TemporaryFile(/tmp/multipartBody8206877178964370597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741085295,"filename":"image_14042025_14_11_13_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349988169","file1":"1349988120","file0":"1349988032","file4":"1349988239","file5":"1349988272","file3":"1349988207"},"map_files_photo_id_array":[{"photo_id":"1349988272","filename":"file5"},{"photo_id":"1349988169","filename":"file2"},{"photo_id":"1349988239","filename":"file4"},{"photo_id":"1349988120","filename":"file1"},{"photo_id":"1349988032","filename":"file0"},{"photo_id":"1349988207","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349988120":["hashtag1","hashtag2"]},{"1349988207":["hashtag1","hashtag2"]},{"1349988272":["hashtag1","hashtag2"]},{"1349988239":["hashtag1","hashtag2"]},{"1349988032":["hashtag1","hashtag2"]},{"1349988169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349988120, 1349988207, 1349988272, 1349988239, 1349988032, 1349988169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.974613666534424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:17:42.002121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_34_2765.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_37_3593.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_40_2710.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_44_3542.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_46_2718.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_49_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_34_2765.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_37_3593.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_40_2710.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_44_3542.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_46_2718.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_49_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349988475","1349988510","1349988437","1349988701","1349988688","1349988661"],"photo_ids_order":["1349988437","1349988475","1349988510","1349988661","1349988688","1349988701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08d1c7647a0e47c2a491dd4b57940d12.jpg","text":"TemporaryFile(/tmp/multipartBody6709158575416389878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741123365,"filename":"image_14042025_14_11_37_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f624ee3349be84c3080b80b574a14fd.jpg","text":"TemporaryFile(/tmp/multipartBody6391156546827092253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741123365,"filename":"image_14042025_14_11_40_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54d2f25a7cd954cd1d6090bfe1a8592f.jpg","text":"TemporaryFile(/tmp/multipartBody231198540715749212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741123365,"filename":"image_14042025_14_11_34_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edc96633e578b3a3ccfe7a25f7f35711.jpg","text":"TemporaryFile(/tmp/multipartBody5143383756226143422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741123365,"filename":"image_14042025_14_11_49_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f27c39eb3a4edd14b7e06f9e49ed1d69.jpg","text":"TemporaryFile(/tmp/multipartBody4734385508117517093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741123365,"filename":"image_14042025_14_11_46_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32bde47bcea743fb7e3b6c85273e1a1f.jpg","text":"TemporaryFile(/tmp/multipartBody7786447827988509699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741123365,"filename":"image_14042025_14_11_44_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349988510","file1":"1349988475","file0":"1349988437","file4":"1349988688","file5":"1349988701","file3":"1349988661"},"map_files_photo_id_array":[{"photo_id":"1349988701","filename":"file5"},{"photo_id":"1349988510","filename":"file2"},{"photo_id":"1349988688","filename":"file4"},{"photo_id":"1349988475","filename":"file1"},{"photo_id":"1349988437","filename":"file0"},{"photo_id":"1349988661","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349988475":["hashtag1","hashtag2"]},{"1349988510":["hashtag1","hashtag2"]},{"1349988437":["hashtag1","hashtag2"]},{"1349988701":["hashtag1","hashtag2"]},{"1349988688":["hashtag1","hashtag2"]},{"1349988661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349988475, 1349988510, 1349988437, 1349988701, 1349988688, 1349988661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78570103645325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:18:22.368927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/16/image_15042025_20_16_42_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/16/image_15042025_20_16_42_3579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349988831"],"photo_id":"1349988831","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7394d1a352a68ebb537a9ec588caa2ce.jpg","text":"TemporaryFile(/tmp/multipartBody1430258779782731027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741162953,"filename":"image_15042025_20_16_42_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349988831"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349988831"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.748444080352783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:18:42.364805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_55_3723.jpg', '/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_58_2594.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_2805.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_04_3590.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_13_3629.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_19_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_55_3723.jpg
/home/pi/Desktop/images/14042025/14/11/image_14042025_14_11_58_2594.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_01_2805.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_04_3590.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_13_3629.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_19_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349989012","1349989073","1349989175","1349989046","1349988983","1349989123"],"photo_ids_order":["1349988983","1349989012","1349989046","1349989073","1349989123","1349989175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c494a089592b27b2ac37c7c9bc65f3d.jpg","text":"TemporaryFile(/tmp/multipartBody7312647023963059707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741183752,"filename":"image_14042025_14_11_58_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79272b4bd39f93ee7037d1df6405974f.jpg","text":"TemporaryFile(/tmp/multipartBody3157484655700425464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741183752,"filename":"image_14042025_14_12_04_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/152be42a30eb0d80eadfb96266a016ee.jpg","text":"TemporaryFile(/tmp/multipartBody1371746054111169891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741183752,"filename":"image_14042025_14_12_19_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd3b3a75354ce711a3d0830355159f10.jpg","text":"TemporaryFile(/tmp/multipartBody4840085506472215711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741183752,"filename":"image_14042025_14_12_01_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b154591464efc8610140ee133c9f2974.jpg","text":"TemporaryFile(/tmp/multipartBody5274903385006300316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741183752,"filename":"image_14042025_14_11_55_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5ef60b28b9b5666acc4c9f8deb009be.jpg","text":"TemporaryFile(/tmp/multipartBody1873145508052598439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741183752,"filename":"image_14042025_14_12_13_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349989046","file1":"1349989012","file0":"1349988983","file4":"1349989123","file5":"1349989175","file3":"1349989073"},"map_files_photo_id_array":[{"photo_id":"1349989175","filename":"file5"},{"photo_id":"1349989046","filename":"file2"},{"photo_id":"1349989123","filename":"file4"},{"photo_id":"1349989012","filename":"file1"},{"photo_id":"1349988983","filename":"file0"},{"photo_id":"1349989073","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349989012":["hashtag1","hashtag2"]},{"1349989073":["hashtag1","hashtag2"]},{"1349989175":["hashtag1","hashtag2"]},{"1349989046":["hashtag1","hashtag2"]},{"1349988983":["hashtag1","hashtag2"]},{"1349989123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349989012, 1349989073, 1349989175, 1349989046, 1349988983, 1349989123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18723249435425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:19:21.963882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_25_2692.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_34_2628.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_37_3616.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_43_2679.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_46_3645.jpg', '/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_49_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_25_2692.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_34_2628.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_37_3616.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_43_2679.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_46_3645.jpg
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_49_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349989509","1349989571","1349989460","1349989541","1349989549","1349989408"],"photo_ids_order":["1349989408","1349989460","1349989509","1349989541","1349989549","1349989571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/283dcc3db2c994215e7a3a1f55b58cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1800958470905593839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741224995,"filename":"image_14042025_14_12_37_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce3de90ad87ce3dbdd3049d1558d5b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3725974715183426596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741224995,"filename":"image_14042025_14_12_49_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39854e17bfe5f8354c27a37989864fce.jpg","text":"TemporaryFile(/tmp/multipartBody4485393293966118544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741224995,"filename":"image_14042025_14_12_34_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4958b7626e06029980ce1aa3396a5daa.jpg","text":"TemporaryFile(/tmp/multipartBody1064724573260389657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741224995,"filename":"image_14042025_14_12_43_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38517c071080ab0c8edc1b17ba8b0528.jpg","text":"TemporaryFile(/tmp/multipartBody4948375911952266564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741224995,"filename":"image_14042025_14_12_46_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d28d7eb6d0b8400ab30805efed44579b.jpg","text":"TemporaryFile(/tmp/multipartBody2074991412553716554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741224995,"filename":"image_14042025_14_12_25_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349989509","file1":"1349989460","file0":"1349989408","file4":"1349989549","file5":"1349989571","file3":"1349989541"},"map_files_photo_id_array":[{"photo_id":"1349989571","filename":"file5"},{"photo_id":"1349989509","filename":"file2"},{"photo_id":"1349989549","filename":"file4"},{"photo_id":"1349989460","filename":"file1"},{"photo_id":"1349989408","filename":"file0"},{"photo_id":"1349989541","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349989509":["hashtag1","hashtag2"]},{"1349989571":["hashtag1","hashtag2"]},{"1349989460":["hashtag1","hashtag2"]},{"1349989541":["hashtag1","hashtag2"]},{"1349989549":["hashtag1","hashtag2"]},{"1349989408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349989509, 1349989571, 1349989460, 1349989541, 1349989549, 1349989408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.773425817489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:20:03.025374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_55_3637.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_2720.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_04_3669.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_07_2714.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_10_2576.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_19_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/12/image_14042025_14_12_55_3637.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_01_2720.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_04_3669.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_07_2714.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_10_2576.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_19_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349989698","1349989838","1349989802","1349989753","1349989876","1349989636"],"photo_ids_order":["1349989636","1349989698","1349989753","1349989802","1349989838","1349989876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b39d8e2a742351124a7555d276b9cb71.jpg","text":"TemporaryFile(/tmp/multipartBody8364662742458743849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741265462,"filename":"image_14042025_14_13_01_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef070f7f607a8a26691dd0ece93702b7.jpg","text":"TemporaryFile(/tmp/multipartBody7903005498218847529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741265462,"filename":"image_14042025_14_13_10_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec0504f73f528b5ab94c8ee90c622bff.jpg","text":"TemporaryFile(/tmp/multipartBody7857505745904094740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741265462,"filename":"image_14042025_14_13_07_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8567832e7e13fa41a7c922454c93b36.jpg","text":"TemporaryFile(/tmp/multipartBody5331424607163228545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741265462,"filename":"image_14042025_14_13_04_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c76ae35eb23dfb49f7fa3d43bdf5bd56.jpg","text":"TemporaryFile(/tmp/multipartBody2456603852543325730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741265462,"filename":"image_14042025_14_13_19_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0adfcedc58afb45cc2e1d2391868cabf.jpg","text":"TemporaryFile(/tmp/multipartBody5898928388691266392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741265462,"filename":"image_14042025_14_12_55_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349989753","file1":"1349989698","file0":"1349989636","file4":"1349989838","file5":"1349989876","file3":"1349989802"},"map_files_photo_id_array":[{"photo_id":"1349989876","filename":"file5"},{"photo_id":"1349989753","filename":"file2"},{"photo_id":"1349989838","filename":"file4"},{"photo_id":"1349989698","filename":"file1"},{"photo_id":"1349989636","filename":"file0"},{"photo_id":"1349989802","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349989698":["hashtag1","hashtag2"]},{"1349989838":["hashtag1","hashtag2"]},{"1349989802":["hashtag1","hashtag2"]},{"1349989753":["hashtag1","hashtag2"]},{"1349989876":["hashtag1","hashtag2"]},{"1349989636":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349989698, 1349989838, 1349989802, 1349989753, 1349989876, 1349989636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65983462333679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:20:42.388357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_22_3619.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_25_2514.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_40_3710.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_46_2655.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_52_2689.jpg', '/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_55_2948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_22_3619.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_25_2514.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_40_3710.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_46_2655.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_52_2689.jpg
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_55_2948.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349990047","1349990035","1349990094","1349990025","1349990013","1349990030"],"photo_ids_order":["1349990013","1349990025","1349990030","1349990035","1349990047","1349990094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e984d49e571de21518082b3e83a6135.jpg","text":"TemporaryFile(/tmp/multipartBody5086554166481873317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741303761,"filename":"image_14042025_14_13_52_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71fdd5437cb74887eb17161b62eed15e.jpg","text":"TemporaryFile(/tmp/multipartBody3678380133502716839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741303761,"filename":"image_14042025_14_13_46_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c356e838ea0a39a88265db9a2cdec64e.jpg","text":"TemporaryFile(/tmp/multipartBody798244191278960038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741303761,"filename":"image_14042025_14_13_55_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/167f9432bf34a936200008c2a4f91618.jpg","text":"TemporaryFile(/tmp/multipartBody6912241525153652431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741303761,"filename":"image_14042025_14_13_25_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/456aea6042a47f96e8fb16b96b11968d.jpg","text":"TemporaryFile(/tmp/multipartBody5414364465327561337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741303761,"filename":"image_14042025_14_13_22_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c75dc54da059815a6cb5ce484213c06b.jpg","text":"TemporaryFile(/tmp/multipartBody7084190855327434142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741303761,"filename":"image_14042025_14_13_40_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349990030","file1":"1349990025","file0":"1349990013","file4":"1349990047","file5":"1349990094","file3":"1349990035"},"map_files_photo_id_array":[{"photo_id":"1349990094","filename":"file5"},{"photo_id":"1349990030","filename":"file2"},{"photo_id":"1349990047","filename":"file4"},{"photo_id":"1349990025","filename":"file1"},{"photo_id":"1349990013","filename":"file0"},{"photo_id":"1349990035","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349990047":["hashtag1","hashtag2"]},{"1349990035":["hashtag1","hashtag2"]},{"1349990094":["hashtag1","hashtag2"]},{"1349990025":["hashtag1","hashtag2"]},{"1349990013":["hashtag1","hashtag2"]},{"1349990030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349990047, 1349990035, 1349990094, 1349990025, 1349990013, 1349990030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.160760164260864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:21:22.548674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/18/image_15042025_20_18_14_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/18/image_15042025_20_18_14_2695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349990220"],"photo_id":"1349990220","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd014105930f9fa35927593c84012032.jpg","text":"TemporaryFile(/tmp/multipartBody7800890442555241555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741343081,"filename":"image_15042025_20_18_14_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349990220"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349990220"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.384461164474487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:21:42.515114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_58_3668.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_04_2628.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_07_2855.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_13_2689.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_15_2576.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_28_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/13/image_14042025_14_13_58_3668.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_04_2628.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_07_2855.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_13_2689.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_15_2576.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_28_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349990311","1349990302","1349990375","1349990307","1349990333","1349990402"],"photo_ids_order":["1349990302","1349990307","1349990311","1349990333","1349990375","1349990402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65d5537d7795ccab0532d2a959027c07.jpg","text":"TemporaryFile(/tmp/multipartBody6036916543908522381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741363882,"filename":"image_14042025_14_14_07_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3f2686da8f6258fbb39dd0dbde0f482.jpg","text":"TemporaryFile(/tmp/multipartBody1910415485842529052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741363882,"filename":"image_14042025_14_13_58_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6157cd3a7454c68e1a6229ecd454561a.jpg","text":"TemporaryFile(/tmp/multipartBody6836590202861849066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741363882,"filename":"image_14042025_14_14_15_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2e126815dfd12c1a235e0f5524c70b9.jpg","text":"TemporaryFile(/tmp/multipartBody7561290484350419752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741363882,"filename":"image_14042025_14_14_04_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc952642f4da06add360085fd4b25795.jpg","text":"TemporaryFile(/tmp/multipartBody7634670597116976415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741363882,"filename":"image_14042025_14_14_13_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/631822f058ede4dffed075ab40be2825.jpg","text":"TemporaryFile(/tmp/multipartBody1328969890141533983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741363882,"filename":"image_14042025_14_14_28_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349990311","file1":"1349990307","file0":"1349990302","file4":"1349990375","file5":"1349990402","file3":"1349990333"},"map_files_photo_id_array":[{"photo_id":"1349990402","filename":"file5"},{"photo_id":"1349990311","filename":"file2"},{"photo_id":"1349990375","filename":"file4"},{"photo_id":"1349990307","filename":"file1"},{"photo_id":"1349990302","filename":"file0"},{"photo_id":"1349990333","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349990311":["hashtag1","hashtag2"]},{"1349990302":["hashtag1","hashtag2"]},{"1349990375":["hashtag1","hashtag2"]},{"1349990307":["hashtag1","hashtag2"]},{"1349990333":["hashtag1","hashtag2"]},{"1349990402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349990311, 1349990302, 1349990375, 1349990307, 1349990333, 1349990402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.230130434036255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:22:22.682778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_37_3533.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_43_2707.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_46_3577.jpg', '/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_58_2738.jpg', '/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_01_2566.jpg', '/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_04_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_37_3533.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_43_2707.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_46_3577.jpg
/home/pi/Desktop/images/14042025/14/14/image_14042025_14_14_58_2738.jpg
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_01_2566.jpg
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_04_3699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349990535","1349990511","1349990483","1349990564","1349990423","1349990449"],"photo_ids_order":["1349990423","1349990449","1349990483","1349990511","1349990535","1349990564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51577bf5df13991f1129410d6baae810.jpg","text":"TemporaryFile(/tmp/multipartBody8446156030028685312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741405959,"filename":"image_14042025_14_15_01_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4525db5c9e130ec633ce9846901d7a69.jpg","text":"TemporaryFile(/tmp/multipartBody2733758873624574612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741405959,"filename":"image_14042025_14_14_58_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/faee07e778d922e93312f452cec91c99.jpg","text":"TemporaryFile(/tmp/multipartBody8543090934646785056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741405959,"filename":"image_14042025_14_14_46_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6af7b0c83cc313bad6e673e42a650f9f.jpg","text":"TemporaryFile(/tmp/multipartBody8236685844788110759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741405959,"filename":"image_14042025_14_15_04_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88671593a28fa2a692495e3a35159685.jpg","text":"TemporaryFile(/tmp/multipartBody6648485236704630665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741405959,"filename":"image_14042025_14_14_37_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d5a0bfd0ab5acafa57d5ea5b03255dc.jpg","text":"TemporaryFile(/tmp/multipartBody4812199401167653252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741405959,"filename":"image_14042025_14_14_43_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349990483","file1":"1349990449","file0":"1349990423","file4":"1349990535","file5":"1349990564","file3":"1349990511"},"map_files_photo_id_array":[{"photo_id":"1349990564","filename":"file5"},{"photo_id":"1349990483","filename":"file2"},{"photo_id":"1349990535","filename":"file4"},{"photo_id":"1349990449","filename":"file1"},{"photo_id":"1349990423","filename":"file0"},{"photo_id":"1349990511","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349990535":["hashtag1","hashtag2"]},{"1349990511":["hashtag1","hashtag2"]},{"1349990483":["hashtag1","hashtag2"]},{"1349990564":["hashtag1","hashtag2"]},{"1349990423":["hashtag1","hashtag2"]},{"1349990449":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349990535, 1349990511, 1349990483, 1349990564, 1349990423, 1349990449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.573365449905396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:23:03.289337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_16_2727.jpg', '/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_25_2602.jpg', '/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_43_2652.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_16_3565.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_19_2613.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_31_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_16_2727.jpg
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_25_2602.jpg
/home/pi/Desktop/images/14042025/14/15/image_14042025_14_15_43_2652.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_16_3565.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_19_2613.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_31_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349990775","1349990706","1349990885","1349990849","1349990810","1349990747"],"photo_ids_order":["1349990706","1349990747","1349990775","1349990810","1349990849","1349990885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fac425383984696e8c7fa1664bc32f04.jpg","text":"TemporaryFile(/tmp/multipartBody5083928777416774606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741445892,"filename":"image_14042025_14_15_43_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56af1c92eb2473b11e08dfb524554c0a.jpg","text":"TemporaryFile(/tmp/multipartBody8682269331292543244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741445892,"filename":"image_14042025_14_15_16_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f636d20bcd846e3cb1f0dba536e71371.jpg","text":"TemporaryFile(/tmp/multipartBody7305253333775156602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741445892,"filename":"image_14042025_14_16_31_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/763e7d0c681429622dbcbd4a8af3a08b.jpg","text":"TemporaryFile(/tmp/multipartBody5293376986359013243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741445892,"filename":"image_14042025_14_16_19_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cfef709724f38f975e713a5e2e68978.jpg","text":"TemporaryFile(/tmp/multipartBody4093185180039654409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741445892,"filename":"image_14042025_14_16_16_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9dfb4c29b04c1b74c0d0ac703041a4fb.jpg","text":"TemporaryFile(/tmp/multipartBody2605144935185490042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741445892,"filename":"image_14042025_14_15_25_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349990775","file1":"1349990747","file0":"1349990706","file4":"1349990849","file5":"1349990885","file3":"1349990810"},"map_files_photo_id_array":[{"photo_id":"1349990885","filename":"file5"},{"photo_id":"1349990775","filename":"file2"},{"photo_id":"1349990849","filename":"file4"},{"photo_id":"1349990747","filename":"file1"},{"photo_id":"1349990706","filename":"file0"},{"photo_id":"1349990810","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349990775":["hashtag1","hashtag2"]},{"1349990706":["hashtag1","hashtag2"]},{"1349990885":["hashtag1","hashtag2"]},{"1349990849":["hashtag1","hashtag2"]},{"1349990810":["hashtag1","hashtag2"]},{"1349990747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349990775, 1349990706, 1349990885, 1349990849, 1349990810, 1349990747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26067638397217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:23:42.536585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_34_2829.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_37_2728.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_40_3503.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_45_2667.jpg', '/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_54_2608.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_06_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_34_2829.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_37_2728.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_40_3503.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_45_2667.jpg
/home/pi/Desktop/images/14042025/14/16/image_14042025_14_16_54_2608.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_06_2558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349990979","1349991039","1349991095","1349991068","1349991008","1349991124"],"photo_ids_order":["1349990979","1349991008","1349991039","1349991068","1349991095","1349991124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf073a75989224459c6b3dd3745db48f.jpg","text":"TemporaryFile(/tmp/multipartBody1716991047743263418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741483931,"filename":"image_14042025_14_16_34_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed30b82966623a904c30e4717b958066.jpg","text":"TemporaryFile(/tmp/multipartBody6013506531093201937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741483931,"filename":"image_14042025_14_16_40_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9213bf0f96e92ecab0f22fadd57186c8.jpg","text":"TemporaryFile(/tmp/multipartBody493473741202867116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741483931,"filename":"image_14042025_14_16_54_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad0a48afc5204fec24c18a87ab8cd7a3.jpg","text":"TemporaryFile(/tmp/multipartBody371330026255601092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741483931,"filename":"image_14042025_14_16_45_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca89ea1719c8793a0f91d37ceafef424.jpg","text":"TemporaryFile(/tmp/multipartBody6075450640999137465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741483931,"filename":"image_14042025_14_16_37_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4eb6223dc15f1f1e5445bae72ef2e5f1.jpg","text":"TemporaryFile(/tmp/multipartBody9062793985344028206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741483931,"filename":"image_14042025_14_17_06_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349991039","file1":"1349991008","file0":"1349990979","file4":"1349991095","file5":"1349991124","file3":"1349991068"},"map_files_photo_id_array":[{"photo_id":"1349991124","filename":"file5"},{"photo_id":"1349991039","filename":"file2"},{"photo_id":"1349991095","filename":"file4"},{"photo_id":"1349991008","filename":"file1"},{"photo_id":"1349990979","filename":"file0"},{"photo_id":"1349991068","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349990979":["hashtag1","hashtag2"]},{"1349991039":["hashtag1","hashtag2"]},{"1349991095":["hashtag1","hashtag2"]},{"1349991068":["hashtag1","hashtag2"]},{"1349991008":["hashtag1","hashtag2"]},{"1349991124":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349990979, 1349991039, 1349991095, 1349991068, 1349991008, 1349991124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03730010986328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:24:22.357193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/21/image_15042025_20_21_08_2696.jpg', '/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_10_2528.jpg', '/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_14_3634.jpg', '/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_56_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/21/image_15042025_20_21_08_2696.jpg
/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_10_2528.jpg
/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_14_3634.jpg
/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_56_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349991150","1349991167","1349991146","1349991154"],"photo_ids_order":["1349991146","1349991150","1349991154","1349991167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6313efb47f492906653673db8d7848fb.jpg","text":"TemporaryFile(/tmp/multipartBody9093857934977967767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741523006,"filename":"image_15042025_20_24_10_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff4c0aae2b4e4b016b6153ecbb43f660.jpg","text":"TemporaryFile(/tmp/multipartBody7413917122046466424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741523006,"filename":"image_15042025_20_24_56_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/289340515d84dd60144326d03e7d94e2.jpg","text":"TemporaryFile(/tmp/multipartBody2452629406576463953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741523006,"filename":"image_15042025_20_21_08_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11f077b667d678120dd12aaac6b02600.jpg","text":"TemporaryFile(/tmp/multipartBody5315528562331592469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741523006,"filename":"image_15042025_20_24_14_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349991154","file1":"1349991150","file0":"1349991146","file3":"1349991167"},"map_files_photo_id_array":[{"photo_id":"1349991154","filename":"file2"},{"photo_id":"1349991150","filename":"file1"},{"photo_id":"1349991146","filename":"file0"},{"photo_id":"1349991167","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349991150":["hashtag1","hashtag2"]},{"1349991167":["hashtag1","hashtag2"]},{"1349991146":["hashtag1","hashtag2"]},{"1349991154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349991150, 1349991167, 1349991146, 1349991154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.66510581970215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:25:03.139876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_13_2533.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_15_2776.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_18_2790.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_22_3594.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_25_2926.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_34_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_13_2533.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_15_2776.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_18_2790.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_22_3594.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_25_2926.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_34_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349991392","1349991437","1349991422","1349991326","1349991314","1349991358"],"photo_ids_order":["1349991314","1349991326","1349991358","1349991392","1349991422","1349991437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c3d8ca750122fdb2a96320d1ce8a8da.jpg","text":"TemporaryFile(/tmp/multipartBody7049683675530493970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741565719,"filename":"image_14042025_14_17_22_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d9822edbad1d9daf0966c6734eb260a.jpg","text":"TemporaryFile(/tmp/multipartBody2157455298085977873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741565719,"filename":"image_14042025_14_17_34_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0942054890e1d782f9b49d99d87ef3c.jpg","text":"TemporaryFile(/tmp/multipartBody6740512857344846045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741565719,"filename":"image_14042025_14_17_25_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c82c392fe38be66d8b3af1b351b6b404.jpg","text":"TemporaryFile(/tmp/multipartBody8836225394134911131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741565719,"filename":"image_14042025_14_17_15_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d91a493915be6e6397cbd0d3cd25abf9.jpg","text":"TemporaryFile(/tmp/multipartBody7364741592838254627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741565719,"filename":"image_14042025_14_17_13_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6ff64709dcbf5e72919696c261dd619.jpg","text":"TemporaryFile(/tmp/multipartBody6634414970648171273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741565719,"filename":"image_14042025_14_17_18_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349991358","file1":"1349991326","file0":"1349991314","file4":"1349991422","file5":"1349991437","file3":"1349991392"},"map_files_photo_id_array":[{"photo_id":"1349991437","filename":"file5"},{"photo_id":"1349991358","filename":"file2"},{"photo_id":"1349991422","filename":"file4"},{"photo_id":"1349991326","filename":"file1"},{"photo_id":"1349991314","filename":"file0"},{"photo_id":"1349991392","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349991392":["hashtag1","hashtag2"]},{"1349991437":["hashtag1","hashtag2"]},{"1349991422":["hashtag1","hashtag2"]},{"1349991326":["hashtag1","hashtag2"]},{"1349991314":["hashtag1","hashtag2"]},{"1349991358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349991392, 1349991437, 1349991422, 1349991326, 1349991314, 1349991358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91654348373413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:26:03.307189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_58_2709.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_02_3738.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_05_2942.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_08_2747.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_17_2670.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_19_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/24/image_15042025_20_24_58_2709.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_02_3738.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_05_2942.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_08_2747.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_17_2670.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_19_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349991555","1349991612","1349991757","1349991745","1349991667","1349991699"],"photo_ids_order":["1349991555","1349991612","1349991667","1349991699","1349991745","1349991757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb9f4048e6d3f529cd1053dab34db2e7.jpg","text":"TemporaryFile(/tmp/multipartBody3238707093847822248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741624034,"filename":"image_15042025_20_24_58_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cd7803aed103adec266771897aa09ae.jpg","text":"TemporaryFile(/tmp/multipartBody8283162417205067669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741624034,"filename":"image_15042025_20_25_02_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac5298eab7489c75329ea5e4c6441ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3930562316588724056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741624034,"filename":"image_15042025_20_25_19_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/820a4133b62b8b9595c0e4921870bb24.jpg","text":"TemporaryFile(/tmp/multipartBody6074816179200124506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741624034,"filename":"image_15042025_20_25_17_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6838e49e98f939f745280c95446b2326.jpg","text":"TemporaryFile(/tmp/multipartBody7516551035602999463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741624034,"filename":"image_15042025_20_25_05_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b68bd74a58ba85d84fff2853f2adc19.jpg","text":"TemporaryFile(/tmp/multipartBody1944692587912921942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741624034,"filename":"image_15042025_20_25_08_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349991667","file1":"1349991612","file0":"1349991555","file4":"1349991745","file5":"1349991757","file3":"1349991699"},"map_files_photo_id_array":[{"photo_id":"1349991757","filename":"file5"},{"photo_id":"1349991667","filename":"file2"},{"photo_id":"1349991745","filename":"file4"},{"photo_id":"1349991612","filename":"file1"},{"photo_id":"1349991555","filename":"file0"},{"photo_id":"1349991699","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349991555":["hashtag1","hashtag2"]},{"1349991612":["hashtag1","hashtag2"]},{"1349991757":["hashtag1","hashtag2"]},{"1349991745":["hashtag1","hashtag2"]},{"1349991667":["hashtag1","hashtag2"]},{"1349991699":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349991555, 1349991612, 1349991757, 1349991745, 1349991667, 1349991699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.702046394348145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:26:42.634597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_26_3605.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_28_2632.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_32_3688.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_35_2767.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_37_2593.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_41_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_26_3605.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_28_2632.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_32_3688.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_35_2767.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_37_2593.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_41_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349991963","1349991812","1349991868","1349991838","1349991925","1349991897"],"photo_ids_order":["1349991812","1349991838","1349991868","1349991897","1349991925","1349991963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05ca8f8ebe81f064cc37e77f0e981304.jpg","text":"TemporaryFile(/tmp/multipartBody5396131597829243825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741663275,"filename":"image_15042025_20_25_41_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f15807e00a563f74633710f860b9f808.jpg","text":"TemporaryFile(/tmp/multipartBody7640450589649096039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741663275,"filename":"image_15042025_20_25_26_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0f5d72e59b72f70eb54e2994d896dbd.jpg","text":"TemporaryFile(/tmp/multipartBody959684210728448374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741663275,"filename":"image_15042025_20_25_32_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8fccf280ba5cf3410b96cf6be52ce18.jpg","text":"TemporaryFile(/tmp/multipartBody3449362865129925275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741663275,"filename":"image_15042025_20_25_28_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/272f2e8609ec9a0d96378045bc9fd035.jpg","text":"TemporaryFile(/tmp/multipartBody9038716339954368098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741663275,"filename":"image_15042025_20_25_37_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffc457c6f8ee9f0b9349cc7460e65976.jpg","text":"TemporaryFile(/tmp/multipartBody1591672461705092349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741663275,"filename":"image_15042025_20_25_35_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349991868","file1":"1349991838","file0":"1349991812","file4":"1349991925","file5":"1349991963","file3":"1349991897"},"map_files_photo_id_array":[{"photo_id":"1349991963","filename":"file5"},{"photo_id":"1349991868","filename":"file2"},{"photo_id":"1349991925","filename":"file4"},{"photo_id":"1349991838","filename":"file1"},{"photo_id":"1349991812","filename":"file0"},{"photo_id":"1349991897","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349991963":["hashtag1","hashtag2"]},{"1349991812":["hashtag1","hashtag2"]},{"1349991868":["hashtag1","hashtag2"]},{"1349991838":["hashtag1","hashtag2"]},{"1349991925":["hashtag1","hashtag2"]},{"1349991897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349991963, 1349991812, 1349991868, 1349991838, 1349991925, 1349991897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10294198989868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:27:22.666724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_44_2688.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_46_2626.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_50_3701.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_53_2602.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_55_2520.jpg', '/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_59_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_44_2688.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_46_2626.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_50_3701.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_53_2602.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_55_2520.jpg
/home/pi/Desktop/images/15042025/20/25/image_15042025_20_25_59_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349992200","1349992139","1349992165","1349992075","1349992194","1349992108"],"photo_ids_order":["1349992075","1349992108","1349992139","1349992165","1349992194","1349992200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b67310112318e3683f6ce58ffc2f373.jpg","text":"TemporaryFile(/tmp/multipartBody1378289345319061273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741703340,"filename":"image_15042025_20_25_59_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0dd5c951a84bb3747f554c39f1337205.jpg","text":"TemporaryFile(/tmp/multipartBody3726497595318065597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741703340,"filename":"image_15042025_20_25_50_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1ebfc399456b4ee1aedcb5804c8de8f.jpg","text":"TemporaryFile(/tmp/multipartBody822047110278323600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741703340,"filename":"image_15042025_20_25_53_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d8e6328b9661fc0a311b3b44107be55.jpg","text":"TemporaryFile(/tmp/multipartBody7281816115974133664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741703340,"filename":"image_15042025_20_25_44_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91f751bda1e027e5da5fbb5ccd83de90.jpg","text":"TemporaryFile(/tmp/multipartBody7254419305161652847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741703340,"filename":"image_15042025_20_25_55_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6f93959b073b2b7c2e46abb0e86b26c.jpg","text":"TemporaryFile(/tmp/multipartBody7315835447193181343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741703340,"filename":"image_15042025_20_25_46_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349992139","file1":"1349992108","file0":"1349992075","file4":"1349992194","file5":"1349992200","file3":"1349992165"},"map_files_photo_id_array":[{"photo_id":"1349992200","filename":"file5"},{"photo_id":"1349992139","filename":"file2"},{"photo_id":"1349992194","filename":"file4"},{"photo_id":"1349992108","filename":"file1"},{"photo_id":"1349992075","filename":"file0"},{"photo_id":"1349992165","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349992200":["hashtag1","hashtag2"]},{"1349992139":["hashtag1","hashtag2"]},{"1349992165":["hashtag1","hashtag2"]},{"1349992075":["hashtag1","hashtag2"]},{"1349992194":["hashtag1","hashtag2"]},{"1349992108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349992200, 1349992139, 1349992165, 1349992075, 1349992194, 1349992108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.853007555007935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:28:03.099712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/26/image_15042025_20_26_01_2559.jpg', '/home/pi/Desktop/images/15042025/20/26/image_15042025_20_26_05_3575.jpg', '/home/pi/Desktop/images/15042025/20/27/image_15042025_20_27_50_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/26/image_15042025_20_26_01_2559.jpg
/home/pi/Desktop/images/15042025/20/26/image_15042025_20_26_05_3575.jpg
/home/pi/Desktop/images/15042025/20/27/image_15042025_20_27_50_3741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349992305","1349992274","1349992241"],"photo_ids_order":["1349992241","1349992274","1349992305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d3b8a88c28addd4832e4cf122a0e5d0.jpg","text":"TemporaryFile(/tmp/multipartBody1441844098720846250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741743746,"filename":"image_15042025_20_27_50_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68ec7f9ab4358d908356180b3914312e.jpg","text":"TemporaryFile(/tmp/multipartBody2876666868444790951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741743746,"filename":"image_15042025_20_26_05_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa0859482a3ef6bca62141ea847e37c6.jpg","text":"TemporaryFile(/tmp/multipartBody1297770137516569257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741743746,"filename":"image_15042025_20_26_01_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349992305","file1":"1349992274","file0":"1349992241"},"map_files_photo_id_array":[{"photo_id":"1349992305","filename":"file2"},{"photo_id":"1349992274","filename":"file1"},{"photo_id":"1349992241","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349992305":["hashtag1","hashtag2"]},{"1349992274":["hashtag1","hashtag2"]},{"1349992241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349992305, 1349992274, 1349992241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.865585565567017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:28:42.400210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_36_2745.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_43_2802.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_45_2677.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_51_2582.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_54_2686.jpg', '/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_58_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_36_2745.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_43_2802.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_45_2677.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_51_2582.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_54_2686.jpg
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_17_58_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349992425","1349992442","1349992430","1349992438","1349992447","1349992405"],"photo_ids_order":["1349992405","1349992425","1349992430","1349992438","1349992442","1349992447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01b439688e087bc0dbbdb9b50a149414.jpg","text":"TemporaryFile(/tmp/multipartBody1848448375194409922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741783784,"filename":"image_14042025_14_17_43_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edb9d28ea02c8edf6be25b4e1b834f77.jpg","text":"TemporaryFile(/tmp/multipartBody698805341579286250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741783784,"filename":"image_14042025_14_17_54_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6be393d95eb591f027de18ccd4dd603b.jpg","text":"TemporaryFile(/tmp/multipartBody6656143837451375635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741783784,"filename":"image_14042025_14_17_45_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ca8fb762101cf7f7d3f43c8f7d1d09a.jpg","text":"TemporaryFile(/tmp/multipartBody9194253238139041263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741783784,"filename":"image_14042025_14_17_51_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1b96deb881922f23dab859b7948ff14.jpg","text":"TemporaryFile(/tmp/multipartBody750631287956952617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741783784,"filename":"image_14042025_14_17_58_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2da6a863ca4dfbc26766248cbad813b.jpg","text":"TemporaryFile(/tmp/multipartBody1996729232409863987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741783784,"filename":"image_14042025_14_17_36_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349992430","file1":"1349992425","file0":"1349992405","file4":"1349992442","file5":"1349992447","file3":"1349992438"},"map_files_photo_id_array":[{"photo_id":"1349992447","filename":"file5"},{"photo_id":"1349992430","filename":"file2"},{"photo_id":"1349992442","filename":"file4"},{"photo_id":"1349992425","filename":"file1"},{"photo_id":"1349992405","filename":"file0"},{"photo_id":"1349992438","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349992425":["hashtag1","hashtag2"]},{"1349992442":["hashtag1","hashtag2"]},{"1349992430":["hashtag1","hashtag2"]},{"1349992438":["hashtag1","hashtag2"]},{"1349992447":["hashtag1","hashtag2"]},{"1349992405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349992425, 1349992442, 1349992430, 1349992438, 1349992447, 1349992405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.736281394958496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:29:22.174486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/17/image_14042025_14_18_00_2730.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_07_3792.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_10_2646.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_12_2717.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_15_2838.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_19_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/17/image_14042025_14_18_00_2730.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_07_3792.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_10_2646.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_12_2717.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_15_2838.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_19_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349992620","1349992701","1349992769","1349992730","1349992672","1349992576"],"photo_ids_order":["1349992576","1349992620","1349992672","1349992701","1349992730","1349992769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c28893e93dde5e2fb745324a45c6977.jpg","text":"TemporaryFile(/tmp/multipartBody5026749549075360441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741825230,"filename":"image_14042025_14_18_07_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/06789d13ae4378810f7161db35088015.jpg","text":"TemporaryFile(/tmp/multipartBody6732422874489051432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741825230,"filename":"image_14042025_14_18_12_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a97f511c9da764b4271304a1d3f0b548.jpg","text":"TemporaryFile(/tmp/multipartBody2719411984785796250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741825230,"filename":"image_14042025_14_18_19_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1147442b01fe7a81ccd20a279d9accd.jpg","text":"TemporaryFile(/tmp/multipartBody7876410377560318620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741825230,"filename":"image_14042025_14_18_15_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff02e25aea684ab78dbb0ae041c2708f.jpg","text":"TemporaryFile(/tmp/multipartBody5875068326320136567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741825230,"filename":"image_14042025_14_18_10_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/336aecd9032ddd4c014df7ae1e865050.jpg","text":"TemporaryFile(/tmp/multipartBody4611940219445068147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741825230,"filename":"image_14042025_14_18_00_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349992672","file1":"1349992620","file0":"1349992576","file4":"1349992730","file5":"1349992769","file3":"1349992701"},"map_files_photo_id_array":[{"photo_id":"1349992769","filename":"file5"},{"photo_id":"1349992672","filename":"file2"},{"photo_id":"1349992730","filename":"file4"},{"photo_id":"1349992620","filename":"file1"},{"photo_id":"1349992576","filename":"file0"},{"photo_id":"1349992701","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349992620":["hashtag1","hashtag2"]},{"1349992701":["hashtag1","hashtag2"]},{"1349992769":["hashtag1","hashtag2"]},{"1349992730":["hashtag1","hashtag2"]},{"1349992672":["hashtag1","hashtag2"]},{"1349992576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349992620, 1349992701, 1349992769, 1349992730, 1349992672, 1349992576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.822179079055786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:30:03.084545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_25_2750.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_27_2627.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_31_3817.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_34_2694.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_40_3630.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_45_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_25_2750.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_27_2627.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_31_3817.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_34_2694.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_40_3630.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_45_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349992982","1349992925","1349992963","1349992986","1349992878","1349993028"],"photo_ids_order":["1349992878","1349992925","1349992963","1349992982","1349992986","1349993028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89285e33deffd7fbe039a4bb73ee710a.jpg","text":"TemporaryFile(/tmp/multipartBody5051648201749580886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741865509,"filename":"image_14042025_14_18_34_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0279e3c87e4f2368097743eff7e92df.jpg","text":"TemporaryFile(/tmp/multipartBody5612092801276089237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741865509,"filename":"image_14042025_14_18_27_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f81a82768917d63d8e99d9490670898.jpg","text":"TemporaryFile(/tmp/multipartBody1680542797852599595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741865509,"filename":"image_14042025_14_18_31_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec956090de4646e0144ab2c7f6c1c0d7.jpg","text":"TemporaryFile(/tmp/multipartBody86918088173587429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741865509,"filename":"image_14042025_14_18_40_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77b39145a419396f28565823091fb71b.jpg","text":"TemporaryFile(/tmp/multipartBody3576002993423144510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741865509,"filename":"image_14042025_14_18_25_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/008534a59e54405059c85d4e1f2c8b08.jpg","text":"TemporaryFile(/tmp/multipartBody5053369018495764107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741865509,"filename":"image_14042025_14_18_45_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349992963","file1":"1349992925","file0":"1349992878","file4":"1349992986","file5":"1349993028","file3":"1349992982"},"map_files_photo_id_array":[{"photo_id":"1349993028","filename":"file5"},{"photo_id":"1349992963","filename":"file2"},{"photo_id":"1349992986","filename":"file4"},{"photo_id":"1349992925","filename":"file1"},{"photo_id":"1349992878","filename":"file0"},{"photo_id":"1349992982","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349992982":["hashtag1","hashtag2"]},{"1349992925":["hashtag1","hashtag2"]},{"1349992963":["hashtag1","hashtag2"]},{"1349992986":["hashtag1","hashtag2"]},{"1349992878":["hashtag1","hashtag2"]},{"1349993028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349992982, 1349992925, 1349992963, 1349992986, 1349992878, 1349993028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79539346694946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:30:42.652492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_48_2638.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_54_2725.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_57_2611.jpg', '/home/pi/Desktop/images/14042025/14/18/image_14042025_14_19_01_3654.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_03_2561.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_12_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_48_2638.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_54_2725.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_18_57_2611.jpg
/home/pi/Desktop/images/14042025/14/18/image_14042025_14_19_01_3654.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_03_2561.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_12_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349993214","1349993440","1349993335","1349993410","1349993283","1349993241"],"photo_ids_order":["1349993214","1349993241","1349993283","1349993335","1349993410","1349993440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2385277f4e77acc0df6fc5836cf78d7.jpg","text":"TemporaryFile(/tmp/multipartBody7099156958539201004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741904094,"filename":"image_14042025_14_18_48_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e88ca46dbb30205d41c66bcba2ba4d5.jpg","text":"TemporaryFile(/tmp/multipartBody965443312776562704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741904094,"filename":"image_14042025_14_19_12_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea48e9b109f56f9f987ba9c602e13f85.jpg","text":"TemporaryFile(/tmp/multipartBody3974280499028548449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741904094,"filename":"image_14042025_14_19_01_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b90f51ffa15f28ea339c74735a1f694.jpg","text":"TemporaryFile(/tmp/multipartBody3930458612036136908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741904094,"filename":"image_14042025_14_19_03_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a33b25e58e1fe2966029ef4c0daaeaa.jpg","text":"TemporaryFile(/tmp/multipartBody3311757668863037099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741904094,"filename":"image_14042025_14_18_57_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bd7fce249d786ae607c8fbf10a25642.jpg","text":"TemporaryFile(/tmp/multipartBody690396606382615289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741904094,"filename":"image_14042025_14_18_54_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349993283","file1":"1349993241","file0":"1349993214","file4":"1349993410","file5":"1349993440","file3":"1349993335"},"map_files_photo_id_array":[{"photo_id":"1349993440","filename":"file5"},{"photo_id":"1349993283","filename":"file2"},{"photo_id":"1349993410","filename":"file4"},{"photo_id":"1349993241","filename":"file1"},{"photo_id":"1349993214","filename":"file0"},{"photo_id":"1349993335","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349993214":["hashtag1","hashtag2"]},{"1349993440":["hashtag1","hashtag2"]},{"1349993335":["hashtag1","hashtag2"]},{"1349993410":["hashtag1","hashtag2"]},{"1349993283":["hashtag1","hashtag2"]},{"1349993241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349993214, 1349993440, 1349993335, 1349993410, 1349993283, 1349993241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48680281639099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:31:22.738681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/27/image_15042025_20_27_53_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/27/image_15042025_20_27_53_2833.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349993566"],"photo_id":"1349993566","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24241d5782e4757c14151cb798c373cd.jpg","text":"TemporaryFile(/tmp/multipartBody8851525983427932889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741943270,"filename":"image_15042025_20_27_53_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349993566"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349993566"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.045037508010864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:31:42.817487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_15_2805.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_19_3648.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_21_2540.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_25_3568.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_27_2588.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_30_2510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_15_2805.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_19_3648.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_21_2540.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_25_3568.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_27_2588.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_30_2510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349993901","1349993987","1349994043","1349994028","1349994015","1349994009"],"photo_ids_order":["1349993901","1349993987","1349994009","1349994015","1349994028","1349994043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d2c7153e31770990ebca50dec32b880.jpg","text":"TemporaryFile(/tmp/multipartBody1445481485337505788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741964195,"filename":"image_14042025_14_19_15_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc018652dc67034765dee2f7de0ce760.jpg","text":"TemporaryFile(/tmp/multipartBody8858282875248396426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741964195,"filename":"image_14042025_14_19_19_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f877e8fa48dfdd991a26d0d53c56e10.jpg","text":"TemporaryFile(/tmp/multipartBody3702057675444878165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741964195,"filename":"image_14042025_14_19_30_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2fccc89922d8d2084ab7af074c3bcab.jpg","text":"TemporaryFile(/tmp/multipartBody5315462347063983030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741964195,"filename":"image_14042025_14_19_27_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/018a782f3eb563335e43154e59c29c57.jpg","text":"TemporaryFile(/tmp/multipartBody309312857947060432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741964195,"filename":"image_14042025_14_19_25_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0aa8e37475e4be332ce65b82b56bf74.jpg","text":"TemporaryFile(/tmp/multipartBody299924022444489894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744741964195,"filename":"image_14042025_14_19_21_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349994009","file1":"1349993987","file0":"1349993901","file4":"1349994028","file5":"1349994043","file3":"1349994015"},"map_files_photo_id_array":[{"photo_id":"1349994043","filename":"file5"},{"photo_id":"1349994009","filename":"file2"},{"photo_id":"1349994028","filename":"file4"},{"photo_id":"1349993987","filename":"file1"},{"photo_id":"1349993901","filename":"file0"},{"photo_id":"1349994015","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349993901":["hashtag1","hashtag2"]},{"1349993987":["hashtag1","hashtag2"]},{"1349994043":["hashtag1","hashtag2"]},{"1349994028":["hashtag1","hashtag2"]},{"1349994015":["hashtag1","hashtag2"]},{"1349994009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349993901, 1349993987, 1349994043, 1349994028, 1349994015, 1349994009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78187274932861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:32:22.754385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_34_3670.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_36_2676.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_39_2702.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_43_3734.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_45_2744.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_48_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_34_3670.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_36_2676.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_39_2702.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_43_3734.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_45_2744.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_48_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349994218","1349994131","1349994187","1349994097","1349994077","1349994158"],"photo_ids_order":["1349994077","1349994097","1349994131","1349994158","1349994187","1349994218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cbd34dd4034f5a0941a1953dfde95fa1.jpg","text":"TemporaryFile(/tmp/multipartBody3531168323131454040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742005999,"filename":"image_14042025_14_19_48_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3cf6420545db9adc74aa6f317b464e1.jpg","text":"TemporaryFile(/tmp/multipartBody6368616132364225505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742005999,"filename":"image_14042025_14_19_39_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7637bf30af8b6a13521ffc79b6048104.jpg","text":"TemporaryFile(/tmp/multipartBody1735892008711807435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742005999,"filename":"image_14042025_14_19_45_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f017fddcc0bc2822d8a56438881513f0.jpg","text":"TemporaryFile(/tmp/multipartBody2729822831553250774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742005999,"filename":"image_14042025_14_19_36_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ade6fe5a4c749a8f6492a84ba77842af.jpg","text":"TemporaryFile(/tmp/multipartBody7708504340864758490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742005999,"filename":"image_14042025_14_19_34_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7cbbff0b7f617c4ed6519a3ab4fca950.jpg","text":"TemporaryFile(/tmp/multipartBody1063247060586443331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742005999,"filename":"image_14042025_14_19_43_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349994131","file1":"1349994097","file0":"1349994077","file4":"1349994187","file5":"1349994218","file3":"1349994158"},"map_files_photo_id_array":[{"photo_id":"1349994218","filename":"file5"},{"photo_id":"1349994131","filename":"file2"},{"photo_id":"1349994187","filename":"file4"},{"photo_id":"1349994097","filename":"file1"},{"photo_id":"1349994077","filename":"file0"},{"photo_id":"1349994158","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349994218":["hashtag1","hashtag2"]},{"1349994131":["hashtag1","hashtag2"]},{"1349994187":["hashtag1","hashtag2"]},{"1349994097":["hashtag1","hashtag2"]},{"1349994077":["hashtag1","hashtag2"]},{"1349994158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349994218, 1349994131, 1349994187, 1349994097, 1349994077, 1349994158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.249794244766235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:33:03.548970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_52_3519.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_54_2682.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_57_2805.jpg', '/home/pi/Desktop/images/14042025/14/19/image_14042025_14_20_01_3544.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_06_2716.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_15_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_52_3519.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_54_2682.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_19_57_2805.jpg
/home/pi/Desktop/images/14042025/14/19/image_14042025_14_20_01_3544.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_06_2716.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_15_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349994382","1349994583","1349994349","1349994525","1349994395","1349994374"],"photo_ids_order":["1349994349","1349994374","1349994382","1349994395","1349994525","1349994583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd7ef435654ec583fda547cfb68120be.jpg","text":"TemporaryFile(/tmp/multipartBody4274088584205643236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742046072,"filename":"image_14042025_14_19_57_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acb8b19ba25dfd1affd10540c4d6e41d.jpg","text":"TemporaryFile(/tmp/multipartBody5234138373248721731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742046072,"filename":"image_14042025_14_20_15_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e78ee4f9e47eb7a5ac9efebfddc8298.jpg","text":"TemporaryFile(/tmp/multipartBody3522306778141101446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742046072,"filename":"image_14042025_14_19_52_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1351912787c330140d130ad8b4b867cd.jpg","text":"TemporaryFile(/tmp/multipartBody8421363052647565500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742046072,"filename":"image_14042025_14_20_06_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22ec3a400adeaa605ca88d98627f2ab1.jpg","text":"TemporaryFile(/tmp/multipartBody1801396493063414693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742046072,"filename":"image_14042025_14_20_01_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bb67409a159765d24c498470b474722.jpg","text":"TemporaryFile(/tmp/multipartBody2442964434225886777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742046072,"filename":"image_14042025_14_19_54_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349994382","file1":"1349994374","file0":"1349994349","file4":"1349994525","file5":"1349994583","file3":"1349994395"},"map_files_photo_id_array":[{"photo_id":"1349994583","filename":"file5"},{"photo_id":"1349994382","filename":"file2"},{"photo_id":"1349994525","filename":"file4"},{"photo_id":"1349994374","filename":"file1"},{"photo_id":"1349994349","filename":"file0"},{"photo_id":"1349994395","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349994382":["hashtag1","hashtag2"]},{"1349994583":["hashtag1","hashtag2"]},{"1349994349":["hashtag1","hashtag2"]},{"1349994525":["hashtag1","hashtag2"]},{"1349994395":["hashtag1","hashtag2"]},{"1349994374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349994382, 1349994583, 1349994349, 1349994525, 1349994395, 1349994374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57840847969055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:33:42.733254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_19_3747.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_24_2855.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_27_2667.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_34_3677.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_36_2680.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_39_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_19_3747.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_24_2855.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_27_2667.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_34_3677.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_36_2680.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_39_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349994664","1349994727","1349994654","1349994645","1349994698","1349994650"],"photo_ids_order":["1349994645","1349994650","1349994654","1349994664","1349994698","1349994727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b40e51f3d6f78e33ef7e7fadec24ea74.jpg","text":"TemporaryFile(/tmp/multipartBody2320638555436673560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742084163,"filename":"image_14042025_14_20_34_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61487c631d109ccc8a4671c144ce425e.jpg","text":"TemporaryFile(/tmp/multipartBody7622192671208764410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742084163,"filename":"image_14042025_14_20_39_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0672e10f8851977023ca36e2649c20c5.jpg","text":"TemporaryFile(/tmp/multipartBody5552796278220302832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742084163,"filename":"image_14042025_14_20_27_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1168aac75bd8de19bdcef25e68284af.jpg","text":"TemporaryFile(/tmp/multipartBody7354107595959686214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742084163,"filename":"image_14042025_14_20_19_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f5e82dbdfc1bc37b6943951c732c58f.jpg","text":"TemporaryFile(/tmp/multipartBody58659650377048210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742084163,"filename":"image_14042025_14_20_36_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09cae25a42b95cbd3fae046f8d45074e.jpg","text":"TemporaryFile(/tmp/multipartBody8133294448540694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742084163,"filename":"image_14042025_14_20_24_2855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349994654","file1":"1349994650","file0":"1349994645","file4":"1349994698","file5":"1349994727","file3":"1349994664"},"map_files_photo_id_array":[{"photo_id":"1349994727","filename":"file5"},{"photo_id":"1349994654","filename":"file2"},{"photo_id":"1349994698","filename":"file4"},{"photo_id":"1349994650","filename":"file1"},{"photo_id":"1349994645","filename":"file0"},{"photo_id":"1349994664","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349994664":["hashtag1","hashtag2"]},{"1349994727":["hashtag1","hashtag2"]},{"1349994654":["hashtag1","hashtag2"]},{"1349994645":["hashtag1","hashtag2"]},{"1349994698":["hashtag1","hashtag2"]},{"1349994650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349994664, 1349994727, 1349994654, 1349994645, 1349994698, 1349994650)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1349994654 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_27_2667.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 67.57517123222351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:35:02.817948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:35:22.388948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_43_3673.jpg', '/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_48_2627.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_12_2663.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_15_2670.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_19_3593.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_21_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_43_3673.jpg
/home/pi/Desktop/images/14042025/14/20/image_14042025_14_20_48_2627.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_12_2663.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_15_2670.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_19_3593.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_21_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349995498","1349995312","1349995419","1349995451","1349995373","1349995340"],"photo_ids_order":["1349995312","1349995340","1349995373","1349995419","1349995451","1349995498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2140008630b633ffa13d5795a2decdfb.jpg","text":"TemporaryFile(/tmp/multipartBody1393937787808252797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742185569,"filename":"image_14042025_14_21_21_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4a3bebe5dab976ab47071fdee601cb8.jpg","text":"TemporaryFile(/tmp/multipartBody217265949324599946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742185569,"filename":"image_14042025_14_20_43_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d77a786ff51390c06d8c043523b0b84e.jpg","text":"TemporaryFile(/tmp/multipartBody2772994982117010461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742185569,"filename":"image_14042025_14_21_15_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7fedd7f0e6d2d912c5d4f20167c4883f.jpg","text":"TemporaryFile(/tmp/multipartBody5563076528539864329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742185569,"filename":"image_14042025_14_21_19_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f016ee48cf643e19f05385469f75e67.jpg","text":"TemporaryFile(/tmp/multipartBody7839773554955980768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742185569,"filename":"image_14042025_14_21_12_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d075acf703dc3a7ad2c8ed8f5e47ffca.jpg","text":"TemporaryFile(/tmp/multipartBody5767606174527933298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742185569,"filename":"image_14042025_14_20_48_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349995373","file1":"1349995340","file0":"1349995312","file4":"1349995451","file5":"1349995498","file3":"1349995419"},"map_files_photo_id_array":[{"photo_id":"1349995498","filename":"file5"},{"photo_id":"1349995373","filename":"file2"},{"photo_id":"1349995451","filename":"file4"},{"photo_id":"1349995340","filename":"file1"},{"photo_id":"1349995312","filename":"file0"},{"photo_id":"1349995419","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349995498":["hashtag1","hashtag2"]},{"1349995312":["hashtag1","hashtag2"]},{"1349995419":["hashtag1","hashtag2"]},{"1349995451":["hashtag1","hashtag2"]},{"1349995373":["hashtag1","hashtag2"]},{"1349995340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349995498, 1349995312, 1349995419, 1349995451, 1349995373, 1349995340)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.97193884849548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:36:22.033088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_24_2691.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_28_3594.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_30_2759.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_33_2678.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_39_2687.jpg', '/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_51_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_24_2691.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_28_3594.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_30_2759.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_33_2678.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_39_2687.jpg
/home/pi/Desktop/images/14042025/14/21/image_14042025_14_21_51_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349995770","1349995799","1349995865","1349995751","1349995826","1349995748"],"photo_ids_order":["1349995748","1349995751","1349995770","1349995799","1349995826","1349995865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f06134a92bb4bfef23456207bfea016f.jpg","text":"TemporaryFile(/tmp/multipartBody2748840570111790600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742245082,"filename":"image_14042025_14_21_30_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c2686f6a32206a06b163a22a4349f67.jpg","text":"TemporaryFile(/tmp/multipartBody7151669868805324721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742245082,"filename":"image_14042025_14_21_33_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba1e0defdeb9ac4e28a68df67cbb8a19.jpg","text":"TemporaryFile(/tmp/multipartBody539813127946857969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742245082,"filename":"image_14042025_14_21_51_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb2a781d79af290ee12392defade6550.jpg","text":"TemporaryFile(/tmp/multipartBody8271997503621684557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742245082,"filename":"image_14042025_14_21_28_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d5b5e63a56c76ed7fff799f7b589ada.jpg","text":"TemporaryFile(/tmp/multipartBody614028380216698367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742245082,"filename":"image_14042025_14_21_39_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6320996f4d116af053cc7b8bc2fd986e.jpg","text":"TemporaryFile(/tmp/multipartBody8031106542436385998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742245082,"filename":"image_14042025_14_21_24_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349995770","file1":"1349995751","file0":"1349995748","file4":"1349995826","file5":"1349995865","file3":"1349995799"},"map_files_photo_id_array":[{"photo_id":"1349995865","filename":"file5"},{"photo_id":"1349995770","filename":"file2"},{"photo_id":"1349995826","filename":"file4"},{"photo_id":"1349995751","filename":"file1"},{"photo_id":"1349995748","filename":"file0"},{"photo_id":"1349995799","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349995770":["hashtag1","hashtag2"]},{"1349995799":["hashtag1","hashtag2"]},{"1349995865":["hashtag1","hashtag2"]},{"1349995751":["hashtag1","hashtag2"]},{"1349995826":["hashtag1","hashtag2"]},{"1349995748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349995770, 1349995799, 1349995865, 1349995751, 1349995826, 1349995748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41932129859924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:37:03.612045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_15_2786.jpg', '/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_21_2743.jpg', '/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_25_3737.jpg', '/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_51_2668.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_03_2683.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_06_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_15_2786.jpg
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_21_2743.jpg
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_25_3737.jpg
/home/pi/Desktop/images/14042025/14/22/image_14042025_14_22_51_2668.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_03_2683.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_06_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349996149","1349996209","1349996235","1349996264","1349996093","1349996188"],"photo_ids_order":["1349996093","1349996149","1349996188","1349996209","1349996235","1349996264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39aba82c26bb7f3604cb1708554896a5.jpg","text":"TemporaryFile(/tmp/multipartBody7949927603412560355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742286167,"filename":"image_14042025_14_22_21_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8321dc49014ea9f9eed8eb778be5919.jpg","text":"TemporaryFile(/tmp/multipartBody4190406331864399115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742286167,"filename":"image_14042025_14_22_51_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dfb2ca138fa1cbc7f7ea3caad0e10e79.jpg","text":"TemporaryFile(/tmp/multipartBody3419234694771676161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742286167,"filename":"image_14042025_14_23_03_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98a14f4d3b834f0c9f53bc3fa15ea8b5.jpg","text":"TemporaryFile(/tmp/multipartBody4834584664737443376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742286167,"filename":"image_14042025_14_23_06_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7795ff193dc8cf9c1582fed0b47c4f2f.jpg","text":"TemporaryFile(/tmp/multipartBody679887643714251065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742286167,"filename":"image_14042025_14_22_15_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb514ac4e651e535f47bb7ce7ee25d21.jpg","text":"TemporaryFile(/tmp/multipartBody153565632368428995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742286167,"filename":"image_14042025_14_22_25_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349996188","file1":"1349996149","file0":"1349996093","file4":"1349996235","file5":"1349996264","file3":"1349996209"},"map_files_photo_id_array":[{"photo_id":"1349996264","filename":"file5"},{"photo_id":"1349996188","filename":"file2"},{"photo_id":"1349996235","filename":"file4"},{"photo_id":"1349996149","filename":"file1"},{"photo_id":"1349996093","filename":"file0"},{"photo_id":"1349996209","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349996149":["hashtag1","hashtag2"]},{"1349996209":["hashtag1","hashtag2"]},{"1349996235":["hashtag1","hashtag2"]},{"1349996264":["hashtag1","hashtag2"]},{"1349996093":["hashtag1","hashtag2"]},{"1349996188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349996149, 1349996209, 1349996235, 1349996264, 1349996093, 1349996188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.073015451431274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:37:42.752961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/31/image_15042025_20_31_13_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/31/image_15042025_20_31_13_2677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349996337"],"photo_id":"1349996337","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ff90955a4df208fde3623fbab80798c.jpg","text":"TemporaryFile(/tmp/multipartBody843648130612179307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742323295,"filename":"image_15042025_20_31_13_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349996337"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349996337"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.93091607093811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:38:02.920662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_09_3622.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_12_2754.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_24_2629.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_32_2660.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_36_3654.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_39_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_09_3622.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_12_2754.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_24_2629.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_32_2660.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_36_3654.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_39_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349996500","1349996530","1349996472","1349996421","1349996415","1349996444"],"photo_ids_order":["1349996415","1349996421","1349996444","1349996472","1349996500","1349996530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9f449428fc3bc4835b6d6f8cccd1aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8317200919558935873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742345355,"filename":"image_14042025_14_23_36_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5496359e4dd01c6204fe6471e4221acd.jpg","text":"TemporaryFile(/tmp/multipartBody6804226729752179585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742345355,"filename":"image_14042025_14_23_39_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3fe0dea9d17f6380f32e7a3cd0d4404.jpg","text":"TemporaryFile(/tmp/multipartBody2851079788723723843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742345355,"filename":"image_14042025_14_23_32_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1023e8795b860bc7be40f9667a738db.jpg","text":"TemporaryFile(/tmp/multipartBody1954802493007958135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742345355,"filename":"image_14042025_14_23_12_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dad14a82620983fce6c0e5d496a3f5a4.jpg","text":"TemporaryFile(/tmp/multipartBody3722124317468547945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742345355,"filename":"image_14042025_14_23_09_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1b7b7b53bc3c1c116f12516b360fa55.jpg","text":"TemporaryFile(/tmp/multipartBody7670951358914289138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742345355,"filename":"image_14042025_14_23_24_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349996444","file1":"1349996421","file0":"1349996415","file4":"1349996500","file5":"1349996530","file3":"1349996472"},"map_files_photo_id_array":[{"photo_id":"1349996530","filename":"file5"},{"photo_id":"1349996444","filename":"file2"},{"photo_id":"1349996500","filename":"file4"},{"photo_id":"1349996421","filename":"file1"},{"photo_id":"1349996415","filename":"file0"},{"photo_id":"1349996472","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349996500":["hashtag1","hashtag2"]},{"1349996530":["hashtag1","hashtag2"]},{"1349996472":["hashtag1","hashtag2"]},{"1349996421":["hashtag1","hashtag2"]},{"1349996415":["hashtag1","hashtag2"]},{"1349996444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349996500, 1349996530, 1349996472, 1349996421, 1349996415, 1349996444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.898194551467896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:38:42.390050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_42_2639.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_45_3695.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_48_2653.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_51_2659.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_54_3650.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_57_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_42_2639.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_45_3695.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_48_2653.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_51_2659.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_54_3650.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_57_2618.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3003160953521729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:39:03.500444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_42_2639.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_45_3695.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_48_2653.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_51_2659.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_54_3650.jpg', '/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_57_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_42_2639.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_45_3695.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_48_2653.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_51_2659.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_54_3650.jpg
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_23_57_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1349996722","1349996796","1349996850","1349996823","1349996693","1349996752"],"photo_ids_order":["1349996693","1349996722","1349996752","1349996796","1349996823","1349996850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2c3b81b2801d4600d6dff19ddf83026.jpg","text":"TemporaryFile(/tmp/multipartBody7643190718512948012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742406250,"filename":"image_14042025_14_23_45_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9160dffae24e507812bb01f48712e76.jpg","text":"TemporaryFile(/tmp/multipartBody6618193951213702309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742406250,"filename":"image_14042025_14_23_51_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6420789cdae85e2b88fe0b019d26aebc.jpg","text":"TemporaryFile(/tmp/multipartBody4633357657894153637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742406250,"filename":"image_14042025_14_23_57_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1f5162ee6532d1524d4f21f1643c195.jpg","text":"TemporaryFile(/tmp/multipartBody2773422112432925593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742406250,"filename":"image_14042025_14_23_54_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8400640b24c2364f950b7c4da34f5aac.jpg","text":"TemporaryFile(/tmp/multipartBody277257005376563366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742406250,"filename":"image_14042025_14_23_42_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f7d5e3201de43fe80b0c0a8ef60ad13.jpg","text":"TemporaryFile(/tmp/multipartBody4145325338361170216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742406250,"filename":"image_14042025_14_23_48_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349996752","file1":"1349996722","file0":"1349996693","file4":"1349996823","file5":"1349996850","file3":"1349996796"},"map_files_photo_id_array":[{"photo_id":"1349996850","filename":"file5"},{"photo_id":"1349996752","filename":"file2"},{"photo_id":"1349996823","filename":"file4"},{"photo_id":"1349996722","filename":"file1"},{"photo_id":"1349996693","filename":"file0"},{"photo_id":"1349996796","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349996722":["hashtag1","hashtag2"]},{"1349996796":["hashtag1","hashtag2"]},{"1349996850":["hashtag1","hashtag2"]},{"1349996823":["hashtag1","hashtag2"]},{"1349996693":["hashtag1","hashtag2"]},{"1349996752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349996722, 1349996796, 1349996850, 1349996823, 1349996693, 1349996752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09978461265564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:40:03.007271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/23/image_14042025_14_24_00_3595.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_03_2805.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_09_2704.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_12_3924.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_18_2661.jpg', '/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_39_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/23/image_14042025_14_24_00_3595.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_03_2805.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_09_2704.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_12_3924.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_18_2661.jpg
/home/pi/Desktop/images/14042025/14/24/image_14042025_14_24_39_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349997084","1349997016","1349997093","1349997051","1349997098","1349997122"],"photo_ids_order":["1349997016","1349997051","1349997084","1349997093","1349997098","1349997122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/224922071d8c90d3fdf014b472ce2e59.jpg","text":"TemporaryFile(/tmp/multipartBody2437939071828721626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742465463,"filename":"image_14042025_14_24_09_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/635ca9b446199dfd7b256853be753613.jpg","text":"TemporaryFile(/tmp/multipartBody5886168412102162273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742465463,"filename":"image_14042025_14_24_00_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67242ac4364500b392d9c911501ed286.jpg","text":"TemporaryFile(/tmp/multipartBody8404604897733824385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742465463,"filename":"image_14042025_14_24_12_3924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3ab019e28d42695b538fc4e98d6d926.jpg","text":"TemporaryFile(/tmp/multipartBody1779548268462028216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742465463,"filename":"image_14042025_14_24_03_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9515d4cfa9ec0c593c5518419866698.jpg","text":"TemporaryFile(/tmp/multipartBody6070689013675547367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742465463,"filename":"image_14042025_14_24_18_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b6562493ba99a5a9943bd8831e1b0c95.jpg","text":"TemporaryFile(/tmp/multipartBody742540618159842291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742465463,"filename":"image_14042025_14_24_39_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349997084","file1":"1349997051","file0":"1349997016","file4":"1349997098","file5":"1349997122","file3":"1349997093"},"map_files_photo_id_array":[{"photo_id":"1349997122","filename":"file5"},{"photo_id":"1349997084","filename":"file2"},{"photo_id":"1349997098","filename":"file4"},{"photo_id":"1349997051","filename":"file1"},{"photo_id":"1349997016","filename":"file0"},{"photo_id":"1349997093","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349997084":["hashtag1","hashtag2"]},{"1349997016":["hashtag1","hashtag2"]},{"1349997093":["hashtag1","hashtag2"]},{"1349997051":["hashtag1","hashtag2"]},{"1349997098":["hashtag1","hashtag2"]},{"1349997122":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349997084, 1349997016, 1349997093, 1349997051, 1349997098, 1349997122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88296675682068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:40:42.436077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/37/image_15042025_20_37_54_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/37/image_15042025_20_37_54_2681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349997151"],"photo_id":"1349997151","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f53e3bf3370e28b177afbe028ef4f7d0.jpg","text":"TemporaryFile(/tmp/multipartBody8873750246153443021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742502985,"filename":"image_15042025_20_37_54_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349997151"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349997151"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.129801988601685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:41:03.144520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_12_2726.jpg', '/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_27_3749.jpg', '/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_32_2619.jpg', '/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_45_3581.jpg', '/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_06_3618.jpg', '/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_09_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_12_2726.jpg
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_27_3749.jpg
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_32_2619.jpg
/home/pi/Desktop/images/14042025/14/25/image_14042025_14_25_45_3581.jpg
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_06_3618.jpg
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_09_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349997264","1349997306","1349997336","1349997275","1349997419","1349997370"],"photo_ids_order":["1349997264","1349997275","1349997306","1349997336","1349997370","1349997419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cac79e57289e5cf1a4c1f987a6f190c.jpg","text":"TemporaryFile(/tmp/multipartBody5431225010787326045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742525870,"filename":"image_14042025_14_25_12_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/948aaf58ff9b4a82b84522bba13a29e4.jpg","text":"TemporaryFile(/tmp/multipartBody1741138111773641551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742525870,"filename":"image_14042025_14_25_32_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec8248f30990756e190e15cdfcfb7e36.jpg","text":"TemporaryFile(/tmp/multipartBody5100600095648523192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742525870,"filename":"image_14042025_14_25_45_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdc7bad892f62efe0ff48291564beab0.jpg","text":"TemporaryFile(/tmp/multipartBody8408027202694559838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742525870,"filename":"image_14042025_14_25_27_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b6d84064010ceb049dcaab131345f29.jpg","text":"TemporaryFile(/tmp/multipartBody5150604998673105369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742525870,"filename":"image_14042025_14_26_09_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bc7cf9126e3569e766aff8bc72bdf9f.jpg","text":"TemporaryFile(/tmp/multipartBody8512119139255232301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742525870,"filename":"image_14042025_14_26_06_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349997306","file1":"1349997275","file0":"1349997264","file4":"1349997370","file5":"1349997419","file3":"1349997336"},"map_files_photo_id_array":[{"photo_id":"1349997419","filename":"file5"},{"photo_id":"1349997306","filename":"file2"},{"photo_id":"1349997370","filename":"file4"},{"photo_id":"1349997275","filename":"file1"},{"photo_id":"1349997264","filename":"file0"},{"photo_id":"1349997336","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349997264":["hashtag1","hashtag2"]},{"1349997306":["hashtag1","hashtag2"]},{"1349997336":["hashtag1","hashtag2"]},{"1349997275":["hashtag1","hashtag2"]},{"1349997419":["hashtag1","hashtag2"]},{"1349997370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349997264, 1349997306, 1349997336, 1349997275, 1349997419, 1349997370)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.916834354400635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:42:02.926519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_29_2694.jpg', '/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_41_2585.jpg', '/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_14_2524.jpg', '/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_45_3569.jpg', '/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_11_2626.jpg', '/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_15_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_29_2694.jpg
/home/pi/Desktop/images/14042025/14/26/image_14042025_14_26_41_2585.jpg
/home/pi/Desktop/images/14042025/14/27/image_14042025_14_27_14_2524.jpg
/home/pi/Desktop/images/14042025/14/28/image_14042025_14_28_45_3569.jpg
/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_11_2626.jpg
/home/pi/Desktop/images/14042025/14/29/image_14042025_14_29_15_3715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349997865","1349997781","1349997823","1349997910","1349997888","1349997777"],"photo_ids_order":["1349997777","1349997781","1349997823","1349997865","1349997888","1349997910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0c79dbe48a897f89e5b233c1f911a50.jpg","text":"TemporaryFile(/tmp/multipartBody7383704700581913089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742590541,"filename":"image_14042025_14_28_45_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4daa7c6fec9fddc86f0930bb22966e71.jpg","text":"TemporaryFile(/tmp/multipartBody7985662009639958790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742590541,"filename":"image_14042025_14_26_41_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/360f53fb1f5e63d67387b9fb2a81fa4c.jpg","text":"TemporaryFile(/tmp/multipartBody4872761782103094521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742590541,"filename":"image_14042025_14_27_14_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fc4ca8ae5a94c582cbce5860bd06c52.jpg","text":"TemporaryFile(/tmp/multipartBody8054394121525473770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742590541,"filename":"image_14042025_14_29_15_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec028ecc84051c0e587725785642b7e3.jpg","text":"TemporaryFile(/tmp/multipartBody3517425053025878168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742590541,"filename":"image_14042025_14_29_11_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d8f9e11d4ef3971a6f19d2e8cb43cb4.jpg","text":"TemporaryFile(/tmp/multipartBody729038580867591096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742590541,"filename":"image_14042025_14_26_29_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349997823","file1":"1349997781","file0":"1349997777","file4":"1349997888","file5":"1349997910","file3":"1349997865"},"map_files_photo_id_array":[{"photo_id":"1349997910","filename":"file5"},{"photo_id":"1349997823","filename":"file2"},{"photo_id":"1349997888","filename":"file4"},{"photo_id":"1349997781","filename":"file1"},{"photo_id":"1349997777","filename":"file0"},{"photo_id":"1349997865","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349997865":["hashtag1","hashtag2"]},{"1349997781":["hashtag1","hashtag2"]},{"1349997823":["hashtag1","hashtag2"]},{"1349997910":["hashtag1","hashtag2"]},{"1349997888":["hashtag1","hashtag2"]},{"1349997777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349997865, 1349997781, 1349997823, 1349997910, 1349997888, 1349997777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46217727661133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:43:03.492372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_53_2732.jpg', '/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_04_2595.jpg', '/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_07_2741.jpg', '/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_13_2788.jpg', '/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_22_2530.jpg', '/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_34_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/30/image_14042025_14_30_53_2732.jpg
/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_04_2595.jpg
/home/pi/Desktop/images/14042025/14/32/image_14042025_14_32_07_2741.jpg
/home/pi/Desktop/images/14042025/14/34/image_14042025_14_34_13_2788.jpg
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_22_2530.jpg
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_34_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998014","1349998017","1349998019","1349998028","1349998021","1349998024"],"photo_ids_order":["1349998014","1349998017","1349998019","1349998021","1349998024","1349998028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1e9451ddf7bb75548a3afb6c8661f6b.jpg","text":"TemporaryFile(/tmp/multipartBody4484695896599964473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742646242,"filename":"image_14042025_14_30_53_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2bf1006866e9e22c66f453f4aa0eaf2b.jpg","text":"TemporaryFile(/tmp/multipartBody5505313810464544848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742646242,"filename":"image_14042025_14_32_04_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad039151823a9df15654dfe7afb7f255.jpg","text":"TemporaryFile(/tmp/multipartBody1164679009632421937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742646242,"filename":"image_14042025_14_32_07_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ee241445df09af827cc70440dd2501a.jpg","text":"TemporaryFile(/tmp/multipartBody3910927101349174303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742646242,"filename":"image_14042025_14_35_34_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f108a788bab5bc257a9aa5d0c5014d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5385837935398142427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742646242,"filename":"image_14042025_14_34_13_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a1ba12fea1a0c1c252ed8a331fccf1b.jpg","text":"TemporaryFile(/tmp/multipartBody4915178431201143202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742646242,"filename":"image_14042025_14_35_22_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349998019","file1":"1349998017","file0":"1349998014","file4":"1349998024","file5":"1349998028","file3":"1349998021"},"map_files_photo_id_array":[{"photo_id":"1349998028","filename":"file5"},{"photo_id":"1349998019","filename":"file2"},{"photo_id":"1349998024","filename":"file4"},{"photo_id":"1349998017","filename":"file1"},{"photo_id":"1349998014","filename":"file0"},{"photo_id":"1349998021","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349998014":["hashtag1","hashtag2"]},{"1349998017":["hashtag1","hashtag2"]},{"1349998019":["hashtag1","hashtag2"]},{"1349998028":["hashtag1","hashtag2"]},{"1349998021":["hashtag1","hashtag2"]},{"1349998024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349998014, 1349998017, 1349998019, 1349998028, 1349998021, 1349998024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78358268737793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:43:42.754132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/40/image_15042025_20_40_25_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/40/image_15042025_20_40_25_3689.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998042"],"photo_id":"1349998042","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27ecb0e00bd64d66292863c29be37584.jpg","text":"TemporaryFile(/tmp/multipartBody3033107734855127314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742683303,"filename":"image_15042025_20_40_25_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349998042"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349998042"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.73831582069397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:44:03.699683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_37_3784.jpg', '/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_40_2859.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_28_3741.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_31_2873.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_34_2715.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_36_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_37_3784.jpg
/home/pi/Desktop/images/14042025/14/35/image_14042025_14_35_40_2859.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_28_3741.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_31_2873.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_34_2715.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_36_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998206","1349998151","1349998256","1349998121","1349998177","1349998242"],"photo_ids_order":["1349998121","1349998151","1349998177","1349998206","1349998242","1349998256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/627d7ed2ce86fc3332bc35880aeb059a.jpg","text":"TemporaryFile(/tmp/multipartBody3093428546464170444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742706180,"filename":"image_14042025_14_39_31_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fd1e6cacabf4e4fd7911213e842e51e.jpg","text":"TemporaryFile(/tmp/multipartBody6584956242100856130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742706180,"filename":"image_14042025_14_35_40_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ad54f234532c1ba123a98872998cbfc.jpg","text":"TemporaryFile(/tmp/multipartBody5321695634850080987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742706180,"filename":"image_14042025_14_39_36_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ddd5b184c95a03aaae4aa1efaf19a1b.jpg","text":"TemporaryFile(/tmp/multipartBody963410329196059728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742706180,"filename":"image_14042025_14_35_37_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/835920b8da6e17a28023d23e3b09c39f.jpg","text":"TemporaryFile(/tmp/multipartBody7539114964146071572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742706180,"filename":"image_14042025_14_39_28_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6c91ae05cf77475a29ffe4dce587ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7893039235964132874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742706180,"filename":"image_14042025_14_39_34_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349998177","file1":"1349998151","file0":"1349998121","file4":"1349998242","file5":"1349998256","file3":"1349998206"},"map_files_photo_id_array":[{"photo_id":"1349998256","filename":"file5"},{"photo_id":"1349998177","filename":"file2"},{"photo_id":"1349998242","filename":"file4"},{"photo_id":"1349998151","filename":"file1"},{"photo_id":"1349998121","filename":"file0"},{"photo_id":"1349998206","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349998206":["hashtag1","hashtag2"]},{"1349998151":["hashtag1","hashtag2"]},{"1349998256":["hashtag1","hashtag2"]},{"1349998121":["hashtag1","hashtag2"]},{"1349998177":["hashtag1","hashtag2"]},{"1349998242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349998206, 1349998151, 1349998256, 1349998121, 1349998177, 1349998242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05612587928772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:44:42.777388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_43_2765.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_45_2583.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_48_2808.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_52_3746.jpg', '/home/pi/Desktop/images/14042025/14/39/image_14042025_14_40_01_3706.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_06_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_43_2765.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_45_2583.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_48_2808.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_39_52_3746.jpg
/home/pi/Desktop/images/14042025/14/39/image_14042025_14_40_01_3706.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_06_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998328","1349998313","1349998492","1349998319","1349998363","1349998465"],"photo_ids_order":["1349998313","1349998319","1349998328","1349998363","1349998465","1349998492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1894bbf843915f68c60488b58bedffa9.jpg","text":"TemporaryFile(/tmp/multipartBody2487201923354718803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742744150,"filename":"image_14042025_14_39_48_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c6cf594f704fb7d450e96f1a3ff16b3.jpg","text":"TemporaryFile(/tmp/multipartBody2039578048353430847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742744150,"filename":"image_14042025_14_39_43_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34aba7fe1798e4465a06167e9e18f49c.jpg","text":"TemporaryFile(/tmp/multipartBody3307600274291906218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742744150,"filename":"image_14042025_14_40_06_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de1c890b76dd65542218941948c43c90.jpg","text":"TemporaryFile(/tmp/multipartBody7755895550039659881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742744150,"filename":"image_14042025_14_39_45_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dadb52695b4b4bee590029e619eec755.jpg","text":"TemporaryFile(/tmp/multipartBody5430512173868272722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742744150,"filename":"image_14042025_14_39_52_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ce295253d99f62457b315573d90dce0.jpg","text":"TemporaryFile(/tmp/multipartBody7757828876424330542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742744150,"filename":"image_14042025_14_40_01_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349998328","file1":"1349998319","file0":"1349998313","file4":"1349998465","file5":"1349998492","file3":"1349998363"},"map_files_photo_id_array":[{"photo_id":"1349998492","filename":"file5"},{"photo_id":"1349998328","filename":"file2"},{"photo_id":"1349998465","filename":"file4"},{"photo_id":"1349998319","filename":"file1"},{"photo_id":"1349998313","filename":"file0"},{"photo_id":"1349998363","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349998328":["hashtag1","hashtag2"]},{"1349998313":["hashtag1","hashtag2"]},{"1349998492":["hashtag1","hashtag2"]},{"1349998319":["hashtag1","hashtag2"]},{"1349998363":["hashtag1","hashtag2"]},{"1349998465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349998328, 1349998313, 1349998492, 1349998319, 1349998363, 1349998465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.672858238220215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:45:21.970128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_10_3580.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_13_2625.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_15_2697.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_19_3689.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_22_2831.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_25_3040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_10_3580.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_13_2625.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_15_2697.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_19_3689.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_22_2831.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_25_3040.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998592","1349998580","1349998583","1349998604","1349998633","1349998587"],"photo_ids_order":["1349998580","1349998583","1349998587","1349998592","1349998604","1349998633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be14d726e2d8f5bdb55247ea41fd1905.jpg","text":"TemporaryFile(/tmp/multipartBody7137765556714174096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742785133,"filename":"image_14042025_14_40_19_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa1c7be2b56ae5ad489d3379916d7c22.jpg","text":"TemporaryFile(/tmp/multipartBody2072608909416845520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742785133,"filename":"image_14042025_14_40_10_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0e7e4c0df8b23038b5e8bd01688ef59.jpg","text":"TemporaryFile(/tmp/multipartBody3207423365457324845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742785133,"filename":"image_14042025_14_40_13_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5758a34e6240e249be9791d94748e10.jpg","text":"TemporaryFile(/tmp/multipartBody6088913741519601848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742785133,"filename":"image_14042025_14_40_22_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/feffa4331629b1ae8272dad6dd409081.jpg","text":"TemporaryFile(/tmp/multipartBody6946620702402909792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742785133,"filename":"image_14042025_14_40_25_3040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ef41aceb72580687c4cbad4222f143f.jpg","text":"TemporaryFile(/tmp/multipartBody8165027006850357353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742785133,"filename":"image_14042025_14_40_15_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349998587","file1":"1349998583","file0":"1349998580","file4":"1349998604","file5":"1349998633","file3":"1349998592"},"map_files_photo_id_array":[{"photo_id":"1349998633","filename":"file5"},{"photo_id":"1349998587","filename":"file2"},{"photo_id":"1349998604","filename":"file4"},{"photo_id":"1349998583","filename":"file1"},{"photo_id":"1349998580","filename":"file0"},{"photo_id":"1349998592","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349998592":["hashtag1","hashtag2"]},{"1349998580":["hashtag1","hashtag2"]},{"1349998583":["hashtag1","hashtag2"]},{"1349998604":["hashtag1","hashtag2"]},{"1349998633":["hashtag1","hashtag2"]},{"1349998587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349998592, 1349998580, 1349998583, 1349998604, 1349998633, 1349998587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.537147521972656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:46:02.487091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_28_2773.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_34_3707.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_37_2538.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_43_3619.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_46_2692.jpg', '/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_55_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_28_2773.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_34_3707.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_37_2538.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_43_3619.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_46_2692.jpg
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_40_55_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998811","1349998808","1349998709","1349998723","1349998825","1349998851"],"photo_ids_order":["1349998709","1349998723","1349998808","1349998811","1349998825","1349998851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78b3d51c105be03407a5ceeff2ae8209.jpg","text":"TemporaryFile(/tmp/multipartBody8744420686594415766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742824927,"filename":"image_14042025_14_40_43_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c682ef93b05681a54496fa470007a9b2.jpg","text":"TemporaryFile(/tmp/multipartBody1173851849789384632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742824927,"filename":"image_14042025_14_40_37_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6fee7a7403be969da58760d7fc02c3c.jpg","text":"TemporaryFile(/tmp/multipartBody312283849009430423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742824927,"filename":"image_14042025_14_40_28_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10e05474c1e0a71a4031f203f9090187.jpg","text":"TemporaryFile(/tmp/multipartBody3066888553324708441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742824927,"filename":"image_14042025_14_40_34_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1ff6aeb95ed354a017f5b74b1237c05.jpg","text":"TemporaryFile(/tmp/multipartBody8958005747268810081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742824927,"filename":"image_14042025_14_40_46_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dec2849b26c6119f5ffb0fe128ba7ce7.jpg","text":"TemporaryFile(/tmp/multipartBody9222301858773374705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742824927,"filename":"image_14042025_14_40_55_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349998808","file1":"1349998723","file0":"1349998709","file4":"1349998825","file5":"1349998851","file3":"1349998811"},"map_files_photo_id_array":[{"photo_id":"1349998851","filename":"file5"},{"photo_id":"1349998808","filename":"file2"},{"photo_id":"1349998825","filename":"file4"},{"photo_id":"1349998723","filename":"file1"},{"photo_id":"1349998709","filename":"file0"},{"photo_id":"1349998811","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349998811":["hashtag1","hashtag2"]},{"1349998808":["hashtag1","hashtag2"]},{"1349998709":["hashtag1","hashtag2"]},{"1349998723":["hashtag1","hashtag2"]},{"1349998825":["hashtag1","hashtag2"]},{"1349998851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349998811, 1349998808, 1349998709, 1349998723, 1349998825, 1349998851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14054775238037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:46:41.917969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/43/image_15042025_20_43_42_1795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/43/image_15042025_20_43_42_1795.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349998867"],"photo_id":"1349998867","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c18aefe8961f58db10d9e0bcc3b9b2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5020141577599699172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742862507,"filename":"image_15042025_20_43_42_1795.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349998867"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349998867"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.029109239578247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:47:04.202918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/40/image_14042025_14_41_01_3562.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_07_2670.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_09_2716.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_13_3539.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_27_2597.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_30_2902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/40/image_14042025_14_41_01_3562.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_07_2670.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_09_2716.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_13_3539.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_27_2597.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_30_2902.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999078","1349999050","1349999044","1349999017","1349999094","1349998986"],"photo_ids_order":["1349998986","1349999017","1349999044","1349999050","1349999078","1349999094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74af30842330a5287d59ff676e34ef97.jpg","text":"TemporaryFile(/tmp/multipartBody974266534483789859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742886767,"filename":"image_14042025_14_41_27_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea3f4dcf9385bca94ce2b0cf467ba842.jpg","text":"TemporaryFile(/tmp/multipartBody4588818995363586772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742886767,"filename":"image_14042025_14_41_13_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f5e6c093a22e4af868ba0418cce8d03.jpg","text":"TemporaryFile(/tmp/multipartBody8800280991858228613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742886767,"filename":"image_14042025_14_41_09_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af7f376a995369602710cace90db688c.jpg","text":"TemporaryFile(/tmp/multipartBody7145934277623506160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742886767,"filename":"image_14042025_14_41_07_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4464f883bee8cf17d6b97d55d39256f.jpg","text":"TemporaryFile(/tmp/multipartBody7486694181628125497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742886767,"filename":"image_14042025_14_41_30_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/319f999cd68118f8bc09c0e40170c380.jpg","text":"TemporaryFile(/tmp/multipartBody7784624204982996035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742886767,"filename":"image_14042025_14_41_01_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349999044","file1":"1349999017","file0":"1349998986","file4":"1349999078","file5":"1349999094","file3":"1349999050"},"map_files_photo_id_array":[{"photo_id":"1349999094","filename":"file5"},{"photo_id":"1349999044","filename":"file2"},{"photo_id":"1349999078","filename":"file4"},{"photo_id":"1349999017","filename":"file1"},{"photo_id":"1349998986","filename":"file0"},{"photo_id":"1349999050","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349999078":["hashtag1","hashtag2"]},{"1349999050":["hashtag1","hashtag2"]},{"1349999044":["hashtag1","hashtag2"]},{"1349999017":["hashtag1","hashtag2"]},{"1349999094":["hashtag1","hashtag2"]},{"1349998986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349999078, 1349999050, 1349999044, 1349999017, 1349999094, 1349998986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1480495929718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:47:43.357948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_34_3747.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_37_2678.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_39_2744.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_46_2578.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_48_2816.jpg', '/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_55_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_34_3747.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_37_2678.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_39_2744.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_46_2578.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_48_2816.jpg
/home/pi/Desktop/images/14042025/14/41/image_14042025_14_41_55_3566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999198","1349999204","1349999194","1349999179","1349999142","1349999118"],"photo_ids_order":["1349999118","1349999142","1349999179","1349999194","1349999198","1349999204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42a189c91863ab4a8c1a87b5c0334292.jpg","text":"TemporaryFile(/tmp/multipartBody8687777349782223534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742924723,"filename":"image_14042025_14_41_48_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ca7a2e55073f16ed2954f8d39e9ac39.jpg","text":"TemporaryFile(/tmp/multipartBody8933820599125346442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742924723,"filename":"image_14042025_14_41_55_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/440ada721dd605f96516e6b151bb22c9.jpg","text":"TemporaryFile(/tmp/multipartBody9167571669847393141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742924723,"filename":"image_14042025_14_41_46_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f9c6af56b3929e28729635dd5f6fb5d.jpg","text":"TemporaryFile(/tmp/multipartBody9145649242962149291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742924723,"filename":"image_14042025_14_41_39_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/987baa2315eb2648ad0f1a188acb9036.jpg","text":"TemporaryFile(/tmp/multipartBody6801182641908638141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742924723,"filename":"image_14042025_14_41_37_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/716d4157af83810afd2a9f0a5c047709.jpg","text":"TemporaryFile(/tmp/multipartBody8719122038156928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742924723,"filename":"image_14042025_14_41_34_3747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349999179","file1":"1349999142","file0":"1349999118","file4":"1349999198","file5":"1349999204","file3":"1349999194"},"map_files_photo_id_array":[{"photo_id":"1349999204","filename":"file5"},{"photo_id":"1349999179","filename":"file2"},{"photo_id":"1349999198","filename":"file4"},{"photo_id":"1349999142","filename":"file1"},{"photo_id":"1349999118","filename":"file0"},{"photo_id":"1349999194","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349999198":["hashtag1","hashtag2"]},{"1349999204":["hashtag1","hashtag2"]},{"1349999194":["hashtag1","hashtag2"]},{"1349999179":["hashtag1","hashtag2"]},{"1349999142":["hashtag1","hashtag2"]},{"1349999118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349999198, 1349999204, 1349999194, 1349999179, 1349999142, 1349999118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16914653778076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:48:21.761197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/46/image_15042025_20_46_11_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/46/image_15042025_20_46_11_2621.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999214"],"photo_id":"1349999214","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbd1b2c191a18d6a208cb1c60c13bc7c.jpg","text":"TemporaryFile(/tmp/multipartBody3298829099744936664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744742962282,"filename":"image_15042025_20_46_11_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349999214"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349999214"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.511230230331421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:48:41.685290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_09_2690.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_13_3555.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_25_3684.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_30_2652.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_43_3708.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_46_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_09_2690.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_13_3555.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_25_3684.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_30_2652.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_43_3708.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_46_2713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.283818244934082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:49:03.354828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_09_2690.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_13_3555.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_25_3684.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_30_2652.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_43_3708.jpg', '/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_46_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_09_2690.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_13_3555.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_25_3684.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_30_2652.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_43_3708.jpg
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_46_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999297","1349999324","1349999286","1349999301","1349999291","1349999294"],"photo_ids_order":["1349999286","1349999291","1349999294","1349999297","1349999301","1349999324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93a99ff483cf4cf7dda67c8c62109d0a.jpg","text":"TemporaryFile(/tmp/multipartBody491913780565891151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743006080,"filename":"image_14042025_14_42_30_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1382454b374b81d61d2eae82278d2804.jpg","text":"TemporaryFile(/tmp/multipartBody7080801785578040798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743006080,"filename":"image_14042025_14_42_46_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f500c1cb69ce444712568b6f09689a32.jpg","text":"TemporaryFile(/tmp/multipartBody5104913497180093673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743006080,"filename":"image_14042025_14_42_09_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb91a9261e52b6c661ba9c022b678e9f.jpg","text":"TemporaryFile(/tmp/multipartBody7994528400114542943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743006080,"filename":"image_14042025_14_42_43_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f26f37bdffb01f05b3f532a6f5c3f31.jpg","text":"TemporaryFile(/tmp/multipartBody8067304647400187986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743006080,"filename":"image_14042025_14_42_13_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ebc18c9a2f2773e1a88e44550707aef.jpg","text":"TemporaryFile(/tmp/multipartBody4408204745437843342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743006080,"filename":"image_14042025_14_42_25_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349999294","file1":"1349999291","file0":"1349999286","file4":"1349999301","file5":"1349999324","file3":"1349999297"},"map_files_photo_id_array":[{"photo_id":"1349999324","filename":"file5"},{"photo_id":"1349999294","filename":"file2"},{"photo_id":"1349999301","filename":"file4"},{"photo_id":"1349999291","filename":"file1"},{"photo_id":"1349999286","filename":"file0"},{"photo_id":"1349999297","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349999297":["hashtag1","hashtag2"]},{"1349999324":["hashtag1","hashtag2"]},{"1349999286":["hashtag1","hashtag2"]},{"1349999301":["hashtag1","hashtag2"]},{"1349999291":["hashtag1","hashtag2"]},{"1349999294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349999297, 1349999324, 1349999286, 1349999301, 1349999291, 1349999294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45164489746094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:49:42.594777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/48/image_15042025_20_48_53_2621.jpg', '/home/pi/Desktop/images/15042025/20/49/image_15042025_20_49_32_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/48/image_15042025_20_48_53_2621.jpg
/home/pi/Desktop/images/15042025/20/49/image_15042025_20_49_32_2634.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999401","1349999419"],"photo_ids_order":["1349999401","1349999419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/675edfad39396276bfa059da9efe71f9.jpg","text":"TemporaryFile(/tmp/multipartBody6292994388659375157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743043171,"filename":"image_15042025_20_48_53_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87b6b57939bffd0959c250bbbc616d6f.jpg","text":"TemporaryFile(/tmp/multipartBody9159851049980707965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743043171,"filename":"image_15042025_20_49_32_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1349999419","file0":"1349999401"},"map_files_photo_id_array":[{"photo_id":"1349999419","filename":"file1"},{"photo_id":"1349999401","filename":"file0"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1349999401":["hashtag1","hashtag2"]},{"1349999419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1349999401, 1349999419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.87838363647461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:50:03.241406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_48_2656.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_03_2749.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_07_3598.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_09_2522.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_12_2879.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_16_3815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/42/image_14042025_14_42_48_2656.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_03_2749.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_07_3598.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_09_2522.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_12_2879.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_16_3815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999485","1349999533","1349999527","1349999536","1349999530","1349999523"],"photo_ids_order":["1349999485","1349999523","1349999527","1349999530","1349999533","1349999536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a85d14d9e611ed40ebe0fef97504d5d.jpg","text":"TemporaryFile(/tmp/multipartBody3384502357323941417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743065697,"filename":"image_14042025_14_42_48_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/390c33bd58f46277b083551ec5fd50dd.jpg","text":"TemporaryFile(/tmp/multipartBody422853745791066490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743065697,"filename":"image_14042025_14_43_12_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb261d3e24206bec3ae95a84f23421ba.jpg","text":"TemporaryFile(/tmp/multipartBody5137761172257746531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743065697,"filename":"image_14042025_14_43_07_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d4ae473dc3e212a3d39b2825f828750.jpg","text":"TemporaryFile(/tmp/multipartBody2586013194085384844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743065697,"filename":"image_14042025_14_43_16_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1f4a8dc24da706e4f4bcbb07fc4bb33.jpg","text":"TemporaryFile(/tmp/multipartBody8052238490841572681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743065697,"filename":"image_14042025_14_43_09_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37ae5b9fd5682a75da8e66fc4eb3ee41.jpg","text":"TemporaryFile(/tmp/multipartBody5036604234631408392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743065697,"filename":"image_14042025_14_43_03_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349999527","file1":"1349999523","file0":"1349999485","file4":"1349999533","file5":"1349999536","file3":"1349999530"},"map_files_photo_id_array":[{"photo_id":"1349999536","filename":"file5"},{"photo_id":"1349999527","filename":"file2"},{"photo_id":"1349999533","filename":"file4"},{"photo_id":"1349999523","filename":"file1"},{"photo_id":"1349999485","filename":"file0"},{"photo_id":"1349999530","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349999485":["hashtag1","hashtag2"]},{"1349999533":["hashtag1","hashtag2"]},{"1349999527":["hashtag1","hashtag2"]},{"1349999536":["hashtag1","hashtag2"]},{"1349999530":["hashtag1","hashtag2"]},{"1349999523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349999485, 1349999533, 1349999527, 1349999536, 1349999530, 1349999523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50760054588318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:50:42.764776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_21_2660.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_24_2674.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_33_2718.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_37_3652.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_39_2640.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_42_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_21_2660.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_24_2674.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_33_2718.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_37_3652.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_39_2640.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_42_2824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999555","1349999575","1349999563","1349999545","1349999560","1349999550"],"photo_ids_order":["1349999545","1349999550","1349999555","1349999560","1349999563","1349999575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7babc99146c349078bfbfba48b9ffd69.jpg","text":"TemporaryFile(/tmp/multipartBody1566498640975803976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743104142,"filename":"image_14042025_14_43_33_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5c414211883c197303942773c0a24e3.jpg","text":"TemporaryFile(/tmp/multipartBody4296185076331295423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743104142,"filename":"image_14042025_14_43_42_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f92bddf645953ef1da7cd5e2d9b63a2.jpg","text":"TemporaryFile(/tmp/multipartBody5860242377037897699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743104142,"filename":"image_14042025_14_43_39_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/894cc81e01d588a349d28830afbc51e2.jpg","text":"TemporaryFile(/tmp/multipartBody2481346867559616317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743104142,"filename":"image_14042025_14_43_21_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f79b725c5fccde4b6c2bf631c179b6ce.jpg","text":"TemporaryFile(/tmp/multipartBody776643237279799081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743104142,"filename":"image_14042025_14_43_37_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/027ecab4b1742416179901ba7d136ce7.jpg","text":"TemporaryFile(/tmp/multipartBody7667816621735893022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743104142,"filename":"image_14042025_14_43_24_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349999555","file1":"1349999550","file0":"1349999545","file4":"1349999563","file5":"1349999575","file3":"1349999560"},"map_files_photo_id_array":[{"photo_id":"1349999575","filename":"file5"},{"photo_id":"1349999555","filename":"file2"},{"photo_id":"1349999563","filename":"file4"},{"photo_id":"1349999550","filename":"file1"},{"photo_id":"1349999545","filename":"file0"},{"photo_id":"1349999560","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349999555":["hashtag1","hashtag2"]},{"1349999575":["hashtag1","hashtag2"]},{"1349999563":["hashtag1","hashtag2"]},{"1349999545":["hashtag1","hashtag2"]},{"1349999560":["hashtag1","hashtag2"]},{"1349999550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349999555, 1349999575, 1349999563, 1349999545, 1349999560, 1349999550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92652177810669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:51:21.945513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_45_2742.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_49_3778.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_51_2686.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_58_3641.jpg', '/home/pi/Desktop/images/14042025/14/43/image_14042025_14_44_00_2555.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_03_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_45_2742.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_49_3778.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_51_2686.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_43_58_3641.jpg
/home/pi/Desktop/images/14042025/14/43/image_14042025_14_44_00_2555.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_03_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999720","1349999717","1349999773","1349999713","1349999685","1349999748"],"photo_ids_order":["1349999685","1349999713","1349999717","1349999720","1349999748","1349999773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c939cffbc2ab686cf64cc2ec8bcc645.jpg","text":"TemporaryFile(/tmp/multipartBody2463217560423265664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743145065,"filename":"image_14042025_14_43_58_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd76e413ffbaaa6d146a9d9d2f52f663.jpg","text":"TemporaryFile(/tmp/multipartBody5178714783114954097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743145065,"filename":"image_14042025_14_43_51_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/692cb901ab7b92c571c77259dffaa859.jpg","text":"TemporaryFile(/tmp/multipartBody4542985930633760304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743145065,"filename":"image_14042025_14_44_03_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6f32f39e8366958f99f449adcf7c160.jpg","text":"TemporaryFile(/tmp/multipartBody2599043035004921259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743145065,"filename":"image_14042025_14_43_49_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/adfa6c1c5ef96a2bab96353ed819033e.jpg","text":"TemporaryFile(/tmp/multipartBody3851203161366916386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743145065,"filename":"image_14042025_14_43_45_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6170de3fabbfe3198987b285401cddf7.jpg","text":"TemporaryFile(/tmp/multipartBody8780922522016447787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743145065,"filename":"image_14042025_14_44_00_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349999717","file1":"1349999713","file0":"1349999685","file4":"1349999748","file5":"1349999773","file3":"1349999720"},"map_files_photo_id_array":[{"photo_id":"1349999773","filename":"file5"},{"photo_id":"1349999717","filename":"file2"},{"photo_id":"1349999748","filename":"file4"},{"photo_id":"1349999713","filename":"file1"},{"photo_id":"1349999685","filename":"file0"},{"photo_id":"1349999720","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349999720":["hashtag1","hashtag2"]},{"1349999717":["hashtag1","hashtag2"]},{"1349999773":["hashtag1","hashtag2"]},{"1349999713":["hashtag1","hashtag2"]},{"1349999685":["hashtag1","hashtag2"]},{"1349999748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349999720, 1349999717, 1349999773, 1349999713, 1349999685, 1349999748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.705607891082764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:52:03.357001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_06_3570.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_09_2613.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_12_2814.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_16_3614.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_21_2894.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_24_2870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_06_3570.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_09_2613.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_12_2814.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_16_3614.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_21_2894.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_24_2870.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999825","1349999854","1349999842","1349999851","1349999839","1349999847"],"photo_ids_order":["1349999825","1349999839","1349999842","1349999847","1349999851","1349999854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1037222e45ef501baf77b303056e641.jpg","text":"TemporaryFile(/tmp/multipartBody3380742712068051214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743185771,"filename":"image_14042025_14_44_06_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d51dc2adddf0cdd23bb3b8dea2240f4.jpg","text":"TemporaryFile(/tmp/multipartBody2207745307286319125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743185771,"filename":"image_14042025_14_44_24_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31b0c73416bed5b0c49d38054e634e37.jpg","text":"TemporaryFile(/tmp/multipartBody7363123295463943385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743185771,"filename":"image_14042025_14_44_12_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c4ba0831010865e4aa244f63de3b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody3218440141191538793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743185771,"filename":"image_14042025_14_44_21_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4817105ee6d0e47bc74da15a02bfd703.jpg","text":"TemporaryFile(/tmp/multipartBody5988590039219823241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743185771,"filename":"image_14042025_14_44_09_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed55f91c94db8462c96bc99cb14e9d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2214044346387878217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743185771,"filename":"image_14042025_14_44_16_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349999842","file1":"1349999839","file0":"1349999825","file4":"1349999851","file5":"1349999854","file3":"1349999847"},"map_files_photo_id_array":[{"photo_id":"1349999854","filename":"file5"},{"photo_id":"1349999842","filename":"file2"},{"photo_id":"1349999851","filename":"file4"},{"photo_id":"1349999839","filename":"file1"},{"photo_id":"1349999825","filename":"file0"},{"photo_id":"1349999847","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349999825":["hashtag1","hashtag2"]},{"1349999854":["hashtag1","hashtag2"]},{"1349999842":["hashtag1","hashtag2"]},{"1349999851":["hashtag1","hashtag2"]},{"1349999839":["hashtag1","hashtag2"]},{"1349999847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349999825, 1349999854, 1349999842, 1349999851, 1349999839, 1349999847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0285964012146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:52:42.706070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_27_2858.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_31_3824.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_33_2649.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_36_2751.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_45_2657.jpg', '/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_48_2876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_27_2858.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_31_3824.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_33_2649.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_36_2751.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_45_2657.jpg
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_44_48_2876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999885","1349999881","1349999875","1349999869","1349999878","1349999863"],"photo_ids_order":["1349999863","1349999869","1349999875","1349999878","1349999881","1349999885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/163a33e839a9a8717862c8c280b32735.jpg","text":"TemporaryFile(/tmp/multipartBody2779771192987033888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743224089,"filename":"image_14042025_14_44_48_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e2d5c8d2f429e706c32d627aefd8d33.jpg","text":"TemporaryFile(/tmp/multipartBody2997998330853215710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743224089,"filename":"image_14042025_14_44_45_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8e2ba5fd1412f11b9e535e97661193a.jpg","text":"TemporaryFile(/tmp/multipartBody3259458524856587891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743224089,"filename":"image_14042025_14_44_33_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fa8839df1c8f752a28ab54c1e8a97b0.jpg","text":"TemporaryFile(/tmp/multipartBody1522128119925346773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743224089,"filename":"image_14042025_14_44_31_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74898f055c556a41d67335fef7bae753.jpg","text":"TemporaryFile(/tmp/multipartBody528581468290144468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743224089,"filename":"image_14042025_14_44_36_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3574c5285367559c0d645597a0e33d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5624581430403146916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743224089,"filename":"image_14042025_14_44_27_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349999875","file1":"1349999869","file0":"1349999863","file4":"1349999881","file5":"1349999885","file3":"1349999878"},"map_files_photo_id_array":[{"photo_id":"1349999885","filename":"file5"},{"photo_id":"1349999875","filename":"file2"},{"photo_id":"1349999881","filename":"file4"},{"photo_id":"1349999869","filename":"file1"},{"photo_id":"1349999863","filename":"file0"},{"photo_id":"1349999878","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1349999885":["hashtag1","hashtag2"]},{"1349999881":["hashtag1","hashtag2"]},{"1349999875":["hashtag1","hashtag2"]},{"1349999869":["hashtag1","hashtag2"]},{"1349999878":["hashtag1","hashtag2"]},{"1349999863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1349999885, 1349999881, 1349999875, 1349999869, 1349999878, 1349999863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30861854553223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:53:21.813072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/49/image_15042025_20_49_36_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/49/image_15042025_20_49_36_3587.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1349999931"],"photo_id":"1349999931","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d9ca008fad7919f09d3cd7ec11b98fd.jpg","text":"TemporaryFile(/tmp/multipartBody6931893532467678209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743262338,"filename":"image_15042025_20_49_36_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1349999931"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1349999931"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.697208166122437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:53:41.786876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/44/image_14042025_14_45_00_2529.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_03_3668.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_34_3710.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_45_2642.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_48_2775.jpg', '/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_57_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/44/image_14042025_14_45_00_2529.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_03_3668.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_34_3710.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_45_2642.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_48_2775.jpg
/home/pi/Desktop/images/14042025/14/45/image_14042025_14_45_57_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000078","1350000048","1350000167","1350000109","1350000139","1350000195"],"photo_ids_order":["1350000048","1350000078","1350000109","1350000139","1350000167","1350000195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f26ed073893c342ecf51b9e791f92b75.jpg","text":"TemporaryFile(/tmp/multipartBody404019474775234088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743283160,"filename":"image_14042025_14_45_03_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/742a88bdca3e5bd0359af7ab2ecb483d.jpg","text":"TemporaryFile(/tmp/multipartBody8151159907889144485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743283160,"filename":"image_14042025_14_45_00_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e43a86d437600b1439f86de6c4fd6e64.jpg","text":"TemporaryFile(/tmp/multipartBody4766606405522455912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743283160,"filename":"image_14042025_14_45_48_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e84677cf8fd990f44a770d987eddd637.jpg","text":"TemporaryFile(/tmp/multipartBody9161131600058409368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743283160,"filename":"image_14042025_14_45_34_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55b1d2385e4d390c88d141d3dbc66819.jpg","text":"TemporaryFile(/tmp/multipartBody7418236601980026157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743283160,"filename":"image_14042025_14_45_45_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2e8c57960e69a7cd1da1810b1288074.jpg","text":"TemporaryFile(/tmp/multipartBody7154107591295181257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743283160,"filename":"image_14042025_14_45_57_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350000109","file1":"1350000078","file0":"1350000048","file4":"1350000167","file5":"1350000195","file3":"1350000139"},"map_files_photo_id_array":[{"photo_id":"1350000195","filename":"file5"},{"photo_id":"1350000109","filename":"file2"},{"photo_id":"1350000167","filename":"file4"},{"photo_id":"1350000078","filename":"file1"},{"photo_id":"1350000048","filename":"file0"},{"photo_id":"1350000139","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350000078":["hashtag1","hashtag2"]},{"1350000048":["hashtag1","hashtag2"]},{"1350000167":["hashtag1","hashtag2"]},{"1350000109":["hashtag1","hashtag2"]},{"1350000139":["hashtag1","hashtag2"]},{"1350000195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350000078, 1350000048, 1350000167, 1350000109, 1350000139, 1350000195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03888440132141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:54:22.628264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/53/image_15042025_20_53_20_2611.jpg', '/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_14_3564.jpg', '/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_22_2732.jpg', '/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_26_3713.jpg', '/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_34_2537.jpg', '/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_38_3323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/53/image_15042025_20_53_20_2611.jpg
/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_14_3564.jpg
/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_22_2732.jpg
/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_26_3713.jpg
/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_34_2537.jpg
/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_38_3323.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000299","1350000284","1350000289","1350000328","1350000256","1350000229"],"photo_ids_order":["1350000229","1350000256","1350000284","1350000289","1350000299","1350000328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e802d3becc55089b1aeb0495074ee81.jpg","text":"TemporaryFile(/tmp/multipartBody7516797178442691968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743323345,"filename":"image_15042025_20_54_34_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7edb0b114fdc3dfcb66536b26e97af9.jpg","text":"TemporaryFile(/tmp/multipartBody5545932537002437623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743323345,"filename":"image_15042025_20_54_22_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0de9bb4e1ead0906875a02456e5d521a.jpg","text":"TemporaryFile(/tmp/multipartBody7080910502546566914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743323345,"filename":"image_15042025_20_54_26_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2690d51ccdac394d341f5025d4905d1.jpg","text":"TemporaryFile(/tmp/multipartBody7680140520889433139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743323345,"filename":"image_15042025_20_54_38_3323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4933206181205c449c516266411e2133.jpg","text":"TemporaryFile(/tmp/multipartBody7570768416601810303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743323345,"filename":"image_15042025_20_54_14_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8c00149224890bc94a8ccb1efbea570.jpg","text":"TemporaryFile(/tmp/multipartBody7545299265133453826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743323345,"filename":"image_15042025_20_53_20_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350000284","file1":"1350000256","file0":"1350000229","file4":"1350000299","file5":"1350000328","file3":"1350000289"},"map_files_photo_id_array":[{"photo_id":"1350000328","filename":"file5"},{"photo_id":"1350000284","filename":"file2"},{"photo_id":"1350000299","filename":"file4"},{"photo_id":"1350000256","filename":"file1"},{"photo_id":"1350000229","filename":"file0"},{"photo_id":"1350000289","filename":"file3"}],"portfolio_id":22024892,"hashtag_by_photo_ids":[{"1350000299":["hashtag1","hashtag2"]},{"1350000284":["hashtag1","hashtag2"]},{"1350000289":["hashtag1","hashtag2"]},{"1350000328":["hashtag1","hashtag2"]},{"1350000256":["hashtag1","hashtag2"]},{"1350000229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024892 used, photo_id : ArrayBuffer(1350000299, 1350000284, 1350000289, 1350000328, 1350000256, 1350000229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28554058074951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:55:03.241806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_47_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_47_2618.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000338"],"photo_id":"1350000338","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1426dc4a92dab0d0609191400c18de5.jpg","text":"TemporaryFile(/tmp/multipartBody2595712806709327502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743363849,"filename":"image_15042025_20_54_47_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350000338"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350000338"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.329673767089844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:55:22.496634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_06_2745.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_18_2816.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_21_2815.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_30_2757.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_36_2888.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_42_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_06_2745.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_18_2816.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_21_2815.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_30_2757.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_36_2888.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_42_2527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000446","1350000449","1350000457","1350000442","1350000451","1350000454"],"photo_ids_order":["1350000442","1350000446","1350000449","1350000451","1350000454","1350000457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c6bf4e49f2b26adfb5b88c45671384d.jpg","text":"TemporaryFile(/tmp/multipartBody4285541128536657483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743385575,"filename":"image_14042025_14_46_18_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e65aa98d802eabe70c6e755a29fbe87d.jpg","text":"TemporaryFile(/tmp/multipartBody7140317135886688364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743385575,"filename":"image_14042025_14_46_21_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cbadd837acc0eab3de238d66f2facc48.jpg","text":"TemporaryFile(/tmp/multipartBody8538955656612203315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743385575,"filename":"image_14042025_14_46_42_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e641c5613d8c9693ede2433dab87bca9.jpg","text":"TemporaryFile(/tmp/multipartBody3934175364303315303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743385575,"filename":"image_14042025_14_46_06_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/820c212d498acb2f6d20f3e7c72ef115.jpg","text":"TemporaryFile(/tmp/multipartBody7042656157534448522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743385575,"filename":"image_14042025_14_46_30_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c88c9f66c818b0029f2da81603a20b3.jpg","text":"TemporaryFile(/tmp/multipartBody6224240594819695977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743385575,"filename":"image_14042025_14_46_36_2888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350000449","file1":"1350000446","file0":"1350000442","file4":"1350000454","file5":"1350000457","file3":"1350000451"},"map_files_photo_id_array":[{"photo_id":"1350000457","filename":"file5"},{"photo_id":"1350000449","filename":"file2"},{"photo_id":"1350000454","filename":"file4"},{"photo_id":"1350000446","filename":"file1"},{"photo_id":"1350000442","filename":"file0"},{"photo_id":"1350000451","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350000446":["hashtag1","hashtag2"]},{"1350000449":["hashtag1","hashtag2"]},{"1350000457":["hashtag1","hashtag2"]},{"1350000442":["hashtag1","hashtag2"]},{"1350000451":["hashtag1","hashtag2"]},{"1350000454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350000446, 1350000449, 1350000457, 1350000442, 1350000451, 1350000454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.224770069122314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:56:02.607360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_51_2589.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_54_3536.jpg', '/home/pi/Desktop/images/14042025/14/46/image_14042025_14_47_00_2626.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_03_2680.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_06_3613.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_09_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_51_2589.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_46_54_3536.jpg
/home/pi/Desktop/images/14042025/14/46/image_14042025_14_47_00_2626.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_03_2680.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_06_3613.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_09_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000567","1350000482","1350000599","1350000539","1350000629","1350000509"],"photo_ids_order":["1350000482","1350000509","1350000539","1350000567","1350000599","1350000629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7040ec3f7579d0b1b1d1ab4ba1f52340.jpg","text":"TemporaryFile(/tmp/multipartBody1094844987354757821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743425019,"filename":"image_14042025_14_47_03_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68295fca10bac4cfba9ae928ad26ef50.jpg","text":"TemporaryFile(/tmp/multipartBody7722106423851099568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743425019,"filename":"image_14042025_14_46_51_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d985514b586ed8194682313f4fd576e5.jpg","text":"TemporaryFile(/tmp/multipartBody2021528193404836291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743425019,"filename":"image_14042025_14_47_06_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ef907ac7c3f947b1f500728cddf0727.jpg","text":"TemporaryFile(/tmp/multipartBody5869008798399843638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743425019,"filename":"image_14042025_14_47_00_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/204ac5dff305a0aa2dfdc2521a5a8590.jpg","text":"TemporaryFile(/tmp/multipartBody3594688528973060172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743425019,"filename":"image_14042025_14_47_09_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2393a23cd2d4067f57fa22c5adf1e23.jpg","text":"TemporaryFile(/tmp/multipartBody6061440743387074937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743425019,"filename":"image_14042025_14_46_54_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350000539","file1":"1350000509","file0":"1350000482","file4":"1350000599","file5":"1350000629","file3":"1350000567"},"map_files_photo_id_array":[{"photo_id":"1350000629","filename":"file5"},{"photo_id":"1350000539","filename":"file2"},{"photo_id":"1350000599","filename":"file4"},{"photo_id":"1350000509","filename":"file1"},{"photo_id":"1350000482","filename":"file0"},{"photo_id":"1350000567","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350000567":["hashtag1","hashtag2"]},{"1350000482":["hashtag1","hashtag2"]},{"1350000599":["hashtag1","hashtag2"]},{"1350000539":["hashtag1","hashtag2"]},{"1350000629":["hashtag1","hashtag2"]},{"1350000509":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350000567, 1350000482, 1350000599, 1350000539, 1350000629, 1350000509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.541452169418335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:56:41.981301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_12_3403.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_15_2805.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_21_5634.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_22_1604.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_24_1715.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_27_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_12_3403.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_15_2805.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_21_5634.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_22_1604.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_24_1715.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_27_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000732","1350000702","1350000704","1350000673","1350000699","1350000678"],"photo_ids_order":["1350000673","1350000678","1350000699","1350000702","1350000704","1350000732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52e04e1f2a50bac96c766ee1bad0f53e.jpg","text":"TemporaryFile(/tmp/multipartBody2775766417914426727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743463346,"filename":"image_14042025_14_47_27_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/108136377c684f0d48c3cc8f1ba5067d.jpg","text":"TemporaryFile(/tmp/multipartBody1128010464525168581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743463346,"filename":"image_14042025_14_47_22_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a739d36de32a9dca64cf694175ddbc5d.jpg","text":"TemporaryFile(/tmp/multipartBody5614450042490055625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743463346,"filename":"image_14042025_14_47_24_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d574db391e6cca7d7c39396c9ef7356.jpg","text":"TemporaryFile(/tmp/multipartBody760922391293414761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743463346,"filename":"image_14042025_14_47_12_3403.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a5593998349ac7f0d19125be9ec5c88.jpg","text":"TemporaryFile(/tmp/multipartBody2213378722398018196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743463346,"filename":"image_14042025_14_47_21_5634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dfa86f8b1570ae4678f93f4f666eb782.jpg","text":"TemporaryFile(/tmp/multipartBody3906312573272842352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743463346,"filename":"image_14042025_14_47_15_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350000699","file1":"1350000678","file0":"1350000673","file4":"1350000704","file5":"1350000732","file3":"1350000702"},"map_files_photo_id_array":[{"photo_id":"1350000732","filename":"file5"},{"photo_id":"1350000699","filename":"file2"},{"photo_id":"1350000704","filename":"file4"},{"photo_id":"1350000678","filename":"file1"},{"photo_id":"1350000673","filename":"file0"},{"photo_id":"1350000702","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350000732":["hashtag1","hashtag2"]},{"1350000702":["hashtag1","hashtag2"]},{"1350000704":["hashtag1","hashtag2"]},{"1350000673":["hashtag1","hashtag2"]},{"1350000699":["hashtag1","hashtag2"]},{"1350000678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350000732, 1350000702, 1350000704, 1350000673, 1350000699, 1350000678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48187184333801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 20:57:21.900937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_43_16465.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_45_1706.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_47_1746.jpg', '/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_55_1714.jpg', '/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_01_2505.jpg', '/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_02_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_43_16465.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_45_1706.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_47_1746.jpg
/home/pi/Desktop/images/14042025/14/47/image_14042025_14_47_55_1714.jpg
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_01_2505.jpg
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_02_1635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350000936","1350000822","1350000872","1350000842","1350000901","1350000817"],"photo_ids_order":["1350000817","1350000822","1350000842","1350000872","1350000901","1350000936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38f5dbfc8c26aceaac4019b3ccf2c0a6.jpg","text":"TemporaryFile(/tmp/multipartBody5811489602133974790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743504990,"filename":"image_14042025_14_48_02_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1731715fbfcfe618bb71a984b2bb983c.jpg","text":"TemporaryFile(/tmp/multipartBody4918301143087663285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743504990,"filename":"image_14042025_14_47_45_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f332cea22c84f351ac93e018ac80bf6.jpg","text":"TemporaryFile(/tmp/multipartBody4064329091325004752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743504990,"filename":"image_14042025_14_47_55_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ba60d7b98a0b9d3a2a22100ac841a08.jpg","text":"TemporaryFile(/tmp/multipartBody1277795022018913908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743504990,"filename":"image_14042025_14_47_47_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01e87cefcf2933bea5503ee424500158.jpg","text":"TemporaryFile(/tmp/multipartBody642483004151280067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743504990,"filename":"image_14042025_14_48_01_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/951ce17b06f4cb7a0266c343e503b9da.jpg","text":"TemporaryFile(/tmp/multipartBody7056543780054280347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743504990,"filename":"image_14042025_14_47_43_16465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350000842","file1":"1350000822","file0":"1350000817","file4":"1350000901","file5":"1350000936","file3":"1350000872"},"map_files_photo_id_array":[{"photo_id":"1350000936","filename":"file5"},{"photo_id":"1350000842","filename":"file2"},{"photo_id":"1350000901","filename":"file4"},{"photo_id":"1350000822","filename":"file1"},{"photo_id":"1350000817","filename":"file0"},{"photo_id":"1350000872","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350000936":["hashtag1","hashtag2"]},{"1350000822":["hashtag1","hashtag2"]},{"1350000872":["hashtag1","hashtag2"]},{"1350000842":["hashtag1","hashtag2"]},{"1350000901":["hashtag1","hashtag2"]},{"1350000817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350000936, 1350000822, 1350000872, 1350000842, 1350000901, 1350000817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5428991317749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 20:59:03.068127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_27_2626.jpg', '/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_58_30767.jpg', '/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_01_1928.jpg', '/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_03_1541.jpg', '/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_04_1664.jpg', '/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_06_3016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_27_2626.jpg
/home/pi/Desktop/images/14042025/14/48/image_14042025_14_48_58_30767.jpg
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_01_1928.jpg
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_03_1541.jpg
/home/pi/Desktop/images/14042025/14/49/image_14042025_14_49_04_1664.jpg
/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_06_3016.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350002048","1350001874","1350001745","1350001927","1350001816","1350001989"],"photo_ids_order":["1350001745","1350001816","1350001874","1350001927","1350001989","1350002048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b73fbcda0a499d2ae63953afc16af2f1.jpg","text":"TemporaryFile(/tmp/multipartBody7180669256098025429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743605746,"filename":"image_14042025_14_51_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb53edec73c9d77f7bc69cb1d8f1499a.jpg","text":"TemporaryFile(/tmp/multipartBody8691544477120325389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743605746,"filename":"image_14042025_14_49_01_1928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e9db3797d2405f4ea54450e4fedfaa5.jpg","text":"TemporaryFile(/tmp/multipartBody7285438111596986220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743605746,"filename":"image_14042025_14_48_27_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/add50333cf4ea94548f62ceac1ebff35.jpg","text":"TemporaryFile(/tmp/multipartBody1120462771619237504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743605746,"filename":"image_14042025_14_49_03_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2395c8eca143458a3784a64ae4d40aab.jpg","text":"TemporaryFile(/tmp/multipartBody1418117655486246685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743605746,"filename":"image_14042025_14_48_58_30767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f6e5eec4aceb78361fb8d0acd739aa4.jpg","text":"TemporaryFile(/tmp/multipartBody773130896826671408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743605746,"filename":"image_14042025_14_49_04_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350001874","file1":"1350001816","file0":"1350001745","file4":"1350001989","file5":"1350002048","file3":"1350001927"},"map_files_photo_id_array":[{"photo_id":"1350002048","filename":"file5"},{"photo_id":"1350001874","filename":"file2"},{"photo_id":"1350001989","filename":"file4"},{"photo_id":"1350001816","filename":"file1"},{"photo_id":"1350001745","filename":"file0"},{"photo_id":"1350001927","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350002048":["hashtag1","hashtag2"]},{"1350001874":["hashtag1","hashtag2"]},{"1350001745":["hashtag1","hashtag2"]},{"1350001927":["hashtag1","hashtag2"]},{"1350001816":["hashtag1","hashtag2"]},{"1350001989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350002048, 1350001874, 1350001745, 1350001927, 1350001816, 1350001989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19844031333923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 20:59:42.001953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_19_2663.jpg', '/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_19_2682.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_07_2694.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_28_3608.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_46_2870.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_48_2504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/51/image_14042025_14_51_19_2663.jpg
/home/pi/Desktop/images/14042025/14/52/image_14042025_14_52_19_2682.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_07_2694.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_28_3608.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_46_2870.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_48_2504.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350002336","1350002207","1350002596","1350002413","1350002280","1350002502"],"photo_ids_order":["1350002207","1350002280","1350002336","1350002413","1350002502","1350002596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa27212b870ecdf0f08b09263e135bba.jpg","text":"TemporaryFile(/tmp/multipartBody6916755075943264497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743643395,"filename":"image_14042025_14_53_07_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e682cea87a581a399eef76177aa5898.jpg","text":"TemporaryFile(/tmp/multipartBody8587979203573657406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743643395,"filename":"image_14042025_14_51_19_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b2815406b976e75915a4a268b07c05b.jpg","text":"TemporaryFile(/tmp/multipartBody8836313358205598316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743643395,"filename":"image_14042025_14_53_48_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81f87fe73c652f9565781938114dc2b1.jpg","text":"TemporaryFile(/tmp/multipartBody1034978318682497159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743643395,"filename":"image_14042025_14_53_28_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0574db89798c2febb0162c8f666786d3.jpg","text":"TemporaryFile(/tmp/multipartBody4621919810812315295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743643395,"filename":"image_14042025_14_52_19_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2636259842c5a417fedffcabe8c3f85b.jpg","text":"TemporaryFile(/tmp/multipartBody3596301514157794494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743643395,"filename":"image_14042025_14_53_46_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350002336","file1":"1350002280","file0":"1350002207","file4":"1350002502","file5":"1350002596","file3":"1350002413"},"map_files_photo_id_array":[{"photo_id":"1350002596","filename":"file5"},{"photo_id":"1350002336","filename":"file2"},{"photo_id":"1350002502","filename":"file4"},{"photo_id":"1350002280","filename":"file1"},{"photo_id":"1350002207","filename":"file0"},{"photo_id":"1350002413","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350002336":["hashtag1","hashtag2"]},{"1350002207":["hashtag1","hashtag2"]},{"1350002596":["hashtag1","hashtag2"]},{"1350002413":["hashtag1","hashtag2"]},{"1350002280":["hashtag1","hashtag2"]},{"1350002502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350002336, 1350002207, 1350002596, 1350002413, 1350002280, 1350002502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00296139717102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:00:22.693935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_55_3703.jpg', '/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_58_2706.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_01_2955.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_06_2611.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_15_2660.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_18_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_55_3703.jpg
/home/pi/Desktop/images/14042025/14/53/image_14042025_14_53_58_2706.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_01_2955.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_06_2611.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_15_2660.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_18_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350002857","1350003051","1350002997","1350002914","1350002964","1350003086"],"photo_ids_order":["1350002857","1350002914","1350002964","1350002997","1350003051","1350003086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65b2311c477c5357b41ac6e5178e1a95.jpg","text":"TemporaryFile(/tmp/multipartBody1652380125507492477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743685925,"filename":"image_14042025_14_53_55_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ba58b0b3cb49e9df388597f2ff23304.jpg","text":"TemporaryFile(/tmp/multipartBody6626212574256437225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743685925,"filename":"image_14042025_14_54_15_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bebdbbc117f072d287afa11faa4e21fb.jpg","text":"TemporaryFile(/tmp/multipartBody8923829575215711909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743685925,"filename":"image_14042025_14_54_06_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d5a68183f54fb99c8ebd2cbbfb67e16.jpg","text":"TemporaryFile(/tmp/multipartBody2983579775472515271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743685925,"filename":"image_14042025_14_53_58_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/268e0cb2fc2d83dac1540de4bdc31b95.jpg","text":"TemporaryFile(/tmp/multipartBody5946931929989824645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743685925,"filename":"image_14042025_14_54_01_2955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/735bec6005e08940ab4d0d791a491e29.jpg","text":"TemporaryFile(/tmp/multipartBody4806888695595524829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743685925,"filename":"image_14042025_14_54_18_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350002964","file1":"1350002914","file0":"1350002857","file4":"1350003051","file5":"1350003086","file3":"1350002997"},"map_files_photo_id_array":[{"photo_id":"1350003086","filename":"file5"},{"photo_id":"1350002964","filename":"file2"},{"photo_id":"1350003051","filename":"file4"},{"photo_id":"1350002914","filename":"file1"},{"photo_id":"1350002857","filename":"file0"},{"photo_id":"1350002997","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350002857":["hashtag1","hashtag2"]},{"1350003051":["hashtag1","hashtag2"]},{"1350002997":["hashtag1","hashtag2"]},{"1350002914":["hashtag1","hashtag2"]},{"1350002964":["hashtag1","hashtag2"]},{"1350003086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350002857, 1350003051, 1350002997, 1350002914, 1350002964, 1350003086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.731231451034546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:01:02.751870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_24_2629.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_27_2700.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_36_2726.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_54_2654.jpg', '/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_58_3819.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_01_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_24_2629.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_27_2700.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_36_2726.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_54_2654.jpg
/home/pi/Desktop/images/14042025/14/54/image_14042025_14_54_58_3819.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_01_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350003256","1350003291","1350003285","1350003219","1350003296","1350003281"],"photo_ids_order":["1350003219","1350003256","1350003281","1350003285","1350003291","1350003296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4afcf3fd065219f34ad8af1d2d2a014.jpg","text":"TemporaryFile(/tmp/multipartBody8323494825119498094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743725299,"filename":"image_14042025_14_54_27_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c611a89a5e764e96b54b9de81d97d016.jpg","text":"TemporaryFile(/tmp/multipartBody4328636275490494172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743725299,"filename":"image_14042025_14_54_58_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b56be740b4813f8bfcf605088f285b93.jpg","text":"TemporaryFile(/tmp/multipartBody4765914131975561910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743725299,"filename":"image_14042025_14_54_54_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11f779ebb2a194e4999c0dd86710d567.jpg","text":"TemporaryFile(/tmp/multipartBody4242242833580509624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743725299,"filename":"image_14042025_14_54_24_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6aa754740d43a54c7e42e9c4889c4a99.jpg","text":"TemporaryFile(/tmp/multipartBody1840128155986218778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743725299,"filename":"image_14042025_14_55_01_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13eb4eba9a9aec7fcf80162abac4f800.jpg","text":"TemporaryFile(/tmp/multipartBody379137075893465709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743725299,"filename":"image_14042025_14_54_36_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350003281","file1":"1350003256","file0":"1350003219","file4":"1350003291","file5":"1350003296","file3":"1350003285"},"map_files_photo_id_array":[{"photo_id":"1350003296","filename":"file5"},{"photo_id":"1350003281","filename":"file2"},{"photo_id":"1350003291","filename":"file4"},{"photo_id":"1350003256","filename":"file1"},{"photo_id":"1350003219","filename":"file0"},{"photo_id":"1350003285","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350003256":["hashtag1","hashtag2"]},{"1350003291":["hashtag1","hashtag2"]},{"1350003285":["hashtag1","hashtag2"]},{"1350003219":["hashtag1","hashtag2"]},{"1350003296":["hashtag1","hashtag2"]},{"1350003281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350003256, 1350003291, 1350003285, 1350003219, 1350003296, 1350003281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98849391937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:01:41.976926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_03_2671.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_06_2876.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_12_2625.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_15_2780.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_19_3579.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_22_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_03_2671.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_06_2876.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_12_2625.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_15_2780.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_19_3579.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_22_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350003418","1350003495","1350003570","1350003383","1350003446","1350003347"],"photo_ids_order":["1350003347","1350003383","1350003418","1350003446","1350003495","1350003570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26953b29e482c7cbf4cda7249a8f88d5.jpg","text":"TemporaryFile(/tmp/multipartBody605860954370195364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743763583,"filename":"image_14042025_14_55_12_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20e6e994e406b8a610c09a0d7af3e641.jpg","text":"TemporaryFile(/tmp/multipartBody8118232682959636302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743763583,"filename":"image_14042025_14_55_19_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d8cc8c58a27bd70af06918f91f34581.jpg","text":"TemporaryFile(/tmp/multipartBody6441852664413255320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743763583,"filename":"image_14042025_14_55_22_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a43eee0194db48ad48a1718a1b64b725.jpg","text":"TemporaryFile(/tmp/multipartBody1324260216265531539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743763583,"filename":"image_14042025_14_55_06_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c9f80e2fa32416a3817c515b0be82a9.jpg","text":"TemporaryFile(/tmp/multipartBody7111754960693900696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743763583,"filename":"image_14042025_14_55_15_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dc381aad1cac3245bf4f76e9b88d7c9.jpg","text":"TemporaryFile(/tmp/multipartBody6097717596033447681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743763583,"filename":"image_14042025_14_55_03_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350003418","file1":"1350003383","file0":"1350003347","file4":"1350003495","file5":"1350003570","file3":"1350003446"},"map_files_photo_id_array":[{"photo_id":"1350003570","filename":"file5"},{"photo_id":"1350003418","filename":"file2"},{"photo_id":"1350003495","filename":"file4"},{"photo_id":"1350003383","filename":"file1"},{"photo_id":"1350003347","filename":"file0"},{"photo_id":"1350003446","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350003418":["hashtag1","hashtag2"]},{"1350003495":["hashtag1","hashtag2"]},{"1350003570":["hashtag1","hashtag2"]},{"1350003383":["hashtag1","hashtag2"]},{"1350003446":["hashtag1","hashtag2"]},{"1350003347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350003418, 1350003495, 1350003570, 1350003383, 1350003446, 1350003347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37969994544983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:02:22.805749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_31_3631.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_36_2624.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_40_3763.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_49_3591.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_51_2624.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_54_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_31_3631.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_36_2624.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_40_3763.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_49_3591.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_51_2624.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_54_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350003973","1350004003","1350003934","1350004041","1350003854","1350004103"],"photo_ids_order":["1350003854","1350003934","1350003973","1350004003","1350004041","1350004103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/859c8f8bef3a3024892e9df0e698c838.jpg","text":"TemporaryFile(/tmp/multipartBody3272166191054049714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743805989,"filename":"image_14042025_14_55_40_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4e50bd55d9f23d49363b65a2cd5846e.jpg","text":"TemporaryFile(/tmp/multipartBody2822401364533420858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743805989,"filename":"image_14042025_14_55_49_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3970e83ce674d880d0f8cd34ea168413.jpg","text":"TemporaryFile(/tmp/multipartBody7852722554911434740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743805989,"filename":"image_14042025_14_55_36_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bf2fce9158e01251cb8a67ad3afc676.jpg","text":"TemporaryFile(/tmp/multipartBody7763573163530257107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743805989,"filename":"image_14042025_14_55_51_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c7df98efe929f2d0fecf9d993bd01e0.jpg","text":"TemporaryFile(/tmp/multipartBody2325510824572053678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743805989,"filename":"image_14042025_14_55_31_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff715606264fef5d05e316770f855621.jpg","text":"TemporaryFile(/tmp/multipartBody8131921974641553134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743805989,"filename":"image_14042025_14_55_54_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350003973","file1":"1350003934","file0":"1350003854","file4":"1350004041","file5":"1350004103","file3":"1350004003"},"map_files_photo_id_array":[{"photo_id":"1350004103","filename":"file5"},{"photo_id":"1350003973","filename":"file2"},{"photo_id":"1350004041","filename":"file4"},{"photo_id":"1350003934","filename":"file1"},{"photo_id":"1350003854","filename":"file0"},{"photo_id":"1350004003","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350003973":["hashtag1","hashtag2"]},{"1350004003":["hashtag1","hashtag2"]},{"1350003934":["hashtag1","hashtag2"]},{"1350004041":["hashtag1","hashtag2"]},{"1350003854":["hashtag1","hashtag2"]},{"1350004103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350003973, 1350004003, 1350003934, 1350004041, 1350003854, 1350004103)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.20337748527527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:03:22.477834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_58_3590.jpg', '/home/pi/Desktop/images/14042025/14/55/image_14042025_14_56_00_2630.jpg', '/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_03_2689.jpg', '/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_07_3693.jpg', '/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_03_2813.jpg', '/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_15_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_55_58_3590.jpg
/home/pi/Desktop/images/14042025/14/55/image_14042025_14_56_00_2630.jpg
/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_03_2689.jpg
/home/pi/Desktop/images/14042025/14/56/image_14042025_14_56_07_3693.jpg
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_03_2813.jpg
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_15_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350004333","1350004306","1350004245","1350004356","1350004346","1350004232"],"photo_ids_order":["1350004232","1350004245","1350004306","1350004333","1350004346","1350004356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d7cbaeb26833778f9f6d51b181c4ae4.jpg","text":"TemporaryFile(/tmp/multipartBody3452135815933040505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743865509,"filename":"image_14042025_14_56_07_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a3a42ff8fb6705344f01e448477d1fe.jpg","text":"TemporaryFile(/tmp/multipartBody8981604804980884090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743865509,"filename":"image_14042025_14_56_03_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fcc9789bad524d69b8cd083a28d1f5c6.jpg","text":"TemporaryFile(/tmp/multipartBody6613371204214136589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743865509,"filename":"image_14042025_14_56_00_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7f590fa362b73b56f1db2644310f90a.jpg","text":"TemporaryFile(/tmp/multipartBody2620119920598749848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743865509,"filename":"image_14042025_14_58_15_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb4711c35c1fac7dc5ceb2682e2ff843.jpg","text":"TemporaryFile(/tmp/multipartBody8610880049091826119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743865509,"filename":"image_14042025_14_58_03_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d4a5efa28c6eb0efa80a6a791f20f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6734371403125890702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743865509,"filename":"image_14042025_14_55_58_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350004306","file1":"1350004245","file0":"1350004232","file4":"1350004346","file5":"1350004356","file3":"1350004333"},"map_files_photo_id_array":[{"photo_id":"1350004356","filename":"file5"},{"photo_id":"1350004306","filename":"file2"},{"photo_id":"1350004346","filename":"file4"},{"photo_id":"1350004245","filename":"file1"},{"photo_id":"1350004232","filename":"file0"},{"photo_id":"1350004333","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350004333":["hashtag1","hashtag2"]},{"1350004306":["hashtag1","hashtag2"]},{"1350004245":["hashtag1","hashtag2"]},{"1350004356":["hashtag1","hashtag2"]},{"1350004346":["hashtag1","hashtag2"]},{"1350004232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350004333, 1350004306, 1350004245, 1350004356, 1350004346, 1350004232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.247989892959595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:04:02.996950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_39_2588.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_12_2545.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_18_3581.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_24_2669.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_27_3693.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_30_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/58/image_14042025_14_58_39_2588.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_12_2545.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_18_3581.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_24_2669.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_27_3693.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_30_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350004375","1350004391","1350004379","1350004396","1350004384","1350004387"],"photo_ids_order":["1350004375","1350004379","1350004384","1350004387","1350004391","1350004396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/538bb704c6128e285412a314cd52b360.jpg","text":"TemporaryFile(/tmp/multipartBody197371282264192878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743905484,"filename":"image_14042025_14_58_39_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a6e79c5081ad91bbacd74adae4a989e.jpg","text":"TemporaryFile(/tmp/multipartBody8026548096715712235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743905484,"filename":"image_14042025_14_59_27_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60ec0c5d18606f4a4dc1af7178a3f03b.jpg","text":"TemporaryFile(/tmp/multipartBody8965455255001811716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743905484,"filename":"image_14042025_14_59_12_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bf0f3c1fd4679317db08ae53779ed74.jpg","text":"TemporaryFile(/tmp/multipartBody6880514237919241167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743905484,"filename":"image_14042025_14_59_30_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db4fc12c308fa1e2033561e2570791bb.jpg","text":"TemporaryFile(/tmp/multipartBody7909852393953243921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743905484,"filename":"image_14042025_14_59_18_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cf4180909b5c9aa5cbc4b049c63bbec.jpg","text":"TemporaryFile(/tmp/multipartBody3663106914786087378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743905484,"filename":"image_14042025_14_59_24_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350004384","file1":"1350004379","file0":"1350004375","file4":"1350004391","file5":"1350004396","file3":"1350004387"},"map_files_photo_id_array":[{"photo_id":"1350004396","filename":"file5"},{"photo_id":"1350004384","filename":"file2"},{"photo_id":"1350004391","filename":"file4"},{"photo_id":"1350004379","filename":"file1"},{"photo_id":"1350004375","filename":"file0"},{"photo_id":"1350004387","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350004375":["hashtag1","hashtag2"]},{"1350004391":["hashtag1","hashtag2"]},{"1350004379":["hashtag1","hashtag2"]},{"1350004396":["hashtag1","hashtag2"]},{"1350004384":["hashtag1","hashtag2"]},{"1350004387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350004375, 1350004391, 1350004379, 1350004396, 1350004384, 1350004387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17569828033447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:04:42.207357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_33_2682.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_36_3773.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_39_2596.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_42_2672.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_48_2716.jpg', '/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_57_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_33_2682.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_36_3773.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_39_2596.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_42_2672.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_48_2716.jpg
/home/pi/Desktop/images/14042025/14/59/image_14042025_14_59_57_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350004441","1350004417","1350004426","1350004408","1350004422","1350004412"],"photo_ids_order":["1350004408","1350004412","1350004417","1350004422","1350004426","1350004441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b53792e237479dc308e5a4484d75e770.jpg","text":"TemporaryFile(/tmp/multipartBody3509955147773981449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743943606,"filename":"image_14042025_14_59_57_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/822a24da16db8e1bb74b064e84440a76.jpg","text":"TemporaryFile(/tmp/multipartBody1954877240143693031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743943606,"filename":"image_14042025_14_59_39_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5143309654d3607382d079ea17285174.jpg","text":"TemporaryFile(/tmp/multipartBody604268995594808877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743943606,"filename":"image_14042025_14_59_48_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb3c1754230b61da07c27d2115d8b89f.jpg","text":"TemporaryFile(/tmp/multipartBody7218493725284636917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743943606,"filename":"image_14042025_14_59_33_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9f6a65a7d065a5458d44fc2b5a55dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7091799684707145876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743943606,"filename":"image_14042025_14_59_42_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a109c0989429e1933cab3e5e08db7a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2072224897345913137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743943606,"filename":"image_14042025_14_59_36_3773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350004417","file1":"1350004412","file0":"1350004408","file4":"1350004426","file5":"1350004441","file3":"1350004422"},"map_files_photo_id_array":[{"photo_id":"1350004441","filename":"file5"},{"photo_id":"1350004417","filename":"file2"},{"photo_id":"1350004426","filename":"file4"},{"photo_id":"1350004412","filename":"file1"},{"photo_id":"1350004408","filename":"file0"},{"photo_id":"1350004422","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350004441":["hashtag1","hashtag2"]},{"1350004417":["hashtag1","hashtag2"]},{"1350004426":["hashtag1","hashtag2"]},{"1350004408":["hashtag1","hashtag2"]},{"1350004422":["hashtag1","hashtag2"]},{"1350004412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350004441, 1350004417, 1350004426, 1350004408, 1350004422, 1350004412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73453092575073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:05:22.552118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_06_3012.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_10_3678.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_13_2580.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_22_3616.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_25_2916.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_28_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_06_3012.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_10_3678.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_13_2580.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_22_3616.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_25_2916.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_28_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350004639","1350004732","1350004865","1350004547","1350004853","1350004832"],"photo_ids_order":["1350004547","1350004639","1350004732","1350004832","1350004853","1350004865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b2160ce7eb867966b0adef801e4f03e.jpg","text":"TemporaryFile(/tmp/multipartBody3025043333810677362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743985675,"filename":"image_14042025_15_01_10_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cd4564c149b7659b157a1c3f8830638.jpg","text":"TemporaryFile(/tmp/multipartBody2629873725201527410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743985675,"filename":"image_14042025_15_01_13_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3e1524bdf2ee690f2ad21ceb767fc8f.jpg","text":"TemporaryFile(/tmp/multipartBody2985064875093600410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743985675,"filename":"image_14042025_15_01_28_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1914d75f2adaf37589f9078f309f2ae1.jpg","text":"TemporaryFile(/tmp/multipartBody2087695539712861988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743985675,"filename":"image_14042025_15_01_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c754bca612176119c998f712589592a2.jpg","text":"TemporaryFile(/tmp/multipartBody4824050578550589788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743985675,"filename":"image_14042025_15_01_25_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78b8428e075928cdc0dc08d737237199.jpg","text":"TemporaryFile(/tmp/multipartBody4261848896637729474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744743985675,"filename":"image_14042025_15_01_22_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350004732","file1":"1350004639","file0":"1350004547","file4":"1350004853","file5":"1350004865","file3":"1350004832"},"map_files_photo_id_array":[{"photo_id":"1350004865","filename":"file5"},{"photo_id":"1350004732","filename":"file2"},{"photo_id":"1350004853","filename":"file4"},{"photo_id":"1350004639","filename":"file1"},{"photo_id":"1350004547","filename":"file0"},{"photo_id":"1350004832","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350004639":["hashtag1","hashtag2"]},{"1350004732":["hashtag1","hashtag2"]},{"1350004865":["hashtag1","hashtag2"]},{"1350004547":["hashtag1","hashtag2"]},{"1350004853":["hashtag1","hashtag2"]},{"1350004832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350004639, 1350004732, 1350004865, 1350004547, 1350004853, 1350004832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.630995750427246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:06:03.339045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_37_3670.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_40_2619.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_43_2597.jpg', '/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_58_2715.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_13_2592.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_16_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_37_3670.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_40_2619.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_43_2597.jpg
/home/pi/Desktop/images/14042025/15/01/image_14042025_15_01_58_2715.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_13_2592.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_16_3539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350005011","1350004939","1350005052","1350005040","1350005028","1350005047"],"photo_ids_order":["1350004939","1350005011","1350005028","1350005040","1350005047","1350005052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aec24926df25ba6776a72bbed413516b.jpg","text":"TemporaryFile(/tmp/multipartBody7614087500255676591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744025820,"filename":"image_14042025_15_01_40_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebbc8be88ef246b3c6854789fd06c74d.jpg","text":"TemporaryFile(/tmp/multipartBody3859388465702758878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744025820,"filename":"image_14042025_15_01_37_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d90e5d33221178e2f87d17f16ee4259.jpg","text":"TemporaryFile(/tmp/multipartBody977922118090059285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744025820,"filename":"image_14042025_15_02_16_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5566671a2f4e9b7afe0d8df67cbe926.jpg","text":"TemporaryFile(/tmp/multipartBody5482906474752545470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744025820,"filename":"image_14042025_15_01_58_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f66e952015e91e41c660c778f4cb1a1.jpg","text":"TemporaryFile(/tmp/multipartBody7370898298710538583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744025820,"filename":"image_14042025_15_01_43_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b012c64ddad224f4fffd968fe6c86fc4.jpg","text":"TemporaryFile(/tmp/multipartBody4503366157347475969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744025820,"filename":"image_14042025_15_02_13_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350005028","file1":"1350005011","file0":"1350004939","file4":"1350005047","file5":"1350005052","file3":"1350005040"},"map_files_photo_id_array":[{"photo_id":"1350005052","filename":"file5"},{"photo_id":"1350005028","filename":"file2"},{"photo_id":"1350005047","filename":"file4"},{"photo_id":"1350005011","filename":"file1"},{"photo_id":"1350004939","filename":"file0"},{"photo_id":"1350005040","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350005011":["hashtag1","hashtag2"]},{"1350004939":["hashtag1","hashtag2"]},{"1350005052":["hashtag1","hashtag2"]},{"1350005040":["hashtag1","hashtag2"]},{"1350005028":["hashtag1","hashtag2"]},{"1350005047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350005011, 1350004939, 1350005052, 1350005040, 1350005028, 1350005047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45676398277283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:06:42.722942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_33_2611.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_37_3600.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_40_2764.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_43_2644.jpg', '/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_49_2586.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_16_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_33_2611.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_37_3600.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_40_2764.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_43_2644.jpg
/home/pi/Desktop/images/14042025/15/02/image_14042025_15_02_49_2586.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_16_2549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350005206","1350005133","1350005123","1350005188","1350005176","1350005158"],"photo_ids_order":["1350005123","1350005133","1350005158","1350005176","1350005188","1350005206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3351fddb7c2869de34d2add7967e0048.jpg","text":"TemporaryFile(/tmp/multipartBody1992970239039614491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744064148,"filename":"image_14042025_15_03_16_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2974c78c28995043e216a4d030d0acde.jpg","text":"TemporaryFile(/tmp/multipartBody6094648588148224712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744064148,"filename":"image_14042025_15_02_37_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9396421458791183f2ba75988a97a78e.jpg","text":"TemporaryFile(/tmp/multipartBody7849135341995017276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744064148,"filename":"image_14042025_15_02_33_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57f6ce8055cf4cebe4b46506b055cdc9.jpg","text":"TemporaryFile(/tmp/multipartBody30966993943351091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744064148,"filename":"image_14042025_15_02_49_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f7f25385b88c21ccb5a062dd305ca91.jpg","text":"TemporaryFile(/tmp/multipartBody7320303162819796751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744064148,"filename":"image_14042025_15_02_43_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f2f82deb170c0d629b1a295bf9b0911.jpg","text":"TemporaryFile(/tmp/multipartBody8362554178648716940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744064148,"filename":"image_14042025_15_02_40_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350005158","file1":"1350005133","file0":"1350005123","file4":"1350005188","file5":"1350005206","file3":"1350005176"},"map_files_photo_id_array":[{"photo_id":"1350005206","filename":"file5"},{"photo_id":"1350005158","filename":"file2"},{"photo_id":"1350005188","filename":"file4"},{"photo_id":"1350005133","filename":"file1"},{"photo_id":"1350005123","filename":"file0"},{"photo_id":"1350005176","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350005206":["hashtag1","hashtag2"]},{"1350005133":["hashtag1","hashtag2"]},{"1350005123":["hashtag1","hashtag2"]},{"1350005188":["hashtag1","hashtag2"]},{"1350005176":["hashtag1","hashtag2"]},{"1350005158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350005206, 1350005133, 1350005123, 1350005188, 1350005176, 1350005158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.850515842437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:07:42.110540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_25_2579.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_30_2215.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_40_2864.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_45_2722.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_49_3778.jpg', '/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_55_3142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_25_2579.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_30_2215.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_40_2864.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_45_2722.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_49_3778.jpg
/home/pi/Desktop/images/14042025/15/03/image_14042025_15_03_55_3142.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350005460","1350005397","1350005433","1350005366","1350005491","1350005314"],"photo_ids_order":["1350005314","1350005366","1350005397","1350005433","1350005460","1350005491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41ffc5386305851a0926ffff88e8bb95.jpg","text":"TemporaryFile(/tmp/multipartBody906451575159360351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744123568,"filename":"image_14042025_15_03_49_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46f7504c56134a083ee45e1c9ec04841.jpg","text":"TemporaryFile(/tmp/multipartBody3049057167747472434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744123568,"filename":"image_14042025_15_03_40_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca53ad9d9b14d34961ff1d7f7fe79d69.jpg","text":"TemporaryFile(/tmp/multipartBody3016614837510045644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744123568,"filename":"image_14042025_15_03_45_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11ed89fb8db13a8755fcb83e9e2e62ce.jpg","text":"TemporaryFile(/tmp/multipartBody6425806467237032589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744123568,"filename":"image_14042025_15_03_30_2215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/485f513a8caf1b546f6798c5f4a6bcac.jpg","text":"TemporaryFile(/tmp/multipartBody7834078309106528083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744123568,"filename":"image_14042025_15_03_55_3142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37be0b00a9354f3c0d385211deb3b479.jpg","text":"TemporaryFile(/tmp/multipartBody8580746329380415124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744123568,"filename":"image_14042025_15_03_25_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350005397","file1":"1350005366","file0":"1350005314","file4":"1350005460","file5":"1350005491","file3":"1350005433"},"map_files_photo_id_array":[{"photo_id":"1350005491","filename":"file5"},{"photo_id":"1350005397","filename":"file2"},{"photo_id":"1350005460","filename":"file4"},{"photo_id":"1350005366","filename":"file1"},{"photo_id":"1350005314","filename":"file0"},{"photo_id":"1350005433","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350005460":["hashtag1","hashtag2"]},{"1350005397":["hashtag1","hashtag2"]},{"1350005433":["hashtag1","hashtag2"]},{"1350005366":["hashtag1","hashtag2"]},{"1350005491":["hashtag1","hashtag2"]},{"1350005314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350005460, 1350005397, 1350005433, 1350005366, 1350005491, 1350005314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51609539985657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:08:22.770167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_07_2597.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_09_2768.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_13_3581.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_16_2645.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_18_2716.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_22_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_07_2597.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_09_2768.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_13_3581.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_16_2645.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_18_2716.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_22_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350005629","1350005602","1350005693","1350005648","1350005689","1350005677"],"photo_ids_order":["1350005602","1350005629","1350005648","1350005677","1350005689","1350005693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92979f1d6c6a2de7b6768ba45ba05366.jpg","text":"TemporaryFile(/tmp/multipartBody7141772483973690384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744166038,"filename":"image_14042025_15_04_09_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/431dcca5e25f6123e8e4afc472cdaf50.jpg","text":"TemporaryFile(/tmp/multipartBody544074589917360179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744166038,"filename":"image_14042025_15_04_07_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdd3bdfbd3ff9d6b9a1d7781b7a798eb.jpg","text":"TemporaryFile(/tmp/multipartBody3273251954686280393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744166038,"filename":"image_14042025_15_04_22_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce90539cc3fa0ab416abb96b7b1d69c6.jpg","text":"TemporaryFile(/tmp/multipartBody1920529430421373818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744166038,"filename":"image_14042025_15_04_13_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35d264e3e0706ce323d57dc4e2b7789a.jpg","text":"TemporaryFile(/tmp/multipartBody4228304802196443654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744166038,"filename":"image_14042025_15_04_18_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f767f2698c2dcd7c0d457ce1940e54f1.jpg","text":"TemporaryFile(/tmp/multipartBody8326532311579407067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744166038,"filename":"image_14042025_15_04_16_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350005648","file1":"1350005629","file0":"1350005602","file4":"1350005689","file5":"1350005693","file3":"1350005677"},"map_files_photo_id_array":[{"photo_id":"1350005693","filename":"file5"},{"photo_id":"1350005648","filename":"file2"},{"photo_id":"1350005689","filename":"file4"},{"photo_id":"1350005629","filename":"file1"},{"photo_id":"1350005602","filename":"file0"},{"photo_id":"1350005677","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350005629":["hashtag1","hashtag2"]},{"1350005602":["hashtag1","hashtag2"]},{"1350005693":["hashtag1","hashtag2"]},{"1350005648":["hashtag1","hashtag2"]},{"1350005689":["hashtag1","hashtag2"]},{"1350005677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350005629, 1350005602, 1350005693, 1350005648, 1350005689, 1350005677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.787338972091675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:09:03.187179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_25_2657.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_27_2671.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_36_2645.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_49_3795.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_52_2778.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_55_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_25_2657.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_27_2671.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_36_2645.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_49_3795.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_52_2778.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_55_2776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350005809","1350005799","1350005724","1350005771","1350005740","1350005821"],"photo_ids_order":["1350005724","1350005740","1350005771","1350005799","1350005809","1350005821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67b785cac09ec715c5a2b45da62943ce.jpg","text":"TemporaryFile(/tmp/multipartBody8315782976742771639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744205998,"filename":"image_14042025_15_04_52_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dad769c72449aa8d489c0c2da9ae01c5.jpg","text":"TemporaryFile(/tmp/multipartBody6126746226570223523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744205998,"filename":"image_14042025_15_04_49_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a4c09c4a1f75d815f13bc98115e1f74.jpg","text":"TemporaryFile(/tmp/multipartBody1367427410136218015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744205998,"filename":"image_14042025_15_04_25_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a09f2d3410d0735d619614027cfe41e7.jpg","text":"TemporaryFile(/tmp/multipartBody8509675054338231006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744205998,"filename":"image_14042025_15_04_36_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3422e9705250c6cdee1c6858c17a6178.jpg","text":"TemporaryFile(/tmp/multipartBody6498548790112733736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744205998,"filename":"image_14042025_15_04_27_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c7291d6fb418f7c5794f6a375ddd134.jpg","text":"TemporaryFile(/tmp/multipartBody6191117728875636770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744205998,"filename":"image_14042025_15_04_55_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350005771","file1":"1350005740","file0":"1350005724","file4":"1350005809","file5":"1350005821","file3":"1350005799"},"map_files_photo_id_array":[{"photo_id":"1350005821","filename":"file5"},{"photo_id":"1350005771","filename":"file2"},{"photo_id":"1350005809","filename":"file4"},{"photo_id":"1350005740","filename":"file1"},{"photo_id":"1350005724","filename":"file0"},{"photo_id":"1350005799","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350005809":["hashtag1","hashtag2"]},{"1350005799":["hashtag1","hashtag2"]},{"1350005724":["hashtag1","hashtag2"]},{"1350005771":["hashtag1","hashtag2"]},{"1350005740":["hashtag1","hashtag2"]},{"1350005821":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350005809, 1350005799, 1350005724, 1350005771, 1350005740, 1350005821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83934545516968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:10:02.833070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_57_2777.jpg', '/home/pi/Desktop/images/14042025/15/04/image_14042025_15_05_00_2682.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_07_2699.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_09_2564.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_13_3716.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_21_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_04_57_2777.jpg
/home/pi/Desktop/images/14042025/15/04/image_14042025_15_05_00_2682.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_07_2699.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_09_2564.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_13_3716.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_21_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350005964","1350006021","1350006026","1350005957","1350005995","1350006016"],"photo_ids_order":["1350005957","1350005964","1350005995","1350006016","1350006021","1350006026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d23174e7a2fbb0083021a4e00f2952e.jpg","text":"TemporaryFile(/tmp/multipartBody6149860284324388618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744265360,"filename":"image_14042025_15_05_00_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c8617f0cd56136b6e18c4068957377d.jpg","text":"TemporaryFile(/tmp/multipartBody7487810083610823047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744265360,"filename":"image_14042025_15_05_13_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2491767b06087220e49d92893208fa4d.jpg","text":"TemporaryFile(/tmp/multipartBody935356526872659127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744265360,"filename":"image_14042025_15_05_21_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54929c3a81994273bb563d0bcfad9fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6289560648532779797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744265360,"filename":"image_14042025_15_04_57_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1569148448941b8edca3c9f19e6b6a01.jpg","text":"TemporaryFile(/tmp/multipartBody7527641316257566950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744265360,"filename":"image_14042025_15_05_07_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca7c5a7b80bc48b21334b11028de6ba1.jpg","text":"TemporaryFile(/tmp/multipartBody882362433060062282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744265360,"filename":"image_14042025_15_05_09_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350005995","file1":"1350005964","file0":"1350005957","file4":"1350006021","file5":"1350006026","file3":"1350006016"},"map_files_photo_id_array":[{"photo_id":"1350006026","filename":"file5"},{"photo_id":"1350005995","filename":"file2"},{"photo_id":"1350006021","filename":"file4"},{"photo_id":"1350005964","filename":"file1"},{"photo_id":"1350005957","filename":"file0"},{"photo_id":"1350006016","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350005964":["hashtag1","hashtag2"]},{"1350006021":["hashtag1","hashtag2"]},{"1350006026":["hashtag1","hashtag2"]},{"1350005957":["hashtag1","hashtag2"]},{"1350005995":["hashtag1","hashtag2"]},{"1350006016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350005964, 1350006021, 1350006026, 1350005957, 1350005995, 1350006016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46078157424927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:10:42.261151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_25_3718.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_28_2743.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_37_3775.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_40_2734.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_42_2541.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_49_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_25_3718.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_28_2743.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_37_3775.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_40_2734.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_42_2541.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_49_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350006167","1350006236","1350006200","1350006136","1350006106","1350006075"],"photo_ids_order":["1350006075","1350006106","1350006136","1350006167","1350006200","1350006236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9ed529cb9066d33a35c450db606315f.jpg","text":"TemporaryFile(/tmp/multipartBody2091249010478653702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744303632,"filename":"image_14042025_15_05_40_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d49aa40695885a314ffc879992d9299.jpg","text":"TemporaryFile(/tmp/multipartBody4058766158625211044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744303632,"filename":"image_14042025_15_05_49_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b7dcefb9b4799d79861f55cac7f72b3.jpg","text":"TemporaryFile(/tmp/multipartBody8819567146491452025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744303632,"filename":"image_14042025_15_05_42_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2bc023e17ad40c0afbf23b6bdaacd36.jpg","text":"TemporaryFile(/tmp/multipartBody3278592200712266434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744303632,"filename":"image_14042025_15_05_37_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e995ae164f91a9343e47a7090691893.jpg","text":"TemporaryFile(/tmp/multipartBody2168487522074103597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744303632,"filename":"image_14042025_15_05_28_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47ce56cb58dbaaead83807bbec3a09dd.jpg","text":"TemporaryFile(/tmp/multipartBody6174228945243059711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744303632,"filename":"image_14042025_15_05_25_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350006136","file1":"1350006106","file0":"1350006075","file4":"1350006200","file5":"1350006236","file3":"1350006167"},"map_files_photo_id_array":[{"photo_id":"1350006236","filename":"file5"},{"photo_id":"1350006136","filename":"file2"},{"photo_id":"1350006200","filename":"file4"},{"photo_id":"1350006106","filename":"file1"},{"photo_id":"1350006075","filename":"file0"},{"photo_id":"1350006167","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350006167":["hashtag1","hashtag2"]},{"1350006236":["hashtag1","hashtag2"]},{"1350006200":["hashtag1","hashtag2"]},{"1350006136":["hashtag1","hashtag2"]},{"1350006106":["hashtag1","hashtag2"]},{"1350006075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350006167, 1350006236, 1350006200, 1350006136, 1350006106, 1350006075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27767252922058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:11:22.336188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_51_2879.jpg', '/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_54_2672.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_01_2843.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_06_2800.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_09_2722.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_13_3804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_51_2879.jpg
/home/pi/Desktop/images/14042025/15/05/image_14042025_15_05_54_2672.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_01_2843.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_06_2800.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_09_2722.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_13_3804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350006417","1350006485","1350006524","1350006454","1350006382","1350006351"],"photo_ids_order":["1350006351","1350006382","1350006417","1350006454","1350006485","1350006524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00c759393ee48c0d7d2d735443f66790.jpg","text":"TemporaryFile(/tmp/multipartBody5281619866863447326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744345395,"filename":"image_14042025_15_06_01_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f600b02b00e7f306f474be10eecbe5a6.jpg","text":"TemporaryFile(/tmp/multipartBody9085423336747081176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744345395,"filename":"image_14042025_15_06_09_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40b39affa9c81ab7823faad48613097a.jpg","text":"TemporaryFile(/tmp/multipartBody5443061508833299374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744345395,"filename":"image_14042025_15_06_13_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69049f942e7bc612b7fcf2b885afe0f6.jpg","text":"TemporaryFile(/tmp/multipartBody6698691305487096473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744345395,"filename":"image_14042025_15_06_06_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b9da134542c74cbb56bfd6039f7714f.jpg","text":"TemporaryFile(/tmp/multipartBody3260184585167631341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744345395,"filename":"image_14042025_15_05_54_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eab760f625dfcfaecb48edc37a8b5a04.jpg","text":"TemporaryFile(/tmp/multipartBody5968421330368140719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744345395,"filename":"image_14042025_15_05_51_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350006417","file1":"1350006382","file0":"1350006351","file4":"1350006485","file5":"1350006524","file3":"1350006454"},"map_files_photo_id_array":[{"photo_id":"1350006524","filename":"file5"},{"photo_id":"1350006417","filename":"file2"},{"photo_id":"1350006485","filename":"file4"},{"photo_id":"1350006382","filename":"file1"},{"photo_id":"1350006351","filename":"file0"},{"photo_id":"1350006454","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350006417":["hashtag1","hashtag2"]},{"1350006485":["hashtag1","hashtag2"]},{"1350006524":["hashtag1","hashtag2"]},{"1350006454":["hashtag1","hashtag2"]},{"1350006382":["hashtag1","hashtag2"]},{"1350006351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350006417, 1350006485, 1350006524, 1350006454, 1350006382, 1350006351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.474342823028564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:12:22.408813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_31_3789.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_33_2678.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_45_2711.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_49_3719.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_57_2669.jpg', '/home/pi/Desktop/images/14042025/15/06/image_14042025_15_07_01_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_31_3789.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_33_2678.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_45_2711.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_49_3719.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_06_57_2669.jpg
/home/pi/Desktop/images/14042025/15/06/image_14042025_15_07_01_3690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350006944","1350006979","1350007009","1350006769","1350006835","1350006888"],"photo_ids_order":["1350006769","1350006835","1350006888","1350006944","1350006979","1350007009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a5c91173df6234be469c4bead48f027.jpg","text":"TemporaryFile(/tmp/multipartBody3524968821597330132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744405657,"filename":"image_14042025_15_06_49_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6951a16fc64372e31f87ec5d9e486a9.jpg","text":"TemporaryFile(/tmp/multipartBody1680927734477049031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744405657,"filename":"image_14042025_15_06_57_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22d1a299ad309e7d13167d4627d7cc1f.jpg","text":"TemporaryFile(/tmp/multipartBody6300099116934285856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744405657,"filename":"image_14042025_15_07_01_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f1c182b9263e8631774e00607b8c402.jpg","text":"TemporaryFile(/tmp/multipartBody6001867217612489983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744405657,"filename":"image_14042025_15_06_31_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebbb8ad8cdc74c4b171d3b455b23a0cd.jpg","text":"TemporaryFile(/tmp/multipartBody1416554829556729904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744405657,"filename":"image_14042025_15_06_33_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5eab7dabfe0439b0dbe9ba93b7523591.jpg","text":"TemporaryFile(/tmp/multipartBody2829629579910905984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744405657,"filename":"image_14042025_15_06_45_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350006888","file1":"1350006835","file0":"1350006769","file4":"1350006979","file5":"1350007009","file3":"1350006944"},"map_files_photo_id_array":[{"photo_id":"1350007009","filename":"file5"},{"photo_id":"1350006888","filename":"file2"},{"photo_id":"1350006979","filename":"file4"},{"photo_id":"1350006835","filename":"file1"},{"photo_id":"1350006769","filename":"file0"},{"photo_id":"1350006944","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350006944":["hashtag1","hashtag2"]},{"1350006979":["hashtag1","hashtag2"]},{"1350007009":["hashtag1","hashtag2"]},{"1350006769":["hashtag1","hashtag2"]},{"1350006835":["hashtag1","hashtag2"]},{"1350006888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350006944, 1350006979, 1350007009, 1350006769, 1350006835, 1350006888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94167995452881 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:13:21.988042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_10_3617.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_24_2753.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_30_2625.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_33_2855.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_36_2780.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_42_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_10_3617.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_24_2753.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_30_2625.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_33_2855.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_36_2780.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_42_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350007262","1350007421","1350007358","1350007232","1350007399","1350007308"],"photo_ids_order":["1350007232","1350007262","1350007308","1350007358","1350007399","1350007421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/541841f9506b756aa6fdfef55b37fd47.jpg","text":"TemporaryFile(/tmp/multipartBody5404423379696485881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744465093,"filename":"image_14042025_15_07_24_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3a4cb32f07e7bd650f2bcde48f7f553.jpg","text":"TemporaryFile(/tmp/multipartBody2053403911434588067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744465093,"filename":"image_14042025_15_07_42_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c11c0553df9b8ddb839c8d0c550e293b.jpg","text":"TemporaryFile(/tmp/multipartBody5569068846703978281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744465093,"filename":"image_14042025_15_07_33_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b2d0d9c86ccdbe3035e8f94ef990795.jpg","text":"TemporaryFile(/tmp/multipartBody8744963585897422393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744465093,"filename":"image_14042025_15_07_10_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74b178cbe5a5222efbd197972dade68c.jpg","text":"TemporaryFile(/tmp/multipartBody5929286161854470290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744465093,"filename":"image_14042025_15_07_36_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa89f69fed7af00f9f7a58b0f3d3ab3d.jpg","text":"TemporaryFile(/tmp/multipartBody8188975550512424650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744465093,"filename":"image_14042025_15_07_30_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350007308","file1":"1350007262","file0":"1350007232","file4":"1350007399","file5":"1350007421","file3":"1350007358"},"map_files_photo_id_array":[{"photo_id":"1350007421","filename":"file5"},{"photo_id":"1350007308","filename":"file2"},{"photo_id":"1350007399","filename":"file4"},{"photo_id":"1350007262","filename":"file1"},{"photo_id":"1350007232","filename":"file0"},{"photo_id":"1350007358","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350007262":["hashtag1","hashtag2"]},{"1350007421":["hashtag1","hashtag2"]},{"1350007358":["hashtag1","hashtag2"]},{"1350007232":["hashtag1","hashtag2"]},{"1350007399":["hashtag1","hashtag2"]},{"1350007308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350007262, 1350007421, 1350007358, 1350007232, 1350007399, 1350007308)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.45645570755005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:14:25.477955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_49_3747.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_57_2841.jpg', '/home/pi/Desktop/images/14042025/15/07/image_14042025_15_08_01_3624.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_03_2889.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_06_2662.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_13_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_49_3747.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_07_57_2841.jpg
/home/pi/Desktop/images/14042025/15/07/image_14042025_15_08_01_3624.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_03_2889.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_06_2662.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_13_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350008144","1350007553","1350007541","1350008029","1350007549","1350007767"],"photo_ids_order":["1350007541","1350007549","1350007553","1350007767","1350008029","1350008144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf5ccb0aa5f63159e58271be04dc6278.jpg","text":"TemporaryFile(/tmp/multipartBody2442761506905757144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744528708,"filename":"image_14042025_15_08_13_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b7bda081cec13ac212fbbc9bf1fc1a4.jpg","text":"TemporaryFile(/tmp/multipartBody3560800886340207967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744528708,"filename":"image_14042025_15_08_01_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/078dd13ab0ef25dfb2323c624e94ef7b.jpg","text":"TemporaryFile(/tmp/multipartBody617675813439240767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744528708,"filename":"image_14042025_15_07_49_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9368d505cf967483b64b204289d2751f.jpg","text":"TemporaryFile(/tmp/multipartBody3455945537876488939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744528708,"filename":"image_14042025_15_08_06_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45527ab6a518acf6587d8bb8688e3840.jpg","text":"TemporaryFile(/tmp/multipartBody4117922408191713497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744528708,"filename":"image_14042025_15_07_57_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b53888b9ce4958e5a4c2f2ff17aad60.jpg","text":"TemporaryFile(/tmp/multipartBody2333069474239805574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744528708,"filename":"image_14042025_15_08_03_2889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350007553","file1":"1350007549","file0":"1350007541","file4":"1350008029","file5":"1350008144","file3":"1350007767"},"map_files_photo_id_array":[{"photo_id":"1350008144","filename":"file5"},{"photo_id":"1350007553","filename":"file2"},{"photo_id":"1350008029","filename":"file4"},{"photo_id":"1350007549","filename":"file1"},{"photo_id":"1350007541","filename":"file0"},{"photo_id":"1350007767","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350008144":["hashtag1","hashtag2"]},{"1350007553":["hashtag1","hashtag2"]},{"1350007541":["hashtag1","hashtag2"]},{"1350008029":["hashtag1","hashtag2"]},{"1350007549":["hashtag1","hashtag2"]},{"1350007767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350008144, 1350007553, 1350007541, 1350008029, 1350007549, 1350007767)","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 = 1350007553 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/14042025/15/07/image_14042025_15_08_01_3624.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.66495776176453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:15:43.518697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_15_2593.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_21_2768.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_25_3722.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_27_2693.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_30_2631.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_36_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_15_2593.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_21_2768.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_25_3722.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_27_2693.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_30_2631.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_36_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350008354","1350008357","1350008356","1350008371","1350008450","1350008351"],"photo_ids_order":["1350008351","1350008354","1350008356","1350008357","1350008371","1350008450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ea9638ec8a1b90dddbae60036838f64.jpg","text":"TemporaryFile(/tmp/multipartBody1135313032635086291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744607321,"filename":"image_14042025_15_08_21_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61263290ec9af6e69fc68fad0897e831.jpg","text":"TemporaryFile(/tmp/multipartBody3126828513757538810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744607321,"filename":"image_14042025_15_08_27_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b00dc6b6bead15baa534d434251474a0.jpg","text":"TemporaryFile(/tmp/multipartBody1583983078721924117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744607321,"filename":"image_14042025_15_08_25_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32f368d3625977d0ff6103b0538bc45f.jpg","text":"TemporaryFile(/tmp/multipartBody639544483818254294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744607321,"filename":"image_14042025_15_08_30_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0594961d57be5bc5c7ced14787a5cb65.jpg","text":"TemporaryFile(/tmp/multipartBody239632045043391295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744607321,"filename":"image_14042025_15_08_36_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/728002b0585edd368935bf2649fa6d9a.jpg","text":"TemporaryFile(/tmp/multipartBody902957783211424762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744607321,"filename":"image_14042025_15_08_15_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350008356","file1":"1350008354","file0":"1350008351","file4":"1350008371","file5":"1350008450","file3":"1350008357"},"map_files_photo_id_array":[{"photo_id":"1350008450","filename":"file5"},{"photo_id":"1350008356","filename":"file2"},{"photo_id":"1350008371","filename":"file4"},{"photo_id":"1350008354","filename":"file1"},{"photo_id":"1350008351","filename":"file0"},{"photo_id":"1350008357","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350008354":["hashtag1","hashtag2"]},{"1350008357":["hashtag1","hashtag2"]},{"1350008356":["hashtag1","hashtag2"]},{"1350008371":["hashtag1","hashtag2"]},{"1350008450":["hashtag1","hashtag2"]},{"1350008351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350008354, 1350008357, 1350008356, 1350008371, 1350008450, 1350008351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60568404197693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:16:22.693418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_43_3783.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_45_2578.jpg', '/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_54_2761.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_03_2795.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_06_2793.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_09_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_43_3783.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_45_2578.jpg
/home/pi/Desktop/images/14042025/15/08/image_14042025_15_08_54_2761.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_03_2795.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_06_2793.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_09_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350008506","1350008515","1350008520","1350008544","1350008597","1350008498"],"photo_ids_order":["1350008498","1350008506","1350008515","1350008520","1350008544","1350008597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f20d5bf34baaed5dc08f9ef718467915.jpg","text":"TemporaryFile(/tmp/multipartBody2340558430663914554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744645826,"filename":"image_14042025_15_08_45_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/612323a517655d5a5983860877c0a009.jpg","text":"TemporaryFile(/tmp/multipartBody2882132401905231959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744645826,"filename":"image_14042025_15_08_54_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac496727094cd493e6034aef03169c21.jpg","text":"TemporaryFile(/tmp/multipartBody6157148898140385009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744645826,"filename":"image_14042025_15_09_03_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eaeb8ff4425d4957a2bba291f9a1d2fb.jpg","text":"TemporaryFile(/tmp/multipartBody5972015070248530836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744645826,"filename":"image_14042025_15_09_06_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5275eaa8d3735a12d6571f32465e4e6a.jpg","text":"TemporaryFile(/tmp/multipartBody31200766221385659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744645826,"filename":"image_14042025_15_09_09_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8330209c4f2b6ed6a980d6169ab52efb.jpg","text":"TemporaryFile(/tmp/multipartBody8177833577166767963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744645826,"filename":"image_14042025_15_08_43_3783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350008515","file1":"1350008506","file0":"1350008498","file4":"1350008544","file5":"1350008597","file3":"1350008520"},"map_files_photo_id_array":[{"photo_id":"1350008597","filename":"file5"},{"photo_id":"1350008515","filename":"file2"},{"photo_id":"1350008544","filename":"file4"},{"photo_id":"1350008506","filename":"file1"},{"photo_id":"1350008498","filename":"file0"},{"photo_id":"1350008520","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350008506":["hashtag1","hashtag2"]},{"1350008515":["hashtag1","hashtag2"]},{"1350008520":["hashtag1","hashtag2"]},{"1350008544":["hashtag1","hashtag2"]},{"1350008597":["hashtag1","hashtag2"]},{"1350008498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350008506, 1350008515, 1350008520, 1350008544, 1350008597, 1350008498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51564884185791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:17:02.626494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_18_2734.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_21_3640.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_24_2730.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_33_2860.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_36_2756.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_42_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_18_2734.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_21_3640.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_24_2730.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_33_2860.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_36_2756.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_42_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350008870","1350009100","1350008725","1350008786","1350009038","1350008954"],"photo_ids_order":["1350008725","1350008786","1350008870","1350008954","1350009038","1350009100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da4e3cd735429973f301aa522dc4f691.jpg","text":"TemporaryFile(/tmp/multipartBody5764160084724166106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744685167,"filename":"image_14042025_15_09_24_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/364dd962a28e189c2a8763934e2d27a4.jpg","text":"TemporaryFile(/tmp/multipartBody1227469697820958441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744685167,"filename":"image_14042025_15_09_42_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e945f89a4c339dafacea6eb6af908d34.jpg","text":"TemporaryFile(/tmp/multipartBody9055705996261160118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744685167,"filename":"image_14042025_15_09_18_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9729e7a8b226ec49739dcd9778cd39ce.jpg","text":"TemporaryFile(/tmp/multipartBody9215495368962290397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744685167,"filename":"image_14042025_15_09_21_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/682cbe68932c06d5a88867d789f044be.jpg","text":"TemporaryFile(/tmp/multipartBody4127660584152281377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744685167,"filename":"image_14042025_15_09_36_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e024169984e7572e73b2509f1423e273.jpg","text":"TemporaryFile(/tmp/multipartBody8650359598171651902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744685167,"filename":"image_14042025_15_09_33_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350008870","file1":"1350008786","file0":"1350008725","file4":"1350009038","file5":"1350009100","file3":"1350008954"},"map_files_photo_id_array":[{"photo_id":"1350009100","filename":"file5"},{"photo_id":"1350008870","filename":"file2"},{"photo_id":"1350009038","filename":"file4"},{"photo_id":"1350008786","filename":"file1"},{"photo_id":"1350008725","filename":"file0"},{"photo_id":"1350008954","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350008870":["hashtag1","hashtag2"]},{"1350009100":["hashtag1","hashtag2"]},{"1350008725":["hashtag1","hashtag2"]},{"1350008786":["hashtag1","hashtag2"]},{"1350009038":["hashtag1","hashtag2"]},{"1350008954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350008870, 1350009100, 1350008725, 1350008786, 1350009038, 1350008954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59483242034912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:17:41.927135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_48_2710.jpg', '/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_57_2725.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_06_2669.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_12_3219.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_18_3764.jpg', '/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_51_3856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_48_2710.jpg
/home/pi/Desktop/images/14042025/15/09/image_14042025_15_09_57_2725.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_06_2669.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_12_3219.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_18_3764.jpg
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_10_51_3856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350009505","1350009282","1350009576","1350009342","1350009230","1350009428"],"photo_ids_order":["1350009230","1350009282","1350009342","1350009428","1350009505","1350009576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/232c212459c12ea5201906f8c51e4a18.jpg","text":"TemporaryFile(/tmp/multipartBody4120541177768999061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744723300,"filename":"image_14042025_15_10_18_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28c1370ad3fec58ab0f13d72d46de6a1.jpg","text":"TemporaryFile(/tmp/multipartBody882721931360620809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744723300,"filename":"image_14042025_15_09_57_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/759ae46b7a486ecc3812802b75a8dcb9.jpg","text":"TemporaryFile(/tmp/multipartBody3275229623738295338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744723300,"filename":"image_14042025_15_10_51_3856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f34da62915fc98d8d6dc5c2e41d509cb.jpg","text":"TemporaryFile(/tmp/multipartBody965245767166711297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744723300,"filename":"image_14042025_15_10_06_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1939798c111d68a3aaf3a0e958bc1e97.jpg","text":"TemporaryFile(/tmp/multipartBody4506979344918125883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744723300,"filename":"image_14042025_15_09_48_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23e67487cbc8401d9a3cac5127602271.jpg","text":"TemporaryFile(/tmp/multipartBody1912526532028278872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744723300,"filename":"image_14042025_15_10_12_3219.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350009342","file1":"1350009282","file0":"1350009230","file4":"1350009505","file5":"1350009576","file3":"1350009428"},"map_files_photo_id_array":[{"photo_id":"1350009576","filename":"file5"},{"photo_id":"1350009342","filename":"file2"},{"photo_id":"1350009505","filename":"file4"},{"photo_id":"1350009282","filename":"file1"},{"photo_id":"1350009230","filename":"file0"},{"photo_id":"1350009428","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350009505":["hashtag1","hashtag2"]},{"1350009282":["hashtag1","hashtag2"]},{"1350009576":["hashtag1","hashtag2"]},{"1350009342":["hashtag1","hashtag2"]},{"1350009230":["hashtag1","hashtag2"]},{"1350009428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350009505, 1350009282, 1350009576, 1350009342, 1350009230, 1350009428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75038695335388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:18:22.156373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/10/image_14042025_15_11_00_3616.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_06_2884.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_09_2646.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_27_2611.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_29_2737.jpg', '/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_09_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_11_00_3616.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_06_2884.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_09_2646.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_27_2611.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_29_2737.jpg
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_09_2619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.142998695373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:18:42.085280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/10/image_14042025_15_11_00_3616.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_06_2884.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_09_2646.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_27_2611.jpg', '/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_29_2737.jpg', '/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_09_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/10/image_14042025_15_11_00_3616.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_06_2884.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_09_2646.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_27_2611.jpg
/home/pi/Desktop/images/14042025/15/11/image_14042025_15_11_29_2737.jpg
/home/pi/Desktop/images/14042025/15/12/image_14042025_15_12_09_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350009787","1350009853","1350009760","1350009814","1350009791","1350009893"],"photo_ids_order":["1350009760","1350009787","1350009791","1350009814","1350009853","1350009893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84bb0ab3e22505e7410f0d80224b8572.jpg","text":"TemporaryFile(/tmp/multipartBody6232890316970709786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744783452,"filename":"image_14042025_15_11_06_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27cfc7984f62c43a7b83526010a61871.jpg","text":"TemporaryFile(/tmp/multipartBody4081756894680319220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744783452,"filename":"image_14042025_15_11_29_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3f3160039c7974edf190637f63bd32c.jpg","text":"TemporaryFile(/tmp/multipartBody2363748845221223071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744783452,"filename":"image_14042025_15_11_00_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1fb254fd7a47de471a2e283bb3456f33.jpg","text":"TemporaryFile(/tmp/multipartBody2353825200050245716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744783452,"filename":"image_14042025_15_11_27_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7951ecf150a2eea47fe1fefe0fdb3cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1678700436925176414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744783452,"filename":"image_14042025_15_11_09_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2436c1274ed6c0f41527e96d82957bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6559903650306003296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744783452,"filename":"image_14042025_15_12_09_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350009791","file1":"1350009787","file0":"1350009760","file4":"1350009853","file5":"1350009893","file3":"1350009814"},"map_files_photo_id_array":[{"photo_id":"1350009893","filename":"file5"},{"photo_id":"1350009791","filename":"file2"},{"photo_id":"1350009853","filename":"file4"},{"photo_id":"1350009787","filename":"file1"},{"photo_id":"1350009760","filename":"file0"},{"photo_id":"1350009814","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350009787":["hashtag1","hashtag2"]},{"1350009853":["hashtag1","hashtag2"]},{"1350009760":["hashtag1","hashtag2"]},{"1350009814":["hashtag1","hashtag2"]},{"1350009791":["hashtag1","hashtag2"]},{"1350009893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350009787, 1350009853, 1350009760, 1350009814, 1350009791, 1350009893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80482506752014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:19:23.628834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_47_2560.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_02_2842.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_09_3543.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_15_3638.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_17_2643.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_20_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/13/image_14042025_15_13_47_2560.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_02_2842.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_09_3543.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_15_3638.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_17_2643.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_20_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350010073","1350010037","1350010004","1350010033","1350010008","1350009991"],"photo_ids_order":["1350009991","1350010004","1350010008","1350010033","1350010037","1350010073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/437ec00515a110d59ab834e228318d12.jpg","text":"TemporaryFile(/tmp/multipartBody8422443055955342696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744826768,"filename":"image_14042025_15_16_20_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71f0b2db4007d6505027c2dabd811978.jpg","text":"TemporaryFile(/tmp/multipartBody8114161948196950561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744826768,"filename":"image_14042025_15_16_17_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c6fb27034fc998d13b3be3b6c3c12fe.jpg","text":"TemporaryFile(/tmp/multipartBody6390730422290034017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744826768,"filename":"image_14042025_15_16_02_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54987b6e8e21013a8274777195a65059.jpg","text":"TemporaryFile(/tmp/multipartBody3639687839635449505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744826768,"filename":"image_14042025_15_16_15_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f74d65bf3c11d8233f7f7621e6e9c11d.jpg","text":"TemporaryFile(/tmp/multipartBody6808293700784082626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744826768,"filename":"image_14042025_15_16_09_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b56bb8653f053028f83c433a4de88cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3099696283995176865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744826768,"filename":"image_14042025_15_13_47_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350010008","file1":"1350010004","file0":"1350009991","file4":"1350010037","file5":"1350010073","file3":"1350010033"},"map_files_photo_id_array":[{"photo_id":"1350010073","filename":"file5"},{"photo_id":"1350010008","filename":"file2"},{"photo_id":"1350010037","filename":"file4"},{"photo_id":"1350010004","filename":"file1"},{"photo_id":"1350009991","filename":"file0"},{"photo_id":"1350010033","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350010073":["hashtag1","hashtag2"]},{"1350010037":["hashtag1","hashtag2"]},{"1350010004":["hashtag1","hashtag2"]},{"1350010033":["hashtag1","hashtag2"]},{"1350010008":["hashtag1","hashtag2"]},{"1350009991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350010073, 1350010037, 1350010004, 1350010033, 1350010008, 1350009991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83730340003967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:20:21.970624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_27_2700.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_29_2809.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_32_2586.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_36_3762.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_39_2868.jpg', '/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_44_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_27_2700.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_29_2809.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_32_2586.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_36_3762.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_39_2868.jpg
/home/pi/Desktop/images/14042025/15/16/image_14042025_15_16_44_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350010136","1350010202","1350010245","1350010167","1350010107","1350010277"],"photo_ids_order":["1350010107","1350010136","1350010167","1350010202","1350010245","1350010277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7d6dbebcd9177c713d6a013c719942f.jpg","text":"TemporaryFile(/tmp/multipartBody636528527022369064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744885154,"filename":"image_14042025_15_16_29_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c90151d161eab1181a44b25cd8f7f628.jpg","text":"TemporaryFile(/tmp/multipartBody5698692150203658617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744885154,"filename":"image_14042025_15_16_36_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aed0d4a89e2fd7735d3f25dc37cb42a6.jpg","text":"TemporaryFile(/tmp/multipartBody4305129824432356930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744885154,"filename":"image_14042025_15_16_39_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1869d2becfdb536c71aa1f3499cbbfc.jpg","text":"TemporaryFile(/tmp/multipartBody8338267759694826822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744885154,"filename":"image_14042025_15_16_32_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8868b3bc99904a92b957994bc320592b.jpg","text":"TemporaryFile(/tmp/multipartBody7571234686444276788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744885154,"filename":"image_14042025_15_16_27_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b57f10d965dcbe0ffd531c941b31b14.jpg","text":"TemporaryFile(/tmp/multipartBody4301188512720382667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744885154,"filename":"image_14042025_15_16_44_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350010167","file1":"1350010136","file0":"1350010107","file4":"1350010245","file5":"1350010277","file3":"1350010202"},"map_files_photo_id_array":[{"photo_id":"1350010277","filename":"file5"},{"photo_id":"1350010167","filename":"file2"},{"photo_id":"1350010245","filename":"file4"},{"photo_id":"1350010136","filename":"file1"},{"photo_id":"1350010107","filename":"file0"},{"photo_id":"1350010202","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350010136":["hashtag1","hashtag2"]},{"1350010202":["hashtag1","hashtag2"]},{"1350010245":["hashtag1","hashtag2"]},{"1350010167":["hashtag1","hashtag2"]},{"1350010107":["hashtag1","hashtag2"]},{"1350010277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350010136, 1350010202, 1350010245, 1350010167, 1350010107, 1350010277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17626190185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:21:02.969643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_02_2696.jpg', '/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_11_2770.jpg', '/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_14_2671.jpg', '/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_53_2650.jpg', '/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_02_2526.jpg', '/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_26_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_02_2696.jpg
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_11_2770.jpg
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_14_2671.jpg
/home/pi/Desktop/images/14042025/15/17/image_14042025_15_17_53_2650.jpg
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_02_2526.jpg
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_26_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350010415","1350010381","1350010444","1350010398","1350010371","1350010376"],"photo_ids_order":["1350010371","1350010376","1350010381","1350010398","1350010415","1350010444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e45b44d79715dfe243ad0d892af3223e.jpg","text":"TemporaryFile(/tmp/multipartBody77107285013989392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744925591,"filename":"image_14042025_15_18_02_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fe1fef1b22dd1346ad4993bfdfa325b.jpg","text":"TemporaryFile(/tmp/multipartBody7947923165913292677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744925591,"filename":"image_14042025_15_17_14_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f60abdf3c895aee032d2152e516f88a.jpg","text":"TemporaryFile(/tmp/multipartBody2848964296481300263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744925591,"filename":"image_14042025_15_18_26_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/adcfcf7086630fe88d5262894a1519f1.jpg","text":"TemporaryFile(/tmp/multipartBody580615339329181377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744925591,"filename":"image_14042025_15_17_53_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1bbad6e9b50b42d4b00345c26129a28.jpg","text":"TemporaryFile(/tmp/multipartBody722477214244172669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744925591,"filename":"image_14042025_15_17_02_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb6ed1a77b156e5b7a0f130ef96f97c5.jpg","text":"TemporaryFile(/tmp/multipartBody2528305534429417412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744925591,"filename":"image_14042025_15_17_11_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350010381","file1":"1350010376","file0":"1350010371","file4":"1350010415","file5":"1350010444","file3":"1350010398"},"map_files_photo_id_array":[{"photo_id":"1350010444","filename":"file5"},{"photo_id":"1350010381","filename":"file2"},{"photo_id":"1350010415","filename":"file4"},{"photo_id":"1350010376","filename":"file1"},{"photo_id":"1350010371","filename":"file0"},{"photo_id":"1350010398","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350010415":["hashtag1","hashtag2"]},{"1350010381":["hashtag1","hashtag2"]},{"1350010444":["hashtag1","hashtag2"]},{"1350010398":["hashtag1","hashtag2"]},{"1350010371":["hashtag1","hashtag2"]},{"1350010376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350010415, 1350010381, 1350010444, 1350010398, 1350010371, 1350010376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01330804824829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:21:42.303231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_38_2752.jpg', '/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_44_2681.jpg', '/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_50_2684.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_05_2685.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_23_3619.jpg', '/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_29_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_38_2752.jpg
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_44_2681.jpg
/home/pi/Desktop/images/14042025/15/18/image_14042025_15_18_50_2684.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_05_2685.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_23_3619.jpg
/home/pi/Desktop/images/14042025/15/19/image_14042025_15_19_29_2775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350010588","1350010684","1350010653","1350010584","1350010595","1350010580"],"photo_ids_order":["1350010580","1350010584","1350010588","1350010595","1350010653","1350010684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1092bf3b05ee51e2c655578f678ce668.jpg","text":"TemporaryFile(/tmp/multipartBody4282969980989676092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744963783,"filename":"image_14042025_15_18_50_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d75f976454eba9c11861e787ded6690b.jpg","text":"TemporaryFile(/tmp/multipartBody6985511844880624889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744963783,"filename":"image_14042025_15_19_29_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92a10468902d211b9398e3003a683a44.jpg","text":"TemporaryFile(/tmp/multipartBody5888775020627043827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744963783,"filename":"image_14042025_15_19_23_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38f8d9e5c0475410f60150f3dbc0d44f.jpg","text":"TemporaryFile(/tmp/multipartBody4229982129385263375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744963783,"filename":"image_14042025_15_18_44_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35737c6aa86a78e157b67648c08b9e50.jpg","text":"TemporaryFile(/tmp/multipartBody6145093036837900512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744963783,"filename":"image_14042025_15_19_05_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/952191deca23833854118cacfb8cb246.jpg","text":"TemporaryFile(/tmp/multipartBody4915541390564218172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744744963783,"filename":"image_14042025_15_18_38_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350010588","file1":"1350010584","file0":"1350010580","file4":"1350010653","file5":"1350010684","file3":"1350010595"},"map_files_photo_id_array":[{"photo_id":"1350010684","filename":"file5"},{"photo_id":"1350010588","filename":"file2"},{"photo_id":"1350010653","filename":"file4"},{"photo_id":"1350010584","filename":"file1"},{"photo_id":"1350010580","filename":"file0"},{"photo_id":"1350010595","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350010588":["hashtag1","hashtag2"]},{"1350010684":["hashtag1","hashtag2"]},{"1350010653":["hashtag1","hashtag2"]},{"1350010584":["hashtag1","hashtag2"]},{"1350010595":["hashtag1","hashtag2"]},{"1350010580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350010588, 1350010684, 1350010653, 1350010584, 1350010595, 1350010580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.609806060791016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:22:22.669892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_26_2664.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_35_2637.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_41_2693.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_44_2683.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_55_2692.jpg', '/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_59_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_26_2664.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_35_2637.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_41_2693.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_44_2683.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_55_2692.jpg
/home/pi/Desktop/images/14042025/15/21/image_14042025_15_21_59_3672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350010727","1350010714","1350010722","1350010731","1350010719","1350010713"],"photo_ids_order":["1350010713","1350010714","1350010719","1350010722","1350010727","1350010731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0067dfb7c0bb02d6e474c03edfdb419b.jpg","text":"TemporaryFile(/tmp/multipartBody6394831297347206006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745008088,"filename":"image_14042025_15_21_55_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79d9bf3c1ad2c642f2155ab4ec9f0f0c.jpg","text":"TemporaryFile(/tmp/multipartBody2357592952542519801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745008088,"filename":"image_14042025_15_21_35_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/056b9a723775de4f956ea86f58147138.jpg","text":"TemporaryFile(/tmp/multipartBody2631635208638509221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745008088,"filename":"image_14042025_15_21_44_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7a0a3d7a574dbe6553c1fa6d2d1e8b8.jpg","text":"TemporaryFile(/tmp/multipartBody6107908727509170807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745008088,"filename":"image_14042025_15_21_59_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4692a1f3961b08febbb166038ac36ad.jpg","text":"TemporaryFile(/tmp/multipartBody2337338051601164112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745008088,"filename":"image_14042025_15_21_41_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbf86aa3d3c689e41b76890f0c647bad.jpg","text":"TemporaryFile(/tmp/multipartBody4356891791022968066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745008088,"filename":"image_14042025_15_21_26_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350010719","file1":"1350010714","file0":"1350010713","file4":"1350010727","file5":"1350010731","file3":"1350010722"},"map_files_photo_id_array":[{"photo_id":"1350010731","filename":"file5"},{"photo_id":"1350010719","filename":"file2"},{"photo_id":"1350010727","filename":"file4"},{"photo_id":"1350010714","filename":"file1"},{"photo_id":"1350010713","filename":"file0"},{"photo_id":"1350010722","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350010727":["hashtag1","hashtag2"]},{"1350010714":["hashtag1","hashtag2"]},{"1350010722":["hashtag1","hashtag2"]},{"1350010731":["hashtag1","hashtag2"]},{"1350010719":["hashtag1","hashtag2"]},{"1350010713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350010727, 1350010714, 1350010722, 1350010731, 1350010719, 1350010713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.647464752197266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:23:22.249524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_02_2796.jpg', '/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_41_2632.jpg', '/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_44_2737.jpg', '/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_47_3634.jpg', '/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_53_2892.jpg', '/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_55_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_02_2796.jpg
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_41_2632.jpg
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_44_2737.jpg
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_47_3634.jpg
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_53_2892.jpg
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_55_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350011029","1350011023","1350011052","1350011084","1350011036","1350011039"],"photo_ids_order":["1350011023","1350011029","1350011036","1350011039","1350011052","1350011084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a85fe9e02913fec65fc6ef3ea48ef100.jpg","text":"TemporaryFile(/tmp/multipartBody1011160013998263590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745065335,"filename":"image_14042025_15_22_41_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28772ad641f22b96da560597f0725183.jpg","text":"TemporaryFile(/tmp/multipartBody8365868292547287184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745065335,"filename":"image_14042025_15_22_02_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47263bffd3c8f1e848ffc22623c5f087.jpg","text":"TemporaryFile(/tmp/multipartBody7181820868380220613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745065335,"filename":"image_14042025_15_22_53_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d44a7bb4a5ed4ff2887dc36d31cb84a.jpg","text":"TemporaryFile(/tmp/multipartBody7169039046596620812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745065335,"filename":"image_14042025_15_22_55_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9b4d522ae8154b2b76eb56a4e7aeede.jpg","text":"TemporaryFile(/tmp/multipartBody2871300580723550750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745065335,"filename":"image_14042025_15_22_44_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81ca928b85ba8ecf06d65defb9f9e961.jpg","text":"TemporaryFile(/tmp/multipartBody3387949489780593514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745065335,"filename":"image_14042025_15_22_47_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350011036","file1":"1350011029","file0":"1350011023","file4":"1350011052","file5":"1350011084","file3":"1350011039"},"map_files_photo_id_array":[{"photo_id":"1350011084","filename":"file5"},{"photo_id":"1350011036","filename":"file2"},{"photo_id":"1350011052","filename":"file4"},{"photo_id":"1350011029","filename":"file1"},{"photo_id":"1350011023","filename":"file0"},{"photo_id":"1350011039","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350011029":["hashtag1","hashtag2"]},{"1350011023":["hashtag1","hashtag2"]},{"1350011052":["hashtag1","hashtag2"]},{"1350011084":["hashtag1","hashtag2"]},{"1350011036":["hashtag1","hashtag2"]},{"1350011039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350011029, 1350011023, 1350011052, 1350011084, 1350011036, 1350011039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97792673110962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:24:03.250449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_59_3716.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_02_2617.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_25_2560.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_29_3613.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_32_2557.jpg', '/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_35_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/22/image_14042025_15_22_59_3716.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_02_2617.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_25_2560.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_29_3613.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_32_2557.jpg
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_35_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350011265","1350011319","1350011252","1350011369","1350011276","1350011234"],"photo_ids_order":["1350011234","1350011252","1350011265","1350011276","1350011319","1350011369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/086b2400a7ff42497ee51ee52d2924bb.jpg","text":"TemporaryFile(/tmp/multipartBody5832807489695975389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745105760,"filename":"image_14042025_15_23_25_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07dbe21ffb70aa9cfe912be53222c69c.jpg","text":"TemporaryFile(/tmp/multipartBody3008498784466279748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745105760,"filename":"image_14042025_15_23_32_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ab6826c2071d7b5db31b4e96e7d8585.jpg","text":"TemporaryFile(/tmp/multipartBody7007647124886033101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745105760,"filename":"image_14042025_15_23_02_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ddce0531cbbc505f7c12c874a371c0f.jpg","text":"TemporaryFile(/tmp/multipartBody7984640482290334162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745105760,"filename":"image_14042025_15_23_35_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bdbf2a5ac94406d7fba8ebcb4841b31.jpg","text":"TemporaryFile(/tmp/multipartBody6256754890028943767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745105760,"filename":"image_14042025_15_23_29_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/155122f8b5b9c148a12a448e4fcc9cf9.jpg","text":"TemporaryFile(/tmp/multipartBody2037558530707682952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745105760,"filename":"image_14042025_15_22_59_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350011265","file1":"1350011252","file0":"1350011234","file4":"1350011319","file5":"1350011369","file3":"1350011276"},"map_files_photo_id_array":[{"photo_id":"1350011369","filename":"file5"},{"photo_id":"1350011265","filename":"file2"},{"photo_id":"1350011319","filename":"file4"},{"photo_id":"1350011252","filename":"file1"},{"photo_id":"1350011234","filename":"file0"},{"photo_id":"1350011276","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350011265":["hashtag1","hashtag2"]},{"1350011319":["hashtag1","hashtag2"]},{"1350011252":["hashtag1","hashtag2"]},{"1350011369":["hashtag1","hashtag2"]},{"1350011276":["hashtag1","hashtag2"]},{"1350011234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350011265, 1350011319, 1350011252, 1350011369, 1350011276, 1350011234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.539812088012695 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:25:03.593654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_56_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/20/54/image_15042025_20_54_56_3731.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350011498"],"photo_id":"1350011498","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6b8a4beced1e394f841ea18ecac8be2.jpg","text":"TemporaryFile(/tmp/multipartBody7576562658574549304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745164203,"filename":"image_15042025_20_54_56_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350011498"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350011498"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.058901071548462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:25:22.784778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/24/image_15042025_21_24_44_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/21/24/image_15042025_21_24_44_2562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350011572"],"photo_id":"1350011572","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f68689135af201b435c9a98a4e46c746.jpg","text":"TemporaryFile(/tmp/multipartBody2728443056252560659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745183310,"filename":"image_15042025_21_24_44_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350011572"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350011572"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.880805253982544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:25:42.823570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_59_3600.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_01_2656.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_04_2755.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_08_3573.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_13_2868.jpg', '/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_41_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/23/image_14042025_15_23_59_3600.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_01_2656.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_04_2755.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_08_3573.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_13_2868.jpg
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_41_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350011857","1350011665","1350011892","1350011921","1350011771","1350011711"],"photo_ids_order":["1350011665","1350011711","1350011771","1350011857","1350011892","1350011921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a83bee5287d6c3a9478559b3f162209.jpg","text":"TemporaryFile(/tmp/multipartBody6873920822347526545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745204187,"filename":"image_14042025_15_24_08_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02f49630b311a890e529afdd792efda2.jpg","text":"TemporaryFile(/tmp/multipartBody5330586716266987317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745204187,"filename":"image_14042025_15_23_59_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6acad0fd6e681046ebdbe06269f49344.jpg","text":"TemporaryFile(/tmp/multipartBody4590784576313765979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745204187,"filename":"image_14042025_15_24_13_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87f1e9ef2be61a0c35e7264462f2aba5.jpg","text":"TemporaryFile(/tmp/multipartBody5937666633414501856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745204187,"filename":"image_14042025_15_24_41_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6879e9fd2f7418d3f94bc690b178ba97.jpg","text":"TemporaryFile(/tmp/multipartBody16023232868043624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745204187,"filename":"image_14042025_15_24_04_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49741077d919ea647af80fef76fa3bd3.jpg","text":"TemporaryFile(/tmp/multipartBody6705128168048443768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745204187,"filename":"image_14042025_15_24_01_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350011771","file1":"1350011711","file0":"1350011665","file4":"1350011892","file5":"1350011921","file3":"1350011857"},"map_files_photo_id_array":[{"photo_id":"1350011921","filename":"file5"},{"photo_id":"1350011771","filename":"file2"},{"photo_id":"1350011892","filename":"file4"},{"photo_id":"1350011711","filename":"file1"},{"photo_id":"1350011665","filename":"file0"},{"photo_id":"1350011857","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350011857":["hashtag1","hashtag2"]},{"1350011665":["hashtag1","hashtag2"]},{"1350011892":["hashtag1","hashtag2"]},{"1350011921":["hashtag1","hashtag2"]},{"1350011771":["hashtag1","hashtag2"]},{"1350011711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350011857, 1350011665, 1350011892, 1350011921, 1350011771, 1350011711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22735571861267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:26:22.142466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/25/image_15042025_21_25_35_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/21/25/image_15042025_21_25_35_2761.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350011964"],"photo_id":"1350011964","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cf99248ac8d6801437c8efcfa7c2477.jpg","text":"TemporaryFile(/tmp/multipartBody6444724920972486521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745243449,"filename":"image_15042025_21_25_35_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350011964"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350011964"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 1 photos
time to upload: 23.953570127487183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:27:03.477110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:27:24.762853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:27:43.688232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_43_2663.jpg', '/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_01_2771.jpg', '/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_35_3685.jpg', '/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_56_2977.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_08_2678.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_10_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/24/image_14042025_15_24_43_2663.jpg
/home/pi/Desktop/images/14042025/15/25/image_14042025_15_25_01_2771.jpg
/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_35_3685.jpg
/home/pi/Desktop/images/14042025/15/26/image_14042025_15_26_56_2977.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_08_2678.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_10_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350012180","1350012264","1350012188","1350012230","1350012305","1350012206"],"photo_ids_order":["1350012180","1350012188","1350012206","1350012230","1350012264","1350012305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96899dfd15cbe7bc9de4b5c4c3b418ef.jpg","text":"TemporaryFile(/tmp/multipartBody6791370432906804192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745325102,"filename":"image_14042025_15_24_43_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/703281a98854964c1c01f21bec4088fe.jpg","text":"TemporaryFile(/tmp/multipartBody5353382461182708060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745325102,"filename":"image_14042025_15_27_08_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d59de5a6804ffb71238727f35e11fa4.jpg","text":"TemporaryFile(/tmp/multipartBody5474881751202965277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745325102,"filename":"image_14042025_15_25_01_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/154b993c0bfdaa2bbde5230bc8f3d649.jpg","text":"TemporaryFile(/tmp/multipartBody5187666144366467301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745325102,"filename":"image_14042025_15_26_56_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b2a1d4a0352f0283283ed74aba2a0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3774988334675061752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745325102,"filename":"image_14042025_15_27_10_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd2cef59d171918c8da7d5992614cd2e.jpg","text":"TemporaryFile(/tmp/multipartBody2590738182604070044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745325102,"filename":"image_14042025_15_26_35_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350012206","file1":"1350012188","file0":"1350012180","file4":"1350012264","file5":"1350012305","file3":"1350012230"},"map_files_photo_id_array":[{"photo_id":"1350012305","filename":"file5"},{"photo_id":"1350012206","filename":"file2"},{"photo_id":"1350012264","filename":"file4"},{"photo_id":"1350012188","filename":"file1"},{"photo_id":"1350012180","filename":"file0"},{"photo_id":"1350012230","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350012180":["hashtag1","hashtag2"]},{"1350012264":["hashtag1","hashtag2"]},{"1350012188":["hashtag1","hashtag2"]},{"1350012230":["hashtag1","hashtag2"]},{"1350012305":["hashtag1","hashtag2"]},{"1350012206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350012180, 1350012264, 1350012188, 1350012230, 1350012305, 1350012206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.775615215301514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:28:21.776171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/26/image_15042025_21_26_41_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/21/26/image_15042025_21_26_41_2735.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350012417"],"photo_id":"1350012417","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b5bfda63e9c611762e0282f3ab72f0f.jpg","text":"TemporaryFile(/tmp/multipartBody36151154615464889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745362305,"filename":"image_15042025_21_26_41_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350012417"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350012417"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.195374011993408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:28:41.830104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_13_2733.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_19_2549.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_28_2577.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_37_2665.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_40_2755.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_49_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_13_2733.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_19_2549.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_28_2577.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_37_2665.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_40_2755.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_49_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350012628","1350012699","1350012654","1350012549","1350012603","1350012575"],"photo_ids_order":["1350012549","1350012575","1350012603","1350012628","1350012654","1350012699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e812cd2443f494d467ade9160d02d33.jpg","text":"TemporaryFile(/tmp/multipartBody2470886262489746298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745383322,"filename":"image_14042025_15_27_37_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03e4d973dad576829fcc9b05f3bdcad3.jpg","text":"TemporaryFile(/tmp/multipartBody452026540755905621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745383322,"filename":"image_14042025_15_27_49_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d10f8f0a7e216fac8d447c48a6fbc9f0.jpg","text":"TemporaryFile(/tmp/multipartBody8601234706276698149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745383322,"filename":"image_14042025_15_27_40_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/894aa7b36e7714034ea420ad67a93ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7889447962068138886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745383322,"filename":"image_14042025_15_27_13_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eeda328c3e1be98b66c9839021f2aab4.jpg","text":"TemporaryFile(/tmp/multipartBody7539409789489177711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745383322,"filename":"image_14042025_15_27_28_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c07a5140271fb93c7694da9894b5903.jpg","text":"TemporaryFile(/tmp/multipartBody5950297603745533146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745383322,"filename":"image_14042025_15_27_19_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350012603","file1":"1350012575","file0":"1350012549","file4":"1350012654","file5":"1350012699","file3":"1350012628"},"map_files_photo_id_array":[{"photo_id":"1350012699","filename":"file5"},{"photo_id":"1350012603","filename":"file2"},{"photo_id":"1350012654","filename":"file4"},{"photo_id":"1350012575","filename":"file1"},{"photo_id":"1350012549","filename":"file0"},{"photo_id":"1350012628","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350012628":["hashtag1","hashtag2"]},{"1350012699":["hashtag1","hashtag2"]},{"1350012654":["hashtag1","hashtag2"]},{"1350012549":["hashtag1","hashtag2"]},{"1350012603":["hashtag1","hashtag2"]},{"1350012575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350012628, 1350012699, 1350012654, 1350012549, 1350012603, 1350012575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95200300216675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:29:22.535344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_53_3760.jpg', '/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_56_2882.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_07_2606.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_10_2657.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_14_3600.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_23_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_53_3760.jpg
/home/pi/Desktop/images/14042025/15/27/image_14042025_15_27_56_2882.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_07_2606.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_10_2657.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_14_3600.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_23_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350012837","1350013013","1350012992","1350012971","1350013010","1350012988"],"photo_ids_order":["1350012837","1350012971","1350012988","1350012992","1350013010","1350013013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94a41183e155d652afc3b3858dcd40a1.jpg","text":"TemporaryFile(/tmp/multipartBody5294111078756921664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745425599,"filename":"image_14042025_15_27_53_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04b2088dc3315e226c0758c41bba50b9.jpg","text":"TemporaryFile(/tmp/multipartBody6112897281239083813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745425599,"filename":"image_14042025_15_28_23_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08b04c9c3228eafa784931b5eb041b86.jpg","text":"TemporaryFile(/tmp/multipartBody6223342529989320171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745425599,"filename":"image_14042025_15_28_10_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59e50bf3faf5a14bdf18bd80802fcb1e.jpg","text":"TemporaryFile(/tmp/multipartBody1259491899547650342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745425599,"filename":"image_14042025_15_27_56_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/884e456b937bab06aca5f585bc0bba27.jpg","text":"TemporaryFile(/tmp/multipartBody5156941956686529126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745425599,"filename":"image_14042025_15_28_14_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f844d1f6d572c3f122560959e06dd318.jpg","text":"TemporaryFile(/tmp/multipartBody3928203751545985156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745425599,"filename":"image_14042025_15_28_07_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350012988","file1":"1350012971","file0":"1350012837","file4":"1350013010","file5":"1350013013","file3":"1350012992"},"map_files_photo_id_array":[{"photo_id":"1350013013","filename":"file5"},{"photo_id":"1350012988","filename":"file2"},{"photo_id":"1350013010","filename":"file4"},{"photo_id":"1350012971","filename":"file1"},{"photo_id":"1350012837","filename":"file0"},{"photo_id":"1350012992","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350012837":["hashtag1","hashtag2"]},{"1350013013":["hashtag1","hashtag2"]},{"1350012992":["hashtag1","hashtag2"]},{"1350012971":["hashtag1","hashtag2"]},{"1350013010":["hashtag1","hashtag2"]},{"1350012988":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350012837, 1350013013, 1350012992, 1350012971, 1350013010, 1350012988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.20176696777344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:30:21.797215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_28_2686.jpg', '/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_32_3542.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_22_2618.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_37_2700.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_46_2762.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_49_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_28_2686.jpg
/home/pi/Desktop/images/14042025/15/28/image_14042025_15_28_32_3542.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_22_2618.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_37_2700.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_46_2762.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_49_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350013043","1350013049","1350013040","1350013034","1350013037","1350013054"],"photo_ids_order":["1350013034","1350013037","1350013040","1350013043","1350013049","1350013054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/401dce2cebd8ca9fc8d8f875648e4a17.jpg","text":"TemporaryFile(/tmp/multipartBody1950978166582490867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745484801,"filename":"image_14042025_15_29_37_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/064e4fbae021cba7efad81871daa34c5.jpg","text":"TemporaryFile(/tmp/multipartBody4335933030829388807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745484801,"filename":"image_14042025_15_29_46_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3857f5986a02af9ace2fa98b38f55070.jpg","text":"TemporaryFile(/tmp/multipartBody6749562700744166208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745484801,"filename":"image_14042025_15_29_22_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c5de5e413c23efd011ddef3a72de14c.jpg","text":"TemporaryFile(/tmp/multipartBody6982769380308349507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745484801,"filename":"image_14042025_15_28_28_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebf1ef5539d9ad99c2a5224288ef651f.jpg","text":"TemporaryFile(/tmp/multipartBody2282242196282697354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745484801,"filename":"image_14042025_15_28_32_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1406258a524d93ada06dab146a0bc38d.jpg","text":"TemporaryFile(/tmp/multipartBody8694179467235959575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745484801,"filename":"image_14042025_15_29_49_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350013040","file1":"1350013037","file0":"1350013034","file4":"1350013049","file5":"1350013054","file3":"1350013043"},"map_files_photo_id_array":[{"photo_id":"1350013054","filename":"file5"},{"photo_id":"1350013040","filename":"file2"},{"photo_id":"1350013049","filename":"file4"},{"photo_id":"1350013037","filename":"file1"},{"photo_id":"1350013034","filename":"file0"},{"photo_id":"1350013043","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350013043":["hashtag1","hashtag2"]},{"1350013049":["hashtag1","hashtag2"]},{"1350013040":["hashtag1","hashtag2"]},{"1350013034":["hashtag1","hashtag2"]},{"1350013037":["hashtag1","hashtag2"]},{"1350013054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350013043, 1350013049, 1350013040, 1350013034, 1350013037, 1350013054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53412628173828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:31:02.644234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_52_3552.jpg', '/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_58_2668.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_07_3011.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_16_2741.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_20_3794.jpg', '/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_47_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_52_3552.jpg
/home/pi/Desktop/images/14042025/15/29/image_14042025_15_29_58_2668.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_07_3011.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_16_2741.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_20_3794.jpg
/home/pi/Desktop/images/14042025/15/30/image_14042025_15_30_47_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350013083","1350013094","1350013175","1350013091","1350013087","1350013078"],"photo_ids_order":["1350013078","1350013083","1350013087","1350013091","1350013094","1350013175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52458169efb55d4fc9f2f324fd4e815e.jpg","text":"TemporaryFile(/tmp/multipartBody1469041603717214333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745525170,"filename":"image_14042025_15_29_58_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/913cf68e1eec70454d39cf6cb2ed0b10.jpg","text":"TemporaryFile(/tmp/multipartBody7593332650248274208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745525170,"filename":"image_14042025_15_30_20_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/613f1c01545d7661ff9c43911d9a4b1f.jpg","text":"TemporaryFile(/tmp/multipartBody293651890395117502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745525170,"filename":"image_14042025_15_30_47_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/307f91da3bcd84e76e081d1d5c9a99bd.jpg","text":"TemporaryFile(/tmp/multipartBody3349469577316558664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745525170,"filename":"image_14042025_15_30_16_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bfd3ecf39ac7fca96b5ece9a6023154.jpg","text":"TemporaryFile(/tmp/multipartBody8446473663972997778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745525170,"filename":"image_14042025_15_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7451429cb85c67e1ca71c85933f51f22.jpg","text":"TemporaryFile(/tmp/multipartBody8697584366683928813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745525170,"filename":"image_14042025_15_29_52_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350013087","file1":"1350013083","file0":"1350013078","file4":"1350013094","file5":"1350013175","file3":"1350013091"},"map_files_photo_id_array":[{"photo_id":"1350013175","filename":"file5"},{"photo_id":"1350013087","filename":"file2"},{"photo_id":"1350013094","filename":"file4"},{"photo_id":"1350013083","filename":"file1"},{"photo_id":"1350013078","filename":"file0"},{"photo_id":"1350013091","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350013083":["hashtag1","hashtag2"]},{"1350013094":["hashtag1","hashtag2"]},{"1350013175":["hashtag1","hashtag2"]},{"1350013091":["hashtag1","hashtag2"]},{"1350013087":["hashtag1","hashtag2"]},{"1350013078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350013083, 1350013094, 1350013175, 1350013091, 1350013087, 1350013078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.625216484069824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:31:41.955741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_13_2644.jpg', '/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_35_3642.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_04_2771.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_28_2539.jpg', '/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_37_2795.jpg', '/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_17_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_13_2644.jpg
/home/pi/Desktop/images/14042025/15/31/image_14042025_15_31_35_3642.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_04_2771.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_28_2539.jpg
/home/pi/Desktop/images/14042025/15/32/image_14042025_15_32_37_2795.jpg
/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_17_3644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350013458","1350013503","1350013483","1350013465","1350013549","1350013516"],"photo_ids_order":["1350013458","1350013465","1350013483","1350013503","1350013516","1350013549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fc6c01b27d28549e0a4528ba1bedd04.jpg","text":"TemporaryFile(/tmp/multipartBody8895103328405268796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745563318,"filename":"image_14042025_15_31_13_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a7fd4c88bf8bce698f6643b266dc218.jpg","text":"TemporaryFile(/tmp/multipartBody273657627484799120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745563318,"filename":"image_14042025_15_32_28_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30e6b487ebe851030efbb69084e367a9.jpg","text":"TemporaryFile(/tmp/multipartBody3640996109343870454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745563318,"filename":"image_14042025_15_32_04_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dfeefc0e0ed49bf23762eedd7955c11.jpg","text":"TemporaryFile(/tmp/multipartBody5947612874051950420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745563318,"filename":"image_14042025_15_31_35_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cd1a48513644035536c172fbdbf2681.jpg","text":"TemporaryFile(/tmp/multipartBody6997640715257371726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745563318,"filename":"image_14042025_15_34_17_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ad650fb376ab937fecbb8a012b558ed.jpg","text":"TemporaryFile(/tmp/multipartBody1341610148260533330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745563318,"filename":"image_14042025_15_32_37_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350013483","file1":"1350013465","file0":"1350013458","file4":"1350013516","file5":"1350013549","file3":"1350013503"},"map_files_photo_id_array":[{"photo_id":"1350013549","filename":"file5"},{"photo_id":"1350013483","filename":"file2"},{"photo_id":"1350013516","filename":"file4"},{"photo_id":"1350013465","filename":"file1"},{"photo_id":"1350013458","filename":"file0"},{"photo_id":"1350013503","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350013458":["hashtag1","hashtag2"]},{"1350013503":["hashtag1","hashtag2"]},{"1350013483":["hashtag1","hashtag2"]},{"1350013465":["hashtag1","hashtag2"]},{"1350013549":["hashtag1","hashtag2"]},{"1350013516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350013458, 1350013503, 1350013483, 1350013465, 1350013549, 1350013516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35905194282532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:32:22.380231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_28_2692.jpg', '/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_43_2563.jpg', '/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_49_2706.jpg', '/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_52_2552.jpg', '/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_04_2808.jpg', '/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_10_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_28_2692.jpg
/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_43_2563.jpg
/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_49_2706.jpg
/home/pi/Desktop/images/14042025/15/34/image_14042025_15_34_52_2552.jpg
/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_04_2808.jpg
/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_10_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350013695","1350013689","1350013691","1350013646","1350013700","1350013678"],"photo_ids_order":["1350013646","1350013678","1350013689","1350013691","1350013695","1350013700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98f8741ca0fb466f9b3775a55c0886bf.jpg","text":"TemporaryFile(/tmp/multipartBody3896166734584756651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745605563,"filename":"image_14042025_15_35_04_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b33efe97e98303bea529e43f2a2240b.jpg","text":"TemporaryFile(/tmp/multipartBody4854196233661642136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745605563,"filename":"image_14042025_15_34_49_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa7a293da62ce4078612af5555ab82f1.jpg","text":"TemporaryFile(/tmp/multipartBody65415780674706899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745605563,"filename":"image_14042025_15_34_52_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9449d76e1e565de317fa46633567904f.jpg","text":"TemporaryFile(/tmp/multipartBody1647691375815750327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745605563,"filename":"image_14042025_15_34_28_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cf7b30794d04846bc6ecefcb699dc1b.jpg","text":"TemporaryFile(/tmp/multipartBody2498448185238365431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745605563,"filename":"image_14042025_15_35_10_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3750d527edb49492c0a28c8c10ddf7f1.jpg","text":"TemporaryFile(/tmp/multipartBody374549965244034495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745605563,"filename":"image_14042025_15_34_43_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350013689","file1":"1350013678","file0":"1350013646","file4":"1350013695","file5":"1350013700","file3":"1350013691"},"map_files_photo_id_array":[{"photo_id":"1350013700","filename":"file5"},{"photo_id":"1350013689","filename":"file2"},{"photo_id":"1350013695","filename":"file4"},{"photo_id":"1350013678","filename":"file1"},{"photo_id":"1350013646","filename":"file0"},{"photo_id":"1350013691","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350013695":["hashtag1","hashtag2"]},{"1350013689":["hashtag1","hashtag2"]},{"1350013691":["hashtag1","hashtag2"]},{"1350013646":["hashtag1","hashtag2"]},{"1350013700":["hashtag1","hashtag2"]},{"1350013678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350013695, 1350013689, 1350013691, 1350013646, 1350013700, 1350013678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.360162019729614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:33:02.863171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_17_3749.jpg', '/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_26_3763.jpg', '/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_28_2575.jpg', '/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_40_2624.jpg', '/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_43_2652.jpg', '/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_01_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_17_3749.jpg
/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_26_3763.jpg
/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_28_2575.jpg
/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_40_2624.jpg
/home/pi/Desktop/images/14042025/15/35/image_14042025_15_35_43_2652.jpg
/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_01_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350013821","1350013874","1350013787","1350013879","1350013888","1350013849"],"photo_ids_order":["1350013787","1350013821","1350013849","1350013874","1350013879","1350013888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30466b0322ef0a55b313bd2d1c3c3c73.jpg","text":"TemporaryFile(/tmp/multipartBody4963385554614660892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745645406,"filename":"image_14042025_15_35_26_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83dddd5817ce26ddd9572c6bc16f12b4.jpg","text":"TemporaryFile(/tmp/multipartBody7157429372417072245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745645406,"filename":"image_14042025_15_35_40_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cd5e5d904b8132e4ad8ff47da0d8f31.jpg","text":"TemporaryFile(/tmp/multipartBody781067060799266539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745645406,"filename":"image_14042025_15_35_17_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53b5cee4b1c88bbd74b433400b4eab03.jpg","text":"TemporaryFile(/tmp/multipartBody1668832386196825376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745645406,"filename":"image_14042025_15_35_43_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c5332a322ed0fe69ba4779761db43d5.jpg","text":"TemporaryFile(/tmp/multipartBody60709083495964666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745645406,"filename":"image_14042025_15_36_01_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee0c7ec05f95745ea9bec51e98d04ad5.jpg","text":"TemporaryFile(/tmp/multipartBody6093497448432502915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745645406,"filename":"image_14042025_15_35_28_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350013849","file1":"1350013821","file0":"1350013787","file4":"1350013879","file5":"1350013888","file3":"1350013874"},"map_files_photo_id_array":[{"photo_id":"1350013888","filename":"file5"},{"photo_id":"1350013849","filename":"file2"},{"photo_id":"1350013879","filename":"file4"},{"photo_id":"1350013821","filename":"file1"},{"photo_id":"1350013787","filename":"file0"},{"photo_id":"1350013874","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350013821":["hashtag1","hashtag2"]},{"1350013874":["hashtag1","hashtag2"]},{"1350013787":["hashtag1","hashtag2"]},{"1350013879":["hashtag1","hashtag2"]},{"1350013888":["hashtag1","hashtag2"]},{"1350013849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350013821, 1350013874, 1350013787, 1350013879, 1350013888, 1350013849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43114113807678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:33:42.119805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_25_2647.jpg', '/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_34_2762.jpg', '/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_37_3693.jpg', '/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_43_2596.jpg', '/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_49_2582.jpg', '/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_52_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_25_2647.jpg
/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_34_2762.jpg
/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_37_3693.jpg
/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_43_2596.jpg
/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_49_2582.jpg
/home/pi/Desktop/images/14042025/15/36/image_14042025_15_36_52_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350013977","1350013974","1350014024","1350013949","1350013940","1350013990"],"photo_ids_order":["1350013940","1350013949","1350013974","1350013977","1350013990","1350014024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6614484d29188d4f6a684c1c9d5df6c.jpg","text":"TemporaryFile(/tmp/multipartBody4143612296863877168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745683498,"filename":"image_14042025_15_36_43_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af032f1416c979b2c755c4d86ce83a86.jpg","text":"TemporaryFile(/tmp/multipartBody7742290051715874264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745683498,"filename":"image_14042025_15_36_37_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd68041503f435834ab72ec4665d1b58.jpg","text":"TemporaryFile(/tmp/multipartBody386623646200151619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745683498,"filename":"image_14042025_15_36_52_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d55c9b5b07f2741fab5c9c9804da142.jpg","text":"TemporaryFile(/tmp/multipartBody6423179657496863675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745683498,"filename":"image_14042025_15_36_34_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/268a384bfcf5b9c6b21cf3d03964eb14.jpg","text":"TemporaryFile(/tmp/multipartBody4558203485180771302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745683498,"filename":"image_14042025_15_36_25_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00b45a831a85f37256dd7a819902f8d4.jpg","text":"TemporaryFile(/tmp/multipartBody7394190579449628188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745683498,"filename":"image_14042025_15_36_49_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350013974","file1":"1350013949","file0":"1350013940","file4":"1350013990","file5":"1350014024","file3":"1350013977"},"map_files_photo_id_array":[{"photo_id":"1350014024","filename":"file5"},{"photo_id":"1350013974","filename":"file2"},{"photo_id":"1350013990","filename":"file4"},{"photo_id":"1350013949","filename":"file1"},{"photo_id":"1350013940","filename":"file0"},{"photo_id":"1350013977","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350013977":["hashtag1","hashtag2"]},{"1350013974":["hashtag1","hashtag2"]},{"1350014024":["hashtag1","hashtag2"]},{"1350013949":["hashtag1","hashtag2"]},{"1350013940":["hashtag1","hashtag2"]},{"1350013990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350013977, 1350013974, 1350014024, 1350013949, 1350013940, 1350013990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.031216859817505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:34:22.746176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_16_2595.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_19_2631.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_22_3605.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_25_2594.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_31_3708.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_37_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_16_2595.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_19_2631.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_22_3605.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_25_2594.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_31_3708.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_37_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350014319","1350014229","1350014281","1350014290","1350014295","1350014355"],"photo_ids_order":["1350014229","1350014281","1350014290","1350014295","1350014319","1350014355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c61abbc15f071c7cd6b791297bec8617.jpg","text":"TemporaryFile(/tmp/multipartBody5085307232538849143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745725794,"filename":"image_14042025_15_37_31_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6179a4da9799dad80ebfe1121c715fe9.jpg","text":"TemporaryFile(/tmp/multipartBody6792462922831952517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745725794,"filename":"image_14042025_15_37_16_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/308f841aebd8a872dbd6e767f4578ffc.jpg","text":"TemporaryFile(/tmp/multipartBody4559420634128118066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745725794,"filename":"image_14042025_15_37_19_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce2f67ecf4d428a4630ead2054f7d64b.jpg","text":"TemporaryFile(/tmp/multipartBody20739083146899064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745725794,"filename":"image_14042025_15_37_22_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca80813bbe061e72d8993212556ce87b.jpg","text":"TemporaryFile(/tmp/multipartBody3577778401226986657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745725794,"filename":"image_14042025_15_37_25_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6377a6109b6d66aa63c7c34e98703ed8.jpg","text":"TemporaryFile(/tmp/multipartBody2321278600912822900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745725794,"filename":"image_14042025_15_37_37_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350014290","file1":"1350014281","file0":"1350014229","file4":"1350014319","file5":"1350014355","file3":"1350014295"},"map_files_photo_id_array":[{"photo_id":"1350014355","filename":"file5"},{"photo_id":"1350014290","filename":"file2"},{"photo_id":"1350014319","filename":"file4"},{"photo_id":"1350014281","filename":"file1"},{"photo_id":"1350014229","filename":"file0"},{"photo_id":"1350014295","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350014319":["hashtag1","hashtag2"]},{"1350014229":["hashtag1","hashtag2"]},{"1350014281":["hashtag1","hashtag2"]},{"1350014290":["hashtag1","hashtag2"]},{"1350014295":["hashtag1","hashtag2"]},{"1350014355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350014319, 1350014229, 1350014281, 1350014290, 1350014295, 1350014355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45624899864197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:35:03.593787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_39_2690.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_43_3655.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_46_2700.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_55_2704.jpg', '/home/pi/Desktop/images/14042025/15/37/image_14042025_15_38_01_3548.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_04_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_39_2690.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_43_3655.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_46_2700.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_37_55_2704.jpg
/home/pi/Desktop/images/14042025/15/37/image_14042025_15_38_01_3548.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_04_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350014541","1350014604","1350014486","1350014515","1350014571","1350014454"],"photo_ids_order":["1350014454","1350014486","1350014515","1350014541","1350014571","1350014604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f08a3f27afb7b5f844fbfbf8c284266c.jpg","text":"TemporaryFile(/tmp/multipartBody3629360917116549162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745766219,"filename":"image_14042025_15_37_55_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2676d0942b997df7aa5ba5cb5ccf6f4.jpg","text":"TemporaryFile(/tmp/multipartBody2681158017762832305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745766219,"filename":"image_14042025_15_38_04_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02c31493b804c000aae0d82bfb2dddc6.jpg","text":"TemporaryFile(/tmp/multipartBody8696420375503234990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745766219,"filename":"image_14042025_15_37_43_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ba56acd27fb077c4f026b8d66bc6bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3128704023569168537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745766219,"filename":"image_14042025_15_37_46_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00a609402428870e21b54486116a6c1d.jpg","text":"TemporaryFile(/tmp/multipartBody8498107406386228954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745766219,"filename":"image_14042025_15_38_01_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/12aa6d98f7abf0f88ba340901aac490a.jpg","text":"TemporaryFile(/tmp/multipartBody6204194039127625623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745766219,"filename":"image_14042025_15_37_39_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350014515","file1":"1350014486","file0":"1350014454","file4":"1350014571","file5":"1350014604","file3":"1350014541"},"map_files_photo_id_array":[{"photo_id":"1350014604","filename":"file5"},{"photo_id":"1350014515","filename":"file2"},{"photo_id":"1350014571","filename":"file4"},{"photo_id":"1350014486","filename":"file1"},{"photo_id":"1350014454","filename":"file0"},{"photo_id":"1350014541","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350014541":["hashtag1","hashtag2"]},{"1350014604":["hashtag1","hashtag2"]},{"1350014486":["hashtag1","hashtag2"]},{"1350014515":["hashtag1","hashtag2"]},{"1350014571":["hashtag1","hashtag2"]},{"1350014454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350014541, 1350014604, 1350014486, 1350014515, 1350014571, 1350014454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35823893547058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:35:42.785213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_10_3604.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_15_2565.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_19_3877.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_25_2580.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_31_2525.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_33_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_10_3604.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_15_2565.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_19_3877.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_25_2580.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_31_2525.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_33_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350014753","1350014882","1350014723","1350014851","1350014815","1350014787"],"photo_ids_order":["1350014723","1350014753","1350014787","1350014815","1350014851","1350014882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1600a8dfbe9a5edd509ff360d24d4d0.jpg","text":"TemporaryFile(/tmp/multipartBody3769389550106310850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745804452,"filename":"image_14042025_15_38_15_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5da87cc197d3b57a4832ae5a5b6a3dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7084398935605241883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745804452,"filename":"image_14042025_15_38_33_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a401877ec78cc3117358837a34351126.jpg","text":"TemporaryFile(/tmp/multipartBody7789211605545151589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745804452,"filename":"image_14042025_15_38_10_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7be24da425ae1e8768f9237802323454.jpg","text":"TemporaryFile(/tmp/multipartBody550105832539663369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745804452,"filename":"image_14042025_15_38_31_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33bc05d39cc00f0ab0362c25a67d87cc.jpg","text":"TemporaryFile(/tmp/multipartBody2727062098792754089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745804452,"filename":"image_14042025_15_38_25_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22062b462c2729a06cea4376ff318018.jpg","text":"TemporaryFile(/tmp/multipartBody2228517337957536121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745804452,"filename":"image_14042025_15_38_19_3877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350014787","file1":"1350014753","file0":"1350014723","file4":"1350014851","file5":"1350014882","file3":"1350014815"},"map_files_photo_id_array":[{"photo_id":"1350014882","filename":"file5"},{"photo_id":"1350014787","filename":"file2"},{"photo_id":"1350014851","filename":"file4"},{"photo_id":"1350014753","filename":"file1"},{"photo_id":"1350014723","filename":"file0"},{"photo_id":"1350014815","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350014753":["hashtag1","hashtag2"]},{"1350014882":["hashtag1","hashtag2"]},{"1350014723":["hashtag1","hashtag2"]},{"1350014851":["hashtag1","hashtag2"]},{"1350014815":["hashtag1","hashtag2"]},{"1350014787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350014753, 1350014882, 1350014723, 1350014851, 1350014815, 1350014787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95665144920349 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:36:42.361041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_37_3653.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_40_2653.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_43_2792.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_46_3698.jpg', '/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_49_2516.jpg', '/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_01_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_37_3653.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_40_2653.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_43_2792.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_46_3698.jpg
/home/pi/Desktop/images/14042025/15/38/image_14042025_15_38_49_2516.jpg
/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_01_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350015113","1350015143","1350015181","1350015084","1350015171","1350015174"],"photo_ids_order":["1350015084","1350015113","1350015143","1350015171","1350015174","1350015181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f8054936d95502cbc1ac31c8b69d146.jpg","text":"TemporaryFile(/tmp/multipartBody3789143872211937656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745863860,"filename":"image_14042025_15_38_40_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c898d43039fb4c60fa1654b9aa0f8eb4.jpg","text":"TemporaryFile(/tmp/multipartBody5930195506990517217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745863860,"filename":"image_14042025_15_38_43_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0bf1d9b1fc868c3d3682f8fd0c784b2.jpg","text":"TemporaryFile(/tmp/multipartBody3566399595552861034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745863860,"filename":"image_14042025_15_39_01_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7cc3d099baa74c538901c4955a6143f.jpg","text":"TemporaryFile(/tmp/multipartBody1308692471666484912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745863860,"filename":"image_14042025_15_38_37_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/079d9e57d24247631ffb1900ddca7f7b.jpg","text":"TemporaryFile(/tmp/multipartBody407190463069135388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745863860,"filename":"image_14042025_15_38_46_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ad6d3e8f0825e2bacf3929ced8937c2.jpg","text":"TemporaryFile(/tmp/multipartBody2281453079012987898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745863860,"filename":"image_14042025_15_38_49_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350015143","file1":"1350015113","file0":"1350015084","file4":"1350015174","file5":"1350015181","file3":"1350015171"},"map_files_photo_id_array":[{"photo_id":"1350015181","filename":"file5"},{"photo_id":"1350015143","filename":"file2"},{"photo_id":"1350015174","filename":"file4"},{"photo_id":"1350015113","filename":"file1"},{"photo_id":"1350015084","filename":"file0"},{"photo_id":"1350015171","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350015113":["hashtag1","hashtag2"]},{"1350015143":["hashtag1","hashtag2"]},{"1350015181":["hashtag1","hashtag2"]},{"1350015084":["hashtag1","hashtag2"]},{"1350015171":["hashtag1","hashtag2"]},{"1350015174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350015113, 1350015143, 1350015181, 1350015084, 1350015171, 1350015174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76192808151245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:37:22.013532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_03_2758.jpg', '/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_10_2680.jpg', '/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_16_3639.jpg', '/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_19_2672.jpg', '/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_25_3607.jpg', '/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_37_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_03_2758.jpg
/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_10_2680.jpg
/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_16_3639.jpg
/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_19_2672.jpg
/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_25_3607.jpg
/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_37_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350015213","1350015230","1350015190","1350015224","1350015218","1350015193"],"photo_ids_order":["1350015190","1350015193","1350015213","1350015218","1350015224","1350015230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f98c9d0bf7aeba2cfbe81cb693fcdc28.jpg","text":"TemporaryFile(/tmp/multipartBody2152531158425170174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745905092,"filename":"image_14042025_15_39_16_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d3a7d25e3096fa4f5fc137f3b818451.jpg","text":"TemporaryFile(/tmp/multipartBody1968436795039359119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745905092,"filename":"image_14042025_15_39_37_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74e7ce3e533d4ba260eb4340b3ecb867.jpg","text":"TemporaryFile(/tmp/multipartBody242598183164182878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745905092,"filename":"image_14042025_15_39_03_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7376972d90036a02a5fc2ebbb400dcf.jpg","text":"TemporaryFile(/tmp/multipartBody7312469741870565009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745905092,"filename":"image_14042025_15_39_25_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/757fe7e8249db496e8939ae16b97a2d4.jpg","text":"TemporaryFile(/tmp/multipartBody416542438371639319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745905092,"filename":"image_14042025_15_39_19_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39026ae82065debc33f7795929f30635.jpg","text":"TemporaryFile(/tmp/multipartBody7188188470310333613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745905092,"filename":"image_14042025_15_39_10_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350015213","file1":"1350015193","file0":"1350015190","file4":"1350015224","file5":"1350015230","file3":"1350015218"},"map_files_photo_id_array":[{"photo_id":"1350015230","filename":"file5"},{"photo_id":"1350015213","filename":"file2"},{"photo_id":"1350015224","filename":"file4"},{"photo_id":"1350015193","filename":"file1"},{"photo_id":"1350015190","filename":"file0"},{"photo_id":"1350015218","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350015213":["hashtag1","hashtag2"]},{"1350015230":["hashtag1","hashtag2"]},{"1350015190":["hashtag1","hashtag2"]},{"1350015224":["hashtag1","hashtag2"]},{"1350015218":["hashtag1","hashtag2"]},{"1350015193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350015213, 1350015230, 1350015190, 1350015224, 1350015218, 1350015193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96063542366028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:38:02.887340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_52_2600.jpg', '/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_01_2698.jpg', '/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_10_2617.jpg', '/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_16_3720.jpg', '/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_42_2517.jpg', '/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_46_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/39/image_14042025_15_39_52_2600.jpg
/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_01_2698.jpg
/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_10_2617.jpg
/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_16_3720.jpg
/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_42_2517.jpg
/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_46_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350015365","1350015298","1350015394","1350015436","1350015267","1350015330"],"photo_ids_order":["1350015267","1350015298","1350015330","1350015365","1350015394","1350015436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87f7e0ffc43d94b5fbca79c4ac6d0010.jpg","text":"TemporaryFile(/tmp/multipartBody9141926975618399076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745945360,"filename":"image_14042025_15_40_16_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09b9453909b4143bd25b8cb8d3cf37b4.jpg","text":"TemporaryFile(/tmp/multipartBody5014589975100820267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745945360,"filename":"image_14042025_15_40_01_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a4c56bef9a4c1dd184ca3dfeaaf8dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7063299490197476251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745945360,"filename":"image_14042025_15_40_42_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29b76107e6769b7618c405d11085aefe.jpg","text":"TemporaryFile(/tmp/multipartBody807804541735799078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745945360,"filename":"image_14042025_15_40_46_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e2ff804be94256ed527a1bb1e698cec.jpg","text":"TemporaryFile(/tmp/multipartBody8040047309656909530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745945360,"filename":"image_14042025_15_39_52_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5165a3ba0694018850be82098dc6dc0f.jpg","text":"TemporaryFile(/tmp/multipartBody685318736531203125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745945360,"filename":"image_14042025_15_40_10_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350015330","file1":"1350015298","file0":"1350015267","file4":"1350015394","file5":"1350015436","file3":"1350015365"},"map_files_photo_id_array":[{"photo_id":"1350015436","filename":"file5"},{"photo_id":"1350015330","filename":"file2"},{"photo_id":"1350015394","filename":"file4"},{"photo_id":"1350015298","filename":"file1"},{"photo_id":"1350015267","filename":"file0"},{"photo_id":"1350015365","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350015365":["hashtag1","hashtag2"]},{"1350015298":["hashtag1","hashtag2"]},{"1350015394":["hashtag1","hashtag2"]},{"1350015436":["hashtag1","hashtag2"]},{"1350015267":["hashtag1","hashtag2"]},{"1350015330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350015365, 1350015298, 1350015394, 1350015436, 1350015267, 1350015330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14322233200073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:38:42.271754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_49_2719.jpg', '/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_54_2783.jpg', '/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_58_3629.jpg', '/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_16_3701.jpg', '/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_19_2811.jpg', '/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_21_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_49_2719.jpg
/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_54_2783.jpg
/home/pi/Desktop/images/14042025/15/40/image_14042025_15_40_58_3629.jpg
/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_16_3701.jpg
/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_19_2811.jpg
/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_21_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350015603","1350015545","1350015571","1350015660","1350015666","1350015630"],"photo_ids_order":["1350015545","1350015571","1350015603","1350015630","1350015660","1350015666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8932f05ef5f4bf4357b1bbcf6c056f81.jpg","text":"TemporaryFile(/tmp/multipartBody760562222366076449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745983656,"filename":"image_14042025_15_40_58_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d9a2e4dc95f3cfc4c2aabfbaf14116f.jpg","text":"TemporaryFile(/tmp/multipartBody6764706716345069909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745983656,"filename":"image_14042025_15_40_49_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85592dca7ecd4d2962373adbeb422e26.jpg","text":"TemporaryFile(/tmp/multipartBody8458783264665660818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745983656,"filename":"image_14042025_15_40_54_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c3838818205029f3e66bc309e0717ce.jpg","text":"TemporaryFile(/tmp/multipartBody8383462651079849877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745983656,"filename":"image_14042025_15_41_19_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e085b046f2fd9a24bcba36c2b992bdea.jpg","text":"TemporaryFile(/tmp/multipartBody204841502203452147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745983656,"filename":"image_14042025_15_41_21_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/78514ab328bc9646471b92b1652229b8.jpg","text":"TemporaryFile(/tmp/multipartBody7567400411318415203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744745983656,"filename":"image_14042025_15_41_16_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350015603","file1":"1350015571","file0":"1350015545","file4":"1350015660","file5":"1350015666","file3":"1350015630"},"map_files_photo_id_array":[{"photo_id":"1350015666","filename":"file5"},{"photo_id":"1350015603","filename":"file2"},{"photo_id":"1350015660","filename":"file4"},{"photo_id":"1350015571","filename":"file1"},{"photo_id":"1350015545","filename":"file0"},{"photo_id":"1350015630","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350015603":["hashtag1","hashtag2"]},{"1350015545":["hashtag1","hashtag2"]},{"1350015571":["hashtag1","hashtag2"]},{"1350015660":["hashtag1","hashtag2"]},{"1350015666":["hashtag1","hashtag2"]},{"1350015630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350015603, 1350015545, 1350015571, 1350015660, 1350015666, 1350015630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22247052192688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:39:27.024353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_25_3531.jpg', '/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_30_2661.jpg', '/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_39_2653.jpg', '/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_43_3625.jpg', '/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_55_2867.jpg', '/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_09_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_25_3531.jpg
/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_30_2661.jpg
/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_39_2653.jpg
/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_43_3625.jpg
/home/pi/Desktop/images/14042025/15/41/image_14042025_15_41_55_2867.jpg
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_09_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350015689","1350015841","1350015745","1350015811","1350015717","1350015782"],"photo_ids_order":["1350015689","1350015717","1350015745","1350015782","1350015811","1350015841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5cc06c8c717be075a734821d921d8fb.jpg","text":"TemporaryFile(/tmp/multipartBody3188605148345454799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746030070,"filename":"image_14042025_15_41_25_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b39292c78444c1485e7cdfaf83e1ce5.jpg","text":"TemporaryFile(/tmp/multipartBody3440808176454453020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746030070,"filename":"image_14042025_15_42_09_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33a211118dcd6a06b68ac6bd30aff816.jpg","text":"TemporaryFile(/tmp/multipartBody4985873674108841440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746030070,"filename":"image_14042025_15_41_39_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a23815701544829ede0d004aba18c95d.jpg","text":"TemporaryFile(/tmp/multipartBody1172197449196089732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746030070,"filename":"image_14042025_15_41_55_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/350429bb878ccb286756a6a56211807d.jpg","text":"TemporaryFile(/tmp/multipartBody384818075707416343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746030070,"filename":"image_14042025_15_41_30_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b1c92d69e99aa227dad7e80393fe60c.jpg","text":"TemporaryFile(/tmp/multipartBody3523253321409312527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746030070,"filename":"image_14042025_15_41_43_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350015745","file1":"1350015717","file0":"1350015689","file4":"1350015811","file5":"1350015841","file3":"1350015782"},"map_files_photo_id_array":[{"photo_id":"1350015841","filename":"file5"},{"photo_id":"1350015745","filename":"file2"},{"photo_id":"1350015811","filename":"file4"},{"photo_id":"1350015717","filename":"file1"},{"photo_id":"1350015689","filename":"file0"},{"photo_id":"1350015782","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350015689":["hashtag1","hashtag2"]},{"1350015841":["hashtag1","hashtag2"]},{"1350015745":["hashtag1","hashtag2"]},{"1350015811":["hashtag1","hashtag2"]},{"1350015717":["hashtag1","hashtag2"]},{"1350015782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350015689, 1350015841, 1350015745, 1350015811, 1350015717, 1350015782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.895216941833496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:40:22.634693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_18_2644.jpg', '/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_24_2533.jpg', '/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_28_3641.jpg', '/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_36_2839.jpg', '/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_43_3760.jpg', '/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_48_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_18_2644.jpg
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_24_2533.jpg
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_28_3641.jpg
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_36_2839.jpg
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_43_3760.jpg
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_48_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350016099","1350016129","1350016032","1350016062","1350015981","1350015942"],"photo_ids_order":["1350015942","1350015981","1350016032","1350016062","1350016099","1350016129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7af381984e74be5a8faff72163ed47f1.jpg","text":"TemporaryFile(/tmp/multipartBody5389443957808130414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746085874,"filename":"image_14042025_15_42_43_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39a1d253cad925992425cfec96afc51d.jpg","text":"TemporaryFile(/tmp/multipartBody4713802395863306709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746085874,"filename":"image_14042025_15_42_48_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a60cb184d54b5ef39b280f190aa08da.jpg","text":"TemporaryFile(/tmp/multipartBody6929071280795638395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746085874,"filename":"image_14042025_15_42_28_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f6c85142a219d871353bc1bd72f38dd.jpg","text":"TemporaryFile(/tmp/multipartBody3001667064824642044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746085874,"filename":"image_14042025_15_42_36_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a7388900fd8f9ab97cc2e2c213acb0c.jpg","text":"TemporaryFile(/tmp/multipartBody6820463213375198682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746085874,"filename":"image_14042025_15_42_24_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec5b82e2a8f34cd84043cfaa7fa48ab7.jpg","text":"TemporaryFile(/tmp/multipartBody2517851009200461768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746085874,"filename":"image_14042025_15_42_18_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350016032","file1":"1350015981","file0":"1350015942","file4":"1350016099","file5":"1350016129","file3":"1350016062"},"map_files_photo_id_array":[{"photo_id":"1350016129","filename":"file5"},{"photo_id":"1350016032","filename":"file2"},{"photo_id":"1350016099","filename":"file4"},{"photo_id":"1350015981","filename":"file1"},{"photo_id":"1350015942","filename":"file0"},{"photo_id":"1350016062","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350016099":["hashtag1","hashtag2"]},{"1350016129":["hashtag1","hashtag2"]},{"1350016032":["hashtag1","hashtag2"]},{"1350016062":["hashtag1","hashtag2"]},{"1350015981":["hashtag1","hashtag2"]},{"1350015942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350016099, 1350016129, 1350016032, 1350016062, 1350015981, 1350015942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.32647895812988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:41:22.377947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_52_3666.jpg', '/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_58_3555.jpg', '/home/pi/Desktop/images/14042025/15/42/image_14042025_15_43_00_2671.jpg', '/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_15_2666.jpg', '/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_24_2817.jpg', '/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_28_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_52_3666.jpg
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_42_58_3555.jpg
/home/pi/Desktop/images/14042025/15/42/image_14042025_15_43_00_2671.jpg
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_15_2666.jpg
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_24_2817.jpg
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_28_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350016439","1350016507","1350016569","1350016470","1350016602","1350016539"],"photo_ids_order":["1350016439","1350016470","1350016507","1350016539","1350016569","1350016602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/336973d5f17f6643e8e1aa5fcf47a336.jpg","text":"TemporaryFile(/tmp/multipartBody7646347375220268242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746145395,"filename":"image_14042025_15_42_52_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f77782a7c6b73168137a7d0d2cc29693.jpg","text":"TemporaryFile(/tmp/multipartBody3818881557947212772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746145395,"filename":"image_14042025_15_43_00_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37360b0dd4b48db2261e9b3c745b4d69.jpg","text":"TemporaryFile(/tmp/multipartBody6413051886954583899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746145395,"filename":"image_14042025_15_43_24_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2736b277fd9179258bf60f380dcdcc4a.jpg","text":"TemporaryFile(/tmp/multipartBody3398213378322340996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746145395,"filename":"image_14042025_15_42_58_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8af9352b1672a4a7f919a0ad090da4e.jpg","text":"TemporaryFile(/tmp/multipartBody3338277989610307147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746145395,"filename":"image_14042025_15_43_28_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fccc228d5367f1a7efce4f29c5b7900e.jpg","text":"TemporaryFile(/tmp/multipartBody7290231877644716460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746145395,"filename":"image_14042025_15_43_15_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350016507","file1":"1350016470","file0":"1350016439","file4":"1350016569","file5":"1350016602","file3":"1350016539"},"map_files_photo_id_array":[{"photo_id":"1350016602","filename":"file5"},{"photo_id":"1350016507","filename":"file2"},{"photo_id":"1350016569","filename":"file4"},{"photo_id":"1350016470","filename":"file1"},{"photo_id":"1350016439","filename":"file0"},{"photo_id":"1350016539","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350016439":["hashtag1","hashtag2"]},{"1350016507":["hashtag1","hashtag2"]},{"1350016569":["hashtag1","hashtag2"]},{"1350016470":["hashtag1","hashtag2"]},{"1350016602":["hashtag1","hashtag2"]},{"1350016539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350016439, 1350016507, 1350016569, 1350016470, 1350016602, 1350016539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08547043800354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:42:03.105148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_33_2653.jpg', '/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_37_3679.jpg', '/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_39_2756.jpg', '/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_42_2627.jpg', '/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_45_3513.jpg', '/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_48_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_33_2653.jpg
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_37_3679.jpg
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_39_2756.jpg
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_42_2627.jpg
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_45_3513.jpg
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_43_48_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350016684","1350016831","1350016785","1350016728","1350016679","1350016673"],"photo_ids_order":["1350016673","1350016679","1350016684","1350016728","1350016785","1350016831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca8b02829db18e36ffe6e557953bfc87.jpg","text":"TemporaryFile(/tmp/multipartBody5612077124652531563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746185541,"filename":"image_14042025_15_43_39_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b3379dab42dd37e6012d3e1acffcfdc.jpg","text":"TemporaryFile(/tmp/multipartBody7728398832541602554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746185541,"filename":"image_14042025_15_43_48_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90fbe39298cbe4e7d83e323b0bd1c9c9.jpg","text":"TemporaryFile(/tmp/multipartBody8758340271008640462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746185541,"filename":"image_14042025_15_43_45_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5130496de24984626e28a6a1ab8ced8.jpg","text":"TemporaryFile(/tmp/multipartBody368645640115862258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746185541,"filename":"image_14042025_15_43_42_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ef583af742d1222061e4a30dab335ec.jpg","text":"TemporaryFile(/tmp/multipartBody4214279108372709359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746185541,"filename":"image_14042025_15_43_37_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a96ac9ec0f7cb7006d827fcf99245aa0.jpg","text":"TemporaryFile(/tmp/multipartBody6024225738457064143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746185541,"filename":"image_14042025_15_43_33_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350016684","file1":"1350016679","file0":"1350016673","file4":"1350016785","file5":"1350016831","file3":"1350016728"},"map_files_photo_id_array":[{"photo_id":"1350016831","filename":"file5"},{"photo_id":"1350016684","filename":"file2"},{"photo_id":"1350016785","filename":"file4"},{"photo_id":"1350016679","filename":"file1"},{"photo_id":"1350016673","filename":"file0"},{"photo_id":"1350016728","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350016684":["hashtag1","hashtag2"]},{"1350016831":["hashtag1","hashtag2"]},{"1350016785":["hashtag1","hashtag2"]},{"1350016728":["hashtag1","hashtag2"]},{"1350016679":["hashtag1","hashtag2"]},{"1350016673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350016684, 1350016831, 1350016785, 1350016728, 1350016679, 1350016673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.033589363098145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:42:42.500068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/43/image_14042025_15_44_01_3558.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_09_3581.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_12_2602.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_24_2727.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_28_3893.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_30_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/43/image_14042025_15_44_01_3558.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_09_3581.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_12_2602.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_24_2727.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_28_3893.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_30_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350016942","1350016921","1350016938","1350016932","1350016935","1350016929"],"photo_ids_order":["1350016921","1350016929","1350016932","1350016935","1350016938","1350016942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd411ed1ff5744a42b7edcec9ac4e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody1061095332876250876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746223881,"filename":"image_14042025_15_44_30_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d4b29ada861bc17c9ec0abc771b11bf.jpg","text":"TemporaryFile(/tmp/multipartBody7888219552127261070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746223881,"filename":"image_14042025_15_44_01_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bbca705ec19d288d9f882792bd7aee71.jpg","text":"TemporaryFile(/tmp/multipartBody8761377552925997077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746223881,"filename":"image_14042025_15_44_28_3893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4d6d4c37ec0c572c963e8bf588f531c.jpg","text":"TemporaryFile(/tmp/multipartBody4705362750138048173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746223881,"filename":"image_14042025_15_44_12_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a926bc0d6b235e0fc4d27d7b4932b040.jpg","text":"TemporaryFile(/tmp/multipartBody7433893434397518442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746223881,"filename":"image_14042025_15_44_24_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6600c94fbfa574b7fa12f918f4924226.jpg","text":"TemporaryFile(/tmp/multipartBody5026571342481596413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746223881,"filename":"image_14042025_15_44_09_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350016932","file1":"1350016929","file0":"1350016921","file4":"1350016938","file5":"1350016942","file3":"1350016935"},"map_files_photo_id_array":[{"photo_id":"1350016942","filename":"file5"},{"photo_id":"1350016932","filename":"file2"},{"photo_id":"1350016938","filename":"file4"},{"photo_id":"1350016929","filename":"file1"},{"photo_id":"1350016921","filename":"file0"},{"photo_id":"1350016935","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350016942":["hashtag1","hashtag2"]},{"1350016921":["hashtag1","hashtag2"]},{"1350016938":["hashtag1","hashtag2"]},{"1350016932":["hashtag1","hashtag2"]},{"1350016935":["hashtag1","hashtag2"]},{"1350016929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350016942, 1350016921, 1350016938, 1350016932, 1350016935, 1350016929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18476438522339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:43:22.628677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/28/image_15042025_21_28_47_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/21/28/image_15042025_21_28_47_1612.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350016965"],"photo_id":"1350016965","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96594a3472ab645624d53063f6344607.jpg","text":"TemporaryFile(/tmp/multipartBody3290365719403164629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746263179,"filename":"image_15042025_21_28_47_1612.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350016965"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350016965"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.463808536529541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:43:42.604607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_33_2552.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_37_3602.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_39_2526.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_42_2669.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_48_2677.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_51_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_33_2552.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_37_3602.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_39_2526.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_42_2669.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_48_2677.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_51_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1350016992","1350016989","1350016998","1350016977","1350016985","1350016982"],"photo_ids_order":["1350016977","1350016982","1350016985","1350016989","1350016992","1350016998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/833b6aced6c0d86302bfd33b248a2327.jpg","text":"TemporaryFile(/tmp/multipartBody2279994777175736767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746284196,"filename":"image_14042025_15_44_48_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4920c4d3eb7c46300724af6fbd30ebd.jpg","text":"TemporaryFile(/tmp/multipartBody969465981551657000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746284196,"filename":"image_14042025_15_44_42_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efa9eda12f807941eb77864d5116462f.jpg","text":"TemporaryFile(/tmp/multipartBody5925160227785382842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746284196,"filename":"image_14042025_15_44_51_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/890e7ac357632411d75c71c728c66d3d.jpg","text":"TemporaryFile(/tmp/multipartBody3844635978122365197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746284196,"filename":"image_14042025_15_44_33_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91be67d9285440b9782439a41373a7a6.jpg","text":"TemporaryFile(/tmp/multipartBody5695775662305767013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746284196,"filename":"image_14042025_15_44_39_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/649baca881d70db752ce82c6940237f4.jpg","text":"TemporaryFile(/tmp/multipartBody386255045683681466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746284196,"filename":"image_14042025_15_44_37_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350016985","file1":"1350016982","file0":"1350016977","file4":"1350016992","file5":"1350016998","file3":"1350016989"},"map_files_photo_id_array":[{"photo_id":"1350016998","filename":"file5"},{"photo_id":"1350016985","filename":"file2"},{"photo_id":"1350016992","filename":"file4"},{"photo_id":"1350016982","filename":"file1"},{"photo_id":"1350016977","filename":"file0"},{"photo_id":"1350016989","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350016992":["hashtag1","hashtag2"]},{"1350016989":["hashtag1","hashtag2"]},{"1350016998":["hashtag1","hashtag2"]},{"1350016977":["hashtag1","hashtag2"]},{"1350016985":["hashtag1","hashtag2"]},{"1350016982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350016992, 1350016989, 1350016998, 1350016977, 1350016985, 1350016982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32200312614441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:44:42.534780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_57_2565.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_45_00_3609.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_06_2791.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_09_2772.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_15_2697.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_18_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_57_2565.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_45_00_3609.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_06_2791.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_09_2772.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_15_2697.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_18_2703.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2830686569213867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:45:04.128620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:45:22.702286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_57_2565.jpg', '/home/pi/Desktop/images/14042025/15/44/image_14042025_15_45_00_3609.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_06_2791.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_09_2772.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_15_2697.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_18_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_44_57_2565.jpg
/home/pi/Desktop/images/14042025/15/44/image_14042025_15_45_00_3609.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_06_2791.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_09_2772.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_15_2697.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_18_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350017190","1350017382","1350017093","1350017075","1350017468","1350017287"],"photo_ids_order":["1350017075","1350017093","1350017190","1350017287","1350017382","1350017468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21346494966dbf21c7989b47bf26dc19.jpg","text":"TemporaryFile(/tmp/multipartBody5883355258738145947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746386044,"filename":"image_14042025_15_45_06_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64663b962d03531183f7cc2bf778e23b.jpg","text":"TemporaryFile(/tmp/multipartBody11380166881142721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746386044,"filename":"image_14042025_15_45_15_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2391cb6d10e585e4db4d01f3e6b5d04.jpg","text":"TemporaryFile(/tmp/multipartBody7440266670132848012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746386044,"filename":"image_14042025_15_45_00_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fcc2576582226f9a7eaa37a7cf836df4.jpg","text":"TemporaryFile(/tmp/multipartBody8185218860831699496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746386044,"filename":"image_14042025_15_44_57_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8312683baf5f1ef3cd51249e0549bc1.jpg","text":"TemporaryFile(/tmp/multipartBody3493404173377370284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746386044,"filename":"image_14042025_15_45_18_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee3b92f422f8384b74f380232486ac24.jpg","text":"TemporaryFile(/tmp/multipartBody1217079124590672869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746386044,"filename":"image_14042025_15_45_09_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350017190","file1":"1350017093","file0":"1350017075","file4":"1350017382","file5":"1350017468","file3":"1350017287"},"map_files_photo_id_array":[{"photo_id":"1350017468","filename":"file5"},{"photo_id":"1350017190","filename":"file2"},{"photo_id":"1350017382","filename":"file4"},{"photo_id":"1350017093","filename":"file1"},{"photo_id":"1350017075","filename":"file0"},{"photo_id":"1350017287","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350017190":["hashtag1","hashtag2"]},{"1350017382":["hashtag1","hashtag2"]},{"1350017093":["hashtag1","hashtag2"]},{"1350017075":["hashtag1","hashtag2"]},{"1350017468":["hashtag1","hashtag2"]},{"1350017287":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350017190, 1350017382, 1350017093, 1350017075, 1350017468, 1350017287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05061364173889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:46:02.569687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_21_3793.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_24_2776.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_30_2746.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_33_3702.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_36_2540.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_45_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_21_3793.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_24_2776.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_30_2746.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_33_3702.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_36_2540.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_45_2783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350018205","1350017812","1350018170","1350017984","1350018079","1350017896"],"photo_ids_order":["1350017812","1350017896","1350017984","1350018079","1350018170","1350018205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e530f66bae33738bf60e8a0d546ae8ad.jpg","text":"TemporaryFile(/tmp/multipartBody4473897073034333794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746425012,"filename":"image_14042025_15_45_45_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8827579dc2d119dd66a1b986ce5ebae.jpg","text":"TemporaryFile(/tmp/multipartBody4370353796723463306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746425012,"filename":"image_14042025_15_45_21_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2fcd5b05c95c6a1d60b6866daccbab5.jpg","text":"TemporaryFile(/tmp/multipartBody5892181534668121994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746425012,"filename":"image_14042025_15_45_36_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5e44f5f3dd23a7e9af0bc0e9958e971.jpg","text":"TemporaryFile(/tmp/multipartBody3308116510548501126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746425012,"filename":"image_14042025_15_45_30_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05c37af4ec042467e4ba2c82f03f107f.jpg","text":"TemporaryFile(/tmp/multipartBody8815970782812575081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746425012,"filename":"image_14042025_15_45_33_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e005294b62b98f02209825c9d86e2de6.jpg","text":"TemporaryFile(/tmp/multipartBody8827461561920847991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746425012,"filename":"image_14042025_15_45_24_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350017984","file1":"1350017896","file0":"1350017812","file4":"1350018170","file5":"1350018205","file3":"1350018079"},"map_files_photo_id_array":[{"photo_id":"1350018205","filename":"file5"},{"photo_id":"1350017984","filename":"file2"},{"photo_id":"1350018170","filename":"file4"},{"photo_id":"1350017896","filename":"file1"},{"photo_id":"1350017812","filename":"file0"},{"photo_id":"1350018079","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350018205":["hashtag1","hashtag2"]},{"1350017812":["hashtag1","hashtag2"]},{"1350018170":["hashtag1","hashtag2"]},{"1350017984":["hashtag1","hashtag2"]},{"1350018079":["hashtag1","hashtag2"]},{"1350017896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350018205, 1350017812, 1350018170, 1350017984, 1350018079, 1350017896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89442420005798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:46:42.024437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_48_2599.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_57_2649.jpg', '/home/pi/Desktop/images/14042025/15/45/image_14042025_15_46_00_3573.jpg', '/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_15_2674.jpg', '/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_18_3602.jpg', '/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_27_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_48_2599.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_45_57_2649.jpg
/home/pi/Desktop/images/14042025/15/45/image_14042025_15_46_00_3573.jpg
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_15_2674.jpg
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_18_3602.jpg
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_27_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350018217","1350018226","1350018234","1350018237","1350018222","1350018242"],"photo_ids_order":["1350018217","1350018222","1350018226","1350018234","1350018237","1350018242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a968b165f70e939a9b9c59a99413c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8904031853426125001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746463460,"filename":"image_14042025_15_45_48_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6625cf38e82df533be50e0c44b956361.jpg","text":"TemporaryFile(/tmp/multipartBody2213170023804550322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746463460,"filename":"image_14042025_15_46_00_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbb2e98b9adc05c2fc31c23c5cbb609c.jpg","text":"TemporaryFile(/tmp/multipartBody970381510990635132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746463460,"filename":"image_14042025_15_46_15_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5796cb2cf620394cf587a9ba1d7000fa.jpg","text":"TemporaryFile(/tmp/multipartBody5209484092707683893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746463460,"filename":"image_14042025_15_46_18_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/061d597a5d8aa87a4eb51485dbad63aa.jpg","text":"TemporaryFile(/tmp/multipartBody4250950547938924644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746463460,"filename":"image_14042025_15_45_57_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17445a871462dbbc973cdacf4f74f38a.jpg","text":"TemporaryFile(/tmp/multipartBody4278063197305272362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746463460,"filename":"image_14042025_15_46_27_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350018226","file1":"1350018222","file0":"1350018217","file4":"1350018237","file5":"1350018242","file3":"1350018234"},"map_files_photo_id_array":[{"photo_id":"1350018242","filename":"file5"},{"photo_id":"1350018226","filename":"file2"},{"photo_id":"1350018237","filename":"file4"},{"photo_id":"1350018222","filename":"file1"},{"photo_id":"1350018217","filename":"file0"},{"photo_id":"1350018234","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350018217":["hashtag1","hashtag2"]},{"1350018226":["hashtag1","hashtag2"]},{"1350018234":["hashtag1","hashtag2"]},{"1350018237":["hashtag1","hashtag2"]},{"1350018222":["hashtag1","hashtag2"]},{"1350018242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350018217, 1350018226, 1350018234, 1350018237, 1350018222, 1350018242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06407427787781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:47:22.453583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_30_2826.jpg', '/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_33_2583.jpg', '/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_36_3714.jpg', '/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_42_2644.jpg', '/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_48_2903.jpg', '/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_51_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_30_2826.jpg
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_33_2583.jpg
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_36_3714.jpg
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_42_2644.jpg
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_48_2903.jpg
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_51_2526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350018258","1350018273","1350018408","1350018302","1350018268","1350018262"],"photo_ids_order":["1350018258","1350018262","1350018268","1350018273","1350018302","1350018408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8622e7e47354501dfdf6c0496cb8b01c.jpg","text":"TemporaryFile(/tmp/multipartBody8831820889604532141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746505509,"filename":"image_14042025_15_46_30_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/baae7f615cc4f2208af37db51144a69d.jpg","text":"TemporaryFile(/tmp/multipartBody7279440737358978812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746505509,"filename":"image_14042025_15_46_42_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25eeb72a6380a2f21c407be7e12d869f.jpg","text":"TemporaryFile(/tmp/multipartBody7738803398675443330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746505509,"filename":"image_14042025_15_46_51_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87d74994aa71cc3cdd82661b6a4aadf8.jpg","text":"TemporaryFile(/tmp/multipartBody1220534560424932753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746505509,"filename":"image_14042025_15_46_48_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a043309c700772c29f4c91b32daf1d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7258806863956028534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746505509,"filename":"image_14042025_15_46_36_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f544740174e06506057ccd443ea1419.jpg","text":"TemporaryFile(/tmp/multipartBody1031055036781740681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746505509,"filename":"image_14042025_15_46_33_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350018268","file1":"1350018262","file0":"1350018258","file4":"1350018302","file5":"1350018408","file3":"1350018273"},"map_files_photo_id_array":[{"photo_id":"1350018408","filename":"file5"},{"photo_id":"1350018268","filename":"file2"},{"photo_id":"1350018302","filename":"file4"},{"photo_id":"1350018262","filename":"file1"},{"photo_id":"1350018258","filename":"file0"},{"photo_id":"1350018273","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350018258":["hashtag1","hashtag2"]},{"1350018273":["hashtag1","hashtag2"]},{"1350018408":["hashtag1","hashtag2"]},{"1350018302":["hashtag1","hashtag2"]},{"1350018268":["hashtag1","hashtag2"]},{"1350018262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350018258, 1350018273, 1350018408, 1350018302, 1350018268, 1350018262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.478870153427124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:48:02.998576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_54_3597.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_03_3666.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_06_2609.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_12_3603.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_27_2588.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_33_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_54_3597.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_03_3666.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_06_2609.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_12_3603.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_27_2588.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_33_3635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.4190356731414795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:48:22.498502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_54_3597.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_03_3666.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_06_2609.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_12_3603.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_27_2588.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_33_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/46/image_14042025_15_46_54_3597.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_03_3666.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_06_2609.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_12_3603.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_27_2588.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_33_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350018861","1350018983","1350018890","1350018950","1350019022","1350018920"],"photo_ids_order":["1350018861","1350018890","1350018920","1350018950","1350018983","1350019022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c809bd19b25032a582c03f33fde34552.jpg","text":"TemporaryFile(/tmp/multipartBody1613862102454456350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746565590,"filename":"image_14042025_15_46_54_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7872d55e928bb591baf1d60d2b7f0ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1558492520829178841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746565590,"filename":"image_14042025_15_47_27_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04a838f3621f37b3345386cd76a57a5d.jpg","text":"TemporaryFile(/tmp/multipartBody6046255776193988628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746565590,"filename":"image_14042025_15_47_03_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ce064b4e9cc38881f909ea1f221aa52.jpg","text":"TemporaryFile(/tmp/multipartBody7147366948640660561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746565590,"filename":"image_14042025_15_47_12_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a787a6908f8dd1620aaf79a7010b6e3.jpg","text":"TemporaryFile(/tmp/multipartBody6410051478154281270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746565590,"filename":"image_14042025_15_47_33_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e91e42dee5cc64c4d418dc502c0d9334.jpg","text":"TemporaryFile(/tmp/multipartBody3479698864136739567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746565590,"filename":"image_14042025_15_47_06_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350018920","file1":"1350018890","file0":"1350018861","file4":"1350018983","file5":"1350019022","file3":"1350018950"},"map_files_photo_id_array":[{"photo_id":"1350019022","filename":"file5"},{"photo_id":"1350018920","filename":"file2"},{"photo_id":"1350018983","filename":"file4"},{"photo_id":"1350018890","filename":"file1"},{"photo_id":"1350018861","filename":"file0"},{"photo_id":"1350018950","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350018861":["hashtag1","hashtag2"]},{"1350018983":["hashtag1","hashtag2"]},{"1350018890":["hashtag1","hashtag2"]},{"1350018950":["hashtag1","hashtag2"]},{"1350019022":["hashtag1","hashtag2"]},{"1350018920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350018861, 1350018983, 1350018890, 1350018950, 1350019022, 1350018920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6112904548645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:49:03.579017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_36_2606.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_42_2602.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_45_2622.jpg', '/home/pi/Desktop/images/14042025/15/47/image_14042025_15_48_00_2765.jpg', '/home/pi/Desktop/images/14042025/15/48/image_14042025_15_48_15_3678.jpg', '/home/pi/Desktop/images/14042025/15/48/image_14042025_15_48_21_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_36_2606.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_42_2602.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_47_45_2622.jpg
/home/pi/Desktop/images/14042025/15/47/image_14042025_15_48_00_2765.jpg
/home/pi/Desktop/images/14042025/15/48/image_14042025_15_48_15_3678.jpg
/home/pi/Desktop/images/14042025/15/48/image_14042025_15_48_21_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019278","1350019239","1350019187","1350019244","1350019051","1350019089"],"photo_ids_order":["1350019051","1350019089","1350019187","1350019239","1350019244","1350019278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca1a5c536d957e436ac3acb69a6cae55.jpg","text":"TemporaryFile(/tmp/multipartBody5951356647338660866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746606306,"filename":"image_14042025_15_48_21_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/738600c4c73f44865d392088ec92f249.jpg","text":"TemporaryFile(/tmp/multipartBody5814829591182776729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746606306,"filename":"image_14042025_15_48_00_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e31d30bdd1c5f29a0350f8acd0cdd7ab.jpg","text":"TemporaryFile(/tmp/multipartBody4500925205452658445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746606306,"filename":"image_14042025_15_47_45_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3b8d40f650fe91329527eeb445a64bf.jpg","text":"TemporaryFile(/tmp/multipartBody757300428899250847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746606306,"filename":"image_14042025_15_48_15_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbd650b89096ee3ee6a87d78ba83ed18.jpg","text":"TemporaryFile(/tmp/multipartBody2868134014762945656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746606306,"filename":"image_14042025_15_47_36_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed45f833e0deb15ca6cc12cdc317bc3f.jpg","text":"TemporaryFile(/tmp/multipartBody8360934934314642939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746606306,"filename":"image_14042025_15_47_42_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350019187","file1":"1350019089","file0":"1350019051","file4":"1350019244","file5":"1350019278","file3":"1350019239"},"map_files_photo_id_array":[{"photo_id":"1350019278","filename":"file5"},{"photo_id":"1350019187","filename":"file2"},{"photo_id":"1350019244","filename":"file4"},{"photo_id":"1350019089","filename":"file1"},{"photo_id":"1350019051","filename":"file0"},{"photo_id":"1350019239","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350019278":["hashtag1","hashtag2"]},{"1350019239":["hashtag1","hashtag2"]},{"1350019187":["hashtag1","hashtag2"]},{"1350019244":["hashtag1","hashtag2"]},{"1350019051":["hashtag1","hashtag2"]},{"1350019089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350019278, 1350019239, 1350019187, 1350019244, 1350019051, 1350019089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66767692565918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:49:42.549122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/48/image_14042025_15_48_24_3514.jpg', '/home/pi/Desktop/images/14042025/15/48/image_14042025_15_48_59_2635.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_06_2767.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_09_2593.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_26_2668.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_29_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/48/image_14042025_15_48_24_3514.jpg
/home/pi/Desktop/images/14042025/15/48/image_14042025_15_48_59_2635.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_06_2767.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_09_2593.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_26_2668.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_29_2797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019298","1350019361","1350019349","1350019319","1350019333","1350019327"],"photo_ids_order":["1350019298","1350019319","1350019327","1350019333","1350019349","1350019361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b5ce5e465006bf1f178c590ec1c84a6.jpg","text":"TemporaryFile(/tmp/multipartBody2646418888838184799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746643949,"filename":"image_14042025_15_48_24_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59a5be722a16f82e8bbddfaa1bab4e96.jpg","text":"TemporaryFile(/tmp/multipartBody9093463417858412643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746643949,"filename":"image_14042025_15_49_29_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f449a0241ed2f5236e7956650447de11.jpg","text":"TemporaryFile(/tmp/multipartBody7181502221897439319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746643949,"filename":"image_14042025_15_49_26_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eef8b9a1e9ea9011d835c985032d9384.jpg","text":"TemporaryFile(/tmp/multipartBody8353388634651743356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746643949,"filename":"image_14042025_15_48_59_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e0f0eb9913b81f711d67fd87b3767be.jpg","text":"TemporaryFile(/tmp/multipartBody6342630880900284758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746643949,"filename":"image_14042025_15_49_09_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac660a565c9e3bd781ae7ed6ae46d69e.jpg","text":"TemporaryFile(/tmp/multipartBody120634347360460533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746643949,"filename":"image_14042025_15_49_06_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350019327","file1":"1350019319","file0":"1350019298","file4":"1350019349","file5":"1350019361","file3":"1350019333"},"map_files_photo_id_array":[{"photo_id":"1350019361","filename":"file5"},{"photo_id":"1350019327","filename":"file2"},{"photo_id":"1350019349","filename":"file4"},{"photo_id":"1350019319","filename":"file1"},{"photo_id":"1350019298","filename":"file0"},{"photo_id":"1350019333","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350019298":["hashtag1","hashtag2"]},{"1350019361":["hashtag1","hashtag2"]},{"1350019349":["hashtag1","hashtag2"]},{"1350019319":["hashtag1","hashtag2"]},{"1350019333":["hashtag1","hashtag2"]},{"1350019327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350019298, 1350019361, 1350019349, 1350019319, 1350019333, 1350019327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88921093940735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:50:22.704068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_33_3684.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_36_2677.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_38_2519.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_44_2596.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_47_2669.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_51_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_33_3684.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_36_2677.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_38_2519.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_44_2596.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_47_2669.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_51_3573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019653","1350019623","1350019448","1350019591","1350019538","1350019479"],"photo_ids_order":["1350019448","1350019479","1350019538","1350019591","1350019623","1350019653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1df5487278fc3d43c039e10192f2f753.jpg","text":"TemporaryFile(/tmp/multipartBody337058945951229871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746685730,"filename":"image_14042025_15_49_51_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2ca162d4074053c1b2871224f71c62b.jpg","text":"TemporaryFile(/tmp/multipartBody5417821665571401551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746685730,"filename":"image_14042025_15_49_47_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74e4ee3ec3fb29f785523db163345f04.jpg","text":"TemporaryFile(/tmp/multipartBody7677865231766583748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746685730,"filename":"image_14042025_15_49_33_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f35c815b20c5dbba100b6a22e8c66304.jpg","text":"TemporaryFile(/tmp/multipartBody3478074027703684759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746685730,"filename":"image_14042025_15_49_44_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5f511b9b97eff4faa1dd2cef5d1616c.jpg","text":"TemporaryFile(/tmp/multipartBody5402197263661446399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746685730,"filename":"image_14042025_15_49_38_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0c4ee69361ba5ac5133f5c0a5a56ac7a.jpg","text":"TemporaryFile(/tmp/multipartBody377819325223375278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746685730,"filename":"image_14042025_15_49_36_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350019538","file1":"1350019479","file0":"1350019448","file4":"1350019623","file5":"1350019653","file3":"1350019591"},"map_files_photo_id_array":[{"photo_id":"1350019653","filename":"file5"},{"photo_id":"1350019538","filename":"file2"},{"photo_id":"1350019623","filename":"file4"},{"photo_id":"1350019479","filename":"file1"},{"photo_id":"1350019448","filename":"file0"},{"photo_id":"1350019591","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350019653":["hashtag1","hashtag2"]},{"1350019623":["hashtag1","hashtag2"]},{"1350019448":["hashtag1","hashtag2"]},{"1350019591":["hashtag1","hashtag2"]},{"1350019538":["hashtag1","hashtag2"]},{"1350019479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350019653, 1350019623, 1350019448, 1350019591, 1350019538, 1350019479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12226223945618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:51:02.721490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_53_2576.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_57_3713.jpg', '/home/pi/Desktop/images/14042025/15/49/image_14042025_15_50_00_2615.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_03_3012.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_05_2701.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_09_3763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_53_2576.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_49_57_3713.jpg
/home/pi/Desktop/images/14042025/15/49/image_14042025_15_50_00_2615.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_03_3012.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_05_2701.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_09_3763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019755","1350019737","1350019742","1350019751","1350019747","1350019732"],"photo_ids_order":["1350019732","1350019737","1350019742","1350019747","1350019751","1350019755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/994b48bb4f01c7f3c8081ec879c0abeb.jpg","text":"TemporaryFile(/tmp/multipartBody6250709804696347189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746725296,"filename":"image_14042025_15_50_09_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c42ddc9bfaa654b01402a681bbd36da.jpg","text":"TemporaryFile(/tmp/multipartBody2490571742378477671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746725296,"filename":"image_14042025_15_49_57_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/573b4b4bc7128053c87415c87549a5d7.jpg","text":"TemporaryFile(/tmp/multipartBody7152847359902283959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746725296,"filename":"image_14042025_15_50_00_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99aeab149a43b232f601323554397598.jpg","text":"TemporaryFile(/tmp/multipartBody7819561683663454555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746725296,"filename":"image_14042025_15_50_05_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/abdfb6788a92eed388663ad735385d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3774188046750273134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746725296,"filename":"image_14042025_15_50_03_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df607a4dfbb48870ad884993ad5675e5.jpg","text":"TemporaryFile(/tmp/multipartBody4876406558342910570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746725296,"filename":"image_14042025_15_49_53_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350019742","file1":"1350019737","file0":"1350019732","file4":"1350019751","file5":"1350019755","file3":"1350019747"},"map_files_photo_id_array":[{"photo_id":"1350019755","filename":"file5"},{"photo_id":"1350019742","filename":"file2"},{"photo_id":"1350019751","filename":"file4"},{"photo_id":"1350019737","filename":"file1"},{"photo_id":"1350019732","filename":"file0"},{"photo_id":"1350019747","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350019755":["hashtag1","hashtag2"]},{"1350019737":["hashtag1","hashtag2"]},{"1350019742":["hashtag1","hashtag2"]},{"1350019751":["hashtag1","hashtag2"]},{"1350019747":["hashtag1","hashtag2"]},{"1350019732":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350019755, 1350019737, 1350019742, 1350019751, 1350019747, 1350019732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78516745567322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:51:42.092204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_12_2570.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_14_2564.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_17_2848.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_21_3575.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_24_2865.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_26_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_12_2570.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_14_2564.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_17_2848.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_21_3575.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_24_2865.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_26_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019785","1350019772","1350019781","1350019765","1350019777","1350019788"],"photo_ids_order":["1350019765","1350019772","1350019777","1350019781","1350019785","1350019788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c841273f992ca48f078f4ff0fe222561.jpg","text":"TemporaryFile(/tmp/multipartBody5721018075007582688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746763540,"filename":"image_14042025_15_50_24_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c99ac2d8d8794fc9db88ad9df609ef6f.jpg","text":"TemporaryFile(/tmp/multipartBody104268553551433190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746763540,"filename":"image_14042025_15_50_14_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0303ac8f8d258a1778d3875ccb090e95.jpg","text":"TemporaryFile(/tmp/multipartBody4506237151953273591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746763540,"filename":"image_14042025_15_50_21_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a27763a8b6ff4587964b2d31b02f93e.jpg","text":"TemporaryFile(/tmp/multipartBody2592249240710009590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746763540,"filename":"image_14042025_15_50_12_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0ecdaf3abf831bfda36a5184ef67c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3043816156862021104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746763540,"filename":"image_14042025_15_50_17_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c547ea7c9a0823a2c66208e010bfad2b.jpg","text":"TemporaryFile(/tmp/multipartBody2600187319264896377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746763540,"filename":"image_14042025_15_50_26_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350019777","file1":"1350019772","file0":"1350019765","file4":"1350019785","file5":"1350019788","file3":"1350019781"},"map_files_photo_id_array":[{"photo_id":"1350019788","filename":"file5"},{"photo_id":"1350019777","filename":"file2"},{"photo_id":"1350019785","filename":"file4"},{"photo_id":"1350019772","filename":"file1"},{"photo_id":"1350019765","filename":"file0"},{"photo_id":"1350019781","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350019785":["hashtag1","hashtag2"]},{"1350019772":["hashtag1","hashtag2"]},{"1350019781":["hashtag1","hashtag2"]},{"1350019765":["hashtag1","hashtag2"]},{"1350019777":["hashtag1","hashtag2"]},{"1350019788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350019785, 1350019772, 1350019781, 1350019765, 1350019777, 1350019788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.312915563583374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:52:22.129356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_30_3795.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_33_2695.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_35_2678.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_39_3640.jpg', '/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_53_2545.jpg', '/home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_12_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_30_3795.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_33_2695.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_35_2678.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_39_3640.jpg
/home/pi/Desktop/images/14042025/15/50/image_14042025_15_50_53_2545.jpg
/home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_12_2830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350019791","1350020008","1350019800","1350020016","1350019999","1350019795"],"photo_ids_order":["1350019791","1350019795","1350019800","1350019999","1350020008","1350020016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1fe1727420cb1fcbfb771b554d19afd7.jpg","text":"TemporaryFile(/tmp/multipartBody8906174997606904993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746805190,"filename":"image_14042025_15_50_30_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c4d70ead13fe113bf5b4b728bd593ce.jpg","text":"TemporaryFile(/tmp/multipartBody4212137366217562589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746805190,"filename":"image_14042025_15_50_53_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2f1bec4cbde32fece058fd33da59b26.jpg","text":"TemporaryFile(/tmp/multipartBody5661314250820046638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746805190,"filename":"image_14042025_15_50_35_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/057256416aff2a13e8e8c0ac372f3f75.jpg","text":"TemporaryFile(/tmp/multipartBody7856561274808416723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746805190,"filename":"image_14042025_15_51_12_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1464649e961a2b8a8a913a3dbc05e39.jpg","text":"TemporaryFile(/tmp/multipartBody1977163458337500007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746805190,"filename":"image_14042025_15_50_39_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cbccd6ca839825e45d3cf3bed4c1d21.jpg","text":"TemporaryFile(/tmp/multipartBody8147699552236536095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746805190,"filename":"image_14042025_15_50_33_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350019800","file1":"1350019795","file0":"1350019791","file4":"1350020008","file5":"1350020016","file3":"1350019999"},"map_files_photo_id_array":[{"photo_id":"1350020016","filename":"file5"},{"photo_id":"1350019800","filename":"file2"},{"photo_id":"1350020008","filename":"file4"},{"photo_id":"1350019795","filename":"file1"},{"photo_id":"1350019791","filename":"file0"},{"photo_id":"1350019999","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350019791":["hashtag1","hashtag2"]},{"1350020008":["hashtag1","hashtag2"]},{"1350019800":["hashtag1","hashtag2"]},{"1350020016":["hashtag1","hashtag2"]},{"1350019999":["hashtag1","hashtag2"]},{"1350019795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350019791, 1350020008, 1350019800, 1350020016, 1350019999, 1350019795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24606227874756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:53:02.922924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_21_3695.jpg', '/home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_30_3674.jpg', '/home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_09_3696.jpg', '/home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_18_3653.jpg', '/home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_41_2559.jpg', '/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_05_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_21_3695.jpg
/home/pi/Desktop/images/14042025/15/51/image_14042025_15_51_30_3674.jpg
/home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_09_3696.jpg
/home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_18_3653.jpg
/home/pi/Desktop/images/14042025/15/52/image_14042025_15_52_41_2559.jpg
/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_05_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350020101","1350020171","1350020072","1350020147","1350020152","1350020074"],"photo_ids_order":["1350020072","1350020074","1350020101","1350020147","1350020152","1350020171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/836a1eb5987b6010e4fa163f51e1ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody6006745843541766597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746845470,"filename":"image_14042025_15_52_09_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ffc5a33cb4907b946ae99963237d624.jpg","text":"TemporaryFile(/tmp/multipartBody7391107911298280756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746845470,"filename":"image_14042025_15_53_05_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2c90d5a10cc5c4c38cfb082a7ea8499.jpg","text":"TemporaryFile(/tmp/multipartBody7549187502048407438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746845470,"filename":"image_14042025_15_51_21_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bca230b4bc1f6907895376d5f833e880.jpg","text":"TemporaryFile(/tmp/multipartBody8609284139137266644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746845470,"filename":"image_14042025_15_52_18_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98e0f7ff0bee338a77a883a9b10e437e.jpg","text":"TemporaryFile(/tmp/multipartBody6869433250754570089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746845470,"filename":"image_14042025_15_52_41_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1054d6a88c3afdcea6cce4474bf42fb.jpg","text":"TemporaryFile(/tmp/multipartBody2433067527126016005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746845470,"filename":"image_14042025_15_51_30_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350020101","file1":"1350020074","file0":"1350020072","file4":"1350020152","file5":"1350020171","file3":"1350020147"},"map_files_photo_id_array":[{"photo_id":"1350020171","filename":"file5"},{"photo_id":"1350020101","filename":"file2"},{"photo_id":"1350020152","filename":"file4"},{"photo_id":"1350020074","filename":"file1"},{"photo_id":"1350020072","filename":"file0"},{"photo_id":"1350020147","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350020101":["hashtag1","hashtag2"]},{"1350020171":["hashtag1","hashtag2"]},{"1350020072":["hashtag1","hashtag2"]},{"1350020147":["hashtag1","hashtag2"]},{"1350020152":["hashtag1","hashtag2"]},{"1350020074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350020101, 1350020171, 1350020072, 1350020147, 1350020152, 1350020074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69120144844055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:53:42.081438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_41_2668.jpg', '/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_44_2922.jpg', '/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_47_2768.jpg', '/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_56_2591.jpg', '/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_14_2989.jpg', '/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_23_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_41_2668.jpg
/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_44_2922.jpg
/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_47_2768.jpg
/home/pi/Desktop/images/14042025/15/53/image_14042025_15_53_56_2591.jpg
/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_14_2989.jpg
/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_23_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350020227","1350020221","1350020209","1350020202","1350020216","1350020224"],"photo_ids_order":["1350020202","1350020209","1350020216","1350020221","1350020224","1350020227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5343aad1d21b2599837980f65386b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody4503513511789325686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746883494,"filename":"image_14042025_15_54_23_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad17e9eba03a9463de81c113c818cf94.jpg","text":"TemporaryFile(/tmp/multipartBody8051938706509519972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746883494,"filename":"image_14042025_15_53_56_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2d05cfb2b068fc01c310947faf722f9.jpg","text":"TemporaryFile(/tmp/multipartBody4025311619308609596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746883494,"filename":"image_14042025_15_53_44_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7603c48677b581e9ceb4d9c4990d5432.jpg","text":"TemporaryFile(/tmp/multipartBody1668880656866291867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746883494,"filename":"image_14042025_15_53_41_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81ad14c8ec426723ca4fe6be8115d92f.jpg","text":"TemporaryFile(/tmp/multipartBody6086157107390604813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746883494,"filename":"image_14042025_15_53_47_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de8d6f713f72c3aa97cdb0a5245f099e.jpg","text":"TemporaryFile(/tmp/multipartBody6400108693094879153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746883494,"filename":"image_14042025_15_54_14_2989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350020216","file1":"1350020209","file0":"1350020202","file4":"1350020224","file5":"1350020227","file3":"1350020221"},"map_files_photo_id_array":[{"photo_id":"1350020227","filename":"file5"},{"photo_id":"1350020216","filename":"file2"},{"photo_id":"1350020224","filename":"file4"},{"photo_id":"1350020209","filename":"file1"},{"photo_id":"1350020202","filename":"file0"},{"photo_id":"1350020221","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350020227":["hashtag1","hashtag2"]},{"1350020221":["hashtag1","hashtag2"]},{"1350020209":["hashtag1","hashtag2"]},{"1350020202":["hashtag1","hashtag2"]},{"1350020216":["hashtag1","hashtag2"]},{"1350020224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350020227, 1350020221, 1350020209, 1350020202, 1350020216, 1350020224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61109638214111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:54:21.904488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_44_3620.jpg', '/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_50_2707.jpg', '/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_17_2841.jpg', '/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_38_2670.jpg', '/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_44_2787.jpg', '/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_53_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_44_3620.jpg
/home/pi/Desktop/images/14042025/15/54/image_14042025_15_54_50_2707.jpg
/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_17_2841.jpg
/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_38_2670.jpg
/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_44_2787.jpg
/home/pi/Desktop/images/14042025/15/55/image_14042025_15_55_53_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350020236","1350020241","1350020265","1350020258","1350020246","1350020251"],"photo_ids_order":["1350020236","1350020241","1350020246","1350020251","1350020258","1350020265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f63c0820db52cb4a7c71f555d7e1e66.jpg","text":"TemporaryFile(/tmp/multipartBody4409665745979456997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746924966,"filename":"image_14042025_15_54_44_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b6aa481d31886efa4b02beec618a54a.jpg","text":"TemporaryFile(/tmp/multipartBody7975603952493878910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746924966,"filename":"image_14042025_15_54_50_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f791fdaec7e9b9a59b342a0c8b99005.jpg","text":"TemporaryFile(/tmp/multipartBody5785181439648952922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746924966,"filename":"image_14042025_15_55_53_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8b25a704a351266c4d7a255fd9dada6.jpg","text":"TemporaryFile(/tmp/multipartBody6349021661713263794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746924966,"filename":"image_14042025_15_55_44_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c53c79f4a894a1634dc5b52fc458c607.jpg","text":"TemporaryFile(/tmp/multipartBody1506220491383492169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746924966,"filename":"image_14042025_15_55_17_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c70197a942e775fe166750a6e5153b4f.jpg","text":"TemporaryFile(/tmp/multipartBody6740156240664795787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744746924966,"filename":"image_14042025_15_55_38_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350020246","file1":"1350020241","file0":"1350020236","file4":"1350020258","file5":"1350020265","file3":"1350020251"},"map_files_photo_id_array":[{"photo_id":"1350020265","filename":"file5"},{"photo_id":"1350020246","filename":"file2"},{"photo_id":"1350020258","filename":"file4"},{"photo_id":"1350020241","filename":"file1"},{"photo_id":"1350020236","filename":"file0"},{"photo_id":"1350020251","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350020236":["hashtag1","hashtag2"]},{"1350020241":["hashtag1","hashtag2"]},{"1350020265":["hashtag1","hashtag2"]},{"1350020258":["hashtag1","hashtag2"]},{"1350020246":["hashtag1","hashtag2"]},{"1350020251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350020236, 1350020241, 1350020265, 1350020258, 1350020246, 1350020251)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.64849257469177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:55:22.690277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:55:42.684614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/56/image_14042025_15_56_05_2804.jpg', '/home/pi/Desktop/images/14042025/15/56/image_14042025_15_56_19_2677.jpg', '/home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_17_3679.jpg', '/home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_20_2702.jpg', '/home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_29_3541.jpg', '/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_02_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/56/image_14042025_15_56_05_2804.jpg
/home/pi/Desktop/images/14042025/15/56/image_14042025_15_56_19_2677.jpg
/home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_17_3679.jpg
/home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_20_2702.jpg
/home/pi/Desktop/images/14042025/15/57/image_14042025_15_57_29_3541.jpg
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_02_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350020419","1350020413","1350020588","1350020429","1350020671","1350020488"],"photo_ids_order":["1350020413","1350020419","1350020429","1350020488","1350020588","1350020671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fea9db02b4bce8e741c41a6d3c98a4a5.jpg","text":"TemporaryFile(/tmp/multipartBody5744724516401278935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747004103,"filename":"image_14042025_15_56_19_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0617e7821de553e38a2e1e3f501c57cc.jpg","text":"TemporaryFile(/tmp/multipartBody2058568830393916920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747004103,"filename":"image_14042025_15_56_05_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2fd6fc48258075922de34aff1f6e547.jpg","text":"TemporaryFile(/tmp/multipartBody5145803707663603253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747004103,"filename":"image_14042025_15_57_29_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dfde76b218054db64b04b4199ce5f5d3.jpg","text":"TemporaryFile(/tmp/multipartBody884376353288332385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747004103,"filename":"image_14042025_15_57_17_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/296c4b72e47dcd65b0ca0897bb3e2693.jpg","text":"TemporaryFile(/tmp/multipartBody304792481521275432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747004103,"filename":"image_14042025_15_58_02_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8533a5831804a470507e53c495b12b6f.jpg","text":"TemporaryFile(/tmp/multipartBody6485475337100863579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747004103,"filename":"image_14042025_15_57_20_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350020429","file1":"1350020419","file0":"1350020413","file4":"1350020588","file5":"1350020671","file3":"1350020488"},"map_files_photo_id_array":[{"photo_id":"1350020671","filename":"file5"},{"photo_id":"1350020429","filename":"file2"},{"photo_id":"1350020588","filename":"file4"},{"photo_id":"1350020419","filename":"file1"},{"photo_id":"1350020413","filename":"file0"},{"photo_id":"1350020488","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350020419":["hashtag1","hashtag2"]},{"1350020413":["hashtag1","hashtag2"]},{"1350020588":["hashtag1","hashtag2"]},{"1350020429":["hashtag1","hashtag2"]},{"1350020671":["hashtag1","hashtag2"]},{"1350020488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350020419, 1350020413, 1350020588, 1350020429, 1350020671, 1350020488)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.582549810409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 21:56:41.981268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_05_2764.jpg', '/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_08_2720.jpg', '/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_22_2760.jpg', '/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_26_3707.jpg', '/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_38_2710.jpg', '/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_47_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_05_2764.jpg
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_08_2720.jpg
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_22_2760.jpg
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_26_3707.jpg
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_38_2710.jpg
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_47_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350021675","1350021665","1350021658","1350021469","1350021687","1350021588"],"photo_ids_order":["1350021469","1350021588","1350021658","1350021665","1350021675","1350021687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/678f17f01ddd0cac09015ee0985a89e1.jpg","text":"TemporaryFile(/tmp/multipartBody7385159176319546205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747063517,"filename":"image_14042025_15_58_38_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf2d460f3f6988f321092ef0e881a264.jpg","text":"TemporaryFile(/tmp/multipartBody3846982063111651603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747063517,"filename":"image_14042025_15_58_26_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d12ee222028e6d04634ad0e33f1fe148.jpg","text":"TemporaryFile(/tmp/multipartBody1513982339451318554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747063517,"filename":"image_14042025_15_58_22_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b9bb447290f6247be9dd2f1b5b42446.jpg","text":"TemporaryFile(/tmp/multipartBody7868370664911639767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747063517,"filename":"image_14042025_15_58_05_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/795390a92062b8a68bb5732d850b7949.jpg","text":"TemporaryFile(/tmp/multipartBody5753709716432088455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747063517,"filename":"image_14042025_15_58_47_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a646bba3232a7a009bbe118fcba0fb79.jpg","text":"TemporaryFile(/tmp/multipartBody2798972946491003269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747063517,"filename":"image_14042025_15_58_08_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350021658","file1":"1350021588","file0":"1350021469","file4":"1350021675","file5":"1350021687","file3":"1350021665"},"map_files_photo_id_array":[{"photo_id":"1350021687","filename":"file5"},{"photo_id":"1350021658","filename":"file2"},{"photo_id":"1350021675","filename":"file4"},{"photo_id":"1350021588","filename":"file1"},{"photo_id":"1350021469","filename":"file0"},{"photo_id":"1350021665","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350021675":["hashtag1","hashtag2"]},{"1350021665":["hashtag1","hashtag2"]},{"1350021658":["hashtag1","hashtag2"]},{"1350021469":["hashtag1","hashtag2"]},{"1350021687":["hashtag1","hashtag2"]},{"1350021588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350021675, 1350021665, 1350021658, 1350021469, 1350021687, 1350021588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.256354093551636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 21:57:22.579062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_56_2583.jpg', '/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_58_2722.jpg', '/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_02_3710.jpg', '/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_05_2690.jpg', '/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_23_2696.jpg', '/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_50_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_56_2583.jpg
/home/pi/Desktop/images/14042025/15/58/image_14042025_15_58_58_2722.jpg
/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_02_3710.jpg
/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_05_2690.jpg
/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_23_2696.jpg
/home/pi/Desktop/images/14042025/15/59/image_14042025_15_59_50_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350021777","1350021794","1350021785","1350021773","1350021749","1350021727"],"photo_ids_order":["1350021727","1350021749","1350021773","1350021777","1350021785","1350021794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b63c04848579a94834d0b8c131c69cb.jpg","text":"TemporaryFile(/tmp/multipartBody6755570579510065675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747105634,"filename":"image_14042025_15_59_05_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a9bf076a6de39652b76c78ad90add46.jpg","text":"TemporaryFile(/tmp/multipartBody6491070001014729013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747105634,"filename":"image_14042025_15_59_50_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ac634c07403164b87b9f19cd4bf33fa.jpg","text":"TemporaryFile(/tmp/multipartBody1153844397944305109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747105634,"filename":"image_14042025_15_59_23_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/767700b45899b8ce5e1e1a636bd5b5b6.jpg","text":"TemporaryFile(/tmp/multipartBody4032214300993285372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747105634,"filename":"image_14042025_15_59_02_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40a9f53cf4060b1e8dc70a6eef80467b.jpg","text":"TemporaryFile(/tmp/multipartBody7990370411388554312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747105634,"filename":"image_14042025_15_58_58_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e3d69bf1226b376e95af1f1dc591dd2.jpg","text":"TemporaryFile(/tmp/multipartBody554610840657684818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747105634,"filename":"image_14042025_15_58_56_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350021773","file1":"1350021749","file0":"1350021727","file4":"1350021785","file5":"1350021794","file3":"1350021777"},"map_files_photo_id_array":[{"photo_id":"1350021794","filename":"file5"},{"photo_id":"1350021773","filename":"file2"},{"photo_id":"1350021785","filename":"file4"},{"photo_id":"1350021749","filename":"file1"},{"photo_id":"1350021727","filename":"file0"},{"photo_id":"1350021777","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350021777":["hashtag1","hashtag2"]},{"1350021794":["hashtag1","hashtag2"]},{"1350021785":["hashtag1","hashtag2"]},{"1350021773":["hashtag1","hashtag2"]},{"1350021749":["hashtag1","hashtag2"]},{"1350021727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350021777, 1350021794, 1350021785, 1350021773, 1350021749, 1350021727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38277721405029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 21:59:03.254156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_07_3011.jpg', '/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_11_3647.jpg', '/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_16_2934.jpg', '/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_29_3583.jpg', '/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_35_3629.jpg', '/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_47_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_07_3011.jpg
/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_11_3647.jpg
/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_16_2934.jpg
/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_29_3583.jpg
/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_35_3629.jpg
/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_47_3583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350022923","1350022892","1350023056","1350023020","1350022954","1350022986"],"photo_ids_order":["1350022892","1350022923","1350022954","1350022986","1350023020","1350023056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/753247ec78073417986db8b7160665f2.jpg","text":"TemporaryFile(/tmp/multipartBody928658501378995235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747206006,"filename":"image_14042025_16_01_11_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d18cad85ced86d09115050b05f873f04.jpg","text":"TemporaryFile(/tmp/multipartBody8139669115077838494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747206006,"filename":"image_14042025_16_01_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9f0e65d1187a4b3f2f733bf89b80bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3298409186744994654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747206006,"filename":"image_14042025_16_01_47_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/933a82dc1020dd516ca2b67c4f6b7223.jpg","text":"TemporaryFile(/tmp/multipartBody8737540542438236755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747206006,"filename":"image_14042025_16_01_35_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4cab3f06151ead8e5a196252b0575973.jpg","text":"TemporaryFile(/tmp/multipartBody6133057408697253416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747206006,"filename":"image_14042025_16_01_16_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2682c2a6f7aabfd27fb4860b68e18768.jpg","text":"TemporaryFile(/tmp/multipartBody7879680026245020581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747206006,"filename":"image_14042025_16_01_29_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350022954","file1":"1350022923","file0":"1350022892","file4":"1350023020","file5":"1350023056","file3":"1350022986"},"map_files_photo_id_array":[{"photo_id":"1350023056","filename":"file5"},{"photo_id":"1350022954","filename":"file2"},{"photo_id":"1350023020","filename":"file4"},{"photo_id":"1350022923","filename":"file1"},{"photo_id":"1350022892","filename":"file0"},{"photo_id":"1350022986","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350022923":["hashtag1","hashtag2"]},{"1350022892":["hashtag1","hashtag2"]},{"1350023056":["hashtag1","hashtag2"]},{"1350023020":["hashtag1","hashtag2"]},{"1350022954":["hashtag1","hashtag2"]},{"1350022986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350022923, 1350022892, 1350023056, 1350023020, 1350022954, 1350022986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31479287147522 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:00:02.582732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_56_2859.jpg', '/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_11_3624.jpg', '/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_16_2745.jpg', '/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_34_2573.jpg', '/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_43_2690.jpg', '/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_46_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/01/image_14042025_16_01_56_2859.jpg
/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_11_3624.jpg
/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_16_2745.jpg
/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_34_2573.jpg
/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_43_2690.jpg
/home/pi/Desktop/images/14042025/16/02/image_14042025_16_02_46_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350023546","1350023551","1350023521","1350023589","1350023331","1350023594"],"photo_ids_order":["1350023331","1350023521","1350023546","1350023551","1350023589","1350023594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/728a77d7feea7cf4ba7471aa28b4cbc0.jpg","text":"TemporaryFile(/tmp/multipartBody1253722469423439692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747265067,"filename":"image_14042025_16_02_16_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/312de28d370365555490034833b57306.jpg","text":"TemporaryFile(/tmp/multipartBody302853750250948064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747265067,"filename":"image_14042025_16_02_34_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26f9f38c6315820b8a13a455a7330ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4297875368679680221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747265067,"filename":"image_14042025_16_02_11_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21ae178ebc9ecd91070b15f53a92eacc.jpg","text":"TemporaryFile(/tmp/multipartBody1825214639762649297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747265067,"filename":"image_14042025_16_02_43_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6f21532dc62f796f4bee23fd4a8bed3.jpg","text":"TemporaryFile(/tmp/multipartBody2455605750197033220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747265067,"filename":"image_14042025_16_01_56_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1176caf86112a8fd62cdb3827ef6da5f.jpg","text":"TemporaryFile(/tmp/multipartBody8008932824810374436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747265067,"filename":"image_14042025_16_02_46_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350023546","file1":"1350023521","file0":"1350023331","file4":"1350023589","file5":"1350023594","file3":"1350023551"},"map_files_photo_id_array":[{"photo_id":"1350023594","filename":"file5"},{"photo_id":"1350023546","filename":"file2"},{"photo_id":"1350023589","filename":"file4"},{"photo_id":"1350023521","filename":"file1"},{"photo_id":"1350023331","filename":"file0"},{"photo_id":"1350023551","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350023546":["hashtag1","hashtag2"]},{"1350023551":["hashtag1","hashtag2"]},{"1350023521":["hashtag1","hashtag2"]},{"1350023589":["hashtag1","hashtag2"]},{"1350023331":["hashtag1","hashtag2"]},{"1350023594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350023546, 1350023551, 1350023521, 1350023589, 1350023331, 1350023594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91159105300903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:00:41.980433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_19_2554.jpg', '/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_25_2633.jpg', '/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_28_2554.jpg', '/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_34_2695.jpg', '/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_50_3610.jpg', '/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_52_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_19_2554.jpg
/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_25_2633.jpg
/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_28_2554.jpg
/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_34_2695.jpg
/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_50_3610.jpg
/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_52_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350023654","1350023663","1350023659","1350023668","1350023682","1350023666"],"photo_ids_order":["1350023654","1350023659","1350023663","1350023666","1350023668","1350023682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f80c8797462facbef0758d9c5da9342.jpg","text":"TemporaryFile(/tmp/multipartBody7799172504494871994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747303361,"filename":"image_14042025_16_03_19_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebd27505222547b25d88d19929e121fb.jpg","text":"TemporaryFile(/tmp/multipartBody1324119341277797683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747303361,"filename":"image_14042025_16_03_28_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b3777e3b3e02c1b591700a3be153301.jpg","text":"TemporaryFile(/tmp/multipartBody2806584517430074301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747303361,"filename":"image_14042025_16_03_25_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/750c31ab1974114ca97350df01641d17.jpg","text":"TemporaryFile(/tmp/multipartBody6026658555567969014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747303361,"filename":"image_14042025_16_03_50_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0894d55552d04670882744e751f5acc4.jpg","text":"TemporaryFile(/tmp/multipartBody6749049215072849186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747303361,"filename":"image_14042025_16_03_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7169e64ef0818afda06feb48847da99.jpg","text":"TemporaryFile(/tmp/multipartBody1904095433021863182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747303361,"filename":"image_14042025_16_03_34_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350023663","file1":"1350023659","file0":"1350023654","file4":"1350023668","file5":"1350023682","file3":"1350023666"},"map_files_photo_id_array":[{"photo_id":"1350023682","filename":"file5"},{"photo_id":"1350023663","filename":"file2"},{"photo_id":"1350023668","filename":"file4"},{"photo_id":"1350023659","filename":"file1"},{"photo_id":"1350023654","filename":"file0"},{"photo_id":"1350023666","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350023654":["hashtag1","hashtag2"]},{"1350023663":["hashtag1","hashtag2"]},{"1350023659":["hashtag1","hashtag2"]},{"1350023668":["hashtag1","hashtag2"]},{"1350023682":["hashtag1","hashtag2"]},{"1350023666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350023654, 1350023663, 1350023659, 1350023668, 1350023682, 1350023666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75537085533142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:01:22.811905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_55_2810.jpg', '/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_04_2775.jpg', '/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_08_3692.jpg', '/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_11_2832.jpg', '/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_19_2880.jpg', '/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_23_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/03/image_14042025_16_03_55_2810.jpg
/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_04_2775.jpg
/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_08_3692.jpg
/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_11_2832.jpg
/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_19_2880.jpg
/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_23_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350024320","1350024184","1350024457","1350024117","1350024380","1350024263"],"photo_ids_order":["1350024117","1350024184","1350024263","1350024320","1350024380","1350024457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9977e7c32d9d55285a34fdbd217a959e.jpg","text":"TemporaryFile(/tmp/multipartBody4262258753267805320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747345978,"filename":"image_14042025_16_04_11_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8b0ba03c325507922dbad7dac63878c.jpg","text":"TemporaryFile(/tmp/multipartBody4735723849478209355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747345978,"filename":"image_14042025_16_04_04_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83c0dc81cf94b93e6feafcc3267ab40f.jpg","text":"TemporaryFile(/tmp/multipartBody7493944776441205293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747345978,"filename":"image_14042025_16_04_23_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7c9cf4d8003b26ce1e070d4c01d1d33.jpg","text":"TemporaryFile(/tmp/multipartBody6986242223819387119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747345978,"filename":"image_14042025_16_03_55_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/731ac4c5baca1c73e1c0399386d34553.jpg","text":"TemporaryFile(/tmp/multipartBody5966588818532668461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747345978,"filename":"image_14042025_16_04_19_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c547333cc26984a8d023b4b18053374.jpg","text":"TemporaryFile(/tmp/multipartBody1904259064389051221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747345978,"filename":"image_14042025_16_04_08_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350024263","file1":"1350024184","file0":"1350024117","file4":"1350024380","file5":"1350024457","file3":"1350024320"},"map_files_photo_id_array":[{"photo_id":"1350024457","filename":"file5"},{"photo_id":"1350024263","filename":"file2"},{"photo_id":"1350024380","filename":"file4"},{"photo_id":"1350024184","filename":"file1"},{"photo_id":"1350024117","filename":"file0"},{"photo_id":"1350024320","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350024320":["hashtag1","hashtag2"]},{"1350024184":["hashtag1","hashtag2"]},{"1350024457":["hashtag1","hashtag2"]},{"1350024117":["hashtag1","hashtag2"]},{"1350024380":["hashtag1","hashtag2"]},{"1350024263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350024320, 1350024184, 1350024457, 1350024117, 1350024380, 1350024263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12324047088623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:02:21.945169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_40_2604.jpg', '/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_53_3088.jpg', '/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_07_3011.jpg', '/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_16_2632.jpg', '/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_32_2540.jpg', '/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_34_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_40_2604.jpg
/home/pi/Desktop/images/14042025/16/04/image_14042025_16_04_53_3088.jpg
/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_07_3011.jpg
/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_16_2632.jpg
/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_32_2540.jpg
/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_34_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350025378","1350025444","1350025212","1350025527","1350025320","1350025118"],"photo_ids_order":["1350025118","1350025212","1350025320","1350025378","1350025444","1350025527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7044b687c4c17de40244998c59b3adc.jpg","text":"TemporaryFile(/tmp/multipartBody1518344462461695005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747405014,"filename":"image_14042025_16_05_16_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e97bddff57b2b5142d52ad9b25e95c88.jpg","text":"TemporaryFile(/tmp/multipartBody7183064534813996534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747405014,"filename":"image_14042025_16_05_32_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2f60d16fd4d8cf544caed730e8c105e.jpg","text":"TemporaryFile(/tmp/multipartBody8640473298350251405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747405014,"filename":"image_14042025_16_04_53_3088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1e3e4f8a3106f076e6ff56407234f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5496262982192445550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747405014,"filename":"image_14042025_16_05_34_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc966aaf0c1b17173aa93bb93ba7039c.jpg","text":"TemporaryFile(/tmp/multipartBody1729047171636895253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747405014,"filename":"image_14042025_16_05_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85baeaa99c25b67d57890852a31e39d1.jpg","text":"TemporaryFile(/tmp/multipartBody8475120981192868227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747405014,"filename":"image_14042025_16_04_40_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350025320","file1":"1350025212","file0":"1350025118","file4":"1350025444","file5":"1350025527","file3":"1350025378"},"map_files_photo_id_array":[{"photo_id":"1350025527","filename":"file5"},{"photo_id":"1350025320","filename":"file2"},{"photo_id":"1350025444","filename":"file4"},{"photo_id":"1350025212","filename":"file1"},{"photo_id":"1350025118","filename":"file0"},{"photo_id":"1350025378","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350025378":["hashtag1","hashtag2"]},{"1350025444":["hashtag1","hashtag2"]},{"1350025212":["hashtag1","hashtag2"]},{"1350025527":["hashtag1","hashtag2"]},{"1350025320":["hashtag1","hashtag2"]},{"1350025118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350025378, 1350025444, 1350025212, 1350025527, 1350025320, 1350025118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07688307762146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:03:02.819033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_38_3819.jpg', '/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_50_3722.jpg', '/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_53_2651.jpg', '/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_58_2674.jpg', '/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_05_2659.jpg', '/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_07_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_38_3819.jpg
/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_50_3722.jpg
/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_53_2651.jpg
/home/pi/Desktop/images/14042025/16/05/image_14042025_16_05_58_2674.jpg
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_05_2659.jpg
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_07_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350025663","1350025723","1350025819","1350025615","1350025610","1350026026"],"photo_ids_order":["1350025610","1350025615","1350025663","1350025723","1350025819","1350026026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef08583cec0831f5b39f6760ca9ed0ed.jpg","text":"TemporaryFile(/tmp/multipartBody3922626113447288676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747445444,"filename":"image_14042025_16_05_53_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d282d56751680d18e8a1c86b2cec2b2.jpg","text":"TemporaryFile(/tmp/multipartBody8052842334410395729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747445444,"filename":"image_14042025_16_05_58_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61e2cc8a484fb79dda91cf22285a7027.jpg","text":"TemporaryFile(/tmp/multipartBody6715954169176083388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747445444,"filename":"image_14042025_16_06_05_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5300ce39427fb3c0e554a1a0d3bb03e1.jpg","text":"TemporaryFile(/tmp/multipartBody5529166171931022579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747445444,"filename":"image_14042025_16_05_50_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef4b7f928612703ab0aea8a4e537a21d.jpg","text":"TemporaryFile(/tmp/multipartBody3187179218619902631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747445444,"filename":"image_14042025_16_05_38_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3ebe7f9ce409de1629d841579e2b25d.jpg","text":"TemporaryFile(/tmp/multipartBody3141892861129044587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747445444,"filename":"image_14042025_16_06_07_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350025663","file1":"1350025615","file0":"1350025610","file4":"1350025819","file5":"1350026026","file3":"1350025723"},"map_files_photo_id_array":[{"photo_id":"1350026026","filename":"file5"},{"photo_id":"1350025663","filename":"file2"},{"photo_id":"1350025819","filename":"file4"},{"photo_id":"1350025615","filename":"file1"},{"photo_id":"1350025610","filename":"file0"},{"photo_id":"1350025723","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350025663":["hashtag1","hashtag2"]},{"1350025723":["hashtag1","hashtag2"]},{"1350025819":["hashtag1","hashtag2"]},{"1350025615":["hashtag1","hashtag2"]},{"1350025610":["hashtag1","hashtag2"]},{"1350026026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350025663, 1350025723, 1350025819, 1350025615, 1350025610, 1350026026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21028995513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:03:42.153710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_11_3616.jpg', '/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_13_2536.jpg', '/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_22_2599.jpg', '/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_29_3623.jpg', '/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_38_3775.jpg', '/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_43_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_11_3616.jpg
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_13_2536.jpg
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_22_2599.jpg
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_29_3623.jpg
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_38_3775.jpg
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_43_2558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350026361","1350026421","1350026418","1350026414","1350026446","1350026356"],"photo_ids_order":["1350026356","1350026361","1350026414","1350026418","1350026421","1350026446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/217a64ea6dad05cd502ff70b75be60d1.jpg","text":"TemporaryFile(/tmp/multipartBody6612933563505914770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747483541,"filename":"image_14042025_16_06_13_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b99422ef020fb120875b2a309851a332.jpg","text":"TemporaryFile(/tmp/multipartBody3992295287093430027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747483541,"filename":"image_14042025_16_06_38_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ad1d51b813bbb714ae0d54d721dbc5b.jpg","text":"TemporaryFile(/tmp/multipartBody8863908699415869102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747483541,"filename":"image_14042025_16_06_29_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4d514c70754aa45f81bd88bcbb488f9.jpg","text":"TemporaryFile(/tmp/multipartBody205494215294539027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747483541,"filename":"image_14042025_16_06_22_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/450a43630f97c16610c6b57bc0b82f2c.jpg","text":"TemporaryFile(/tmp/multipartBody4459651866592927966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747483541,"filename":"image_14042025_16_06_43_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5dd90b562fa9e5e9addf77eeba441f69.jpg","text":"TemporaryFile(/tmp/multipartBody5817287803837622312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747483541,"filename":"image_14042025_16_06_11_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350026414","file1":"1350026361","file0":"1350026356","file4":"1350026421","file5":"1350026446","file3":"1350026418"},"map_files_photo_id_array":[{"photo_id":"1350026446","filename":"file5"},{"photo_id":"1350026414","filename":"file2"},{"photo_id":"1350026421","filename":"file4"},{"photo_id":"1350026361","filename":"file1"},{"photo_id":"1350026356","filename":"file0"},{"photo_id":"1350026418","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350026361":["hashtag1","hashtag2"]},{"1350026421":["hashtag1","hashtag2"]},{"1350026418":["hashtag1","hashtag2"]},{"1350026414":["hashtag1","hashtag2"]},{"1350026446":["hashtag1","hashtag2"]},{"1350026356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350026361, 1350026421, 1350026418, 1350026414, 1350026446, 1350026356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.157280921936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:04:22.791000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_52_2724.jpg', '/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_58_2704.jpg', '/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_07_2565.jpg', '/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_13_2605.jpg', '/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_23_3675.jpg', '/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_32_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_52_2724.jpg
/home/pi/Desktop/images/14042025/16/06/image_14042025_16_06_58_2704.jpg
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_07_2565.jpg
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_13_2605.jpg
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_23_3675.jpg
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_32_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350026631","1350026954","1350027076","1350027010","1350026857","1350026551"],"photo_ids_order":["1350026551","1350026631","1350026857","1350026954","1350027010","1350027076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d160c51a9ae043b386cbf4da4ff9b378.jpg","text":"TemporaryFile(/tmp/multipartBody489301999359705700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747525903,"filename":"image_14042025_16_06_58_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8b8660512261747abbf0e5ad432a903.jpg","text":"TemporaryFile(/tmp/multipartBody3811494202705054763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747525903,"filename":"image_14042025_16_07_13_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a586596481e1ffcc666b53d43e84b5d4.jpg","text":"TemporaryFile(/tmp/multipartBody2515928785895000356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747525903,"filename":"image_14042025_16_07_32_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcd4a202f609b0248b5049d0bd5eaa03.jpg","text":"TemporaryFile(/tmp/multipartBody2122722278693235824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747525903,"filename":"image_14042025_16_07_23_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0f6922db764393e3a81e49938d86963.jpg","text":"TemporaryFile(/tmp/multipartBody6114719674921730561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747525903,"filename":"image_14042025_16_07_07_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2b589386d984058704e14cb2a442598.jpg","text":"TemporaryFile(/tmp/multipartBody4923027903386796815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747525903,"filename":"image_14042025_16_06_52_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350026857","file1":"1350026631","file0":"1350026551","file4":"1350027010","file5":"1350027076","file3":"1350026954"},"map_files_photo_id_array":[{"photo_id":"1350027076","filename":"file5"},{"photo_id":"1350026857","filename":"file2"},{"photo_id":"1350027010","filename":"file4"},{"photo_id":"1350026631","filename":"file1"},{"photo_id":"1350026551","filename":"file0"},{"photo_id":"1350026954","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350026631":["hashtag1","hashtag2"]},{"1350026954":["hashtag1","hashtag2"]},{"1350027076":["hashtag1","hashtag2"]},{"1350027010":["hashtag1","hashtag2"]},{"1350026857":["hashtag1","hashtag2"]},{"1350026551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350026631, 1350026954, 1350027076, 1350027010, 1350026857, 1350026551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73317790031433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:05:02.824689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_34_2633.jpg', '/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_37_2681.jpg', '/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_41_3642.jpg', '/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_44_2844.jpg', '/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_46_2673.jpg', '/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_13_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_34_2633.jpg
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_37_2681.jpg
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_41_3642.jpg
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_44_2844.jpg
/home/pi/Desktop/images/14042025/16/07/image_14042025_16_07_46_2673.jpg
/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_13_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1350027357","1350027303","1350027623","1350027530","1350027583","1350027468"],"photo_ids_order":["1350027303","1350027357","1350027468","1350027530","1350027583","1350027623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0160a17fc66714c96aabe1334978d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6270727303704266286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747565375,"filename":"image_14042025_16_07_37_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d85629618c5f0a35e408b616d0c37b5.jpg","text":"TemporaryFile(/tmp/multipartBody5919844121955303832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747565375,"filename":"image_14042025_16_07_34_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11214da4f5ae395eb096f3b201fab829.jpg","text":"TemporaryFile(/tmp/multipartBody6454263559620755783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747565375,"filename":"image_14042025_16_08_13_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b59e87cf64f798463ecda42e118c7496.jpg","text":"TemporaryFile(/tmp/multipartBody7327685077711163537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747565375,"filename":"image_14042025_16_07_44_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ff6af837b4262e13716db4579b3720a.jpg","text":"TemporaryFile(/tmp/multipartBody3106178331786710728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747565375,"filename":"image_14042025_16_07_46_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7702680f51c48afdaef077778f2abeff.jpg","text":"TemporaryFile(/tmp/multipartBody5415162235994245005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747565375,"filename":"image_14042025_16_07_41_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350027468","file1":"1350027357","file0":"1350027303","file4":"1350027583","file5":"1350027623","file3":"1350027530"},"map_files_photo_id_array":[{"photo_id":"1350027623","filename":"file5"},{"photo_id":"1350027468","filename":"file2"},{"photo_id":"1350027583","filename":"file4"},{"photo_id":"1350027357","filename":"file1"},{"photo_id":"1350027303","filename":"file0"},{"photo_id":"1350027530","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350027357":["hashtag1","hashtag2"]},{"1350027303":["hashtag1","hashtag2"]},{"1350027623":["hashtag1","hashtag2"]},{"1350027530":["hashtag1","hashtag2"]},{"1350027583":["hashtag1","hashtag2"]},{"1350027468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350027357, 1350027303, 1350027623, 1350027530, 1350027583, 1350027468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13546848297119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:06:02.493849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_20_3771.jpg', '/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_23_2842.jpg', '/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_25_2634.jpg', '/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_28_2554.jpg', '/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_32_3803.jpg', '/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_01_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_20_3771.jpg
/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_23_2842.jpg
/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_25_2634.jpg
/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_28_2554.jpg
/home/pi/Desktop/images/14042025/16/08/image_14042025_16_08_32_3803.jpg
/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_01_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350027939","1350027948","1350027942","1350027959","1350027932","1350027952"],"photo_ids_order":["1350027932","1350027939","1350027942","1350027948","1350027952","1350027959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/868c0174d67523e05c4c41f4be91cb0a.jpg","text":"TemporaryFile(/tmp/multipartBody8966795809484181007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747631948,"filename":"image_14042025_16_08_23_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d888a591fbacef9706a09a152370909e.jpg","text":"TemporaryFile(/tmp/multipartBody299017655645778145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747631948,"filename":"image_14042025_16_08_28_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/021bbcd0bab0e4588962be0fe8559c7f.jpg","text":"TemporaryFile(/tmp/multipartBody3475856162108039298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747631948,"filename":"image_14042025_16_08_25_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbb60386f025cd078e1764f0f06ff352.jpg","text":"TemporaryFile(/tmp/multipartBody5573397074481911063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747631948,"filename":"image_14042025_16_09_01_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab4628dd9e2a08537ee87b4bfdb43e6e.jpg","text":"TemporaryFile(/tmp/multipartBody2358013535612677638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747631948,"filename":"image_14042025_16_08_20_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8966229157b9ca2d17d2ccc4c726ac2.jpg","text":"TemporaryFile(/tmp/multipartBody5851391904382638838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747631948,"filename":"image_14042025_16_08_32_3803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350027942","file1":"1350027939","file0":"1350027932","file4":"1350027952","file5":"1350027959","file3":"1350027948"},"map_files_photo_id_array":[{"photo_id":"1350027959","filename":"file5"},{"photo_id":"1350027942","filename":"file2"},{"photo_id":"1350027952","filename":"file4"},{"photo_id":"1350027939","filename":"file1"},{"photo_id":"1350027932","filename":"file0"},{"photo_id":"1350027948","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350027939":["hashtag1","hashtag2"]},{"1350027948":["hashtag1","hashtag2"]},{"1350027942":["hashtag1","hashtag2"]},{"1350027959":["hashtag1","hashtag2"]},{"1350027932":["hashtag1","hashtag2"]},{"1350027952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350027939, 1350027948, 1350027942, 1350027959, 1350027932, 1350027952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.297338008880615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:07:09.825883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_05_3792.jpg', '/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_07_2571.jpg', '/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_34_2698.jpg', '/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_37_2864.jpg', '/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_46_2718.jpg', '/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_53_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_05_3792.jpg
/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_07_2571.jpg
/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_34_2698.jpg
/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_37_2864.jpg
/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_46_2718.jpg
/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_53_3687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350028410","1350028556","1350028466","1350028520","1350028582","1350028357"],"photo_ids_order":["1350028357","1350028410","1350028466","1350028520","1350028556","1350028582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9666df997c541d8a1796fffe07f7520.jpg","text":"TemporaryFile(/tmp/multipartBody2962615014943541283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747696175,"filename":"image_14042025_16_09_07_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d2c9e92c9619b85cdfdf1661a7d8236.jpg","text":"TemporaryFile(/tmp/multipartBody2261892668341001336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747696175,"filename":"image_14042025_16_09_46_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5606b789c9cfcea28928f918f260f798.jpg","text":"TemporaryFile(/tmp/multipartBody2698703534872341781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747696175,"filename":"image_14042025_16_09_34_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b23eef3e7f9e718cf9f76a47d0cc8ed.jpg","text":"TemporaryFile(/tmp/multipartBody1165963067033143208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747696175,"filename":"image_14042025_16_09_37_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a30e8a253cee398bbbe87ccf3d10f32.jpg","text":"TemporaryFile(/tmp/multipartBody5655526214167163100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747696175,"filename":"image_14042025_16_09_53_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ce5dc0185e8fc2a750e1c42bb6e436d.jpg","text":"TemporaryFile(/tmp/multipartBody8228765918555944763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747696175,"filename":"image_14042025_16_09_05_3792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350028466","file1":"1350028410","file0":"1350028357","file4":"1350028556","file5":"1350028582","file3":"1350028520"},"map_files_photo_id_array":[{"photo_id":"1350028582","filename":"file5"},{"photo_id":"1350028466","filename":"file2"},{"photo_id":"1350028556","filename":"file4"},{"photo_id":"1350028410","filename":"file1"},{"photo_id":"1350028357","filename":"file0"},{"photo_id":"1350028520","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350028410":["hashtag1","hashtag2"]},{"1350028556":["hashtag1","hashtag2"]},{"1350028466":["hashtag1","hashtag2"]},{"1350028520":["hashtag1","hashtag2"]},{"1350028582":["hashtag1","hashtag2"]},{"1350028357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350028410, 1350028556, 1350028466, 1350028520, 1350028582, 1350028357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22832417488098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:08:02.501782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_55_2579.jpg', '/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_11_3512.jpg', '/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_14_2843.jpg', '/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_25_2655.jpg', '/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_29_3749.jpg', '/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_32_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/09/image_14042025_16_09_55_2579.jpg
/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_11_3512.jpg
/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_14_2843.jpg
/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_25_2655.jpg
/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_29_3749.jpg
/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_32_2776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350028868","1350028750","1350028846","1350028774","1350028834","1350028804"],"photo_ids_order":["1350028750","1350028774","1350028804","1350028834","1350028846","1350028868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acb860b81858e4210bb347eb196d21cb.jpg","text":"TemporaryFile(/tmp/multipartBody1928888130182039131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747744996,"filename":"image_14042025_16_10_32_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd1c8e880605db6b0238afb70c5074e5.jpg","text":"TemporaryFile(/tmp/multipartBody6611106005991349610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747744996,"filename":"image_14042025_16_09_55_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d71c10e1388b12c7e36372b7a522bb24.jpg","text":"TemporaryFile(/tmp/multipartBody246453226077864762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747744996,"filename":"image_14042025_16_10_29_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/659ef34c221b308b584dc14f4f564f1e.jpg","text":"TemporaryFile(/tmp/multipartBody5918279300116468337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747744996,"filename":"image_14042025_16_10_11_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a9538573df9d651475b3aa8403506bf.jpg","text":"TemporaryFile(/tmp/multipartBody1690668031763373516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747744996,"filename":"image_14042025_16_10_25_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38aa0b6c1e9d22801862a57304eff3b1.jpg","text":"TemporaryFile(/tmp/multipartBody6803854318372819035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747744996,"filename":"image_14042025_16_10_14_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350028804","file1":"1350028774","file0":"1350028750","file4":"1350028846","file5":"1350028868","file3":"1350028834"},"map_files_photo_id_array":[{"photo_id":"1350028868","filename":"file5"},{"photo_id":"1350028804","filename":"file2"},{"photo_id":"1350028846","filename":"file4"},{"photo_id":"1350028774","filename":"file1"},{"photo_id":"1350028750","filename":"file0"},{"photo_id":"1350028834","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350028868":["hashtag1","hashtag2"]},{"1350028750":["hashtag1","hashtag2"]},{"1350028846":["hashtag1","hashtag2"]},{"1350028774":["hashtag1","hashtag2"]},{"1350028834":["hashtag1","hashtag2"]},{"1350028804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350028868, 1350028750, 1350028846, 1350028774, 1350028834, 1350028804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16887927055359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:08:42.092547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_35_2769.jpg', '/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_38_3649.jpg', '/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_53_2623.jpg', '/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_55_2615.jpg', '/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_11_2715.jpg', '/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_16_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_35_2769.jpg
/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_38_3649.jpg
/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_53_2623.jpg
/home/pi/Desktop/images/14042025/16/10/image_14042025_16_10_55_2615.jpg
/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_11_2715.jpg
/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_16_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350028892","1350028901","1350029077","1350028987","1350029041","1350028896"],"photo_ids_order":["1350028892","1350028896","1350028901","1350028987","1350029041","1350029077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6be31d5b71df4f08e78725b0a26555de.jpg","text":"TemporaryFile(/tmp/multipartBody3140052504082128996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747783515,"filename":"image_14042025_16_10_35_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c94257353bbd9d8262ea514ca840a5ee.jpg","text":"TemporaryFile(/tmp/multipartBody3575166545111848012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747783515,"filename":"image_14042025_16_10_53_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b3eb0656582d912b9ccaa0b523279fe.jpg","text":"TemporaryFile(/tmp/multipartBody553931086728964694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747783515,"filename":"image_14042025_16_11_16_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d733368b1f2651234910f0ef306f53b6.jpg","text":"TemporaryFile(/tmp/multipartBody393370043255221292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747783515,"filename":"image_14042025_16_10_55_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8421e0fc1303cc142fea5229f3f8e191.jpg","text":"TemporaryFile(/tmp/multipartBody5320717295368141411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747783515,"filename":"image_14042025_16_11_11_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6ea485bc5f8358c71a5824e33ab23cf.jpg","text":"TemporaryFile(/tmp/multipartBody5153158087006349009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747783515,"filename":"image_14042025_16_10_38_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350028901","file1":"1350028896","file0":"1350028892","file4":"1350029041","file5":"1350029077","file3":"1350028987"},"map_files_photo_id_array":[{"photo_id":"1350029077","filename":"file5"},{"photo_id":"1350028901","filename":"file2"},{"photo_id":"1350029041","filename":"file4"},{"photo_id":"1350028896","filename":"file1"},{"photo_id":"1350028892","filename":"file0"},{"photo_id":"1350028987","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350028892":["hashtag1","hashtag2"]},{"1350028901":["hashtag1","hashtag2"]},{"1350029077":["hashtag1","hashtag2"]},{"1350028987":["hashtag1","hashtag2"]},{"1350029041":["hashtag1","hashtag2"]},{"1350028896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350028892, 1350028901, 1350029077, 1350028987, 1350029041, 1350028896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.725088357925415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:09:22.131707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_20_3551.jpg', '/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_23_2699.jpg', '/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_26_3573.jpg', '/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_38_2548.jpg', '/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_47_2650.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_11_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_20_3551.jpg
/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_23_2699.jpg
/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_26_3573.jpg
/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_38_2548.jpg
/home/pi/Desktop/images/14042025/16/11/image_14042025_16_11_47_2650.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_11_2825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350029450","1350029320","1350029394","1350029233","1350029283","1350029349"],"photo_ids_order":["1350029233","1350029283","1350029320","1350029349","1350029394","1350029450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e886db33db73d60daaea2f7c5f2683d0.jpg","text":"TemporaryFile(/tmp/multipartBody7996298607502497262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747825188,"filename":"image_14042025_16_12_11_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99b03527087243102666fee240234769.jpg","text":"TemporaryFile(/tmp/multipartBody142626499223405988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747825188,"filename":"image_14042025_16_11_26_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c3a0eacc7be98627cab4bea8ebe506c.jpg","text":"TemporaryFile(/tmp/multipartBody7066804934818011605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747825188,"filename":"image_14042025_16_11_47_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76f5c165252b42f86adcf21fd405d3bd.jpg","text":"TemporaryFile(/tmp/multipartBody3211003408806846624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747825188,"filename":"image_14042025_16_11_20_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c1103d1cb658a0bccf667966f061486.jpg","text":"TemporaryFile(/tmp/multipartBody5285858765151880495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747825188,"filename":"image_14042025_16_11_23_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/917cb6f35e1cb0b8a93e7e5eee61d4e2.jpg","text":"TemporaryFile(/tmp/multipartBody2444510694320168884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747825188,"filename":"image_14042025_16_11_38_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350029320","file1":"1350029283","file0":"1350029233","file4":"1350029394","file5":"1350029450","file3":"1350029349"},"map_files_photo_id_array":[{"photo_id":"1350029450","filename":"file5"},{"photo_id":"1350029320","filename":"file2"},{"photo_id":"1350029394","filename":"file4"},{"photo_id":"1350029283","filename":"file1"},{"photo_id":"1350029233","filename":"file0"},{"photo_id":"1350029349","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350029450":["hashtag1","hashtag2"]},{"1350029320":["hashtag1","hashtag2"]},{"1350029394":["hashtag1","hashtag2"]},{"1350029233":["hashtag1","hashtag2"]},{"1350029283":["hashtag1","hashtag2"]},{"1350029349":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350029450, 1350029320, 1350029394, 1350029233, 1350029283, 1350029349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27469754219055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:10:03.139970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_16_2544.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_20_3657.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_25_2564.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_29_3704.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_34_2658.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_38_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_16_2544.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_20_3657.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_25_2564.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_29_3704.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_34_2658.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_38_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350029930","1350029761","1350029653","1350029898","1350029562","1350029838"],"photo_ids_order":["1350029562","1350029653","1350029761","1350029838","1350029898","1350029930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6121ddd025a5461347e2acbc227fe2bc.jpg","text":"TemporaryFile(/tmp/multipartBody3054076415832077457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747865624,"filename":"image_14042025_16_12_38_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88186dff1d298751c936be66fa2cb709.jpg","text":"TemporaryFile(/tmp/multipartBody8509121896100807312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747865624,"filename":"image_14042025_16_12_25_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f8159b50a88ef2ed9f4accba7de88dc.jpg","text":"TemporaryFile(/tmp/multipartBody5752295444547856172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747865624,"filename":"image_14042025_16_12_20_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e60cc3d88a94c3a578d2a3668ca71dd0.jpg","text":"TemporaryFile(/tmp/multipartBody8542381614612035056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747865624,"filename":"image_14042025_16_12_34_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c14f42e5d1444e1967deb105bc7ca6c4.jpg","text":"TemporaryFile(/tmp/multipartBody1061705813535360889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747865624,"filename":"image_14042025_16_12_16_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56992f4f94bf869616e8a8d0b5266214.jpg","text":"TemporaryFile(/tmp/multipartBody6669343218830921463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747865624,"filename":"image_14042025_16_12_29_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350029761","file1":"1350029653","file0":"1350029562","file4":"1350029898","file5":"1350029930","file3":"1350029838"},"map_files_photo_id_array":[{"photo_id":"1350029930","filename":"file5"},{"photo_id":"1350029761","filename":"file2"},{"photo_id":"1350029898","filename":"file4"},{"photo_id":"1350029653","filename":"file1"},{"photo_id":"1350029562","filename":"file0"},{"photo_id":"1350029838","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350029930":["hashtag1","hashtag2"]},{"1350029761":["hashtag1","hashtag2"]},{"1350029653":["hashtag1","hashtag2"]},{"1350029898":["hashtag1","hashtag2"]},{"1350029562":["hashtag1","hashtag2"]},{"1350029838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350029930, 1350029761, 1350029653, 1350029898, 1350029562, 1350029838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95342826843262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:10:42.488891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_41_2592.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_44_2966.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_46_2758.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_50_3624.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_53_2691.jpg', '/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_59_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_41_2592.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_44_2966.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_46_2758.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_50_3624.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_53_2691.jpg
/home/pi/Desktop/images/14042025/16/12/image_14042025_16_12_59_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350030414","1350030170","1350030113","1350030577","1350030288","1350030505"],"photo_ids_order":["1350030113","1350030170","1350030288","1350030414","1350030505","1350030577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab95c9657a96126f8c6c5edc11c515d0.jpg","text":"TemporaryFile(/tmp/multipartBody945317414501962755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747903916,"filename":"image_14042025_16_12_50_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed72197b7374dee150871774ec8de6f1.jpg","text":"TemporaryFile(/tmp/multipartBody7521668233057381228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747903916,"filename":"image_14042025_16_12_44_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bd2797595923cf0e087560265e6a61b.jpg","text":"TemporaryFile(/tmp/multipartBody2419150696460720446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747903916,"filename":"image_14042025_16_12_41_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7505bb735a4e41e552fa403a75cbafaa.jpg","text":"TemporaryFile(/tmp/multipartBody3213277534242495561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747903916,"filename":"image_14042025_16_12_59_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5998bbd49c000fee1fa67008a62b26e1.jpg","text":"TemporaryFile(/tmp/multipartBody5457324664296121176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747903916,"filename":"image_14042025_16_12_46_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae69a6f9078ad2e21be565b61b809153.jpg","text":"TemporaryFile(/tmp/multipartBody6447289316002016393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747903916,"filename":"image_14042025_16_12_53_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350030288","file1":"1350030170","file0":"1350030113","file4":"1350030505","file5":"1350030577","file3":"1350030414"},"map_files_photo_id_array":[{"photo_id":"1350030577","filename":"file5"},{"photo_id":"1350030288","filename":"file2"},{"photo_id":"1350030505","filename":"file4"},{"photo_id":"1350030170","filename":"file1"},{"photo_id":"1350030113","filename":"file0"},{"photo_id":"1350030414","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350030414":["hashtag1","hashtag2"]},{"1350030170":["hashtag1","hashtag2"]},{"1350030113":["hashtag1","hashtag2"]},{"1350030577":["hashtag1","hashtag2"]},{"1350030288":["hashtag1","hashtag2"]},{"1350030505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350030414, 1350030170, 1350030113, 1350030577, 1350030288, 1350030505)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.938756227493286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:12:02.946159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_04_2517.jpg', '/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_20_3650.jpg', '/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_23_2717.jpg', '/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_25_2629.jpg', '/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_38_3632.jpg', '/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_41_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_04_2517.jpg
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_20_3650.jpg
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_23_2717.jpg
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_25_2629.jpg
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_38_3632.jpg
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_41_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350031553","1350031585","1350031501","1350031389","1350031443","1350031649"],"photo_ids_order":["1350031389","1350031443","1350031501","1350031553","1350031585","1350031649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/993062644cc7be83da88e715f640c749.jpg","text":"TemporaryFile(/tmp/multipartBody7082760913993598166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747988223,"filename":"image_14042025_16_13_25_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/733cdca326e7cca07410d3b1d32c2f90.jpg","text":"TemporaryFile(/tmp/multipartBody7000989262065629160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747988223,"filename":"image_14042025_16_13_38_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5045612535f85579535c5ef74f9f9c52.jpg","text":"TemporaryFile(/tmp/multipartBody5457912201090607882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747988223,"filename":"image_14042025_16_13_23_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6012aba8c2f0bf6df33d62cf2c22a02f.jpg","text":"TemporaryFile(/tmp/multipartBody5133887370527627504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747988223,"filename":"image_14042025_16_13_04_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16a43ddec69456d35e16392d42436cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4477573878459147350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747988223,"filename":"image_14042025_16_13_20_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0b172b91603ce121bb0b69fcbce7886.jpg","text":"TemporaryFile(/tmp/multipartBody5172499747850704352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744747988223,"filename":"image_14042025_16_13_41_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350031501","file1":"1350031443","file0":"1350031389","file4":"1350031585","file5":"1350031649","file3":"1350031553"},"map_files_photo_id_array":[{"photo_id":"1350031649","filename":"file5"},{"photo_id":"1350031501","filename":"file2"},{"photo_id":"1350031585","filename":"file4"},{"photo_id":"1350031443","filename":"file1"},{"photo_id":"1350031389","filename":"file0"},{"photo_id":"1350031553","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350031553":["hashtag1","hashtag2"]},{"1350031585":["hashtag1","hashtag2"]},{"1350031501":["hashtag1","hashtag2"]},{"1350031389":["hashtag1","hashtag2"]},{"1350031443":["hashtag1","hashtag2"]},{"1350031649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350031553, 1350031585, 1350031501, 1350031389, 1350031443, 1350031649)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.508198499679565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:13:03.505088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_46_2761.jpg', '/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_55_2779.jpg', '/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_59_3675.jpg', '/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_01_2582.jpg', '/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_08_3749.jpg', '/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_10_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_46_2761.jpg
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_55_2779.jpg
/home/pi/Desktop/images/14042025/16/13/image_14042025_16_13_59_3675.jpg
/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_01_2582.jpg
/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_08_3749.jpg
/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_10_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350032408","1350032488","1350032461","1350032190","1350032357","1350032270"],"photo_ids_order":["1350032190","1350032270","1350032357","1350032408","1350032461","1350032488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a5226141a1f3c3e0e6ddf10721d00f2.jpg","text":"TemporaryFile(/tmp/multipartBody3115523277144051439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748046365,"filename":"image_14042025_16_14_01_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/812f6a909f127a339f8e445f3a70d007.jpg","text":"TemporaryFile(/tmp/multipartBody1772269983632166881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748046365,"filename":"image_14042025_16_14_10_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f891eb3034f1887810a6b1b127d262ee.jpg","text":"TemporaryFile(/tmp/multipartBody7766758460932611261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748046365,"filename":"image_14042025_16_14_08_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/236aeb1e0f1842839edd883336a924d6.jpg","text":"TemporaryFile(/tmp/multipartBody5108237078570909839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748046365,"filename":"image_14042025_16_13_46_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ada15cb34514ce0c17f113d47c76eb88.jpg","text":"TemporaryFile(/tmp/multipartBody7601176860615767953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748046365,"filename":"image_14042025_16_13_59_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57a8522e636ac4dba5178f83a1b3f505.jpg","text":"TemporaryFile(/tmp/multipartBody3184639958232229462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748046365,"filename":"image_14042025_16_13_55_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350032357","file1":"1350032270","file0":"1350032190","file4":"1350032461","file5":"1350032488","file3":"1350032408"},"map_files_photo_id_array":[{"photo_id":"1350032488","filename":"file5"},{"photo_id":"1350032357","filename":"file2"},{"photo_id":"1350032461","filename":"file4"},{"photo_id":"1350032270","filename":"file1"},{"photo_id":"1350032190","filename":"file0"},{"photo_id":"1350032408","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350032408":["hashtag1","hashtag2"]},{"1350032488":["hashtag1","hashtag2"]},{"1350032461":["hashtag1","hashtag2"]},{"1350032190":["hashtag1","hashtag2"]},{"1350032357":["hashtag1","hashtag2"]},{"1350032270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350032408, 1350032488, 1350032461, 1350032190, 1350032357, 1350032270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23435187339783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:13:42.204425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_17_3750.jpg', '/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_53_3664.jpg', '/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_56_2836.jpg', '/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_07_3011.jpg', '/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_11_3543.jpg', '/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_13_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_17_3750.jpg
/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_53_3664.jpg
/home/pi/Desktop/images/14042025/16/14/image_14042025_16_14_56_2836.jpg
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_07_3011.jpg
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_11_3543.jpg
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_13_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350032767","1350032803","1350032682","1350032699","1350032753","1350032735"],"photo_ids_order":["1350032682","1350032699","1350032735","1350032753","1350032767","1350032803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea1c959936f9bd03866de9764676da0f.jpg","text":"TemporaryFile(/tmp/multipartBody7066538366521276841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748083621,"filename":"image_14042025_16_16_11_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e976a7363e51ae113017b0cc54e7b65.jpg","text":"TemporaryFile(/tmp/multipartBody8686419839736633905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748083621,"filename":"image_14042025_16_16_13_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fcced7fcbf320402372ffb72fb26cfd.jpg","text":"TemporaryFile(/tmp/multipartBody1484815602229958577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748083621,"filename":"image_14042025_16_14_17_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a40e9e96f0ada884cf6a63802bffcac6.jpg","text":"TemporaryFile(/tmp/multipartBody7582914413606748577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748083621,"filename":"image_14042025_16_14_53_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef597fb2ce3664a19bd74e8488237517.jpg","text":"TemporaryFile(/tmp/multipartBody5184160379747381047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748083621,"filename":"image_14042025_16_16_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b05f2577e944044d37f740ef0de3964.jpg","text":"TemporaryFile(/tmp/multipartBody2921608435338055521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748083621,"filename":"image_14042025_16_14_56_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350032735","file1":"1350032699","file0":"1350032682","file4":"1350032767","file5":"1350032803","file3":"1350032753"},"map_files_photo_id_array":[{"photo_id":"1350032803","filename":"file5"},{"photo_id":"1350032735","filename":"file2"},{"photo_id":"1350032767","filename":"file4"},{"photo_id":"1350032699","filename":"file1"},{"photo_id":"1350032682","filename":"file0"},{"photo_id":"1350032753","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350032767":["hashtag1","hashtag2"]},{"1350032803":["hashtag1","hashtag2"]},{"1350032682":["hashtag1","hashtag2"]},{"1350032699":["hashtag1","hashtag2"]},{"1350032753":["hashtag1","hashtag2"]},{"1350032735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350032767, 1350032803, 1350032682, 1350032699, 1350032753, 1350032735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80419158935547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:14:22.480805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_17_3749.jpg', '/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_20_2808.jpg', '/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_23_2771.jpg', '/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_41_3721.jpg', '/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_55_2671.jpg', '/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_59_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_17_3749.jpg
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_20_2808.jpg
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_23_2771.jpg
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_41_3721.jpg
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_55_2671.jpg
/home/pi/Desktop/images/14042025/16/16/image_14042025_16_16_59_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350033076","1350033019","1350033112","1350032934","1350032990","1350032963"],"photo_ids_order":["1350032934","1350032963","1350032990","1350033019","1350033076","1350033112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a5786e495c70dea2b6393abc0954db2.jpg","text":"TemporaryFile(/tmp/multipartBody6029859895355591389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748125519,"filename":"image_14042025_16_16_55_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a284b03ce4e1e30fb83ca24666c6824c.jpg","text":"TemporaryFile(/tmp/multipartBody5726646403583458318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748125519,"filename":"image_14042025_16_16_41_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e723e996ead32a09b6cbd1bda0ac0d1e.jpg","text":"TemporaryFile(/tmp/multipartBody967390963424136243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748125519,"filename":"image_14042025_16_16_59_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e21ed10c13ba26d1852f5f4d03670f85.jpg","text":"TemporaryFile(/tmp/multipartBody8038511839450186379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748125519,"filename":"image_14042025_16_16_17_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9814ad0bdb4fa8bea60f463254d1d273.jpg","text":"TemporaryFile(/tmp/multipartBody7819085678154588546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748125519,"filename":"image_14042025_16_16_23_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d9a5f5efb1f4fba550e3ba86d60ff21.jpg","text":"TemporaryFile(/tmp/multipartBody6240641101726243475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748125519,"filename":"image_14042025_16_16_20_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350032990","file1":"1350032963","file0":"1350032934","file4":"1350033076","file5":"1350033112","file3":"1350033019"},"map_files_photo_id_array":[{"photo_id":"1350033112","filename":"file5"},{"photo_id":"1350032990","filename":"file2"},{"photo_id":"1350033076","filename":"file4"},{"photo_id":"1350032963","filename":"file1"},{"photo_id":"1350032934","filename":"file0"},{"photo_id":"1350033019","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350033076":["hashtag1","hashtag2"]},{"1350033019":["hashtag1","hashtag2"]},{"1350033112":["hashtag1","hashtag2"]},{"1350032934":["hashtag1","hashtag2"]},{"1350032990":["hashtag1","hashtag2"]},{"1350032963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350033076, 1350033019, 1350033112, 1350032934, 1350032990, 1350032963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.815873861312866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:15:02.768504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_02_2665.jpg', '/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_20_2525.jpg', '/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_22_2776.jpg', '/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_29_3535.jpg', '/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_31_2688.jpg', '/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_44_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_02_2665.jpg
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_20_2525.jpg
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_22_2776.jpg
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_29_3535.jpg
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_31_2688.jpg
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_44_3622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350033304","1350033561","1350033333","1350033383","1350033440","1350033292"],"photo_ids_order":["1350033292","1350033304","1350033333","1350033383","1350033440","1350033561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b826a59f7552219f9160497ea83f7d44.jpg","text":"TemporaryFile(/tmp/multipartBody4407782628351500618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748165281,"filename":"image_14042025_16_17_20_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7f6cdda0b2f9a95bdc2fb7989f2ce90.jpg","text":"TemporaryFile(/tmp/multipartBody5368543950805388463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748165281,"filename":"image_14042025_16_17_44_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb0b2ad7e46281a8d9d61b61af61713c.jpg","text":"TemporaryFile(/tmp/multipartBody188360767492809144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748165281,"filename":"image_14042025_16_17_22_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65fb9207310f82942cc667531a94a31e.jpg","text":"TemporaryFile(/tmp/multipartBody846949662975467200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748165281,"filename":"image_14042025_16_17_29_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bbc62a64d7e03186dd4daaaa9501200c.jpg","text":"TemporaryFile(/tmp/multipartBody5507366324710129530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748165281,"filename":"image_14042025_16_17_31_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/abf1258a7fe5f5a502435a539db1964a.jpg","text":"TemporaryFile(/tmp/multipartBody3589427814254049079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748165281,"filename":"image_14042025_16_17_02_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350033333","file1":"1350033304","file0":"1350033292","file4":"1350033440","file5":"1350033561","file3":"1350033383"},"map_files_photo_id_array":[{"photo_id":"1350033561","filename":"file5"},{"photo_id":"1350033333","filename":"file2"},{"photo_id":"1350033440","filename":"file4"},{"photo_id":"1350033304","filename":"file1"},{"photo_id":"1350033292","filename":"file0"},{"photo_id":"1350033383","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350033304":["hashtag1","hashtag2"]},{"1350033561":["hashtag1","hashtag2"]},{"1350033333":["hashtag1","hashtag2"]},{"1350033383":["hashtag1","hashtag2"]},{"1350033440":["hashtag1","hashtag2"]},{"1350033292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350033304, 1350033561, 1350033333, 1350033383, 1350033440, 1350033292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15903377532959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:16:02.884031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_46_2698.jpg', '/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_49_2599.jpg', '/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_53_3879.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_02_3715.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_05_2711.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_07_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_46_2698.jpg
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_49_2599.jpg
/home/pi/Desktop/images/14042025/16/17/image_14042025_16_17_53_3879.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_02_3715.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_05_2711.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_07_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350033786","1350033761","1350033779","1350033764","1350033812","1350033769"],"photo_ids_order":["1350033761","1350033764","1350033769","1350033779","1350033786","1350033812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2f75ad4169273021fd8e91f9dd78bc4.jpg","text":"TemporaryFile(/tmp/multipartBody6613027892701654101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748225323,"filename":"image_14042025_16_18_05_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f296b55ca7566eed39c006f7a7527b58.jpg","text":"TemporaryFile(/tmp/multipartBody725935104127187417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748225323,"filename":"image_14042025_16_17_46_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97515dad2066a75e2fed85177e37ace7.jpg","text":"TemporaryFile(/tmp/multipartBody4645577222474474698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748225323,"filename":"image_14042025_16_18_02_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3dc47b2fc9592ef6f4063bccdc8a312.jpg","text":"TemporaryFile(/tmp/multipartBody5343543424952990084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748225323,"filename":"image_14042025_16_17_49_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17ff501b41d443e91dec859ceba01628.jpg","text":"TemporaryFile(/tmp/multipartBody8985176771528068929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748225323,"filename":"image_14042025_16_18_07_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f821408eda5682c134e788df2f71e7b4.jpg","text":"TemporaryFile(/tmp/multipartBody1222146101642550479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748225323,"filename":"image_14042025_16_17_53_3879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350033769","file1":"1350033764","file0":"1350033761","file4":"1350033786","file5":"1350033812","file3":"1350033779"},"map_files_photo_id_array":[{"photo_id":"1350033812","filename":"file5"},{"photo_id":"1350033769","filename":"file2"},{"photo_id":"1350033786","filename":"file4"},{"photo_id":"1350033764","filename":"file1"},{"photo_id":"1350033761","filename":"file0"},{"photo_id":"1350033779","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350033786":["hashtag1","hashtag2"]},{"1350033761":["hashtag1","hashtag2"]},{"1350033779":["hashtag1","hashtag2"]},{"1350033764":["hashtag1","hashtag2"]},{"1350033812":["hashtag1","hashtag2"]},{"1350033769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350033786, 1350033761, 1350033779, 1350033764, 1350033812, 1350033769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02149415016174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:16:42.290768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_10_2733.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_17_2643.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_23_3635.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_28_2598.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_32_3694.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_40_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_10_2733.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_17_2643.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_23_3635.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_28_2598.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_32_3694.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_40_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350033856","1350033916","1350034083","1350033971","1350033881","1350034039"],"photo_ids_order":["1350033856","1350033881","1350033916","1350033971","1350034039","1350034083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5bcc3741e783d3a9bb26eab01600009.jpg","text":"TemporaryFile(/tmp/multipartBody4229944225560216365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748263738,"filename":"image_14042025_16_18_10_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56dcca5019506c518cee1cb76cb676fc.jpg","text":"TemporaryFile(/tmp/multipartBody3523314031684816731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748263738,"filename":"image_14042025_16_18_23_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f42c5d70c3152e52eb24ee2a0cdfd5c9.jpg","text":"TemporaryFile(/tmp/multipartBody5215083041462932194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748263738,"filename":"image_14042025_16_18_40_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f9ab05a968592a6d7ee9fad04cc67d5.jpg","text":"TemporaryFile(/tmp/multipartBody5686650618624092026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748263738,"filename":"image_14042025_16_18_28_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/175a8bdec6fa38897b52c0b8c1884d33.jpg","text":"TemporaryFile(/tmp/multipartBody8585393810766747315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748263738,"filename":"image_14042025_16_18_17_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/822a711f449ea42e22a706b5f801a34c.jpg","text":"TemporaryFile(/tmp/multipartBody5331704449663417518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748263738,"filename":"image_14042025_16_18_32_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350033916","file1":"1350033881","file0":"1350033856","file4":"1350034039","file5":"1350034083","file3":"1350033971"},"map_files_photo_id_array":[{"photo_id":"1350034083","filename":"file5"},{"photo_id":"1350033916","filename":"file2"},{"photo_id":"1350034039","filename":"file4"},{"photo_id":"1350033881","filename":"file1"},{"photo_id":"1350033856","filename":"file0"},{"photo_id":"1350033971","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350033856":["hashtag1","hashtag2"]},{"1350033916":["hashtag1","hashtag2"]},{"1350034083":["hashtag1","hashtag2"]},{"1350033971":["hashtag1","hashtag2"]},{"1350033881":["hashtag1","hashtag2"]},{"1350034039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350033856, 1350033916, 1350034083, 1350033971, 1350033881, 1350034039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83153510093689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:17:22.147779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_44_3793.jpg', '/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_52_2776.jpg', '/home/pi/Desktop/images/14042025/16/19/image_14042025_16_19_22_2716.jpg', '/home/pi/Desktop/images/14042025/16/19/image_14042025_16_19_58_2706.jpg', '/home/pi/Desktop/images/14042025/16/20/image_14042025_16_20_11_3728.jpg', '/home/pi/Desktop/images/14042025/16/21/image_14042025_16_21_05_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_44_3793.jpg
/home/pi/Desktop/images/14042025/16/18/image_14042025_16_18_52_2776.jpg
/home/pi/Desktop/images/14042025/16/19/image_14042025_16_19_22_2716.jpg
/home/pi/Desktop/images/14042025/16/19/image_14042025_16_19_58_2706.jpg
/home/pi/Desktop/images/14042025/16/20/image_14042025_16_20_11_3728.jpg
/home/pi/Desktop/images/14042025/16/21/image_14042025_16_21_05_3575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350034398","1350034263","1350034221","1350034352","1350034433","1350034318"],"photo_ids_order":["1350034221","1350034263","1350034318","1350034352","1350034398","1350034433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae9ece96bcdc2bbdbea97e35d7650234.jpg","text":"TemporaryFile(/tmp/multipartBody5820299582547697333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748305266,"filename":"image_14042025_16_20_11_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b460eda22f8daa496370a88a19e8203.jpg","text":"TemporaryFile(/tmp/multipartBody6217419635083283933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748305266,"filename":"image_14042025_16_18_52_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4df544564a2421e58519f3d68f6a60b8.jpg","text":"TemporaryFile(/tmp/multipartBody1452482922047922572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748305266,"filename":"image_14042025_16_18_44_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/575008ab22f25219be3057fa65825f0a.jpg","text":"TemporaryFile(/tmp/multipartBody9161278025423309347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748305266,"filename":"image_14042025_16_19_58_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7795288791edfb035b361b371c60d270.jpg","text":"TemporaryFile(/tmp/multipartBody2887963268815913617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748305266,"filename":"image_14042025_16_21_05_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e4a1eced055c0296fa22f6fc03adbd1.jpg","text":"TemporaryFile(/tmp/multipartBody8206994900270863830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748305266,"filename":"image_14042025_16_19_22_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350034318","file1":"1350034263","file0":"1350034221","file4":"1350034398","file5":"1350034433","file3":"1350034352"},"map_files_photo_id_array":[{"photo_id":"1350034433","filename":"file5"},{"photo_id":"1350034318","filename":"file2"},{"photo_id":"1350034398","filename":"file4"},{"photo_id":"1350034263","filename":"file1"},{"photo_id":"1350034221","filename":"file0"},{"photo_id":"1350034352","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350034398":["hashtag1","hashtag2"]},{"1350034263":["hashtag1","hashtag2"]},{"1350034221":["hashtag1","hashtag2"]},{"1350034352":["hashtag1","hashtag2"]},{"1350034433":["hashtag1","hashtag2"]},{"1350034318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350034398, 1350034263, 1350034221, 1350034352, 1350034433, 1350034318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73023843765259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:18:02.915420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/21/image_14042025_16_21_43_2719.jpg', '/home/pi/Desktop/images/14042025/16/22/image_14042025_16_22_31_2582.jpg', '/home/pi/Desktop/images/14042025/16/22/image_14042025_16_22_38_2776.jpg', '/home/pi/Desktop/images/14042025/16/23/image_14042025_16_23_02_3534.jpg', '/home/pi/Desktop/images/14042025/16/25/image_14042025_16_25_46_2634.jpg', '/home/pi/Desktop/images/14042025/16/26/image_14042025_16_26_07_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/21/image_14042025_16_21_43_2719.jpg
/home/pi/Desktop/images/14042025/16/22/image_14042025_16_22_31_2582.jpg
/home/pi/Desktop/images/14042025/16/22/image_14042025_16_22_38_2776.jpg
/home/pi/Desktop/images/14042025/16/23/image_14042025_16_23_02_3534.jpg
/home/pi/Desktop/images/14042025/16/25/image_14042025_16_25_46_2634.jpg
/home/pi/Desktop/images/14042025/16/26/image_14042025_16_26_07_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350034695","1350034818","1350034749","1350034643","1350034591","1350034558"],"photo_ids_order":["1350034558","1350034591","1350034643","1350034695","1350034749","1350034818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6350ef71ea9a98db48a15a31f883b1c2.jpg","text":"TemporaryFile(/tmp/multipartBody4314011728273730780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748345411,"filename":"image_14042025_16_23_02_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66f36c8bd183522f56ac8c52a8e764e7.jpg","text":"TemporaryFile(/tmp/multipartBody6446694809464193227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748345411,"filename":"image_14042025_16_26_07_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b84320e2006c90cbb90d3b43b6bd2a79.jpg","text":"TemporaryFile(/tmp/multipartBody5258931718879560354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748345411,"filename":"image_14042025_16_25_46_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c90734eb84b31f87571a46fbe64be300.jpg","text":"TemporaryFile(/tmp/multipartBody356927319013448495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748345411,"filename":"image_14042025_16_22_38_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e661397ce484a7ada2d52b0a0e9c4a79.jpg","text":"TemporaryFile(/tmp/multipartBody5807353942813062301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748345411,"filename":"image_14042025_16_22_31_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81264dd971510449deca4fe4c3c49d28.jpg","text":"TemporaryFile(/tmp/multipartBody1984241764390735238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748345411,"filename":"image_14042025_16_21_43_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350034643","file1":"1350034591","file0":"1350034558","file4":"1350034749","file5":"1350034818","file3":"1350034695"},"map_files_photo_id_array":[{"photo_id":"1350034818","filename":"file5"},{"photo_id":"1350034643","filename":"file2"},{"photo_id":"1350034749","filename":"file4"},{"photo_id":"1350034591","filename":"file1"},{"photo_id":"1350034558","filename":"file0"},{"photo_id":"1350034695","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350034695":["hashtag1","hashtag2"]},{"1350034818":["hashtag1","hashtag2"]},{"1350034749":["hashtag1","hashtag2"]},{"1350034643":["hashtag1","hashtag2"]},{"1350034591":["hashtag1","hashtag2"]},{"1350034558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350034695, 1350034818, 1350034749, 1350034643, 1350034591, 1350034558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87690830230713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:18:42.406836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/26/image_14042025_16_26_43_2760.jpg', '/home/pi/Desktop/images/14042025/16/29/image_14042025_16_29_07_3631.jpg', '/home/pi/Desktop/images/14042025/16/29/image_14042025_16_29_40_3601.jpg', '/home/pi/Desktop/images/14042025/16/31/image_14042025_16_31_14_2638.jpg', '/home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_13_2573.jpg', '/home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_56_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/26/image_14042025_16_26_43_2760.jpg
/home/pi/Desktop/images/14042025/16/29/image_14042025_16_29_07_3631.jpg
/home/pi/Desktop/images/14042025/16/29/image_14042025_16_29_40_3601.jpg
/home/pi/Desktop/images/14042025/16/31/image_14042025_16_31_14_2638.jpg
/home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_13_2573.jpg
/home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_56_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350035415","1350035297","1350035522","1350035630","1350035203","1350035125"],"photo_ids_order":["1350035125","1350035203","1350035297","1350035415","1350035522","1350035630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c17595817fa450c384d7d716de02f5a.jpg","text":"TemporaryFile(/tmp/multipartBody6273128346574079755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748383899,"filename":"image_14042025_16_31_14_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/437d1faa0105e9b5adfb8368051ed102.jpg","text":"TemporaryFile(/tmp/multipartBody660284958217346960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748383899,"filename":"image_14042025_16_29_40_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/504e3e1df8c501772217f10d96d98301.jpg","text":"TemporaryFile(/tmp/multipartBody8800151878003872246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748383899,"filename":"image_14042025_16_32_13_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6eb8631be83286f6f48478751de529a.jpg","text":"TemporaryFile(/tmp/multipartBody6905934573622645727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748383899,"filename":"image_14042025_16_32_56_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5888dc251370652a536cbdeb1bd26737.jpg","text":"TemporaryFile(/tmp/multipartBody7326658019965949451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748383899,"filename":"image_14042025_16_29_07_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c7ffb947dbd0e92f5570ea5febd6b78.jpg","text":"TemporaryFile(/tmp/multipartBody5245634960680917173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748383899,"filename":"image_14042025_16_26_43_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350035297","file1":"1350035203","file0":"1350035125","file4":"1350035522","file5":"1350035630","file3":"1350035415"},"map_files_photo_id_array":[{"photo_id":"1350035630","filename":"file5"},{"photo_id":"1350035297","filename":"file2"},{"photo_id":"1350035522","filename":"file4"},{"photo_id":"1350035203","filename":"file1"},{"photo_id":"1350035125","filename":"file0"},{"photo_id":"1350035415","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350035415":["hashtag1","hashtag2"]},{"1350035297":["hashtag1","hashtag2"]},{"1350035522":["hashtag1","hashtag2"]},{"1350035630":["hashtag1","hashtag2"]},{"1350035203":["hashtag1","hashtag2"]},{"1350035125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350035415, 1350035297, 1350035522, 1350035630, 1350035203, 1350035125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.990609884262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:19:22.549918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_59_2771.jpg', '/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_02_2761.jpg', '/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_17_3597.jpg', '/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_19_2608.jpg', '/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_23_3722.jpg', '/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_26_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/32/image_14042025_16_32_59_2771.jpg
/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_02_2761.jpg
/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_17_3597.jpg
/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_19_2608.jpg
/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_23_3722.jpg
/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_26_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350035906","1350035977","1350035941","1350036063","1350036126","1350036009"],"photo_ids_order":["1350035906","1350035941","1350035977","1350036009","1350036063","1350036126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5cf252782d184445d8145b8ce3753e7.jpg","text":"TemporaryFile(/tmp/multipartBody8273148551277320574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748425640,"filename":"image_14042025_16_32_59_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ae1d436ca8524405542828dd208b6dd.jpg","text":"TemporaryFile(/tmp/multipartBody1902418626994515627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748425640,"filename":"image_14042025_16_33_17_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9120bc15435f94b1df7342d7081e20e8.jpg","text":"TemporaryFile(/tmp/multipartBody2798775769923035632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748425640,"filename":"image_14042025_16_33_02_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1cc983d3ca2a9335da129818fc2dc430.jpg","text":"TemporaryFile(/tmp/multipartBody8140987863127805464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748425640,"filename":"image_14042025_16_33_23_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b12c14cab138c514c2b0d004f789870.jpg","text":"TemporaryFile(/tmp/multipartBody2835011692772968701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748425640,"filename":"image_14042025_16_33_26_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80175ad71183c1e04431fc6a94cf236a.jpg","text":"TemporaryFile(/tmp/multipartBody3693190542435352936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748425640,"filename":"image_14042025_16_33_19_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350035977","file1":"1350035941","file0":"1350035906","file4":"1350036063","file5":"1350036126","file3":"1350036009"},"map_files_photo_id_array":[{"photo_id":"1350036126","filename":"file5"},{"photo_id":"1350035977","filename":"file2"},{"photo_id":"1350036063","filename":"file4"},{"photo_id":"1350035941","filename":"file1"},{"photo_id":"1350035906","filename":"file0"},{"photo_id":"1350036009","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350035906":["hashtag1","hashtag2"]},{"1350035977":["hashtag1","hashtag2"]},{"1350035941":["hashtag1","hashtag2"]},{"1350036063":["hashtag1","hashtag2"]},{"1350036126":["hashtag1","hashtag2"]},{"1350036009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350035906, 1350035977, 1350035941, 1350036063, 1350036126, 1350036009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.931830406188965 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:20:21.902358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_28_2599.jpg', '/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_32_3705.jpg', '/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_37_2740.jpg', '/home/pi/Desktop/images/14042025/16/34/image_14042025_16_34_31_2592.jpg', '/home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_07_3012.jpg', '/home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_25_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_28_2599.jpg
/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_32_3705.jpg
/home/pi/Desktop/images/14042025/16/33/image_14042025_16_33_37_2740.jpg
/home/pi/Desktop/images/14042025/16/34/image_14042025_16_34_31_2592.jpg
/home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_07_3012.jpg
/home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_25_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350037445","1350037669","1350037953","1350037896","1350036916","1350037163"],"photo_ids_order":["1350036916","1350037163","1350037445","1350037669","1350037896","1350037953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc689893e5cc89b209f8f2cb0164c5e1.jpg","text":"TemporaryFile(/tmp/multipartBody4092571488226240526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748485110,"filename":"image_14042025_16_33_37_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00a833b2df336dc7a871327ab8c3ea04.jpg","text":"TemporaryFile(/tmp/multipartBody4471099621259280202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748485110,"filename":"image_14042025_16_34_31_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04e99456e09daed8db814df37ed88eef.jpg","text":"TemporaryFile(/tmp/multipartBody9100051081094465170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748485110,"filename":"image_14042025_16_36_25_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe00293d63a1d316935332463345dc5d.jpg","text":"TemporaryFile(/tmp/multipartBody6999110377958329248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748485110,"filename":"image_14042025_16_36_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6277a771253da0d6dcf186440927631.jpg","text":"TemporaryFile(/tmp/multipartBody7230418371454312917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748485110,"filename":"image_14042025_16_33_28_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7132d86ccc54a54c8ed2e6fddcb213a.jpg","text":"TemporaryFile(/tmp/multipartBody3181142775283438230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748485110,"filename":"image_14042025_16_33_32_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350037445","file1":"1350037163","file0":"1350036916","file4":"1350037896","file5":"1350037953","file3":"1350037669"},"map_files_photo_id_array":[{"photo_id":"1350037953","filename":"file5"},{"photo_id":"1350037445","filename":"file2"},{"photo_id":"1350037896","filename":"file4"},{"photo_id":"1350037163","filename":"file1"},{"photo_id":"1350036916","filename":"file0"},{"photo_id":"1350037669","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350037445":["hashtag1","hashtag2"]},{"1350037669":["hashtag1","hashtag2"]},{"1350037953":["hashtag1","hashtag2"]},{"1350037896":["hashtag1","hashtag2"]},{"1350036916":["hashtag1","hashtag2"]},{"1350037163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350037445, 1350037669, 1350037953, 1350037896, 1350036916, 1350037163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.204652070999146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:21:03.569252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_41_2609.jpg', '/home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_16_2539.jpg', '/home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_25_9049.jpg', '/home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_52_23335.jpg', '/home/pi/Desktop/images/14042025/16/38/image_14042025_16_38_07_15131.jpg', '/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/36/image_14042025_16_36_41_2609.jpg
/home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_16_2539.jpg
/home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_25_9049.jpg
/home/pi/Desktop/images/14042025/16/37/image_14042025_16_37_52_23335.jpg
/home/pi/Desktop/images/14042025/16/38/image_14042025_16_38_07_15131.jpg
/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_06_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350038201","1350038364","1350038139","1350038264","1350038231","1350038306"],"photo_ids_order":["1350038139","1350038201","1350038231","1350038264","1350038306","1350038364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9b45881b4b1d532ab3350c8b031c4b7.jpg","text":"TemporaryFile(/tmp/multipartBody8005037817771352891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748526117,"filename":"image_14042025_16_37_16_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73d9633915fe50340391c681b3807074.jpg","text":"TemporaryFile(/tmp/multipartBody862417386246446445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748526117,"filename":"image_14042025_16_41_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b17850d711b4d4c46ea20c33f0685178.jpg","text":"TemporaryFile(/tmp/multipartBody5443922331430096794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748526117,"filename":"image_14042025_16_36_41_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d894e11330f4e9ae468ba8f8e1a611bb.jpg","text":"TemporaryFile(/tmp/multipartBody4543210663333938899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748526117,"filename":"image_14042025_16_37_52_23335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bbec4dc4fc683d7a9f8a8fa6a4b7d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1611016872968012178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748526117,"filename":"image_14042025_16_37_25_9049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f42ddb97ade751d2b2ea0fff46e6395c.jpg","text":"TemporaryFile(/tmp/multipartBody7974256343285566577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748526117,"filename":"image_14042025_16_38_07_15131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350038231","file1":"1350038201","file0":"1350038139","file4":"1350038306","file5":"1350038364","file3":"1350038264"},"map_files_photo_id_array":[{"photo_id":"1350038364","filename":"file5"},{"photo_id":"1350038231","filename":"file2"},{"photo_id":"1350038306","filename":"file4"},{"photo_id":"1350038201","filename":"file1"},{"photo_id":"1350038139","filename":"file0"},{"photo_id":"1350038264","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350038201":["hashtag1","hashtag2"]},{"1350038364":["hashtag1","hashtag2"]},{"1350038139":["hashtag1","hashtag2"]},{"1350038264":["hashtag1","hashtag2"]},{"1350038231":["hashtag1","hashtag2"]},{"1350038306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350038201, 1350038364, 1350038139, 1350038264, 1350038231, 1350038306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.244788646698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:22:02.848213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_19_3881.jpg', '/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_28_3686.jpg', '/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_46_2559.jpg', '/home/pi/Desktop/images/14042025/16/42/image_14042025_16_42_34_2685.jpg', '/home/pi/Desktop/images/14042025/16/42/image_14042025_16_42_58_3695.jpg', '/home/pi/Desktop/images/14042025/16/43/image_14042025_16_43_19_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_19_3881.jpg
/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_28_3686.jpg
/home/pi/Desktop/images/14042025/16/41/image_14042025_16_41_46_2559.jpg
/home/pi/Desktop/images/14042025/16/42/image_14042025_16_42_34_2685.jpg
/home/pi/Desktop/images/14042025/16/42/image_14042025_16_42_58_3695.jpg
/home/pi/Desktop/images/14042025/16/43/image_14042025_16_43_19_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350039316","1350039118","1350039162","1350039386","1350039353","1350039275"],"photo_ids_order":["1350039118","1350039162","1350039275","1350039316","1350039353","1350039386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/417c7c377dbf931509a43a03f723a035.jpg","text":"TemporaryFile(/tmp/multipartBody1614104703449188822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748585296,"filename":"image_14042025_16_42_34_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2152d551248498f40edde37f673bee23.jpg","text":"TemporaryFile(/tmp/multipartBody1156008263153509647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748585296,"filename":"image_14042025_16_41_19_3881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/720f41aff24bce9fad499639e7dc7ad3.jpg","text":"TemporaryFile(/tmp/multipartBody6251660066447754683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748585296,"filename":"image_14042025_16_41_28_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10ba004470f2a6879c9c61e62ef958d6.jpg","text":"TemporaryFile(/tmp/multipartBody5952058546107767958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748585296,"filename":"image_14042025_16_43_19_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00cba91eeb9392acadf8438e77732b0b.jpg","text":"TemporaryFile(/tmp/multipartBody5496193381515127810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748585296,"filename":"image_14042025_16_42_58_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3e7d6a7a93b4fe330fbcb5328fa9e22.jpg","text":"TemporaryFile(/tmp/multipartBody3245666315220813792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748585296,"filename":"image_14042025_16_41_46_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350039275","file1":"1350039162","file0":"1350039118","file4":"1350039353","file5":"1350039386","file3":"1350039316"},"map_files_photo_id_array":[{"photo_id":"1350039386","filename":"file5"},{"photo_id":"1350039275","filename":"file2"},{"photo_id":"1350039353","filename":"file4"},{"photo_id":"1350039162","filename":"file1"},{"photo_id":"1350039118","filename":"file0"},{"photo_id":"1350039316","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350039316":["hashtag1","hashtag2"]},{"1350039118":["hashtag1","hashtag2"]},{"1350039162":["hashtag1","hashtag2"]},{"1350039386":["hashtag1","hashtag2"]},{"1350039353":["hashtag1","hashtag2"]},{"1350039275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350039316, 1350039118, 1350039162, 1350039386, 1350039353, 1350039275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35025072097778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:22:42.479587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_11_3680.jpg', '/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_14_2778.jpg', '/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_50_2660.jpg', '/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_52_2655.jpg', '/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_55_2733.jpg', '/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_01_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_11_3680.jpg
/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_14_2778.jpg
/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_50_2660.jpg
/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_52_2655.jpg
/home/pi/Desktop/images/14042025/16/45/image_14042025_16_45_55_2733.jpg
/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_01_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350039517","1350039579","1350039645","1350039615","1350039482","1350039551"],"photo_ids_order":["1350039482","1350039517","1350039551","1350039579","1350039615","1350039645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b67bd8cdb2aacbb75e16011038772349.jpg","text":"TemporaryFile(/tmp/multipartBody2684124904649272341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748623889,"filename":"image_14042025_16_45_14_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02028ecd64674a8ab5f804091a441315.jpg","text":"TemporaryFile(/tmp/multipartBody7392863871489518508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748623889,"filename":"image_14042025_16_45_52_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76629593284048fe13297dc453948db3.jpg","text":"TemporaryFile(/tmp/multipartBody3318935126894253115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748623889,"filename":"image_14042025_16_46_01_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b5b32d054538f74c029bcda31ead2a9.jpg","text":"TemporaryFile(/tmp/multipartBody423317936578178382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748623889,"filename":"image_14042025_16_45_55_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50d57ef8b042d9830762a08f3557b486.jpg","text":"TemporaryFile(/tmp/multipartBody5390278236474841172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748623889,"filename":"image_14042025_16_45_11_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdb66d96a07aaac0a8b8f8509b7964ff.jpg","text":"TemporaryFile(/tmp/multipartBody7409434837164249721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748623889,"filename":"image_14042025_16_45_50_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350039551","file1":"1350039517","file0":"1350039482","file4":"1350039615","file5":"1350039645","file3":"1350039579"},"map_files_photo_id_array":[{"photo_id":"1350039645","filename":"file5"},{"photo_id":"1350039551","filename":"file2"},{"photo_id":"1350039615","filename":"file4"},{"photo_id":"1350039517","filename":"file1"},{"photo_id":"1350039482","filename":"file0"},{"photo_id":"1350039579","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350039517":["hashtag1","hashtag2"]},{"1350039579":["hashtag1","hashtag2"]},{"1350039645":["hashtag1","hashtag2"]},{"1350039615":["hashtag1","hashtag2"]},{"1350039482":["hashtag1","hashtag2"]},{"1350039551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350039517, 1350039579, 1350039645, 1350039615, 1350039482, 1350039551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7530198097229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:23:22.669603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/21/43/image_15042025_21_43_11_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/21/43/image_15042025_21_43_11_2696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350039766"],"photo_id":"1350039766","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1853ca395415eec8e4afd978a2eae40.jpg","text":"TemporaryFile(/tmp/multipartBody7555296562440925700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748663205,"filename":"image_15042025_21_43_11_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350039766"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350039766"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.979076385498047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:23:42.661358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_08_3785.jpg', '/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_11_2771.jpg', '/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_17_3715.jpg', '/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_22_2753.jpg', '/home/pi/Desktop/images/14042025/16/50/image_14042025_16_50_47_3624.jpg', '/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_35_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_08_3785.jpg
/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_11_2771.jpg
/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_17_3715.jpg
/home/pi/Desktop/images/14042025/16/46/image_14042025_16_46_22_2753.jpg
/home/pi/Desktop/images/14042025/16/50/image_14042025_16_50_47_3624.jpg
/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_35_3632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350040033","1350040000","1350039971","1350040239","1350039926","1350039898"],"photo_ids_order":["1350039898","1350039926","1350039971","1350040000","1350040033","1350040239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c8fbd59fb147d1d7b5b9edba918aa13.jpg","text":"TemporaryFile(/tmp/multipartBody1868847529478002202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748684098,"filename":"image_14042025_16_50_47_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4188a4166cd961a9aa0d9fe0f99fe88.jpg","text":"TemporaryFile(/tmp/multipartBody6184388034459811275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748684098,"filename":"image_14042025_16_46_22_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d3d131810a9c49704b771d813ba8eeb.jpg","text":"TemporaryFile(/tmp/multipartBody369549060403059245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748684098,"filename":"image_14042025_16_46_17_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d216479c289e7bc0e369a5f7bb96b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2585011662265568133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748684098,"filename":"image_14042025_16_51_35_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b68b8095182b82a1153faa598833618.jpg","text":"TemporaryFile(/tmp/multipartBody3342247965924520542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748684098,"filename":"image_14042025_16_46_11_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bc77e4b066047ee5f24125dca616ef0.jpg","text":"TemporaryFile(/tmp/multipartBody825204302678738893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748684098,"filename":"image_14042025_16_46_08_3785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350039971","file1":"1350039926","file0":"1350039898","file4":"1350040033","file5":"1350040239","file3":"1350040000"},"map_files_photo_id_array":[{"photo_id":"1350040239","filename":"file5"},{"photo_id":"1350039971","filename":"file2"},{"photo_id":"1350040033","filename":"file4"},{"photo_id":"1350039926","filename":"file1"},{"photo_id":"1350039898","filename":"file0"},{"photo_id":"1350040000","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350040033":["hashtag1","hashtag2"]},{"1350040000":["hashtag1","hashtag2"]},{"1350039971":["hashtag1","hashtag2"]},{"1350040239":["hashtag1","hashtag2"]},{"1350039926":["hashtag1","hashtag2"]},{"1350039898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350040033, 1350040000, 1350039971, 1350040239, 1350039926, 1350039898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.58030939102173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:24:41.864549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_37_2709.jpg', '/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_47_2606.jpg', '/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_49_2771.jpg', '/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_53_3655.jpg', '/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_56_2720.jpg', '/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_58_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_37_2709.jpg
/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_47_2606.jpg
/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_49_2771.jpg
/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_53_3655.jpg
/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_56_2720.jpg
/home/pi/Desktop/images/14042025/16/51/image_14042025_16_51_58_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350041181","1350040822","1350040992","1350040743","1350040905","1350041071"],"photo_ids_order":["1350040743","1350040822","1350040905","1350040992","1350041071","1350041181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a5cc3ab5ab1c63124a94443473b481f.jpg","text":"TemporaryFile(/tmp/multipartBody3840139182105324501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748743280,"filename":"image_14042025_16_51_58_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7cc20fd194e2a1bdd744e89306c5f2a7.jpg","text":"TemporaryFile(/tmp/multipartBody8007585605126816539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748743280,"filename":"image_14042025_16_51_47_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7330373ae614aa1ef0acba6ebb9e0821.jpg","text":"TemporaryFile(/tmp/multipartBody2583628665945327767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748743280,"filename":"image_14042025_16_51_53_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1e9cdb48f48f1c0855f57f9eb6f5b33.jpg","text":"TemporaryFile(/tmp/multipartBody3887929100177414776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748743280,"filename":"image_14042025_16_51_37_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08a8c740408b836574976f316ac26c17.jpg","text":"TemporaryFile(/tmp/multipartBody5215038526682769663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748743280,"filename":"image_14042025_16_51_49_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff3c4be6087c2b9b536430d06c196c06.jpg","text":"TemporaryFile(/tmp/multipartBody6466910340442909863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748743280,"filename":"image_14042025_16_51_56_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350040905","file1":"1350040822","file0":"1350040743","file4":"1350041071","file5":"1350041181","file3":"1350040992"},"map_files_photo_id_array":[{"photo_id":"1350041181","filename":"file5"},{"photo_id":"1350040905","filename":"file2"},{"photo_id":"1350041071","filename":"file4"},{"photo_id":"1350040822","filename":"file1"},{"photo_id":"1350040743","filename":"file0"},{"photo_id":"1350040992","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350041181":["hashtag1","hashtag2"]},{"1350040822":["hashtag1","hashtag2"]},{"1350040992":["hashtag1","hashtag2"]},{"1350040743":["hashtag1","hashtag2"]},{"1350040905":["hashtag1","hashtag2"]},{"1350041071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350041181, 1350040822, 1350040992, 1350040743, 1350040905, 1350041071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59849143028259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:25:22.007291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/23/image_15042025_22_23_50_3814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/22/23/image_15042025_22_23_50_3814.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350041460"],"photo_id":"1350041460","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3e8f43f9ab71ccc02e62657157aa2cb.jpg","text":"TemporaryFile(/tmp/multipartBody1637221521276994115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748782545,"filename":"image_15042025_22_23_50_3814.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350041460"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350041460"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.88985276222229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:25:42.069869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_01_2861.jpg', '/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_08_2777.jpg', '/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_20_2617.jpg', '/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_44_3586.jpg', '/home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_13_2731.jpg', '/home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_41_2882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_01_2861.jpg
/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_08_2777.jpg
/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_20_2617.jpg
/home/pi/Desktop/images/14042025/16/52/image_14042025_16_52_44_3586.jpg
/home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_13_2731.jpg
/home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_41_2882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350041917","1350041796","1350041763","1350042020","1350041867","1350041822"],"photo_ids_order":["1350041763","1350041796","1350041822","1350041867","1350041917","1350042020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34c76207603d18fc5a1f4465984d3801.jpg","text":"TemporaryFile(/tmp/multipartBody6007375621451448171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748803492,"filename":"image_14042025_16_53_13_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/744f406e9463a4fa28d407f58c437950.jpg","text":"TemporaryFile(/tmp/multipartBody3614990579415983892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748803492,"filename":"image_14042025_16_52_08_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e95e6cdaca731f0193be0076504ab3e.jpg","text":"TemporaryFile(/tmp/multipartBody7799938325361814476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748803492,"filename":"image_14042025_16_52_01_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57b13442afeb62249414708b6473654f.jpg","text":"TemporaryFile(/tmp/multipartBody311633326813272040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748803492,"filename":"image_14042025_16_53_41_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/beb0e39fd205f95e6f1f687570145db9.jpg","text":"TemporaryFile(/tmp/multipartBody1051808307382159046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748803492,"filename":"image_14042025_16_52_44_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f1edb8ef050b76f531b526f8299f28c.jpg","text":"TemporaryFile(/tmp/multipartBody6138376768478118371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748803492,"filename":"image_14042025_16_52_20_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350041822","file1":"1350041796","file0":"1350041763","file4":"1350041917","file5":"1350042020","file3":"1350041867"},"map_files_photo_id_array":[{"photo_id":"1350042020","filename":"file5"},{"photo_id":"1350041822","filename":"file2"},{"photo_id":"1350041917","filename":"file4"},{"photo_id":"1350041796","filename":"file1"},{"photo_id":"1350041763","filename":"file0"},{"photo_id":"1350041867","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350041917":["hashtag1","hashtag2"]},{"1350041796":["hashtag1","hashtag2"]},{"1350041763":["hashtag1","hashtag2"]},{"1350042020":["hashtag1","hashtag2"]},{"1350041867":["hashtag1","hashtag2"]},{"1350041822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350041917, 1350041796, 1350041763, 1350042020, 1350041867, 1350041822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.930238485336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:26:41.908577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_46_2840.jpg', '/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_02_3589.jpg', '/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_10_2878.jpg', '/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_22_2973.jpg', '/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_52_2711.jpg', '/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_55_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/53/image_14042025_16_53_46_2840.jpg
/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_02_3589.jpg
/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_10_2878.jpg
/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_22_2973.jpg
/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_52_2711.jpg
/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_55_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350042403","1350042249","1350042432","1350042374","1350042344","1350042301"],"photo_ids_order":["1350042249","1350042301","1350042344","1350042374","1350042403","1350042432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7978e366dac32fe352337d5bbb5584da.jpg","text":"TemporaryFile(/tmp/multipartBody5045305815679850920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748863325,"filename":"image_14042025_16_54_52_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ec3364446a6e257c902eebfa1342240.jpg","text":"TemporaryFile(/tmp/multipartBody6482903472620918977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748863325,"filename":"image_14042025_16_53_46_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03ad92dbef7631a2000809e4f9683f21.jpg","text":"TemporaryFile(/tmp/multipartBody7276755460270502625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748863325,"filename":"image_14042025_16_54_55_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca8fce4d122d65e85f2bd1890300ee07.jpg","text":"TemporaryFile(/tmp/multipartBody3214936352956883208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748863325,"filename":"image_14042025_16_54_22_2973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f1e7743a166069c94fe54296f8ba43a.jpg","text":"TemporaryFile(/tmp/multipartBody4083674794644973170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748863325,"filename":"image_14042025_16_54_10_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5719a61bd6a700f3d929b757e581f58.jpg","text":"TemporaryFile(/tmp/multipartBody7233244612802724829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748863325,"filename":"image_14042025_16_54_02_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350042344","file1":"1350042301","file0":"1350042249","file4":"1350042403","file5":"1350042432","file3":"1350042374"},"map_files_photo_id_array":[{"photo_id":"1350042432","filename":"file5"},{"photo_id":"1350042344","filename":"file2"},{"photo_id":"1350042403","filename":"file4"},{"photo_id":"1350042301","filename":"file1"},{"photo_id":"1350042249","filename":"file0"},{"photo_id":"1350042374","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350042403":["hashtag1","hashtag2"]},{"1350042249":["hashtag1","hashtag2"]},{"1350042432":["hashtag1","hashtag2"]},{"1350042374":["hashtag1","hashtag2"]},{"1350042344":["hashtag1","hashtag2"]},{"1350042301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350042403, 1350042249, 1350042432, 1350042374, 1350042344, 1350042301)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.18576717376709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:27:42.632965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_58_2940.jpg', '/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_07_3010.jpg', '/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_44_3802.jpg', '/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_37_2668.jpg', '/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_44_2783.jpg', '/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_46_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/54/image_14042025_16_54_58_2940.jpg
/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_07_3010.jpg
/home/pi/Desktop/images/14042025/16/55/image_14042025_16_55_44_3802.jpg
/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_37_2668.jpg
/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_44_2783.jpg
/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_46_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350042585","1350042588","1350042654","1350042581","1350042616","1350042646"],"photo_ids_order":["1350042581","1350042585","1350042588","1350042616","1350042646","1350042654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/724842818eaf5417a3b380ab361d2569.jpg","text":"TemporaryFile(/tmp/multipartBody2932188849482821363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748924049,"filename":"image_14042025_16_55_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9e62cb37ccd53916f98d763588d571a.jpg","text":"TemporaryFile(/tmp/multipartBody7715889834333877337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748924049,"filename":"image_14042025_16_55_44_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eaf6f4f86804b750194e07c8109b4dd9.jpg","text":"TemporaryFile(/tmp/multipartBody1664093571397386686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748924049,"filename":"image_14042025_16_58_46_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64556e7bef7489fbafec7e9e4da88208.jpg","text":"TemporaryFile(/tmp/multipartBody8379867471539779623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748924049,"filename":"image_14042025_16_54_58_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5587efd2b4385d33422f4039576ab89.jpg","text":"TemporaryFile(/tmp/multipartBody5367566116186851900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748924049,"filename":"image_14042025_16_58_37_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f868d27a2f21b01a89ad89eacba2484.jpg","text":"TemporaryFile(/tmp/multipartBody8921935054954522017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748924049,"filename":"image_14042025_16_58_44_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350042588","file1":"1350042585","file0":"1350042581","file4":"1350042646","file5":"1350042654","file3":"1350042616"},"map_files_photo_id_array":[{"photo_id":"1350042654","filename":"file5"},{"photo_id":"1350042588","filename":"file2"},{"photo_id":"1350042646","filename":"file4"},{"photo_id":"1350042585","filename":"file1"},{"photo_id":"1350042581","filename":"file0"},{"photo_id":"1350042616","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350042585":["hashtag1","hashtag2"]},{"1350042588":["hashtag1","hashtag2"]},{"1350042654":["hashtag1","hashtag2"]},{"1350042581":["hashtag1","hashtag2"]},{"1350042616":["hashtag1","hashtag2"]},{"1350042646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350042585, 1350042588, 1350042654, 1350042581, 1350042616, 1350042646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79820537567139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:28:22.114788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_50_3663.jpg', '/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_52_2251.jpg', '/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_55_2812.jpg', '/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_59_3673.jpg', '/home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_01_2663.jpg', '/home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_20_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_50_3663.jpg
/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_52_2251.jpg
/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_55_2812.jpg
/home/pi/Desktop/images/14042025/16/58/image_14042025_16_58_59_3673.jpg
/home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_01_2663.jpg
/home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_20_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350042858","1350042738","1350042825","1350042768","1350042796","1350042886"],"photo_ids_order":["1350042738","1350042768","1350042796","1350042825","1350042858","1350042886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee48a76a5701de64a7376bfc9b6dadd3.jpg","text":"TemporaryFile(/tmp/multipartBody3326492464589408082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748968737,"filename":"image_14042025_16_59_01_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f312be4fd8a0db76c5b0f7cda148111.jpg","text":"TemporaryFile(/tmp/multipartBody7252218582906505167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748968737,"filename":"image_14042025_16_58_50_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/972f359a9cabaa3356bbdd0f9e96d328.jpg","text":"TemporaryFile(/tmp/multipartBody9113103564747491231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748968737,"filename":"image_14042025_16_58_59_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a5688cd847c2d75cf3aaba86827254d.jpg","text":"TemporaryFile(/tmp/multipartBody6930736516935810781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748968737,"filename":"image_14042025_16_58_52_2251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51b88d49c8c321cc648931b28c5a4f1d.jpg","text":"TemporaryFile(/tmp/multipartBody8826224797452990771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748968737,"filename":"image_14042025_16_58_55_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6fd8b75eb7c69b2250789f929433df0.jpg","text":"TemporaryFile(/tmp/multipartBody2173006826763484957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744748968737,"filename":"image_14042025_16_59_20_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350042796","file1":"1350042768","file0":"1350042738","file4":"1350042858","file5":"1350042886","file3":"1350042825"},"map_files_photo_id_array":[{"photo_id":"1350042886","filename":"file5"},{"photo_id":"1350042796","filename":"file2"},{"photo_id":"1350042858","filename":"file4"},{"photo_id":"1350042768","filename":"file1"},{"photo_id":"1350042738","filename":"file0"},{"photo_id":"1350042825","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350042858":["hashtag1","hashtag2"]},{"1350042738":["hashtag1","hashtag2"]},{"1350042825":["hashtag1","hashtag2"]},{"1350042768":["hashtag1","hashtag2"]},{"1350042796":["hashtag1","hashtag2"]},{"1350042886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350042858, 1350042738, 1350042825, 1350042768, 1350042796, 1350042886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01529407501221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:29:21.874649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_29_3654.jpg', '/home/pi/Desktop/images/14042025/17/01/image_14042025_17_01_13_2650.jpg', '/home/pi/Desktop/images/14042025/17/04/image_14042025_17_04_22_3579.jpg', '/home/pi/Desktop/images/14042025/17/05/image_14042025_17_05_07_3011.jpg', '/home/pi/Desktop/images/14042025/17/06/image_14042025_17_06_26_3776.jpg', '/home/pi/Desktop/images/14042025/17/06/image_14042025_17_06_28_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/16/59/image_14042025_16_59_29_3654.jpg
/home/pi/Desktop/images/14042025/17/01/image_14042025_17_01_13_2650.jpg
/home/pi/Desktop/images/14042025/17/04/image_14042025_17_04_22_3579.jpg
/home/pi/Desktop/images/14042025/17/05/image_14042025_17_05_07_3011.jpg
/home/pi/Desktop/images/14042025/17/06/image_14042025_17_06_26_3776.jpg
/home/pi/Desktop/images/14042025/17/06/image_14042025_17_06_28_2783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350043157","1350043169","1350043165","1350043225","1350043105","1350043134"],"photo_ids_order":["1350043105","1350043134","1350043157","1350043165","1350043169","1350043225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5e41c0a1314c2b612136e59816c4742.jpg","text":"TemporaryFile(/tmp/multipartBody4917796880588531120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749024957,"filename":"image_14042025_17_04_22_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33bfd65229b184b0a9570a9ad7e5a594.jpg","text":"TemporaryFile(/tmp/multipartBody5100014171089138750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749024957,"filename":"image_14042025_17_06_26_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/358c0b338a76e0f50d98fc42d0188522.jpg","text":"TemporaryFile(/tmp/multipartBody1778307862878362709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749024957,"filename":"image_14042025_17_05_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61ccc0053d72d14ccfbd8998da41cc35.jpg","text":"TemporaryFile(/tmp/multipartBody5708074261308309931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749024957,"filename":"image_14042025_17_06_28_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e45f8dcc0f1dcb6cf83204ae3c717d7.jpg","text":"TemporaryFile(/tmp/multipartBody4616052545361477159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749024957,"filename":"image_14042025_16_59_29_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c16258e040a6318f066d94b237b3ca8f.jpg","text":"TemporaryFile(/tmp/multipartBody2291835575596543430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749024957,"filename":"image_14042025_17_01_13_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350043157","file1":"1350043134","file0":"1350043105","file4":"1350043169","file5":"1350043225","file3":"1350043165"},"map_files_photo_id_array":[{"photo_id":"1350043225","filename":"file5"},{"photo_id":"1350043157","filename":"file2"},{"photo_id":"1350043169","filename":"file4"},{"photo_id":"1350043134","filename":"file1"},{"photo_id":"1350043105","filename":"file0"},{"photo_id":"1350043165","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350043157":["hashtag1","hashtag2"]},{"1350043169":["hashtag1","hashtag2"]},{"1350043165":["hashtag1","hashtag2"]},{"1350043225":["hashtag1","hashtag2"]},{"1350043105":["hashtag1","hashtag2"]},{"1350043134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350043157, 1350043169, 1350043165, 1350043225, 1350043105, 1350043134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5516517162323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:30:22.339300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_01_2670.jpg', '/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_28_3684.jpg', '/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_52_2560.jpg', '/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_55_3687.jpg', '/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_19_2771.jpg', '/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_22_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_01_2670.jpg
/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_28_3684.jpg
/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_52_2560.jpg
/home/pi/Desktop/images/14042025/17/07/image_14042025_17_07_55_3687.jpg
/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_19_2771.jpg
/home/pi/Desktop/images/14042025/17/08/image_14042025_17_08_22_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350043653","1350043541","1350043715","1350043619","1350043683","1350043584"],"photo_ids_order":["1350043541","1350043584","1350043619","1350043653","1350043683","1350043715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11bfd9eac1550ee9dc9cd7ece1b31323.jpg","text":"TemporaryFile(/tmp/multipartBody5765227620643749488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749085611,"filename":"image_14042025_17_07_55_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65deaf0cb98fe0172ddcac218acd104b.jpg","text":"TemporaryFile(/tmp/multipartBody3195819247584794419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749085611,"filename":"image_14042025_17_07_01_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88c56628b9e27780704d1501c29a63fa.jpg","text":"TemporaryFile(/tmp/multipartBody4520109070780913794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749085611,"filename":"image_14042025_17_08_22_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66c2cb3f31892f12d153d6ad273eaf55.jpg","text":"TemporaryFile(/tmp/multipartBody8051570325502350856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749085611,"filename":"image_14042025_17_07_52_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1727efa9f2d5d91893e99e9e51ffe760.jpg","text":"TemporaryFile(/tmp/multipartBody4300641280296610221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749085611,"filename":"image_14042025_17_08_19_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6df98270cc1b1e545cae7df25d250023.jpg","text":"TemporaryFile(/tmp/multipartBody2605553817126463924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749085611,"filename":"image_14042025_17_07_28_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350043619","file1":"1350043584","file0":"1350043541","file4":"1350043683","file5":"1350043715","file3":"1350043653"},"map_files_photo_id_array":[{"photo_id":"1350043715","filename":"file5"},{"photo_id":"1350043619","filename":"file2"},{"photo_id":"1350043683","filename":"file4"},{"photo_id":"1350043584","filename":"file1"},{"photo_id":"1350043541","filename":"file0"},{"photo_id":"1350043653","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350043653":["hashtag1","hashtag2"]},{"1350043541":["hashtag1","hashtag2"]},{"1350043715":["hashtag1","hashtag2"]},{"1350043619":["hashtag1","hashtag2"]},{"1350043683":["hashtag1","hashtag2"]},{"1350043584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350043653, 1350043541, 1350043715, 1350043619, 1350043683, 1350043584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78607106208801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:31:22.037741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/09/image_14042025_17_09_28_2683.jpg', '/home/pi/Desktop/images/14042025/17/10/image_14042025_17_10_53_2982.jpg', '/home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_13_2707.jpg', '/home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_31_2694.jpg', '/home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_55_2761.jpg', '/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_13_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/09/image_14042025_17_09_28_2683.jpg
/home/pi/Desktop/images/14042025/17/10/image_14042025_17_10_53_2982.jpg
/home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_13_2707.jpg
/home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_31_2694.jpg
/home/pi/Desktop/images/14042025/17/11/image_14042025_17_11_55_2761.jpg
/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_13_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350044069","1350043993","1350044038","1350044101","1350043959","1350043929"],"photo_ids_order":["1350043929","1350043959","1350043993","1350044038","1350044069","1350044101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e64dd102a9521f13a98c7c53c27eb4b.jpg","text":"TemporaryFile(/tmp/multipartBody1075040064828894471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749145149,"filename":"image_14042025_17_11_55_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16f41946ad3603d1bc7f4fbecdd8c5a4.jpg","text":"TemporaryFile(/tmp/multipartBody1766206097854242601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749145149,"filename":"image_14042025_17_11_13_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4da82a8d99dc0641f0b77fe9f766b5b.jpg","text":"TemporaryFile(/tmp/multipartBody2106807656155322398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749145149,"filename":"image_14042025_17_11_31_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19c9c2d3a4112398327679cbd5cda295.jpg","text":"TemporaryFile(/tmp/multipartBody7747538640452128581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749145149,"filename":"image_14042025_17_12_13_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d61c14db1c082fabb4c69d22beefd084.jpg","text":"TemporaryFile(/tmp/multipartBody7341169826200863752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749145149,"filename":"image_14042025_17_10_53_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fab7893a2a41ce692426ed974aa7a1dc.jpg","text":"TemporaryFile(/tmp/multipartBody5634843468358042105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749145149,"filename":"image_14042025_17_09_28_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350043993","file1":"1350043959","file0":"1350043929","file4":"1350044069","file5":"1350044101","file3":"1350044038"},"map_files_photo_id_array":[{"photo_id":"1350044101","filename":"file5"},{"photo_id":"1350043993","filename":"file2"},{"photo_id":"1350044069","filename":"file4"},{"photo_id":"1350043959","filename":"file1"},{"photo_id":"1350043929","filename":"file0"},{"photo_id":"1350044038","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350044069":["hashtag1","hashtag2"]},{"1350043993":["hashtag1","hashtag2"]},{"1350044038":["hashtag1","hashtag2"]},{"1350044101":["hashtag1","hashtag2"]},{"1350043959":["hashtag1","hashtag2"]},{"1350043929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350044069, 1350043993, 1350044038, 1350044101, 1350043959, 1350043929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35620641708374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:32:02.780224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_16_2871.jpg', '/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_20_3742.jpg', '/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_28_3606.jpg', '/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_31_2740.jpg', '/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_40_2758.jpg', '/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_52_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_16_2871.jpg
/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_20_3742.jpg
/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_28_3606.jpg
/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_31_2740.jpg
/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_40_2758.jpg
/home/pi/Desktop/images/14042025/17/12/image_14042025_17_12_52_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350044267","1350044432","1350044303","1350044231","1350044524","1350044358"],"photo_ids_order":["1350044231","1350044267","1350044303","1350044358","1350044432","1350044524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/579d54c250873c000e864ce35dd9b5ed.jpg","text":"TemporaryFile(/tmp/multipartBody7050440953845788561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749185284,"filename":"image_14042025_17_12_20_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a934a52643d9464b202a6447768d574.jpg","text":"TemporaryFile(/tmp/multipartBody2420582045441006218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749185284,"filename":"image_14042025_17_12_40_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38d438d7d67eb0d8149dcabeb96cd266.jpg","text":"TemporaryFile(/tmp/multipartBody1736056238795520779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749185284,"filename":"image_14042025_17_12_28_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1b78394d77272ec23a7e14661b433a5.jpg","text":"TemporaryFile(/tmp/multipartBody6153591357275860367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749185284,"filename":"image_14042025_17_12_16_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29422bf2ce14d93455739be418066d3a.jpg","text":"TemporaryFile(/tmp/multipartBody4156451060575766290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749185284,"filename":"image_14042025_17_12_52_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d2398afda6fe5eefdc8b53b9e95acaf.jpg","text":"TemporaryFile(/tmp/multipartBody4823882447267934481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749185284,"filename":"image_14042025_17_12_31_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350044303","file1":"1350044267","file0":"1350044231","file4":"1350044432","file5":"1350044524","file3":"1350044358"},"map_files_photo_id_array":[{"photo_id":"1350044524","filename":"file5"},{"photo_id":"1350044303","filename":"file2"},{"photo_id":"1350044432","filename":"file4"},{"photo_id":"1350044267","filename":"file1"},{"photo_id":"1350044231","filename":"file0"},{"photo_id":"1350044358","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350044267":["hashtag1","hashtag2"]},{"1350044432":["hashtag1","hashtag2"]},{"1350044303":["hashtag1","hashtag2"]},{"1350044231":["hashtag1","hashtag2"]},{"1350044524":["hashtag1","hashtag2"]},{"1350044358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350044267, 1350044432, 1350044303, 1350044231, 1350044524, 1350044358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.647666692733765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:32:42.198859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/13/image_14042025_17_13_10_2549.jpg', '/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_43_2657.jpg', '/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_52_3610.jpg', '/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_07_3011.jpg', '/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_17_3656.jpg', '/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_32_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/13/image_14042025_17_13_10_2549.jpg
/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_43_2657.jpg
/home/pi/Desktop/images/14042025/17/14/image_14042025_17_14_52_3610.jpg
/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_07_3011.jpg
/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_17_3656.jpg
/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_32_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350044855","1350045104","1350044933","1350044767","1350044693","1350045269"],"photo_ids_order":["1350044693","1350044767","1350044855","1350044933","1350045104","1350045269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/016113d6cd463a653efb43dd300b76dc.jpg","text":"TemporaryFile(/tmp/multipartBody1122411706154415806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749223609,"filename":"image_14042025_17_14_52_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98426bb72b64dda086b2a0fe5b07701b.jpg","text":"TemporaryFile(/tmp/multipartBody5160722387277161109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749223609,"filename":"image_14042025_17_15_17_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f0b5a2e98abaf10026421490ebf227d.jpg","text":"TemporaryFile(/tmp/multipartBody8967779561030703246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749223609,"filename":"image_14042025_17_15_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4359ee42cabfbffa79aa33c6042f3cb.jpg","text":"TemporaryFile(/tmp/multipartBody8824608288148398876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749223609,"filename":"image_14042025_17_14_43_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/596eb1a229f1167aa919ce3ca14241f1.jpg","text":"TemporaryFile(/tmp/multipartBody7387659656361201070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749223609,"filename":"image_14042025_17_13_10_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/122061a5f385e84ec5e3951b6f8aa0f7.jpg","text":"TemporaryFile(/tmp/multipartBody1691322784915581460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749223609,"filename":"image_14042025_17_15_32_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350044855","file1":"1350044767","file0":"1350044693","file4":"1350045104","file5":"1350045269","file3":"1350044933"},"map_files_photo_id_array":[{"photo_id":"1350045269","filename":"file5"},{"photo_id":"1350044855","filename":"file2"},{"photo_id":"1350045104","filename":"file4"},{"photo_id":"1350044767","filename":"file1"},{"photo_id":"1350044693","filename":"file0"},{"photo_id":"1350044933","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350044855":["hashtag1","hashtag2"]},{"1350045104":["hashtag1","hashtag2"]},{"1350044933":["hashtag1","hashtag2"]},{"1350044767":["hashtag1","hashtag2"]},{"1350044693":["hashtag1","hashtag2"]},{"1350045269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350044855, 1350045104, 1350044933, 1350044767, 1350044693, 1350045269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73061990737915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:33:22.214141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_50_2802.jpg', '/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_16_2870.jpg', '/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_29_2628.jpg', '/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_38_3557.jpg', '/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_53_3625.jpg', '/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_14_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_50_2802.jpg
/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_16_2870.jpg
/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_29_2628.jpg
/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_38_3557.jpg
/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_53_3625.jpg
/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_14_3660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.024610757827759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:33:42.206805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_50_2802.jpg', '/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_16_2870.jpg', '/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_29_2628.jpg', '/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_38_3557.jpg', '/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_53_3625.jpg', '/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_14_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/15/image_14042025_17_15_50_2802.jpg
/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_16_2870.jpg
/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_29_2628.jpg
/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_38_3557.jpg
/home/pi/Desktop/images/14042025/17/16/image_14042025_17_16_53_3625.jpg
/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_14_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350046288","1350046618","1350046914","1350046842","1350045894","1350045935"],"photo_ids_order":["1350045894","1350045935","1350046288","1350046618","1350046842","1350046914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e9272d81b3035334dc69ffcc943aaf9.jpg","text":"TemporaryFile(/tmp/multipartBody5799522861177762517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749283645,"filename":"image_14042025_17_16_29_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d81bff3c8ff79510771cd16738373f9.jpg","text":"TemporaryFile(/tmp/multipartBody904258513203436049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749283645,"filename":"image_14042025_17_16_38_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5981e4705c2eef24cf0c332276f5aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7093327691479233461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749283645,"filename":"image_14042025_17_17_14_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75fe2a09fd3303586f71acedb9cb377d.jpg","text":"TemporaryFile(/tmp/multipartBody5065452753694613989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749283645,"filename":"image_14042025_17_16_53_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fdceeb6c3e4430f784b290f9e7fbc366.jpg","text":"TemporaryFile(/tmp/multipartBody9024293057293983063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749283645,"filename":"image_14042025_17_15_50_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8cfb00d8ea9e5dd154d7cb8dd8b6080.jpg","text":"TemporaryFile(/tmp/multipartBody2699074436519415289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749283645,"filename":"image_14042025_17_16_16_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350046288","file1":"1350045935","file0":"1350045894","file4":"1350046842","file5":"1350046914","file3":"1350046618"},"map_files_photo_id_array":[{"photo_id":"1350046914","filename":"file5"},{"photo_id":"1350046288","filename":"file2"},{"photo_id":"1350046842","filename":"file4"},{"photo_id":"1350045935","filename":"file1"},{"photo_id":"1350045894","filename":"file0"},{"photo_id":"1350046618","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350046288":["hashtag1","hashtag2"]},{"1350046618":["hashtag1","hashtag2"]},{"1350046914":["hashtag1","hashtag2"]},{"1350046842":["hashtag1","hashtag2"]},{"1350045894":["hashtag1","hashtag2"]},{"1350045935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350046288, 1350046618, 1350046914, 1350046842, 1350045894, 1350045935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76583647727966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:34:22.387021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_31_2599.jpg', '/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_59_3696.jpg', '/home/pi/Desktop/images/14042025/17/19/image_14042025_17_19_19_2854.jpg', '/home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_11_3733.jpg', '/home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_34_2607.jpg', '/home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_58_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_31_2599.jpg
/home/pi/Desktop/images/14042025/17/17/image_14042025_17_17_59_3696.jpg
/home/pi/Desktop/images/14042025/17/19/image_14042025_17_19_19_2854.jpg
/home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_11_3733.jpg
/home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_34_2607.jpg
/home/pi/Desktop/images/14042025/17/21/image_14042025_17_21_58_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350047329","1350047466","1350047538","1350047396","1350047497","1350047248"],"photo_ids_order":["1350047248","1350047329","1350047396","1350047466","1350047497","1350047538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1bc9de10d0f92c7092c74f4d5c42171.jpg","text":"TemporaryFile(/tmp/multipartBody4128996296377145225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749325626,"filename":"image_14042025_17_17_59_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5583f01e73d744e595cc8c28efe10ff2.jpg","text":"TemporaryFile(/tmp/multipartBody6195788066420043180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749325626,"filename":"image_14042025_17_21_11_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/127eafad7064511305edfea739cd7e76.jpg","text":"TemporaryFile(/tmp/multipartBody2801666665036329356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749325626,"filename":"image_14042025_17_21_58_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4dbf00fef92e96539a22056860747892.jpg","text":"TemporaryFile(/tmp/multipartBody7478361585873232732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749325626,"filename":"image_14042025_17_19_19_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9885aeef1fe06a1070fcab4c371ec1c.jpg","text":"TemporaryFile(/tmp/multipartBody5147681333625830853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749325626,"filename":"image_14042025_17_21_34_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f68180466e566ecbfafa8b5df1b40712.jpg","text":"TemporaryFile(/tmp/multipartBody4626035018818329782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749325626,"filename":"image_14042025_17_17_31_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350047396","file1":"1350047329","file0":"1350047248","file4":"1350047497","file5":"1350047538","file3":"1350047466"},"map_files_photo_id_array":[{"photo_id":"1350047538","filename":"file5"},{"photo_id":"1350047396","filename":"file2"},{"photo_id":"1350047497","filename":"file4"},{"photo_id":"1350047329","filename":"file1"},{"photo_id":"1350047248","filename":"file0"},{"photo_id":"1350047466","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350047329":["hashtag1","hashtag2"]},{"1350047466":["hashtag1","hashtag2"]},{"1350047538":["hashtag1","hashtag2"]},{"1350047396":["hashtag1","hashtag2"]},{"1350047497":["hashtag1","hashtag2"]},{"1350047248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350047329, 1350047466, 1350047538, 1350047396, 1350047497, 1350047248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.056687355041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:35:22.612779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_02_3673.jpg', '/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_32_3794.jpg', '/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_35_2860.jpg', '/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_37_2590.jpg', '/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_40_2744.jpg', '/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_46_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_02_3673.jpg
/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_32_3794.jpg
/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_35_2860.jpg
/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_37_2590.jpg
/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_40_2744.jpg
/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_46_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350048083","1350048185","1350048187","1350048079","1350048139","1350048136"],"photo_ids_order":["1350048079","1350048083","1350048136","1350048139","1350048185","1350048187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55f28c2d3fdb7924a59b69ce2ebfcf78.jpg","text":"TemporaryFile(/tmp/multipartBody8221469291602289523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749385821,"filename":"image_14042025_17_22_32_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/865165288ff0c6cf1b76fd4cc49017d1.jpg","text":"TemporaryFile(/tmp/multipartBody2818675752391914321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749385821,"filename":"image_14042025_17_22_40_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/344913ca8c5d42b41e6da8501f3d3ace.jpg","text":"TemporaryFile(/tmp/multipartBody4850229638147248087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749385821,"filename":"image_14042025_17_22_46_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a7e962dd469fa775d29fcdfbcc90872.jpg","text":"TemporaryFile(/tmp/multipartBody223980636470000627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749385821,"filename":"image_14042025_17_22_02_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d67e36ffc29fb19ff6f7f00a5a748a74.jpg","text":"TemporaryFile(/tmp/multipartBody7541934260958112886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749385821,"filename":"image_14042025_17_22_37_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b062ed57458de9bbce1030a7ae329c06.jpg","text":"TemporaryFile(/tmp/multipartBody4992889434498033504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749385821,"filename":"image_14042025_17_22_35_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350048136","file1":"1350048083","file0":"1350048079","file4":"1350048185","file5":"1350048187","file3":"1350048139"},"map_files_photo_id_array":[{"photo_id":"1350048187","filename":"file5"},{"photo_id":"1350048136","filename":"file2"},{"photo_id":"1350048185","filename":"file4"},{"photo_id":"1350048083","filename":"file1"},{"photo_id":"1350048079","filename":"file0"},{"photo_id":"1350048139","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350048083":["hashtag1","hashtag2"]},{"1350048185":["hashtag1","hashtag2"]},{"1350048187":["hashtag1","hashtag2"]},{"1350048079":["hashtag1","hashtag2"]},{"1350048139":["hashtag1","hashtag2"]},{"1350048136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350048083, 1350048185, 1350048187, 1350048079, 1350048139, 1350048136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.315836906433105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:36:22.157225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_55_2747.jpg', '/home/pi/Desktop/images/14042025/17/23/image_14042025_17_23_20_2789.jpg', '/home/pi/Desktop/images/14042025/17/24/image_14042025_17_24_01_2617.jpg', '/home/pi/Desktop/images/14042025/17/24/image_14042025_17_24_35_3630.jpg', '/home/pi/Desktop/images/14042025/17/26/image_14042025_17_26_44_3805.jpg', '/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_07_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/22/image_14042025_17_22_55_2747.jpg
/home/pi/Desktop/images/14042025/17/23/image_14042025_17_23_20_2789.jpg
/home/pi/Desktop/images/14042025/17/24/image_14042025_17_24_01_2617.jpg
/home/pi/Desktop/images/14042025/17/24/image_14042025_17_24_35_3630.jpg
/home/pi/Desktop/images/14042025/17/26/image_14042025_17_26_44_3805.jpg
/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_07_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350048531","1350048519","1350048464","1350048512","1350048515","1350048495"],"photo_ids_order":["1350048464","1350048495","1350048512","1350048515","1350048519","1350048531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae4c46bb99bef2a37a533aaa67398730.jpg","text":"TemporaryFile(/tmp/multipartBody3817214235334796244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749445425,"filename":"image_14042025_17_27_07_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24928718d14e4db3211069687b264156.jpg","text":"TemporaryFile(/tmp/multipartBody6824614629610031712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749445425,"filename":"image_14042025_17_26_44_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8667d59fbd7d116ad064c5bd6185751d.jpg","text":"TemporaryFile(/tmp/multipartBody5875491020402592491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749445425,"filename":"image_14042025_17_22_55_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/836f3f3e4f14a917f0a146ba8e16eee5.jpg","text":"TemporaryFile(/tmp/multipartBody1305049424042977022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749445425,"filename":"image_14042025_17_24_01_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7782f1a24ffd07ec66b81eb07266882.jpg","text":"TemporaryFile(/tmp/multipartBody6519006075381813390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749445425,"filename":"image_14042025_17_24_35_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59256d2d9abd5645306fe55eeb97afe3.jpg","text":"TemporaryFile(/tmp/multipartBody2831128644341762928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749445425,"filename":"image_14042025_17_23_20_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350048512","file1":"1350048495","file0":"1350048464","file4":"1350048519","file5":"1350048531","file3":"1350048515"},"map_files_photo_id_array":[{"photo_id":"1350048531","filename":"file5"},{"photo_id":"1350048512","filename":"file2"},{"photo_id":"1350048519","filename":"file4"},{"photo_id":"1350048495","filename":"file1"},{"photo_id":"1350048464","filename":"file0"},{"photo_id":"1350048515","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350048531":["hashtag1","hashtag2"]},{"1350048519":["hashtag1","hashtag2"]},{"1350048464":["hashtag1","hashtag2"]},{"1350048512":["hashtag1","hashtag2"]},{"1350048515":["hashtag1","hashtag2"]},{"1350048495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350048531, 1350048519, 1350048464, 1350048512, 1350048515, 1350048495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40428376197815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:37:02.853222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_38_3555.jpg', '/home/pi/Desktop/images/14042025/17/28/image_14042025_17_28_28_2674.jpg', '/home/pi/Desktop/images/14042025/17/29/image_14042025_17_29_40_2637.jpg', '/home/pi/Desktop/images/14042025/17/30/image_14042025_17_30_17_2721.jpg', '/home/pi/Desktop/images/14042025/17/32/image_14042025_17_32_14_1890.jpg', '/home/pi/Desktop/images/14042025/17/34/image_14042025_17_34_52_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/27/image_14042025_17_27_38_3555.jpg
/home/pi/Desktop/images/14042025/17/28/image_14042025_17_28_28_2674.jpg
/home/pi/Desktop/images/14042025/17/29/image_14042025_17_29_40_2637.jpg
/home/pi/Desktop/images/14042025/17/30/image_14042025_17_30_17_2721.jpg
/home/pi/Desktop/images/14042025/17/32/image_14042025_17_32_14_1890.jpg
/home/pi/Desktop/images/14042025/17/34/image_14042025_17_34_52_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350048650","1350048595","1350048598","1350048602","1350048673","1350048622"],"photo_ids_order":["1350048595","1350048598","1350048602","1350048622","1350048650","1350048673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b3efb5631db0754c1dd6be8efe91acc.jpg","text":"TemporaryFile(/tmp/multipartBody2802618216924306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749485542,"filename":"image_14042025_17_32_14_1890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ede7ae0444406f52e024d95d1691cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8693485745150078479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749485542,"filename":"image_14042025_17_27_38_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37d8457c867172febdd6530300707a98.jpg","text":"TemporaryFile(/tmp/multipartBody106698556027833086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749485542,"filename":"image_14042025_17_28_28_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60dd1b4ce3a373dadfaa6893413cf17e.jpg","text":"TemporaryFile(/tmp/multipartBody3021772648432178177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749485542,"filename":"image_14042025_17_29_40_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c51bbf475a90efc61bb7f7e597b13c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1795246172929854603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749485542,"filename":"image_14042025_17_34_52_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fcdf2e8836fa35c5f4136c7c7781405.jpg","text":"TemporaryFile(/tmp/multipartBody3732960635226124781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749485542,"filename":"image_14042025_17_30_17_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350048602","file1":"1350048598","file0":"1350048595","file4":"1350048650","file5":"1350048673","file3":"1350048622"},"map_files_photo_id_array":[{"photo_id":"1350048673","filename":"file5"},{"photo_id":"1350048602","filename":"file2"},{"photo_id":"1350048650","filename":"file4"},{"photo_id":"1350048598","filename":"file1"},{"photo_id":"1350048595","filename":"file0"},{"photo_id":"1350048622","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350048650":["hashtag1","hashtag2"]},{"1350048595":["hashtag1","hashtag2"]},{"1350048598":["hashtag1","hashtag2"]},{"1350048602":["hashtag1","hashtag2"]},{"1350048673":["hashtag1","hashtag2"]},{"1350048622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350048650, 1350048595, 1350048598, 1350048602, 1350048673, 1350048622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.570207834243774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:37:42.130074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/38/image_14042025_17_38_47_2887.jpg', '/home/pi/Desktop/images/14042025/17/41/image_14042025_17_41_02_3668.jpg', '/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_13_2658.jpg', '/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_58_2997.jpg', '/home/pi/Desktop/images/14042025/17/46/image_14042025_17_46_13_6402.jpg', '/home/pi/Desktop/images/14042025/17/46/image_14042025_17_46_52_3781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/38/image_14042025_17_38_47_2887.jpg
/home/pi/Desktop/images/14042025/17/41/image_14042025_17_41_02_3668.jpg
/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_13_2658.jpg
/home/pi/Desktop/images/14042025/17/43/image_14042025_17_43_58_2997.jpg
/home/pi/Desktop/images/14042025/17/46/image_14042025_17_46_13_6402.jpg
/home/pi/Desktop/images/14042025/17/46/image_14042025_17_46_52_3781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350048819","1350048884","1350048773","1350048745","1350048847","1350048916"],"photo_ids_order":["1350048745","1350048773","1350048819","1350048847","1350048884","1350048916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd1d42b8a453a1cacade6484b0d9e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody1474693143838715197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749523538,"filename":"image_14042025_17_43_13_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/665e949391a42c58c402093bb78f3bae.jpg","text":"TemporaryFile(/tmp/multipartBody6759988107155709897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749523538,"filename":"image_14042025_17_46_13_6402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b69c99b0f38d1af2a0913060278b5b6b.jpg","text":"TemporaryFile(/tmp/multipartBody3416880398567423718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749523538,"filename":"image_14042025_17_41_02_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96999a3cda65018f28c35a273a5552fa.jpg","text":"TemporaryFile(/tmp/multipartBody5654104333459707825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749523538,"filename":"image_14042025_17_38_47_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f191832997314742f42a0658ab0256a1.jpg","text":"TemporaryFile(/tmp/multipartBody3221746113843926859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749523538,"filename":"image_14042025_17_43_58_2997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cda5c37de71912b9fe3a8388a79c23e9.jpg","text":"TemporaryFile(/tmp/multipartBody3150552940268126305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749523538,"filename":"image_14042025_17_46_52_3781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350048819","file1":"1350048773","file0":"1350048745","file4":"1350048884","file5":"1350048916","file3":"1350048847"},"map_files_photo_id_array":[{"photo_id":"1350048916","filename":"file5"},{"photo_id":"1350048819","filename":"file2"},{"photo_id":"1350048884","filename":"file4"},{"photo_id":"1350048773","filename":"file1"},{"photo_id":"1350048745","filename":"file0"},{"photo_id":"1350048847","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350048819":["hashtag1","hashtag2"]},{"1350048884":["hashtag1","hashtag2"]},{"1350048773":["hashtag1","hashtag2"]},{"1350048745":["hashtag1","hashtag2"]},{"1350048847":["hashtag1","hashtag2"]},{"1350048916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350048819, 1350048884, 1350048773, 1350048745, 1350048847, 1350048916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.928067445755005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:38:21.874982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_07_3011.jpg', '/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_16_2658.jpg', '/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_20_3683.jpg', '/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_31_3650.jpg', '/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_37_2815.jpg', '/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_59_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_07_3011.jpg
/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_16_2658.jpg
/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_20_3683.jpg
/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_31_3650.jpg
/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_37_2815.jpg
/home/pi/Desktop/images/14042025/17/51/image_14042025_17_51_59_3731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350049224","1350049103","1350049075","1350049150","1350049191","1350049269"],"photo_ids_order":["1350049075","1350049103","1350049150","1350049191","1350049224","1350049269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a60d3b7f60a0ebf3965a94b6d4b6b157.jpg","text":"TemporaryFile(/tmp/multipartBody6309755342081760404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749565083,"filename":"image_14042025_17_51_37_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb7fa97689d703a6bd6ff6799e5bc507.jpg","text":"TemporaryFile(/tmp/multipartBody8750561177937192290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749565083,"filename":"image_14042025_17_51_16_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/55520c987d57b6be4df8b235d1567ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2575423872596134770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749565083,"filename":"image_14042025_17_51_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c4a80ba32857dbe6f9b72a6e70f85f5.jpg","text":"TemporaryFile(/tmp/multipartBody6942946741854135807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749565083,"filename":"image_14042025_17_51_20_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba30aec97a935014135e3a41eb9ca9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2919084954905471079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749565083,"filename":"image_14042025_17_51_31_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08e85cd315f7b039272326a6623ef2e9.jpg","text":"TemporaryFile(/tmp/multipartBody4303506964767434407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749565083,"filename":"image_14042025_17_51_59_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350049150","file1":"1350049103","file0":"1350049075","file4":"1350049224","file5":"1350049269","file3":"1350049191"},"map_files_photo_id_array":[{"photo_id":"1350049269","filename":"file5"},{"photo_id":"1350049150","filename":"file2"},{"photo_id":"1350049224","filename":"file4"},{"photo_id":"1350049103","filename":"file1"},{"photo_id":"1350049075","filename":"file0"},{"photo_id":"1350049191","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350049224":["hashtag1","hashtag2"]},{"1350049103":["hashtag1","hashtag2"]},{"1350049075":["hashtag1","hashtag2"]},{"1350049150":["hashtag1","hashtag2"]},{"1350049191":["hashtag1","hashtag2"]},{"1350049269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350049224, 1350049103, 1350049075, 1350049150, 1350049191, 1350049269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.673171520233154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:39:03.006924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/52/image_14042025_17_52_01_2757.jpg', '/home/pi/Desktop/images/14042025/17/52/image_14042025_17_52_25_2665.jpg', '/home/pi/Desktop/images/14042025/17/53/image_14042025_17_53_01_2660.jpg', '/home/pi/Desktop/images/14042025/17/53/image_14042025_17_53_55_2656.jpg', '/home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_10_2624.jpg', '/home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_22_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/52/image_14042025_17_52_01_2757.jpg
/home/pi/Desktop/images/14042025/17/52/image_14042025_17_52_25_2665.jpg
/home/pi/Desktop/images/14042025/17/53/image_14042025_17_53_01_2660.jpg
/home/pi/Desktop/images/14042025/17/53/image_14042025_17_53_55_2656.jpg
/home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_10_2624.jpg
/home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_22_2824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350049434","1350049503","1350049373","1350049475","1350049405","1350049443"],"photo_ids_order":["1350049373","1350049405","1350049434","1350049443","1350049475","1350049503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43090ee06fcd50debc1806347c6f2b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8892781604109861382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749605730,"filename":"image_14042025_17_53_01_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acb9aa500fec94951d969e817a1974d2.jpg","text":"TemporaryFile(/tmp/multipartBody7613268403247922622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749605730,"filename":"image_14042025_17_54_22_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3862fe0e9969e090838d86fe8238b5c6.jpg","text":"TemporaryFile(/tmp/multipartBody106715914397972055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749605730,"filename":"image_14042025_17_52_01_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0daf711828134302a57143fe920e4e9b.jpg","text":"TemporaryFile(/tmp/multipartBody3296451655045775091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749605730,"filename":"image_14042025_17_54_10_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8786ff678bcf050af52699baf6dc0652.jpg","text":"TemporaryFile(/tmp/multipartBody4101343864202947515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749605730,"filename":"image_14042025_17_52_25_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8bc6315078b661de4a362021f7646d1b.jpg","text":"TemporaryFile(/tmp/multipartBody2819226288201577360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749605730,"filename":"image_14042025_17_53_55_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350049434","file1":"1350049405","file0":"1350049373","file4":"1350049475","file5":"1350049503","file3":"1350049443"},"map_files_photo_id_array":[{"photo_id":"1350049503","filename":"file5"},{"photo_id":"1350049434","filename":"file2"},{"photo_id":"1350049475","filename":"file4"},{"photo_id":"1350049405","filename":"file1"},{"photo_id":"1350049373","filename":"file0"},{"photo_id":"1350049443","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350049434":["hashtag1","hashtag2"]},{"1350049503":["hashtag1","hashtag2"]},{"1350049373":["hashtag1","hashtag2"]},{"1350049475":["hashtag1","hashtag2"]},{"1350049405":["hashtag1","hashtag2"]},{"1350049443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350049434, 1350049503, 1350049373, 1350049475, 1350049405, 1350049443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69098615646362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:39:41.958902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_46_3006.jpg', '/home/pi/Desktop/images/14042025/17/55/image_14042025_17_55_01_2976.jpg', '/home/pi/Desktop/images/14042025/17/55/image_14042025_17_55_46_2562.jpg', '/home/pi/Desktop/images/14042025/17/57/image_14042025_17_57_55_2699.jpg', '/home/pi/Desktop/images/14042025/17/58/image_14042025_17_58_10_2713.jpg', '/home/pi/Desktop/images/14042025/17/59/image_14042025_17_59_46_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/17/54/image_14042025_17_54_46_3006.jpg
/home/pi/Desktop/images/14042025/17/55/image_14042025_17_55_01_2976.jpg
/home/pi/Desktop/images/14042025/17/55/image_14042025_17_55_46_2562.jpg
/home/pi/Desktop/images/14042025/17/57/image_14042025_17_57_55_2699.jpg
/home/pi/Desktop/images/14042025/17/58/image_14042025_17_58_10_2713.jpg
/home/pi/Desktop/images/14042025/17/59/image_14042025_17_59_46_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350049682","1350049654","1350049720","1350049779","1350049618","1350049587"],"photo_ids_order":["1350049587","1350049618","1350049654","1350049682","1350049720","1350049779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4dc8ff1e931f9492acd7a588fd4549a7.jpg","text":"TemporaryFile(/tmp/multipartBody2159323639370930354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749643429,"filename":"image_14042025_17_57_55_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e29ad05cf056f53b4a390e541c851201.jpg","text":"TemporaryFile(/tmp/multipartBody6050624660573562532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749643429,"filename":"image_14042025_17_55_46_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ede817141e73089571d18c970cb568b1.jpg","text":"TemporaryFile(/tmp/multipartBody7932028344522768006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749643429,"filename":"image_14042025_17_58_10_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29406485993157b22f8a82649556654b.jpg","text":"TemporaryFile(/tmp/multipartBody4976280467977229241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749643429,"filename":"image_14042025_17_59_46_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8767064f3f7e1366aab93904bdd36e9.jpg","text":"TemporaryFile(/tmp/multipartBody799860829754151248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749643429,"filename":"image_14042025_17_55_01_2976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/810ed9d5b3fa92f0cbb4a6e42735da0b.jpg","text":"TemporaryFile(/tmp/multipartBody9079346229842163585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749643429,"filename":"image_14042025_17_54_46_3006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350049654","file1":"1350049618","file0":"1350049587","file4":"1350049720","file5":"1350049779","file3":"1350049682"},"map_files_photo_id_array":[{"photo_id":"1350049779","filename":"file5"},{"photo_id":"1350049654","filename":"file2"},{"photo_id":"1350049720","filename":"file4"},{"photo_id":"1350049618","filename":"file1"},{"photo_id":"1350049587","filename":"file0"},{"photo_id":"1350049682","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350049682":["hashtag1","hashtag2"]},{"1350049654":["hashtag1","hashtag2"]},{"1350049720":["hashtag1","hashtag2"]},{"1350049779":["hashtag1","hashtag2"]},{"1350049618":["hashtag1","hashtag2"]},{"1350049587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350049682, 1350049654, 1350049720, 1350049779, 1350049618, 1350049587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18381905555725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:40:22.563930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/00/image_14042025_18_00_17_2705.jpg', '/home/pi/Desktop/images/14042025/18/01/image_14042025_18_01_26_2698.jpg', '/home/pi/Desktop/images/14042025/18/01/image_14042025_18_01_53_2609.jpg', '/home/pi/Desktop/images/14042025/18/02/image_14042025_18_02_08_2616.jpg', '/home/pi/Desktop/images/14042025/18/02/image_14042025_18_02_47_3614.jpg', '/home/pi/Desktop/images/14042025/18/03/image_14042025_18_03_23_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/00/image_14042025_18_00_17_2705.jpg
/home/pi/Desktop/images/14042025/18/01/image_14042025_18_01_26_2698.jpg
/home/pi/Desktop/images/14042025/18/01/image_14042025_18_01_53_2609.jpg
/home/pi/Desktop/images/14042025/18/02/image_14042025_18_02_08_2616.jpg
/home/pi/Desktop/images/14042025/18/02/image_14042025_18_02_47_3614.jpg
/home/pi/Desktop/images/14042025/18/03/image_14042025_18_03_23_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350050142","1350050183","1350050213","1350050092","1350050029","1350049977"],"photo_ids_order":["1350049977","1350050029","1350050092","1350050142","1350050183","1350050213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9df62b5dc207dadd302857ecd013c454.jpg","text":"TemporaryFile(/tmp/multipartBody8504088976678294951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749685815,"filename":"image_14042025_18_02_08_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2362aa04f1407daa6f09d760b39457b1.jpg","text":"TemporaryFile(/tmp/multipartBody8185599238201278952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749685815,"filename":"image_14042025_18_02_47_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53b35d8d35b18b8ad65a4c9d3ac3bbcf.jpg","text":"TemporaryFile(/tmp/multipartBody4719053349003694164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749685815,"filename":"image_14042025_18_03_23_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/479b6dce33be2dd0efdac7164fa465dd.jpg","text":"TemporaryFile(/tmp/multipartBody660749539446127867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749685815,"filename":"image_14042025_18_01_53_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b144f30b04e7c174afeb8fd6182c7c91.jpg","text":"TemporaryFile(/tmp/multipartBody4631132413726923559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749685815,"filename":"image_14042025_18_01_26_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee92d7fc127d1673cd48e9d133cb979a.jpg","text":"TemporaryFile(/tmp/multipartBody4471376267949644443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749685815,"filename":"image_14042025_18_00_17_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350050092","file1":"1350050029","file0":"1350049977","file4":"1350050183","file5":"1350050213","file3":"1350050142"},"map_files_photo_id_array":[{"photo_id":"1350050213","filename":"file5"},{"photo_id":"1350050092","filename":"file2"},{"photo_id":"1350050183","filename":"file4"},{"photo_id":"1350050029","filename":"file1"},{"photo_id":"1350049977","filename":"file0"},{"photo_id":"1350050142","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350050142":["hashtag1","hashtag2"]},{"1350050183":["hashtag1","hashtag2"]},{"1350050213":["hashtag1","hashtag2"]},{"1350050092":["hashtag1","hashtag2"]},{"1350050029":["hashtag1","hashtag2"]},{"1350049977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350050142, 1350050183, 1350050213, 1350050092, 1350050029, 1350049977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01552391052246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:41:02.806377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/03/image_14042025_18_03_53_3647.jpg', '/home/pi/Desktop/images/14042025/18/04/image_14042025_18_04_11_3610.jpg', '/home/pi/Desktop/images/14042025/18/04/image_14042025_18_04_50_2672.jpg', '/home/pi/Desktop/images/14042025/18/05/image_14042025_18_05_20_2677.jpg', '/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_19_2649.jpg', '/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_23_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/03/image_14042025_18_03_53_3647.jpg
/home/pi/Desktop/images/14042025/18/04/image_14042025_18_04_11_3610.jpg
/home/pi/Desktop/images/14042025/18/04/image_14042025_18_04_50_2672.jpg
/home/pi/Desktop/images/14042025/18/05/image_14042025_18_05_20_2677.jpg
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_19_2649.jpg
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_23_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350050355","1350050360","1350050350","1350050344","1350050353","1350050347"],"photo_ids_order":["1350050344","1350050347","1350050350","1350050353","1350050355","1350050360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b4f5dff981df01fcb6d9d4da9c091af8.jpg","text":"TemporaryFile(/tmp/multipartBody4983981127768467891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749725348,"filename":"image_14042025_18_06_19_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66b1e4d0fc4442bf79b840843498b1b3.jpg","text":"TemporaryFile(/tmp/multipartBody6713446398878154420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749725348,"filename":"image_14042025_18_06_23_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/825aba968a4d609400ff2edbae972f35.jpg","text":"TemporaryFile(/tmp/multipartBody718036814443211992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749725348,"filename":"image_14042025_18_04_50_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50c5cc31f07b584cd75659e4d639fd45.jpg","text":"TemporaryFile(/tmp/multipartBody4496327905366140029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749725348,"filename":"image_14042025_18_03_53_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ccb80f51ecbeb60236f4b408193ed107.jpg","text":"TemporaryFile(/tmp/multipartBody2241807079136452375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749725348,"filename":"image_14042025_18_05_20_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cb596774d18b1c3dac4f7451c4d9efe.jpg","text":"TemporaryFile(/tmp/multipartBody4422535590298108158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749725348,"filename":"image_14042025_18_04_11_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350050350","file1":"1350050347","file0":"1350050344","file4":"1350050355","file5":"1350050360","file3":"1350050353"},"map_files_photo_id_array":[{"photo_id":"1350050360","filename":"file5"},{"photo_id":"1350050350","filename":"file2"},{"photo_id":"1350050355","filename":"file4"},{"photo_id":"1350050347","filename":"file1"},{"photo_id":"1350050344","filename":"file0"},{"photo_id":"1350050353","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350050355":["hashtag1","hashtag2"]},{"1350050360":["hashtag1","hashtag2"]},{"1350050350":["hashtag1","hashtag2"]},{"1350050344":["hashtag1","hashtag2"]},{"1350050353":["hashtag1","hashtag2"]},{"1350050347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350050355, 1350050360, 1350050350, 1350050344, 1350050353, 1350050347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98163199424744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:41:41.917503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_37_2585.jpg', '/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_40_2721.jpg', '/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_44_3780.jpg', '/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_46_2675.jpg', '/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_49_2817.jpg', '/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_53_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_37_2585.jpg
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_40_2721.jpg
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_44_3780.jpg
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_46_2675.jpg
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_49_2817.jpg
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_53_3679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350050631","1350050625","1350050399","1350050573","1350050510","1350050602"],"photo_ids_order":["1350050399","1350050510","1350050573","1350050602","1350050625","1350050631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62a8537b69e64974e0f4dc6f62709f26.jpg","text":"TemporaryFile(/tmp/multipartBody1684037507200319830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749763351,"filename":"image_14042025_18_06_53_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f834f55d4d76ac65277a4a937a5232bd.jpg","text":"TemporaryFile(/tmp/multipartBody5346434954450472105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749763351,"filename":"image_14042025_18_06_49_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86ab4877bbaac1ddf8fa0476e5395373.jpg","text":"TemporaryFile(/tmp/multipartBody6858768084319888335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749763351,"filename":"image_14042025_18_06_37_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfe62776fef3825321b166a60469e6bd.jpg","text":"TemporaryFile(/tmp/multipartBody6340425552157557690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749763351,"filename":"image_14042025_18_06_44_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8ba6d76a4c6975822f2b5172ca2ea6f.jpg","text":"TemporaryFile(/tmp/multipartBody3290140399489786885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749763351,"filename":"image_14042025_18_06_40_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fe00a22fc112a38eeab20bde4775e44.jpg","text":"TemporaryFile(/tmp/multipartBody655684859437116968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749763351,"filename":"image_14042025_18_06_46_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350050573","file1":"1350050510","file0":"1350050399","file4":"1350050625","file5":"1350050631","file3":"1350050602"},"map_files_photo_id_array":[{"photo_id":"1350050631","filename":"file5"},{"photo_id":"1350050573","filename":"file2"},{"photo_id":"1350050625","filename":"file4"},{"photo_id":"1350050510","filename":"file1"},{"photo_id":"1350050399","filename":"file0"},{"photo_id":"1350050602","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350050631":["hashtag1","hashtag2"]},{"1350050625":["hashtag1","hashtag2"]},{"1350050399":["hashtag1","hashtag2"]},{"1350050573":["hashtag1","hashtag2"]},{"1350050510":["hashtag1","hashtag2"]},{"1350050602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350050631, 1350050625, 1350050399, 1350050573, 1350050510, 1350050602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.99578094482422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:42:42.721072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_56_2539.jpg', '/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_58_2560.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_02_3739.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_05_2730.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_07_2544.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_11_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_56_2539.jpg
/home/pi/Desktop/images/14042025/18/06/image_14042025_18_06_58_2560.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_02_3739.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_05_2730.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_07_2544.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_11_3758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350050718","1350050712","1350050759","1350050705","1350050729","1350050716"],"photo_ids_order":["1350050705","1350050712","1350050716","1350050718","1350050729","1350050759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7beee920b3572bb9a78bca345000d90e.jpg","text":"TemporaryFile(/tmp/multipartBody6705742416849364002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749824070,"filename":"image_14042025_18_07_05_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b83e0f01f3a08ed42b23827d65719011.jpg","text":"TemporaryFile(/tmp/multipartBody917906145818153461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749824070,"filename":"image_14042025_18_06_58_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db0ce6ddc140fd33983aea98f370952c.jpg","text":"TemporaryFile(/tmp/multipartBody5131795856957020451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749824070,"filename":"image_14042025_18_07_11_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e979c66909b5597bf1e1111064b7438f.jpg","text":"TemporaryFile(/tmp/multipartBody5065820440295288235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749824070,"filename":"image_14042025_18_06_56_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3aebb240312cfad62b505dfe4a4a50b.jpg","text":"TemporaryFile(/tmp/multipartBody3192802895186468962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749824070,"filename":"image_14042025_18_07_07_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72a4e77cb169987a0505792a1ebea841.jpg","text":"TemporaryFile(/tmp/multipartBody2716379494688480710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749824070,"filename":"image_14042025_18_07_02_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350050716","file1":"1350050712","file0":"1350050705","file4":"1350050729","file5":"1350050759","file3":"1350050718"},"map_files_photo_id_array":[{"photo_id":"1350050759","filename":"file5"},{"photo_id":"1350050716","filename":"file2"},{"photo_id":"1350050729","filename":"file4"},{"photo_id":"1350050712","filename":"file1"},{"photo_id":"1350050705","filename":"file0"},{"photo_id":"1350050718","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350050718":["hashtag1","hashtag2"]},{"1350050712":["hashtag1","hashtag2"]},{"1350050759":["hashtag1","hashtag2"]},{"1350050705":["hashtag1","hashtag2"]},{"1350050729":["hashtag1","hashtag2"]},{"1350050716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350050718, 1350050712, 1350050759, 1350050705, 1350050729, 1350050716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.794437646865845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:43:22.897134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_14_2699.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_16_2766.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_19_2657.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_23_3740.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_25_2580.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_28_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_14_2699.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_16_2766.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_19_2657.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_23_3740.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_25_2580.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_28_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350051002","1350051031","1350050944","1350050974","1350050881","1350050914"],"photo_ids_order":["1350050881","1350050914","1350050944","1350050974","1350051002","1350051031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/886c5802a54dbcb0257d7ec59f8277b7.jpg","text":"TemporaryFile(/tmp/multipartBody3546937468247772357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749866137,"filename":"image_14042025_18_07_25_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9472be97977bb45d9c13dab8940cbe90.jpg","text":"TemporaryFile(/tmp/multipartBody6565517850333043443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749866137,"filename":"image_14042025_18_07_28_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d17fa05e56fcb1677f3828e29fef880.jpg","text":"TemporaryFile(/tmp/multipartBody1690532314023416889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749866137,"filename":"image_14042025_18_07_19_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5f9c60a3d98effadb1e3d6e3d54aeca.jpg","text":"TemporaryFile(/tmp/multipartBody4044688996591391012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749866137,"filename":"image_14042025_18_07_23_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c350af9b49aca7b99199477ea867a950.jpg","text":"TemporaryFile(/tmp/multipartBody1802988487666469414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749866137,"filename":"image_14042025_18_07_14_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f528f215aba34ef3a50a8abfeb76939.jpg","text":"TemporaryFile(/tmp/multipartBody4543520626156348350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749866137,"filename":"image_14042025_18_07_16_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350050944","file1":"1350050914","file0":"1350050881","file4":"1350051002","file5":"1350051031","file3":"1350050974"},"map_files_photo_id_array":[{"photo_id":"1350051031","filename":"file5"},{"photo_id":"1350050944","filename":"file2"},{"photo_id":"1350051002","filename":"file4"},{"photo_id":"1350050914","filename":"file1"},{"photo_id":"1350050881","filename":"file0"},{"photo_id":"1350050974","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350051002":["hashtag1","hashtag2"]},{"1350051031":["hashtag1","hashtag2"]},{"1350050944":["hashtag1","hashtag2"]},{"1350050974":["hashtag1","hashtag2"]},{"1350050881":["hashtag1","hashtag2"]},{"1350050914":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350051002, 1350051031, 1350050944, 1350050974, 1350050881, 1350050914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.318745851516724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:44:02.682834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_31_2812.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_35_3746.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_37_2561.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_40_2643.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_44_3890.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_46_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_31_2812.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_35_3746.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_37_2561.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_40_2643.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_44_3890.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_46_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350051248","1350051308","1350051385","1350051523","1350051579","1350051435"],"photo_ids_order":["1350051248","1350051308","1350051385","1350051435","1350051523","1350051579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b05aee9f1126af2dc0beda88612e330e.jpg","text":"TemporaryFile(/tmp/multipartBody3313523828769830740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749905275,"filename":"image_14042025_18_07_31_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/18119d16e5a0ad75d2e68d3a18f087c0.jpg","text":"TemporaryFile(/tmp/multipartBody5412694076385596438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749905275,"filename":"image_14042025_18_07_35_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dffe493bc7b06222c9e68200271cb106.jpg","text":"TemporaryFile(/tmp/multipartBody3217205952813795855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749905275,"filename":"image_14042025_18_07_37_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3b4906ab3345faa862b13c46611a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4062998789968046417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749905275,"filename":"image_14042025_18_07_44_3890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ebec18d2c8140c2eae8890d8bec4e2c.jpg","text":"TemporaryFile(/tmp/multipartBody2489098946120325274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749905275,"filename":"image_14042025_18_07_46_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54885f789ac60b8a21f7bb7ad212f3de.jpg","text":"TemporaryFile(/tmp/multipartBody4782321130828181880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749905275,"filename":"image_14042025_18_07_40_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350051385","file1":"1350051308","file0":"1350051248","file4":"1350051523","file5":"1350051579","file3":"1350051435"},"map_files_photo_id_array":[{"photo_id":"1350051579","filename":"file5"},{"photo_id":"1350051385","filename":"file2"},{"photo_id":"1350051523","filename":"file4"},{"photo_id":"1350051308","filename":"file1"},{"photo_id":"1350051248","filename":"file0"},{"photo_id":"1350051435","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350051248":["hashtag1","hashtag2"]},{"1350051308":["hashtag1","hashtag2"]},{"1350051385":["hashtag1","hashtag2"]},{"1350051523":["hashtag1","hashtag2"]},{"1350051579":["hashtag1","hashtag2"]},{"1350051435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350051248, 1350051308, 1350051385, 1350051523, 1350051579, 1350051435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45226335525513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:45:03.151743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_49_2597.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_52_2821.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_56_3682.jpg', '/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_58_2890.jpg', '/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_01_2551.jpg', '/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_05_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_49_2597.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_52_2821.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_56_3682.jpg
/home/pi/Desktop/images/14042025/18/07/image_14042025_18_07_58_2890.jpg
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_01_2551.jpg
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_05_3768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350052693","1350052312","1350052158","1350052557","1350052236","1350052394"],"photo_ids_order":["1350052158","1350052236","1350052312","1350052394","1350052557","1350052693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b6867d221744ace5c5499ebe02eb07f.jpg","text":"TemporaryFile(/tmp/multipartBody6458572814377679395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749965769,"filename":"image_14042025_18_08_05_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66bf13feb1a49115057dac81b14d245f.jpg","text":"TemporaryFile(/tmp/multipartBody3922407052627220824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749965769,"filename":"image_14042025_18_07_56_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f010c836a8abfc648b9518ab0bcf0014.jpg","text":"TemporaryFile(/tmp/multipartBody4369489965043669016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749965769,"filename":"image_14042025_18_07_49_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c616db4ae03ac19930fed02cf092c42.jpg","text":"TemporaryFile(/tmp/multipartBody269614163048835798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749965769,"filename":"image_14042025_18_08_01_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/229c7f443205136cbb80b9d0f6ec50da.jpg","text":"TemporaryFile(/tmp/multipartBody9003066989888600475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749965769,"filename":"image_14042025_18_07_52_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54fea0b97a19f12aaddd7f00976738ed.jpg","text":"TemporaryFile(/tmp/multipartBody4256638655777811371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744749965769,"filename":"image_14042025_18_07_58_2890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350052312","file1":"1350052236","file0":"1350052158","file4":"1350052557","file5":"1350052693","file3":"1350052394"},"map_files_photo_id_array":[{"photo_id":"1350052693","filename":"file5"},{"photo_id":"1350052312","filename":"file2"},{"photo_id":"1350052557","filename":"file4"},{"photo_id":"1350052236","filename":"file1"},{"photo_id":"1350052158","filename":"file0"},{"photo_id":"1350052394","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350052693":["hashtag1","hashtag2"]},{"1350052312":["hashtag1","hashtag2"]},{"1350052158":["hashtag1","hashtag2"]},{"1350052557":["hashtag1","hashtag2"]},{"1350052236":["hashtag1","hashtag2"]},{"1350052394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350052693, 1350052312, 1350052158, 1350052557, 1350052236, 1350052394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8635368347168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:45:42.402829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_08_2729.jpg', '/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_10_2649.jpg', '/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_13_2729.jpg', '/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_28_2530.jpg', '/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_31_2806.jpg', '/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_40_2524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_08_2729.jpg
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_10_2649.jpg
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_13_2729.jpg
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_28_2530.jpg
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_31_2806.jpg
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_40_2524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350053114","1350053320","1350053193","1350053229","1350053010","1350053258"],"photo_ids_order":["1350053010","1350053114","1350053193","1350053229","1350053258","1350053320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1973aa4b1a2b0ee88f38de860058482.jpg","text":"TemporaryFile(/tmp/multipartBody2203020412751562702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750003836,"filename":"image_14042025_18_08_10_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/190b17ad42540245975efc9c94b8e455.jpg","text":"TemporaryFile(/tmp/multipartBody1459396154434031304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750003836,"filename":"image_14042025_18_08_40_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/676bda65cd2372473c2e3fe5f2e8a497.jpg","text":"TemporaryFile(/tmp/multipartBody5093457645710194306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750003836,"filename":"image_14042025_18_08_13_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89d9249ca74bb4d88ab9eeef3fb584f4.jpg","text":"TemporaryFile(/tmp/multipartBody4332891956804642546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750003836,"filename":"image_14042025_18_08_28_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3199d15207a319d01b1cbec5afd56648.jpg","text":"TemporaryFile(/tmp/multipartBody1866322805971535105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750003836,"filename":"image_14042025_18_08_08_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8df36fe9a1e92e40f8d5efe7ca1c05f.jpg","text":"TemporaryFile(/tmp/multipartBody154362356506356425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750003836,"filename":"image_14042025_18_08_31_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350053193","file1":"1350053114","file0":"1350053010","file4":"1350053258","file5":"1350053320","file3":"1350053229"},"map_files_photo_id_array":[{"photo_id":"1350053320","filename":"file5"},{"photo_id":"1350053193","filename":"file2"},{"photo_id":"1350053258","filename":"file4"},{"photo_id":"1350053114","filename":"file1"},{"photo_id":"1350053010","filename":"file0"},{"photo_id":"1350053229","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350053114":["hashtag1","hashtag2"]},{"1350053320":["hashtag1","hashtag2"]},{"1350053193":["hashtag1","hashtag2"]},{"1350053229":["hashtag1","hashtag2"]},{"1350053010":["hashtag1","hashtag2"]},{"1350053258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350053114, 1350053320, 1350053193, 1350053229, 1350053010, 1350053258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.74353647232056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:46:42.826855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_52_2687.jpg', '/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_55_3631.jpg', '/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_04_2679.jpg', '/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_10_2686.jpg', '/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_16_2609.jpg', '/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_25_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_52_2687.jpg
/home/pi/Desktop/images/14042025/18/08/image_14042025_18_08_55_3631.jpg
/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_04_2679.jpg
/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_10_2686.jpg
/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_16_2609.jpg
/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_25_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350053659","1350053583","1350053691","1350053808","1350053625","1350053759"],"photo_ids_order":["1350053583","1350053625","1350053659","1350053691","1350053759","1350053808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46c451966d359da5950a6fcf58c4bee0.jpg","text":"TemporaryFile(/tmp/multipartBody5745503819978335160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750064272,"filename":"image_14042025_18_09_04_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c446effbaf80033a4cf13e77246dc5af.jpg","text":"TemporaryFile(/tmp/multipartBody9175561278480178487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750064272,"filename":"image_14042025_18_08_52_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ad5dce89480cd63708aa368957c55f1.jpg","text":"TemporaryFile(/tmp/multipartBody7101170330481745868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750064272,"filename":"image_14042025_18_09_10_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ebd1324f79e91d0c50b990a0e944bcb.jpg","text":"TemporaryFile(/tmp/multipartBody693109000529362220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750064272,"filename":"image_14042025_18_09_25_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a6fdbde633203608739399fbc512149.jpg","text":"TemporaryFile(/tmp/multipartBody5627589691557991753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750064272,"filename":"image_14042025_18_08_55_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d85fed2fa070a3ddd6c734a75d32886f.jpg","text":"TemporaryFile(/tmp/multipartBody8616316523421388609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750064272,"filename":"image_14042025_18_09_16_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350053659","file1":"1350053625","file0":"1350053583","file4":"1350053759","file5":"1350053808","file3":"1350053691"},"map_files_photo_id_array":[{"photo_id":"1350053808","filename":"file5"},{"photo_id":"1350053659","filename":"file2"},{"photo_id":"1350053759","filename":"file4"},{"photo_id":"1350053625","filename":"file1"},{"photo_id":"1350053583","filename":"file0"},{"photo_id":"1350053691","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350053659":["hashtag1","hashtag2"]},{"1350053583":["hashtag1","hashtag2"]},{"1350053691":["hashtag1","hashtag2"]},{"1350053808":["hashtag1","hashtag2"]},{"1350053625":["hashtag1","hashtag2"]},{"1350053759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350053659, 1350053583, 1350053691, 1350053808, 1350053625, 1350053759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.999505043029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:47:22.668181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_40_2763.jpg', '/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_04_2952.jpg', '/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_07_3684.jpg', '/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_10_2724.jpg', '/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_16_3671.jpg', '/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_19_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/09/image_14042025_18_09_40_2763.jpg
/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_04_2952.jpg
/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_07_3684.jpg
/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_10_2724.jpg
/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_16_3671.jpg
/home/pi/Desktop/images/14042025/18/10/image_14042025_18_10_19_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350054166","1350054228","1350053964","1350054207","1350053913","1350054236"],"photo_ids_order":["1350053913","1350053964","1350054166","1350054207","1350054228","1350054236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08b020487de7609ba2de35ac32feb209.jpg","text":"TemporaryFile(/tmp/multipartBody3797192884124966062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750110723,"filename":"image_14042025_18_10_07_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7795364a113ba2e3d7bc7675ddb644f.jpg","text":"TemporaryFile(/tmp/multipartBody8752682311999122135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750110723,"filename":"image_14042025_18_10_16_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44c7dfe047f0116b63395c48414b4c77.jpg","text":"TemporaryFile(/tmp/multipartBody667798507411008965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750110723,"filename":"image_14042025_18_10_04_2952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7b56e3819b315f0c81cf509f715ea49.jpg","text":"TemporaryFile(/tmp/multipartBody7848076071312678294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750110723,"filename":"image_14042025_18_10_10_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8dc1dcb6d4473838ef3f7af33145af23.jpg","text":"TemporaryFile(/tmp/multipartBody7404938533371362168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750110723,"filename":"image_14042025_18_09_40_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb981eb515ae7815b02b4eccd99ce68f.jpg","text":"TemporaryFile(/tmp/multipartBody4590410612521042844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750110723,"filename":"image_14042025_18_10_19_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350054166","file1":"1350053964","file0":"1350053913","file4":"1350054228","file5":"1350054236","file3":"1350054207"},"map_files_photo_id_array":[{"photo_id":"1350054236","filename":"file5"},{"photo_id":"1350054166","filename":"file2"},{"photo_id":"1350054228","filename":"file4"},{"photo_id":"1350053964","filename":"file1"},{"photo_id":"1350053913","filename":"file0"},{"photo_id":"1350054207","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350054166":["hashtag1","hashtag2"]},{"1350054228":["hashtag1","hashtag2"]},{"1350053964":["hashtag1","hashtag2"]},{"1350054207":["hashtag1","hashtag2"]},{"1350053913":["hashtag1","hashtag2"]},{"1350054236":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350054166, 1350054228, 1350053964, 1350054207, 1350053913, 1350054236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65584921836853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:48:21.921244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/11/image_14042025_18_11_22_2825.jpg', '/home/pi/Desktop/images/14042025/18/12/image_14042025_18_12_06_2901.jpg', '/home/pi/Desktop/images/14042025/18/13/image_14042025_18_13_51_2857.jpg', '/home/pi/Desktop/images/14042025/18/14/image_14042025_18_14_25_3022.jpg', '/home/pi/Desktop/images/14042025/18/14/image_14042025_18_14_58_2909.jpg', '/home/pi/Desktop/images/14042025/18/15/image_14042025_18_15_48_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/11/image_14042025_18_11_22_2825.jpg
/home/pi/Desktop/images/14042025/18/12/image_14042025_18_12_06_2901.jpg
/home/pi/Desktop/images/14042025/18/13/image_14042025_18_13_51_2857.jpg
/home/pi/Desktop/images/14042025/18/14/image_14042025_18_14_25_3022.jpg
/home/pi/Desktop/images/14042025/18/14/image_14042025_18_14_58_2909.jpg
/home/pi/Desktop/images/14042025/18/15/image_14042025_18_15_48_2850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350054331","1350054325","1350054412","1350054384","1350054354","1350054335"],"photo_ids_order":["1350054325","1350054331","1350054335","1350054354","1350054384","1350054412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df2db10ecef0ddde33e56702b4e6652e.jpg","text":"TemporaryFile(/tmp/multipartBody8475587815471885240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750165145,"filename":"image_14042025_18_12_06_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1439abbf2be879adfb5a66c70341334b.jpg","text":"TemporaryFile(/tmp/multipartBody9168563463592381159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750165145,"filename":"image_14042025_18_11_22_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3aa63f4c56ccaaf0eb101f007c0356b7.jpg","text":"TemporaryFile(/tmp/multipartBody6512928085363338251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750165145,"filename":"image_14042025_18_15_48_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41bb9bc268395e3006fc7cea773f54f7.jpg","text":"TemporaryFile(/tmp/multipartBody4443222286022957986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750165145,"filename":"image_14042025_18_14_58_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09e287c2dcffae46d3010a98c2f7a030.jpg","text":"TemporaryFile(/tmp/multipartBody6271278722402107649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750165145,"filename":"image_14042025_18_14_25_3022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b46c561b6bb80b33f03bab09c3c79ee8.jpg","text":"TemporaryFile(/tmp/multipartBody3915504879445029817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750165145,"filename":"image_14042025_18_13_51_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350054335","file1":"1350054331","file0":"1350054325","file4":"1350054384","file5":"1350054412","file3":"1350054354"},"map_files_photo_id_array":[{"photo_id":"1350054412","filename":"file5"},{"photo_id":"1350054335","filename":"file2"},{"photo_id":"1350054384","filename":"file4"},{"photo_id":"1350054331","filename":"file1"},{"photo_id":"1350054325","filename":"file0"},{"photo_id":"1350054354","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350054331":["hashtag1","hashtag2"]},{"1350054325":["hashtag1","hashtag2"]},{"1350054412":["hashtag1","hashtag2"]},{"1350054384":["hashtag1","hashtag2"]},{"1350054354":["hashtag1","hashtag2"]},{"1350054335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350054331, 1350054325, 1350054412, 1350054384, 1350054354, 1350054335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86740732192993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:49:03.875930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/16/image_14042025_18_16_07_2771.jpg', '/home/pi/Desktop/images/14042025/18/16/image_14042025_18_16_09_2558.jpg', '/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_03_2905.jpg', '/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_15_2826.jpg', '/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_24_2683.jpg', '/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_49_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/16/image_14042025_18_16_07_2771.jpg
/home/pi/Desktop/images/14042025/18/16/image_14042025_18_16_09_2558.jpg
/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_03_2905.jpg
/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_15_2826.jpg
/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_24_2683.jpg
/home/pi/Desktop/images/14042025/18/18/image_14042025_18_18_49_3619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350054673","1350054547","1350054616","1350054915","1350054581","1350055123"],"photo_ids_order":["1350054547","1350054581","1350054616","1350054673","1350054915","1350055123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2df83e671fc0481c21507976b336b96.jpg","text":"TemporaryFile(/tmp/multipartBody7685116347223521849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750206626,"filename":"image_14042025_18_18_15_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e23b9b45afbf2c50499caf6c0b7741b4.jpg","text":"TemporaryFile(/tmp/multipartBody6649464340204614221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750206626,"filename":"image_14042025_18_16_07_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae0a25d1a7026d555416dd8cb4d1901b.jpg","text":"TemporaryFile(/tmp/multipartBody6211655044688961942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750206626,"filename":"image_14042025_18_18_03_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fce88ed8ce70d6aa43e4fa8b42aa1b44.jpg","text":"TemporaryFile(/tmp/multipartBody334996977283949409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750206626,"filename":"image_14042025_18_18_24_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/243ada00b8ddcae64181b1b618767aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1551088112373125458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750206626,"filename":"image_14042025_18_16_09_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cc4c38c8ba2b10bd6f8cc0a85712948.jpg","text":"TemporaryFile(/tmp/multipartBody8063370929290791242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750206626,"filename":"image_14042025_18_18_49_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350054616","file1":"1350054581","file0":"1350054547","file4":"1350054915","file5":"1350055123","file3":"1350054673"},"map_files_photo_id_array":[{"photo_id":"1350055123","filename":"file5"},{"photo_id":"1350054616","filename":"file2"},{"photo_id":"1350054915","filename":"file4"},{"photo_id":"1350054581","filename":"file1"},{"photo_id":"1350054547","filename":"file0"},{"photo_id":"1350054673","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350054673":["hashtag1","hashtag2"]},{"1350054547":["hashtag1","hashtag2"]},{"1350054616":["hashtag1","hashtag2"]},{"1350054915":["hashtag1","hashtag2"]},{"1350054581":["hashtag1","hashtag2"]},{"1350055123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350054673, 1350054547, 1350054616, 1350054915, 1350054581, 1350055123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33063745498657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:49:42.873621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/18/image_14042025_18_19_01_3779.jpg', '/home/pi/Desktop/images/14042025/18/19/image_14042025_18_19_39_2663.jpg', '/home/pi/Desktop/images/14042025/18/20/image_14042025_18_21_00_3122.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_06_3582.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_09_2907.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_12_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/18/image_14042025_18_19_01_3779.jpg
/home/pi/Desktop/images/14042025/18/19/image_14042025_18_19_39_2663.jpg
/home/pi/Desktop/images/14042025/18/20/image_14042025_18_21_00_3122.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_06_3582.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_09_2907.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_12_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350055860","1350055800","1350055964","1350055771","1350055894","1350055831"],"photo_ids_order":["1350055771","1350055800","1350055831","1350055860","1350055894","1350055964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a222431c231e9271911efa95180136a1.jpg","text":"TemporaryFile(/tmp/multipartBody814097771548587005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750244348,"filename":"image_14042025_18_21_06_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe50b0055478032d44e2a44ec77782f4.jpg","text":"TemporaryFile(/tmp/multipartBody3337617284623712168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750244348,"filename":"image_14042025_18_19_39_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf85a315f2b5f12da36e5c66b9db0b30.jpg","text":"TemporaryFile(/tmp/multipartBody8742416554156898744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750244348,"filename":"image_14042025_18_21_12_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/895a9259dd9d993b274ad3cc9ee1048c.jpg","text":"TemporaryFile(/tmp/multipartBody7654663720093244756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750244348,"filename":"image_14042025_18_19_01_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02eb144227420feb396b8bec27ea41fc.jpg","text":"TemporaryFile(/tmp/multipartBody1104129835862673401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750244348,"filename":"image_14042025_18_21_09_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/000f5f4178bc1f0d79e4dcd4f15ddeec.jpg","text":"TemporaryFile(/tmp/multipartBody8582913672639509312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750244348,"filename":"image_14042025_18_21_00_3122.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350055831","file1":"1350055800","file0":"1350055771","file4":"1350055894","file5":"1350055964","file3":"1350055860"},"map_files_photo_id_array":[{"photo_id":"1350055964","filename":"file5"},{"photo_id":"1350055831","filename":"file2"},{"photo_id":"1350055894","filename":"file4"},{"photo_id":"1350055800","filename":"file1"},{"photo_id":"1350055771","filename":"file0"},{"photo_id":"1350055860","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350055860":["hashtag1","hashtag2"]},{"1350055800":["hashtag1","hashtag2"]},{"1350055964":["hashtag1","hashtag2"]},{"1350055771":["hashtag1","hashtag2"]},{"1350055894":["hashtag1","hashtag2"]},{"1350055831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350055860, 1350055800, 1350055964, 1350055771, 1350055894, 1350055831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01755118370056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:50:22.644225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_27_3569.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_33_2850.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_36_2742.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_39_3646.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_45_2791.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_51_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_27_3569.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_33_2850.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_36_2742.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_39_3646.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_45_2791.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_51_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350056142","1350056247","1350056231","1350056113","1350056200","1350056172"],"photo_ids_order":["1350056113","1350056142","1350056172","1350056200","1350056231","1350056247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2eee8a87e0c35bb334dad30c3dbf47bf.jpg","text":"TemporaryFile(/tmp/multipartBody8655804335609514731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750285895,"filename":"image_14042025_18_21_33_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f1e3a179cc562125c08d17c88b28aae.jpg","text":"TemporaryFile(/tmp/multipartBody4255402295014544224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750285895,"filename":"image_14042025_18_21_51_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e8c64a5ac2ae655850db09af9d6cc92.jpg","text":"TemporaryFile(/tmp/multipartBody5921447702809328925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750285895,"filename":"image_14042025_18_21_45_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76cc3577b3c8e9bcdfbe1779d37f589c.jpg","text":"TemporaryFile(/tmp/multipartBody589306571556766392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750285895,"filename":"image_14042025_18_21_27_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b613a414831b9abd972316a6f8204506.jpg","text":"TemporaryFile(/tmp/multipartBody6751653932673158760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750285895,"filename":"image_14042025_18_21_39_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77dbcc41c9328b33a7bbd04f3dd5096c.jpg","text":"TemporaryFile(/tmp/multipartBody8401930024330194841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750285895,"filename":"image_14042025_18_21_36_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350056172","file1":"1350056142","file0":"1350056113","file4":"1350056231","file5":"1350056247","file3":"1350056200"},"map_files_photo_id_array":[{"photo_id":"1350056247","filename":"file5"},{"photo_id":"1350056172","filename":"file2"},{"photo_id":"1350056231","filename":"file4"},{"photo_id":"1350056142","filename":"file1"},{"photo_id":"1350056113","filename":"file0"},{"photo_id":"1350056200","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350056142":["hashtag1","hashtag2"]},{"1350056247":["hashtag1","hashtag2"]},{"1350056231":["hashtag1","hashtag2"]},{"1350056113":["hashtag1","hashtag2"]},{"1350056200":["hashtag1","hashtag2"]},{"1350056172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350056142, 1350056247, 1350056231, 1350056113, 1350056200, 1350056172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64162588119507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:51:03.187853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_54_2745.jpg', '/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_57_2832.jpg', '/home/pi/Desktop/images/14042025/18/22/image_14042025_18_22_06_3884.jpg', '/home/pi/Desktop/images/14042025/18/22/image_14042025_18_22_21_3638.jpg', '/home/pi/Desktop/images/14042025/18/23/image_14042025_18_23_45_3839.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_21_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_54_2745.jpg
/home/pi/Desktop/images/14042025/18/21/image_14042025_18_21_57_2832.jpg
/home/pi/Desktop/images/14042025/18/22/image_14042025_18_22_06_3884.jpg
/home/pi/Desktop/images/14042025/18/22/image_14042025_18_22_21_3638.jpg
/home/pi/Desktop/images/14042025/18/23/image_14042025_18_23_45_3839.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_21_3790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350056637","1350056718","1350056570","1350056648","1350056563","1350056643"],"photo_ids_order":["1350056563","1350056570","1350056637","1350056643","1350056648","1350056718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba9ab9281bb13581a16c88244ff63a52.jpg","text":"TemporaryFile(/tmp/multipartBody2271996563239210818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750325870,"filename":"image_14042025_18_22_06_3884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96b7f885b73707a914d51e00d33cec70.jpg","text":"TemporaryFile(/tmp/multipartBody2463170995361566632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750325870,"filename":"image_14042025_18_25_21_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4c7a18352d96aef4aea48ace10ce8d7.jpg","text":"TemporaryFile(/tmp/multipartBody5445799535067323648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750325870,"filename":"image_14042025_18_21_57_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d94d12d7a9d4774df3f72963eeb3c438.jpg","text":"TemporaryFile(/tmp/multipartBody5862228035398746428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750325870,"filename":"image_14042025_18_23_45_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f499b62403ed52fa4303e08d085c804f.jpg","text":"TemporaryFile(/tmp/multipartBody9100903362539168213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750325870,"filename":"image_14042025_18_21_54_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d6381a03944f62cb704ccf9026a163e.jpg","text":"TemporaryFile(/tmp/multipartBody1486294262942590320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750325870,"filename":"image_14042025_18_22_21_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350056637","file1":"1350056570","file0":"1350056563","file4":"1350056648","file5":"1350056718","file3":"1350056643"},"map_files_photo_id_array":[{"photo_id":"1350056718","filename":"file5"},{"photo_id":"1350056637","filename":"file2"},{"photo_id":"1350056648","filename":"file4"},{"photo_id":"1350056570","filename":"file1"},{"photo_id":"1350056563","filename":"file0"},{"photo_id":"1350056643","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350056637":["hashtag1","hashtag2"]},{"1350056718":["hashtag1","hashtag2"]},{"1350056570":["hashtag1","hashtag2"]},{"1350056648":["hashtag1","hashtag2"]},{"1350056563":["hashtag1","hashtag2"]},{"1350056643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350056637, 1350056718, 1350056570, 1350056648, 1350056563, 1350056643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27496361732483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:52:02.438930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_24_2842.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_27_2838.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_29_2605.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_33_3601.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_36_2851.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_39_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_24_2842.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_27_2838.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_29_2605.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_33_3601.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_36_2851.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_39_2739.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.394649028778076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:52:21.937040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_24_2842.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_27_2838.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_29_2605.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_33_3601.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_36_2851.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_39_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_24_2842.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_27_2838.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_29_2605.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_33_3601.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_36_2851.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_39_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350057111","1350057032","1350057011","1350057253","1350057229","1350057291"],"photo_ids_order":["1350057011","1350057032","1350057111","1350057229","1350057253","1350057291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a87e44e6ffa9f863939b5bfbacddb0e.jpg","text":"TemporaryFile(/tmp/multipartBody1941885715270627808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750405108,"filename":"image_14042025_18_25_29_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b71a99258af934ae5b2924f828dfe1ef.jpg","text":"TemporaryFile(/tmp/multipartBody7996888485572020009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750405108,"filename":"image_14042025_18_25_27_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0abbed81b3181c08fab53dffca8b3e26.jpg","text":"TemporaryFile(/tmp/multipartBody4039248359775423197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750405108,"filename":"image_14042025_18_25_24_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8abc7d2878ac6d692567e4bca624082.jpg","text":"TemporaryFile(/tmp/multipartBody5156652120052669366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750405108,"filename":"image_14042025_18_25_36_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bcd4cf371470d7f08386269b4a99d6c.jpg","text":"TemporaryFile(/tmp/multipartBody637706194259842369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750405108,"filename":"image_14042025_18_25_33_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57c5238a0320e08047bdd7c80367575e.jpg","text":"TemporaryFile(/tmp/multipartBody5337541638849857533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750405108,"filename":"image_14042025_18_25_39_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350057111","file1":"1350057032","file0":"1350057011","file4":"1350057253","file5":"1350057291","file3":"1350057229"},"map_files_photo_id_array":[{"photo_id":"1350057291","filename":"file5"},{"photo_id":"1350057111","filename":"file2"},{"photo_id":"1350057253","filename":"file4"},{"photo_id":"1350057032","filename":"file1"},{"photo_id":"1350057011","filename":"file0"},{"photo_id":"1350057229","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350057111":["hashtag1","hashtag2"]},{"1350057032":["hashtag1","hashtag2"]},{"1350057011":["hashtag1","hashtag2"]},{"1350057253":["hashtag1","hashtag2"]},{"1350057229":["hashtag1","hashtag2"]},{"1350057291":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350057111, 1350057032, 1350057011, 1350057253, 1350057229, 1350057291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79748582839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:53:02.720402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_41_2717.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_56_2657.jpg', '/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_59_2647.jpg', '/home/pi/Desktop/images/14042025/18/26/image_14042025_18_26_03_3623.jpg', '/home/pi/Desktop/images/14042025/18/26/image_14042025_18_26_45_3765.jpg', '/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_47_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_41_2717.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_56_2657.jpg
/home/pi/Desktop/images/14042025/18/25/image_14042025_18_25_59_2647.jpg
/home/pi/Desktop/images/14042025/18/26/image_14042025_18_26_03_3623.jpg
/home/pi/Desktop/images/14042025/18/26/image_14042025_18_26_45_3765.jpg
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_47_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350057423","1350057443","1350057496","1350057428","1350057469","1350057398"],"photo_ids_order":["1350057398","1350057423","1350057428","1350057443","1350057469","1350057496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8194e1199c88f9784f48706106c22b97.jpg","text":"TemporaryFile(/tmp/multipartBody6278811549146718942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750445470,"filename":"image_14042025_18_25_56_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e6cdfb742f718bcfdd1234fb57cfb01.jpg","text":"TemporaryFile(/tmp/multipartBody5515065423711528279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750445470,"filename":"image_14042025_18_26_03_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9894e2a825ccb9494b63e5c16bb155c.jpg","text":"TemporaryFile(/tmp/multipartBody2708485483123016216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750445470,"filename":"image_14042025_18_29_47_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aacd523fa5ea250fc7c769cb5d61d054.jpg","text":"TemporaryFile(/tmp/multipartBody4179539779205552253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750445470,"filename":"image_14042025_18_25_59_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb918d3665494b6b4f4b1a654b6ae8fa.jpg","text":"TemporaryFile(/tmp/multipartBody1180566557253374115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750445470,"filename":"image_14042025_18_26_45_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa3791e868a65799cea72a0e8e608272.jpg","text":"TemporaryFile(/tmp/multipartBody4361063932953428619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750445470,"filename":"image_14042025_18_25_41_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350057428","file1":"1350057423","file0":"1350057398","file4":"1350057469","file5":"1350057496","file3":"1350057443"},"map_files_photo_id_array":[{"photo_id":"1350057496","filename":"file5"},{"photo_id":"1350057428","filename":"file2"},{"photo_id":"1350057469","filename":"file4"},{"photo_id":"1350057423","filename":"file1"},{"photo_id":"1350057398","filename":"file0"},{"photo_id":"1350057443","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350057423":["hashtag1","hashtag2"]},{"1350057443":["hashtag1","hashtag2"]},{"1350057496":["hashtag1","hashtag2"]},{"1350057428":["hashtag1","hashtag2"]},{"1350057469":["hashtag1","hashtag2"]},{"1350057398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350057423, 1350057443, 1350057496, 1350057428, 1350057469, 1350057398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17543268203735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:54:03.582252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_50_2938.jpg', '/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_53_3126.jpg', '/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_56_2667.jpg', '/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_59_2704.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_08_3011.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_11_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_50_2938.jpg
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_53_3126.jpg
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_56_2667.jpg
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_59_2704.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_08_3011.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_11_3689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.5199780464172363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:54:22.814470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_50_2938.jpg', '/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_53_3126.jpg', '/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_56_2667.jpg', '/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_59_2704.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_08_3011.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_11_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_50_2938.jpg
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_53_3126.jpg
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_56_2667.jpg
/home/pi/Desktop/images/14042025/18/29/image_14042025_18_29_59_2704.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_08_3011.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_11_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350057875","1350057813","1350057811","1350057808","1350057802","1350057819"],"photo_ids_order":["1350057802","1350057808","1350057811","1350057813","1350057819","1350057875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d31989754a4b7bd36727641faa86678d.jpg","text":"TemporaryFile(/tmp/multipartBody1695602220695757104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750525890,"filename":"image_14042025_18_30_11_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c106e3adef6f0ad320217b1222ec10a.jpg","text":"TemporaryFile(/tmp/multipartBody5149297081361124214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750525890,"filename":"image_14042025_18_29_59_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f1e285ab07c10f58ddecb5ce0f01b50.jpg","text":"TemporaryFile(/tmp/multipartBody573643093482025031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750525890,"filename":"image_14042025_18_29_56_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e47cb13ee56e9eb5daffd808452c0d32.jpg","text":"TemporaryFile(/tmp/multipartBody9164839191770474625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750525890,"filename":"image_14042025_18_29_53_3126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13d7e23db5c8ad95116b7d2974278428.jpg","text":"TemporaryFile(/tmp/multipartBody714768387397486714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750525890,"filename":"image_14042025_18_29_50_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22ad90d2264a16e624d127a39404dcfa.jpg","text":"TemporaryFile(/tmp/multipartBody956801685232276232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750525890,"filename":"image_14042025_18_30_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350057811","file1":"1350057808","file0":"1350057802","file4":"1350057819","file5":"1350057875","file3":"1350057813"},"map_files_photo_id_array":[{"photo_id":"1350057875","filename":"file5"},{"photo_id":"1350057811","filename":"file2"},{"photo_id":"1350057819","filename":"file4"},{"photo_id":"1350057808","filename":"file1"},{"photo_id":"1350057802","filename":"file0"},{"photo_id":"1350057813","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350057875":["hashtag1","hashtag2"]},{"1350057813":["hashtag1","hashtag2"]},{"1350057811":["hashtag1","hashtag2"]},{"1350057808":["hashtag1","hashtag2"]},{"1350057802":["hashtag1","hashtag2"]},{"1350057819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350057875, 1350057813, 1350057811, 1350057808, 1350057802, 1350057819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38247346878052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:55:03.335802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_14_2696.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_17_2677.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_20_3545.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_26_2718.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_29_3544.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_32_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_14_2696.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_17_2677.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_20_3545.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_26_2718.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_29_3544.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_32_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350058058","1350058037","1350058049","1350058026","1350057987","1350058011"],"photo_ids_order":["1350057987","1350058011","1350058026","1350058037","1350058049","1350058058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fe85a88541cb14990c6d7e0e3df06bd.jpg","text":"TemporaryFile(/tmp/multipartBody6162592332369396729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750566052,"filename":"image_14042025_18_30_32_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a7957159548e2a929579e22ba4dd318.jpg","text":"TemporaryFile(/tmp/multipartBody3479454076037812396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750566052,"filename":"image_14042025_18_30_26_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3265a3920e3405710195251845ac247.jpg","text":"TemporaryFile(/tmp/multipartBody1162145842711391191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750566052,"filename":"image_14042025_18_30_29_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/faee27d5f15a889463d8c1d53ab107fe.jpg","text":"TemporaryFile(/tmp/multipartBody8053087541829283538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750566052,"filename":"image_14042025_18_30_20_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95bc47cb6539c0574cc195eb72c6cd83.jpg","text":"TemporaryFile(/tmp/multipartBody3758221848664827761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750566052,"filename":"image_14042025_18_30_14_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92d663e835871518070f28443ea1a13a.jpg","text":"TemporaryFile(/tmp/multipartBody6674301664515277400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750566052,"filename":"image_14042025_18_30_17_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350058026","file1":"1350058011","file0":"1350057987","file4":"1350058049","file5":"1350058058","file3":"1350058037"},"map_files_photo_id_array":[{"photo_id":"1350058058","filename":"file5"},{"photo_id":"1350058026","filename":"file2"},{"photo_id":"1350058049","filename":"file4"},{"photo_id":"1350058011","filename":"file1"},{"photo_id":"1350057987","filename":"file0"},{"photo_id":"1350058037","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350058058":["hashtag1","hashtag2"]},{"1350058037":["hashtag1","hashtag2"]},{"1350058049":["hashtag1","hashtag2"]},{"1350058026":["hashtag1","hashtag2"]},{"1350057987":["hashtag1","hashtag2"]},{"1350058011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350058058, 1350058037, 1350058049, 1350058026, 1350057987, 1350058011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12745809555054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 22:55:42.527074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_35_2799.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_38_3673.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_41_2720.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_48_3810.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_50_2706.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_53_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_35_2799.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_38_3673.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_41_2720.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_48_3810.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_50_2706.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_53_2854.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350058079","1350058064","1350058069","1350058074","1350058088","1350058082"],"photo_ids_order":["1350058064","1350058069","1350058074","1350058079","1350058082","1350058088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c3990120f30f5c473b1685788aa8e92.jpg","text":"TemporaryFile(/tmp/multipartBody6465194197106287750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750603946,"filename":"image_14042025_18_30_48_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a203fadc7c6e266f00d54ed57aaed739.jpg","text":"TemporaryFile(/tmp/multipartBody7209647135665766985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750603946,"filename":"image_14042025_18_30_35_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bca558a1fb7d3f1fef5e885590476c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5533775732268223146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750603946,"filename":"image_14042025_18_30_38_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbe3404dec3fa359b738d38d44c1c9d5.jpg","text":"TemporaryFile(/tmp/multipartBody925700648105787838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750603946,"filename":"image_14042025_18_30_41_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab54d837a5c3022fa97b8f06379bc96f.jpg","text":"TemporaryFile(/tmp/multipartBody1510911362418122583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750603946,"filename":"image_14042025_18_30_53_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04210ed93d4693009e53538c58fe17d1.jpg","text":"TemporaryFile(/tmp/multipartBody2801450339514514952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750603946,"filename":"image_14042025_18_30_50_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350058074","file1":"1350058069","file0":"1350058064","file4":"1350058082","file5":"1350058088","file3":"1350058079"},"map_files_photo_id_array":[{"photo_id":"1350058088","filename":"file5"},{"photo_id":"1350058074","filename":"file2"},{"photo_id":"1350058082","filename":"file4"},{"photo_id":"1350058069","filename":"file1"},{"photo_id":"1350058064","filename":"file0"},{"photo_id":"1350058079","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350058079":["hashtag1","hashtag2"]},{"1350058064":["hashtag1","hashtag2"]},{"1350058069":["hashtag1","hashtag2"]},{"1350058074":["hashtag1","hashtag2"]},{"1350058088":["hashtag1","hashtag2"]},{"1350058082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350058079, 1350058064, 1350058069, 1350058074, 1350058088, 1350058082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95439958572388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 22:56:21.899513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_56_2847.jpg', '/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_59_2902.jpg', '/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_02_3567.jpg', '/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_05_2842.jpg', '/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_08_2723.jpg', '/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_11_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_56_2847.jpg
/home/pi/Desktop/images/14042025/18/30/image_14042025_18_30_59_2902.jpg
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_02_3567.jpg
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_05_2842.jpg
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_08_2723.jpg
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_11_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350058168","1350058243","1350058272","1350058320","1350058137","1350058373"],"photo_ids_order":["1350058137","1350058168","1350058243","1350058272","1350058320","1350058373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/960810f0a55e46f985c25df6157d048e.jpg","text":"TemporaryFile(/tmp/multipartBody3250507645361333259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750645130,"filename":"image_14042025_18_30_59_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8011e12c4eec46c1320abcdc466ec31c.jpg","text":"TemporaryFile(/tmp/multipartBody5229106027075143656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750645130,"filename":"image_14042025_18_31_02_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a8f86e95f9ed3d10fdaadd9001fce05.jpg","text":"TemporaryFile(/tmp/multipartBody5356453320727711774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750645130,"filename":"image_14042025_18_31_05_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b8dc10458f5f40c9038ec232bc7ea84.jpg","text":"TemporaryFile(/tmp/multipartBody3282834238967218720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750645130,"filename":"image_14042025_18_31_08_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6cf3994c14735e6fcb87e627c33a8025.jpg","text":"TemporaryFile(/tmp/multipartBody4881921969048616328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750645130,"filename":"image_14042025_18_30_56_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5be9fc4d5e183856a369f82beb4958d6.jpg","text":"TemporaryFile(/tmp/multipartBody1803777089288648184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750645130,"filename":"image_14042025_18_31_11_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350058243","file1":"1350058168","file0":"1350058137","file4":"1350058320","file5":"1350058373","file3":"1350058272"},"map_files_photo_id_array":[{"photo_id":"1350058373","filename":"file5"},{"photo_id":"1350058243","filename":"file2"},{"photo_id":"1350058320","filename":"file4"},{"photo_id":"1350058168","filename":"file1"},{"photo_id":"1350058137","filename":"file0"},{"photo_id":"1350058272","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350058168":["hashtag1","hashtag2"]},{"1350058243":["hashtag1","hashtag2"]},{"1350058272":["hashtag1","hashtag2"]},{"1350058320":["hashtag1","hashtag2"]},{"1350058137":["hashtag1","hashtag2"]},{"1350058373":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350058168, 1350058243, 1350058272, 1350058320, 1350058137, 1350058373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5967230796814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:57:03.257870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_14_3698.jpg', '/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_17_2776.jpg', '/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_20_2608.jpg', '/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_27_3878.jpg', '/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_35_3707.jpg', '/home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_11_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_14_3698.jpg
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_17_2776.jpg
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_20_2608.jpg
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_27_3878.jpg
/home/pi/Desktop/images/14042025/18/31/image_14042025_18_31_35_3707.jpg
/home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_11_3671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350059089","1350058709","1350059032","1350058968","1350058797","1350058874"],"photo_ids_order":["1350058709","1350058797","1350058874","1350058968","1350059032","1350059089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3c08ef733cfb8a1db310a0ada4a00d4.jpg","text":"TemporaryFile(/tmp/multipartBody4043619876018992871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750685836,"filename":"image_14042025_18_33_11_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/911c70d5857c5b04c54c15a4a0d7585d.jpg","text":"TemporaryFile(/tmp/multipartBody6610148231816098627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750685836,"filename":"image_14042025_18_31_14_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0388f7115a8836aebf06225429082a32.jpg","text":"TemporaryFile(/tmp/multipartBody3594746001372394219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750685836,"filename":"image_14042025_18_31_35_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2bfe249803ba22e387b51e4c9e1cae6.jpg","text":"TemporaryFile(/tmp/multipartBody3310231660993454182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750685836,"filename":"image_14042025_18_31_27_3878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3e102d5f8edf6ae59fe49e7b9c3681a.jpg","text":"TemporaryFile(/tmp/multipartBody2346488487068067607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750685836,"filename":"image_14042025_18_31_17_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2401753fdff25a53e7bb1cfd400251a.jpg","text":"TemporaryFile(/tmp/multipartBody4527702514980985564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750685836,"filename":"image_14042025_18_31_20_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350058874","file1":"1350058797","file0":"1350058709","file4":"1350059032","file5":"1350059089","file3":"1350058968"},"map_files_photo_id_array":[{"photo_id":"1350059089","filename":"file5"},{"photo_id":"1350058874","filename":"file2"},{"photo_id":"1350059032","filename":"file4"},{"photo_id":"1350058797","filename":"file1"},{"photo_id":"1350058709","filename":"file0"},{"photo_id":"1350058968","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350059089":["hashtag1","hashtag2"]},{"1350058709":["hashtag1","hashtag2"]},{"1350059032":["hashtag1","hashtag2"]},{"1350058968":["hashtag1","hashtag2"]},{"1350058797":["hashtag1","hashtag2"]},{"1350058874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350059089, 1350058709, 1350059032, 1350058968, 1350058797, 1350058874)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.64499616622925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 22:59:02.872312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_44_1686.jpg', '/home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_55_4566.jpg', '/home/pi/Desktop/images/14042025/18/34/image_14042025_18_34_52_2838.jpg', '/home/pi/Desktop/images/14042025/18/35/image_14042025_18_35_59_3658.jpg', '/home/pi/Desktop/images/14042025/18/36/image_14042025_18_36_26_2602.jpg', '/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_02_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_44_1686.jpg
/home/pi/Desktop/images/14042025/18/33/image_14042025_18_33_55_4566.jpg
/home/pi/Desktop/images/14042025/18/34/image_14042025_18_34_52_2838.jpg
/home/pi/Desktop/images/14042025/18/35/image_14042025_18_35_59_3658.jpg
/home/pi/Desktop/images/14042025/18/36/image_14042025_18_36_26_2602.jpg
/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_02_3627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350059755","1350059697","1350059730","1350059718","1350059634","1350059621"],"photo_ids_order":["1350059621","1350059634","1350059697","1350059718","1350059730","1350059755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ff46be8eb8968ca1b88f166a95b1580.jpg","text":"TemporaryFile(/tmp/multipartBody6134055311387456740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750805725,"filename":"image_14042025_18_37_02_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed04ffc2bf6097477059220ba27c1d9b.jpg","text":"TemporaryFile(/tmp/multipartBody802158800004440247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750805725,"filename":"image_14042025_18_34_52_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c4c79902d7aae5101bc175c02ded5c6.jpg","text":"TemporaryFile(/tmp/multipartBody3436290338815528974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750805725,"filename":"image_14042025_18_36_26_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19582bcb6878bf844ac4a567b73bb679.jpg","text":"TemporaryFile(/tmp/multipartBody1347315223236612826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750805725,"filename":"image_14042025_18_35_59_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/308f6f5fd9254893b062f79749ba746c.jpg","text":"TemporaryFile(/tmp/multipartBody4944594379112781308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750805725,"filename":"image_14042025_18_33_55_4566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ccce1bceded2d15833d8d9053415d76.jpg","text":"TemporaryFile(/tmp/multipartBody5260020077344102629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750805725,"filename":"image_14042025_18_33_44_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350059697","file1":"1350059634","file0":"1350059621","file4":"1350059730","file5":"1350059755","file3":"1350059718"},"map_files_photo_id_array":[{"photo_id":"1350059755","filename":"file5"},{"photo_id":"1350059697","filename":"file2"},{"photo_id":"1350059730","filename":"file4"},{"photo_id":"1350059634","filename":"file1"},{"photo_id":"1350059621","filename":"file0"},{"photo_id":"1350059718","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350059755":["hashtag1","hashtag2"]},{"1350059697":["hashtag1","hashtag2"]},{"1350059730":["hashtag1","hashtag2"]},{"1350059718":["hashtag1","hashtag2"]},{"1350059634":["hashtag1","hashtag2"]},{"1350059621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350059755, 1350059697, 1350059730, 1350059718, 1350059634, 1350059621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.603732109069824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:00:02.826712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_07_2644.jpg', '/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_20_2876.jpg', '/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_44_3592.jpg', '/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_46_2787.jpg', '/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_49_2554.jpg', '/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_53_3973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_07_2644.jpg
/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_20_2876.jpg
/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_44_3592.jpg
/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_46_2787.jpg
/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_49_2554.jpg
/home/pi/Desktop/images/14042025/18/37/image_14042025_18_37_53_3973.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350059848","1350059820","1350059814","1350059840","1350059834","1350059828"],"photo_ids_order":["1350059814","1350059820","1350059828","1350059834","1350059840","1350059848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc6a2e315755c14a75783bba9a43da50.jpg","text":"TemporaryFile(/tmp/multipartBody2287690300664107037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750865345,"filename":"image_14042025_18_37_53_3973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/171e1bbedca329e214ffc42acfcd4612.jpg","text":"TemporaryFile(/tmp/multipartBody1667655736900705398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750865345,"filename":"image_14042025_18_37_20_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7d9d3f7df945e4101557d825bd4c7e2.jpg","text":"TemporaryFile(/tmp/multipartBody7860996961835261743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750865345,"filename":"image_14042025_18_37_07_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/763d1ef411ae7817bbb12a912da1aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody1884047595724698974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750865345,"filename":"image_14042025_18_37_49_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24b80f4e23d9372b8e7c2590b0b19200.jpg","text":"TemporaryFile(/tmp/multipartBody6996488499771229304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750865345,"filename":"image_14042025_18_37_46_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/703608047278aa4434011b56e4d0c851.jpg","text":"TemporaryFile(/tmp/multipartBody3203923307158437142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750865345,"filename":"image_14042025_18_37_44_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350059828","file1":"1350059820","file0":"1350059814","file4":"1350059840","file5":"1350059848","file3":"1350059834"},"map_files_photo_id_array":[{"photo_id":"1350059848","filename":"file5"},{"photo_id":"1350059828","filename":"file2"},{"photo_id":"1350059840","filename":"file4"},{"photo_id":"1350059820","filename":"file1"},{"photo_id":"1350059814","filename":"file0"},{"photo_id":"1350059834","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350059848":["hashtag1","hashtag2"]},{"1350059820":["hashtag1","hashtag2"]},{"1350059814":["hashtag1","hashtag2"]},{"1350059840":["hashtag1","hashtag2"]},{"1350059834":["hashtag1","hashtag2"]},{"1350059828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350059848, 1350059820, 1350059814, 1350059840, 1350059834, 1350059828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26651883125305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:00:42.221082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/38/image_14042025_18_38_56_2901.jpg', '/home/pi/Desktop/images/14042025/18/38/image_14042025_18_38_58_2598.jpg', '/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_16_2703.jpg', '/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_19_2722.jpg', '/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_23_3720.jpg', '/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_50_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/38/image_14042025_18_38_56_2901.jpg
/home/pi/Desktop/images/14042025/18/38/image_14042025_18_38_58_2598.jpg
/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_16_2703.jpg
/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_19_2722.jpg
/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_23_3720.jpg
/home/pi/Desktop/images/14042025/18/39/image_14042025_18_39_50_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350059944","1350059953","1350059917","1350059940","1350059931","1350059927"],"photo_ids_order":["1350059917","1350059927","1350059931","1350059940","1350059944","1350059953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c398e47d8eb4b306e5c831ff0ee5f78a.jpg","text":"TemporaryFile(/tmp/multipartBody8888120956278976336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750903639,"filename":"image_14042025_18_39_23_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65bf523e5b9c309ff909ee0a1dc77a71.jpg","text":"TemporaryFile(/tmp/multipartBody7648363295118350569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750903639,"filename":"image_14042025_18_39_50_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0be6a31bd25372dc9502c6dc8f3ff5e7.jpg","text":"TemporaryFile(/tmp/multipartBody6872336817802230126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750903639,"filename":"image_14042025_18_38_56_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d79639a9b27316e3f776d9874606dbe0.jpg","text":"TemporaryFile(/tmp/multipartBody8222825378972221247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750903639,"filename":"image_14042025_18_39_19_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a4d8646a500b0e1beb931e77daaf271.jpg","text":"TemporaryFile(/tmp/multipartBody556425088058127076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750903639,"filename":"image_14042025_18_39_16_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28c8ac4c1701352153df164454eb4f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2402387513473416755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750903639,"filename":"image_14042025_18_38_58_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350059931","file1":"1350059927","file0":"1350059917","file4":"1350059944","file5":"1350059953","file3":"1350059940"},"map_files_photo_id_array":[{"photo_id":"1350059953","filename":"file5"},{"photo_id":"1350059931","filename":"file2"},{"photo_id":"1350059944","filename":"file4"},{"photo_id":"1350059927","filename":"file1"},{"photo_id":"1350059917","filename":"file0"},{"photo_id":"1350059940","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350059944":["hashtag1","hashtag2"]},{"1350059953":["hashtag1","hashtag2"]},{"1350059917":["hashtag1","hashtag2"]},{"1350059940":["hashtag1","hashtag2"]},{"1350059931":["hashtag1","hashtag2"]},{"1350059927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350059944, 1350059953, 1350059917, 1350059940, 1350059931, 1350059927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26394057273865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:01:22.339507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_31_3649.jpg', '/home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_44_3818.jpg', '/home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_46_2485.jpg', '/home/pi/Desktop/images/14042025/18/44/image_14042025_18_44_12_2798.jpg', '/home/pi/Desktop/images/14042025/18/44/image_14042025_18_44_57_2620.jpg', '/home/pi/Desktop/images/14042025/18/49/image_14042025_18_49_07_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_31_3649.jpg
/home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_44_3818.jpg
/home/pi/Desktop/images/14042025/18/40/image_14042025_18_40_46_2485.jpg
/home/pi/Desktop/images/14042025/18/44/image_14042025_18_44_12_2798.jpg
/home/pi/Desktop/images/14042025/18/44/image_14042025_18_44_57_2620.jpg
/home/pi/Desktop/images/14042025/18/49/image_14042025_18_49_07_2789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350059968","1350059979","1350060022","1350059975","1350059990","1350060015"],"photo_ids_order":["1350059968","1350059975","1350059979","1350059990","1350060015","1350060022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d0fed538b46408ec6cffd5c52fa82c4.jpg","text":"TemporaryFile(/tmp/multipartBody9198209229446859631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750945409,"filename":"image_14042025_18_40_31_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34052871c4d9b94eb8921d3d7b6715f8.jpg","text":"TemporaryFile(/tmp/multipartBody5409204070343650034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750945409,"filename":"image_14042025_18_40_46_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91395483da2a97f32fe41c46b511a57c.jpg","text":"TemporaryFile(/tmp/multipartBody5515659918434093791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750945409,"filename":"image_14042025_18_49_07_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/409bbccbeedce6d0396859cf930a546f.jpg","text":"TemporaryFile(/tmp/multipartBody7859172708207244578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750945409,"filename":"image_14042025_18_40_44_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/871984705c7e4a167984a66da418504b.jpg","text":"TemporaryFile(/tmp/multipartBody753749717630429646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750945409,"filename":"image_14042025_18_44_12_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07937412c80407713cfe738611b4ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody7881754986014856155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744750945409,"filename":"image_14042025_18_44_57_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350059979","file1":"1350059975","file0":"1350059968","file4":"1350060015","file5":"1350060022","file3":"1350059990"},"map_files_photo_id_array":[{"photo_id":"1350060022","filename":"file5"},{"photo_id":"1350059979","filename":"file2"},{"photo_id":"1350060015","filename":"file4"},{"photo_id":"1350059975","filename":"file1"},{"photo_id":"1350059968","filename":"file0"},{"photo_id":"1350059990","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350059968":["hashtag1","hashtag2"]},{"1350059979":["hashtag1","hashtag2"]},{"1350060022":["hashtag1","hashtag2"]},{"1350059975":["hashtag1","hashtag2"]},{"1350059990":["hashtag1","hashtag2"]},{"1350060015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350059968, 1350059979, 1350060022, 1350059975, 1350059990, 1350060015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21888518333435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:02:22.549958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/22/25/image_15042025_22_25_34_2940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/22/25/image_15042025_22_25_34_2940.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350060074"],"photo_id":"1350060074","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/280c22253fb20b99dbee627781f6098b.jpg","text":"TemporaryFile(/tmp/multipartBody65219423790722792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751003075,"filename":"image_15042025_22_25_34_2940.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350060074"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350060074"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.940730571746826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:02:42.687545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/49/image_14042025_18_49_57_2622.jpg', '/home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_19_3523.jpg', '/home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_27_2794.jpg', '/home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_45_2741.jpg', '/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_06_2950.jpg', '/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_51_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/49/image_14042025_18_49_57_2622.jpg
/home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_19_3523.jpg
/home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_27_2794.jpg
/home/pi/Desktop/images/14042025/18/51/image_14042025_18_51_45_2741.jpg
/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_06_2950.jpg
/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_51_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350060113","1350060172","1350060118","1350060127","1350060123","1350060176"],"photo_ids_order":["1350060113","1350060118","1350060123","1350060127","1350060172","1350060176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/491cd5189ff455210ffd1a06af864047.jpg","text":"TemporaryFile(/tmp/multipartBody272099213179984536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751024187,"filename":"image_14042025_18_49_57_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/087ace4675dd61ab7c57d141d3b5e835.jpg","text":"TemporaryFile(/tmp/multipartBody1063953498442679496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751024187,"filename":"image_14042025_18_52_06_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97ad09483f40351719720a24fdf75eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5662485465878274456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751024187,"filename":"image_14042025_18_51_19_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a57d37da38de67f33bf62be69f0b7da3.jpg","text":"TemporaryFile(/tmp/multipartBody4345753302191951109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751024187,"filename":"image_14042025_18_51_45_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da201bfae7f0ef98731353f760653f34.jpg","text":"TemporaryFile(/tmp/multipartBody8923099837818137569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751024187,"filename":"image_14042025_18_51_27_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d6ab3e52d4b81dbe16ed2f16b573200.jpg","text":"TemporaryFile(/tmp/multipartBody7442979070757819303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751024187,"filename":"image_14042025_18_52_51_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350060123","file1":"1350060118","file0":"1350060113","file4":"1350060172","file5":"1350060176","file3":"1350060127"},"map_files_photo_id_array":[{"photo_id":"1350060176","filename":"file5"},{"photo_id":"1350060123","filename":"file2"},{"photo_id":"1350060172","filename":"file4"},{"photo_id":"1350060118","filename":"file1"},{"photo_id":"1350060113","filename":"file0"},{"photo_id":"1350060127","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350060113":["hashtag1","hashtag2"]},{"1350060172":["hashtag1","hashtag2"]},{"1350060118":["hashtag1","hashtag2"]},{"1350060127":["hashtag1","hashtag2"]},{"1350060123":["hashtag1","hashtag2"]},{"1350060176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350060113, 1350060172, 1350060118, 1350060127, 1350060123, 1350060176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.128523111343384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:03:21.955576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_57_3636.jpg', '/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_18_3687.jpg', '/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_33_2527.jpg', '/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_54_3753.jpg', '/home/pi/Desktop/images/14042025/18/55/image_14042025_18_55_39_3680.jpg', '/home/pi/Desktop/images/14042025/18/55/image_14042025_18_55_57_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/52/image_14042025_18_52_57_3636.jpg
/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_18_3687.jpg
/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_33_2527.jpg
/home/pi/Desktop/images/14042025/18/53/image_14042025_18_53_54_3753.jpg
/home/pi/Desktop/images/14042025/18/55/image_14042025_18_55_39_3680.jpg
/home/pi/Desktop/images/14042025/18/55/image_14042025_18_55_57_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350060190","1350060202","1350060186","1350060261","1350060231","1350060188"],"photo_ids_order":["1350060186","1350060188","1350060190","1350060202","1350060231","1350060261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82b64f543df230eb8869803e0121b433.jpg","text":"TemporaryFile(/tmp/multipartBody1056255078743589747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751065222,"filename":"image_14042025_18_53_33_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5642f5a5fc8dee0625d7539702c07ae9.jpg","text":"TemporaryFile(/tmp/multipartBody226895319638112288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751065222,"filename":"image_14042025_18_53_54_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f8e1f62620a49e98c45163ce62e1893.jpg","text":"TemporaryFile(/tmp/multipartBody7570535566281175527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751065222,"filename":"image_14042025_18_52_57_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05138d3bccde90859d93458401ade81b.jpg","text":"TemporaryFile(/tmp/multipartBody1806747933518947848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751065222,"filename":"image_14042025_18_55_57_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/447f5dad4fa817f00b50b370e70907f3.jpg","text":"TemporaryFile(/tmp/multipartBody705264829792194571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751065222,"filename":"image_14042025_18_55_39_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8eb754e8700024bac6d6d4584ee6d9b9.jpg","text":"TemporaryFile(/tmp/multipartBody6494316346682160906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751065222,"filename":"image_14042025_18_53_18_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350060190","file1":"1350060188","file0":"1350060186","file4":"1350060231","file5":"1350060261","file3":"1350060202"},"map_files_photo_id_array":[{"photo_id":"1350060261","filename":"file5"},{"photo_id":"1350060190","filename":"file2"},{"photo_id":"1350060231","filename":"file4"},{"photo_id":"1350060188","filename":"file1"},{"photo_id":"1350060186","filename":"file0"},{"photo_id":"1350060202","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350060190":["hashtag1","hashtag2"]},{"1350060202":["hashtag1","hashtag2"]},{"1350060186":["hashtag1","hashtag2"]},{"1350060261":["hashtag1","hashtag2"]},{"1350060231":["hashtag1","hashtag2"]},{"1350060188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350060190, 1350060202, 1350060186, 1350060261, 1350060231, 1350060188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03857660293579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:04:03.114231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_03_3592.jpg', '/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_15_2668.jpg', '/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_26_2549.jpg', '/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_30_3543.jpg', '/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_48_2882.jpg', '/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_53_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_03_3592.jpg
/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_15_2668.jpg
/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_26_2549.jpg
/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_30_3543.jpg
/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_48_2882.jpg
/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_53_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350060533","1350060481","1350060407","1350060379","1350060508","1350060444"],"photo_ids_order":["1350060379","1350060407","1350060444","1350060481","1350060508","1350060533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d3c41401640bb14c610c2044e873d44.jpg","text":"TemporaryFile(/tmp/multipartBody9039016976241480373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751105809,"filename":"image_14042025_18_56_53_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba87115f9c48f8e562234503abb443a7.jpg","text":"TemporaryFile(/tmp/multipartBody4530913469052602710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751105809,"filename":"image_14042025_18_56_30_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/435e4c85f523d6a67d1bd9f77ab24bc6.jpg","text":"TemporaryFile(/tmp/multipartBody5972369140170770851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751105809,"filename":"image_14042025_18_56_15_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bcd6d01191bceb26f6592f436034cd3.jpg","text":"TemporaryFile(/tmp/multipartBody702329200570974799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751105809,"filename":"image_14042025_18_56_03_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f86ae98b980f9149645e9576dd1aad29.jpg","text":"TemporaryFile(/tmp/multipartBody740921293421952581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751105809,"filename":"image_14042025_18_56_48_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/372f9ab4b7dd3746e7bdd15e17b8e25f.jpg","text":"TemporaryFile(/tmp/multipartBody1297441604603976137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751105809,"filename":"image_14042025_18_56_26_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350060444","file1":"1350060407","file0":"1350060379","file4":"1350060508","file5":"1350060533","file3":"1350060481"},"map_files_photo_id_array":[{"photo_id":"1350060533","filename":"file5"},{"photo_id":"1350060444","filename":"file2"},{"photo_id":"1350060508","filename":"file4"},{"photo_id":"1350060407","filename":"file1"},{"photo_id":"1350060379","filename":"file0"},{"photo_id":"1350060481","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350060533":["hashtag1","hashtag2"]},{"1350060481":["hashtag1","hashtag2"]},{"1350060407":["hashtag1","hashtag2"]},{"1350060379":["hashtag1","hashtag2"]},{"1350060508":["hashtag1","hashtag2"]},{"1350060444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350060533, 1350060481, 1350060407, 1350060379, 1350060508, 1350060444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.253618240356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:04:42.268898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_57_3666.jpg', '/home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_11_2679.jpg', '/home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_17_2684.jpg', '/home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_29_2813.jpg', '/home/pi/Desktop/images/14042025/18/57/image_14042025_18_58_00_2756.jpg', '/home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_29_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/56/image_14042025_18_56_57_3666.jpg
/home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_11_2679.jpg
/home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_17_2684.jpg
/home/pi/Desktop/images/14042025/18/57/image_14042025_18_57_29_2813.jpg
/home/pi/Desktop/images/14042025/18/57/image_14042025_18_58_00_2756.jpg
/home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_29_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350060713","1350060787","1350060649","1350060817","1350060684","1350060759"],"photo_ids_order":["1350060649","1350060684","1350060713","1350060759","1350060787","1350060817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d99375409af2c457bf09621fbab6f53f.jpg","text":"TemporaryFile(/tmp/multipartBody3162231862630003800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751143729,"filename":"image_14042025_18_57_17_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16773fdddd3708c89e7b8c06ca29684b.jpg","text":"TemporaryFile(/tmp/multipartBody6347115825786725259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751143729,"filename":"image_14042025_18_58_00_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/212fac0b35b4243a5b8b5f08d89dbb60.jpg","text":"TemporaryFile(/tmp/multipartBody6839657294765524280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751143729,"filename":"image_14042025_18_56_57_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ec0933edd338f29a14cbc7b4b59d551.jpg","text":"TemporaryFile(/tmp/multipartBody6308247748717101361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751143729,"filename":"image_14042025_18_58_29_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a6427a7f32a3181d516efc7a1fa35ca.jpg","text":"TemporaryFile(/tmp/multipartBody6164515820171677390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751143729,"filename":"image_14042025_18_57_11_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef5c769a0611f61df3203f318c4ca815.jpg","text":"TemporaryFile(/tmp/multipartBody8782954295019879355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751143729,"filename":"image_14042025_18_57_29_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350060713","file1":"1350060684","file0":"1350060649","file4":"1350060787","file5":"1350060817","file3":"1350060759"},"map_files_photo_id_array":[{"photo_id":"1350060817","filename":"file5"},{"photo_id":"1350060713","filename":"file2"},{"photo_id":"1350060787","filename":"file4"},{"photo_id":"1350060684","filename":"file1"},{"photo_id":"1350060649","filename":"file0"},{"photo_id":"1350060759","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350060713":["hashtag1","hashtag2"]},{"1350060787":["hashtag1","hashtag2"]},{"1350060649":["hashtag1","hashtag2"]},{"1350060817":["hashtag1","hashtag2"]},{"1350060684":["hashtag1","hashtag2"]},{"1350060759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350060713, 1350060787, 1350060649, 1350060817, 1350060684, 1350060759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35645151138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:05:22.099189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_36_3630.jpg', '/home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_54_3629.jpg', '/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_25_2637.jpg', '/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_53_2588.jpg', '/home/pi/Desktop/images/14042025/19/01/image_14042025_19_01_16_2599.jpg', '/home/pi/Desktop/images/14042025/19/01/image_14042025_19_01_32_3778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_36_3630.jpg
/home/pi/Desktop/images/14042025/18/58/image_14042025_18_58_54_3629.jpg
/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_25_2637.jpg
/home/pi/Desktop/images/14042025/19/00/image_14042025_19_00_53_2588.jpg
/home/pi/Desktop/images/14042025/19/01/image_14042025_19_01_16_2599.jpg
/home/pi/Desktop/images/14042025/19/01/image_14042025_19_01_32_3778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350061065","1350060927","1350061094","1350060992","1350061025","1350060959"],"photo_ids_order":["1350060927","1350060959","1350060992","1350061025","1350061065","1350061094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8c6f3deb1b3616481d0b9d65be37f09.jpg","text":"TemporaryFile(/tmp/multipartBody5247456015465930363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751185210,"filename":"image_14042025_19_01_16_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2e50189dbd9e5d88e6aa4235d9b0e48.jpg","text":"TemporaryFile(/tmp/multipartBody398624035084522310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751185210,"filename":"image_14042025_18_58_36_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51e3bd02f0b1a091342c217d481bada1.jpg","text":"TemporaryFile(/tmp/multipartBody3190895207792662521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751185210,"filename":"image_14042025_19_01_32_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8c9df048ea049857cc320573252672a.jpg","text":"TemporaryFile(/tmp/multipartBody8250139138822568880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751185210,"filename":"image_14042025_19_00_25_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d788b74c225882ed4f52b0b5b071d771.jpg","text":"TemporaryFile(/tmp/multipartBody1648063371042836389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751185210,"filename":"image_14042025_19_00_53_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be2ae86a063d368b5ebc98d1b3ab7603.jpg","text":"TemporaryFile(/tmp/multipartBody2566663392444155204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751185210,"filename":"image_14042025_18_58_54_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350060992","file1":"1350060959","file0":"1350060927","file4":"1350061065","file5":"1350061094","file3":"1350061025"},"map_files_photo_id_array":[{"photo_id":"1350061094","filename":"file5"},{"photo_id":"1350060992","filename":"file2"},{"photo_id":"1350061065","filename":"file4"},{"photo_id":"1350060959","filename":"file1"},{"photo_id":"1350060927","filename":"file0"},{"photo_id":"1350061025","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350061065":["hashtag1","hashtag2"]},{"1350060927":["hashtag1","hashtag2"]},{"1350061094":["hashtag1","hashtag2"]},{"1350060992":["hashtag1","hashtag2"]},{"1350061025":["hashtag1","hashtag2"]},{"1350060959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350061065, 1350060927, 1350061094, 1350060992, 1350061025, 1350060959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32327628135681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:06:02.991892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/01/image_14042025_19_01_44_2653.jpg', '/home/pi/Desktop/images/14042025/19/01/image_14042025_19_01_59_2779.jpg', '/home/pi/Desktop/images/14042025/19/02/image_14042025_19_02_08_3730.jpg', '/home/pi/Desktop/images/14042025/19/02/image_14042025_19_02_49_2679.jpg', '/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_16_2777.jpg', '/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_40_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/01/image_14042025_19_01_44_2653.jpg
/home/pi/Desktop/images/14042025/19/01/image_14042025_19_01_59_2779.jpg
/home/pi/Desktop/images/14042025/19/02/image_14042025_19_02_08_3730.jpg
/home/pi/Desktop/images/14042025/19/02/image_14042025_19_02_49_2679.jpg
/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_16_2777.jpg
/home/pi/Desktop/images/14042025/19/03/image_14042025_19_03_40_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350061297","1350061225","1350061194","1350061405","1350061352","1350061256"],"photo_ids_order":["1350061194","1350061225","1350061256","1350061297","1350061352","1350061405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51279e9ac423086cc885c93357f48c29.jpg","text":"TemporaryFile(/tmp/multipartBody4081422285379554889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751225481,"filename":"image_14042025_19_02_49_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cc5b93724b3e2da80f447f8973e85fe.jpg","text":"TemporaryFile(/tmp/multipartBody6349804935410216984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751225481,"filename":"image_14042025_19_01_59_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/846f4e71a1a9287faca7ef052d3eb1d6.jpg","text":"TemporaryFile(/tmp/multipartBody487877926658627331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751225481,"filename":"image_14042025_19_01_44_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc21f6b027f4758a14dd7abbf0d8081b.jpg","text":"TemporaryFile(/tmp/multipartBody4956754068654703734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751225481,"filename":"image_14042025_19_03_40_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07ffe70d630ceab8deda86a3c7263443.jpg","text":"TemporaryFile(/tmp/multipartBody1096654399821622093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751225481,"filename":"image_14042025_19_03_16_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e38a3acd2e0e9693b79388b435578ee4.jpg","text":"TemporaryFile(/tmp/multipartBody455147825615652419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751225481,"filename":"image_14042025_19_02_08_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350061256","file1":"1350061225","file0":"1350061194","file4":"1350061352","file5":"1350061405","file3":"1350061297"},"map_files_photo_id_array":[{"photo_id":"1350061405","filename":"file5"},{"photo_id":"1350061256","filename":"file2"},{"photo_id":"1350061352","filename":"file4"},{"photo_id":"1350061225","filename":"file1"},{"photo_id":"1350061194","filename":"file0"},{"photo_id":"1350061297","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350061297":["hashtag1","hashtag2"]},{"1350061225":["hashtag1","hashtag2"]},{"1350061194":["hashtag1","hashtag2"]},{"1350061405":["hashtag1","hashtag2"]},{"1350061352":["hashtag1","hashtag2"]},{"1350061256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350061297, 1350061225, 1350061194, 1350061405, 1350061352, 1350061256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43727469444275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:06:42.503782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_13_2722.jpg', '/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_25_2848.jpg', '/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_40_3556.jpg', '/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_49_3743.jpg', '/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_52_2700.jpg', '/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_55_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_13_2722.jpg
/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_25_2848.jpg
/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_40_3556.jpg
/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_49_3743.jpg
/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_52_2700.jpg
/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_55_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350061561","1350061711","1350061665","1350061593","1350061626","1350061529"],"photo_ids_order":["1350061529","1350061561","1350061593","1350061626","1350061665","1350061711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f02c4761189ca38b270fbbc680b2282f.jpg","text":"TemporaryFile(/tmp/multipartBody535982650921347485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751263934,"filename":"image_14042025_19_04_25_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa02455d9bf26827f612e5b063e4e18c.jpg","text":"TemporaryFile(/tmp/multipartBody1583244320127873073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751263934,"filename":"image_14042025_19_04_55_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1e32519a4f4e06db263aea6b414ddee.jpg","text":"TemporaryFile(/tmp/multipartBody2633977386976050519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751263934,"filename":"image_14042025_19_04_52_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75adec558a48df9af32347ec3bc20881.jpg","text":"TemporaryFile(/tmp/multipartBody1127785485838544225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751263934,"filename":"image_14042025_19_04_40_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b3a2552b7fc02394dfd72f5aac90d6d.jpg","text":"TemporaryFile(/tmp/multipartBody8018218701857065064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751263934,"filename":"image_14042025_19_04_49_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b239dd070ca35e97b3656d921d4d9e5.jpg","text":"TemporaryFile(/tmp/multipartBody7708758132272329854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751263934,"filename":"image_14042025_19_04_13_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350061593","file1":"1350061561","file0":"1350061529","file4":"1350061665","file5":"1350061711","file3":"1350061626"},"map_files_photo_id_array":[{"photo_id":"1350061711","filename":"file5"},{"photo_id":"1350061593","filename":"file2"},{"photo_id":"1350061665","filename":"file4"},{"photo_id":"1350061561","filename":"file1"},{"photo_id":"1350061529","filename":"file0"},{"photo_id":"1350061626","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350061561":["hashtag1","hashtag2"]},{"1350061711":["hashtag1","hashtag2"]},{"1350061665":["hashtag1","hashtag2"]},{"1350061593":["hashtag1","hashtag2"]},{"1350061626":["hashtag1","hashtag2"]},{"1350061529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350061561, 1350061711, 1350061665, 1350061593, 1350061626, 1350061529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56711173057556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:07:22.599720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_58_3555.jpg', '/home/pi/Desktop/images/14042025/19/05/image_14042025_19_05_01_2714.jpg', '/home/pi/Desktop/images/14042025/19/05/image_14042025_19_05_22_3717.jpg', '/home/pi/Desktop/images/14042025/19/05/image_14042025_19_05_25_2689.jpg', '/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_07_2613.jpg', '/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_34_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/04/image_14042025_19_04_58_3555.jpg
/home/pi/Desktop/images/14042025/19/05/image_14042025_19_05_01_2714.jpg
/home/pi/Desktop/images/14042025/19/05/image_14042025_19_05_22_3717.jpg
/home/pi/Desktop/images/14042025/19/05/image_14042025_19_05_25_2689.jpg
/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_07_2613.jpg
/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_34_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350061956","1350061991","1350061892","1350061949","1350061931","1350061847"],"photo_ids_order":["1350061847","1350061892","1350061931","1350061949","1350061956","1350061991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/790219b846696215039233d233a655b9.jpg","text":"TemporaryFile(/tmp/multipartBody49509732926345346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751305697,"filename":"image_14042025_19_06_07_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f25529511a23115241be16633913114.jpg","text":"TemporaryFile(/tmp/multipartBody3105011156378825772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751305697,"filename":"image_14042025_19_06_34_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f76132ee200880f8b9444021654ce100.jpg","text":"TemporaryFile(/tmp/multipartBody5904965298996691377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751305697,"filename":"image_14042025_19_05_01_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d43575d007b7702c48443bbcd073c2ef.jpg","text":"TemporaryFile(/tmp/multipartBody1710126560777027267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751305697,"filename":"image_14042025_19_05_25_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bedcf3a2e0b019429f8bd6f1792a99e0.jpg","text":"TemporaryFile(/tmp/multipartBody206055340844589595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751305697,"filename":"image_14042025_19_05_22_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/807a4c16b1b82f2dbd4870f864b4bc08.jpg","text":"TemporaryFile(/tmp/multipartBody3976547649647835278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751305697,"filename":"image_14042025_19_04_58_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350061931","file1":"1350061892","file0":"1350061847","file4":"1350061956","file5":"1350061991","file3":"1350061949"},"map_files_photo_id_array":[{"photo_id":"1350061991","filename":"file5"},{"photo_id":"1350061931","filename":"file2"},{"photo_id":"1350061956","filename":"file4"},{"photo_id":"1350061892","filename":"file1"},{"photo_id":"1350061847","filename":"file0"},{"photo_id":"1350061949","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350061956":["hashtag1","hashtag2"]},{"1350061991":["hashtag1","hashtag2"]},{"1350061892":["hashtag1","hashtag2"]},{"1350061949":["hashtag1","hashtag2"]},{"1350061931":["hashtag1","hashtag2"]},{"1350061847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350061956, 1350061991, 1350061892, 1350061949, 1350061931, 1350061847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28802442550659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:08:02.527672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_37_3607.jpg', '/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_43_2693.jpg', '/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_49_2563.jpg', '/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_58_2817.jpg', '/home/pi/Desktop/images/14042025/19/07/image_14042025_19_07_36_2675.jpg', '/home/pi/Desktop/images/14042025/19/07/image_14042025_19_07_52_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_37_3607.jpg
/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_43_2693.jpg
/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_49_2563.jpg
/home/pi/Desktop/images/14042025/19/06/image_14042025_19_06_58_2817.jpg
/home/pi/Desktop/images/14042025/19/07/image_14042025_19_07_36_2675.jpg
/home/pi/Desktop/images/14042025/19/07/image_14042025_19_07_52_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350062032","1350062055","1350062064","1350062037","1350062025","1350062022"],"photo_ids_order":["1350062022","1350062025","1350062032","1350062037","1350062055","1350062064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b2d08d3b980a2096a7a342505be34dc.jpg","text":"TemporaryFile(/tmp/multipartBody8764789410721122828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751345013,"filename":"image_14042025_19_06_49_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f2dd0a974d55dbdc547e654a3b8dbfb.jpg","text":"TemporaryFile(/tmp/multipartBody414975030918324319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751345013,"filename":"image_14042025_19_07_36_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77214a8dfb3b66543c53bfe6d10782a4.jpg","text":"TemporaryFile(/tmp/multipartBody423138218378662627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751345013,"filename":"image_14042025_19_07_52_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f64d8c40793083fe5a79102b49d7ed0.jpg","text":"TemporaryFile(/tmp/multipartBody3038935122141685841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751345013,"filename":"image_14042025_19_06_58_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa78c39d91b3ea6114e7d30e20aba85e.jpg","text":"TemporaryFile(/tmp/multipartBody645293858584572763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751345013,"filename":"image_14042025_19_06_43_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b12f318e5c376ae264198bd3a5e69fd.jpg","text":"TemporaryFile(/tmp/multipartBody5721967905321312780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751345013,"filename":"image_14042025_19_06_37_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350062032","file1":"1350062025","file0":"1350062022","file4":"1350062055","file5":"1350062064","file3":"1350062037"},"map_files_photo_id_array":[{"photo_id":"1350062064","filename":"file5"},{"photo_id":"1350062032","filename":"file2"},{"photo_id":"1350062055","filename":"file4"},{"photo_id":"1350062025","filename":"file1"},{"photo_id":"1350062022","filename":"file0"},{"photo_id":"1350062037","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350062032":["hashtag1","hashtag2"]},{"1350062055":["hashtag1","hashtag2"]},{"1350062064":["hashtag1","hashtag2"]},{"1350062037":["hashtag1","hashtag2"]},{"1350062025":["hashtag1","hashtag2"]},{"1350062022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350062032, 1350062055, 1350062064, 1350062037, 1350062025, 1350062022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.257524728775024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:08:41.931357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_07_2832.jpg', '/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_25_2763.jpg', '/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_27_2796.jpg', '/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_48_2716.jpg', '/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_58_2888.jpg', '/home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_01_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_07_2832.jpg
/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_25_2763.jpg
/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_27_2796.jpg
/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_48_2716.jpg
/home/pi/Desktop/images/14042025/19/08/image_14042025_19_08_58_2888.jpg
/home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_01_2892.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350062248","1350062190","1350062116","1350062217","1350062087","1350062147"],"photo_ids_order":["1350062087","1350062116","1350062147","1350062190","1350062217","1350062248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/038fcd0dce3e94cba97fa62566e04c64.jpg","text":"TemporaryFile(/tmp/multipartBody6570138746818624472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751383382,"filename":"image_14042025_19_09_01_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3967461571034210d4987a7e3cbe235a.jpg","text":"TemporaryFile(/tmp/multipartBody1177014919266940200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751383382,"filename":"image_14042025_19_08_48_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79d044357700f957e07bed5776d9a080.jpg","text":"TemporaryFile(/tmp/multipartBody8481006593916648525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751383382,"filename":"image_14042025_19_08_25_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b524a27094ee7c21de1f0c0109b960f7.jpg","text":"TemporaryFile(/tmp/multipartBody1690744586324204463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751383382,"filename":"image_14042025_19_08_58_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/899cb3bdb8685dd21311163c906322d4.jpg","text":"TemporaryFile(/tmp/multipartBody6761970066410306932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751383382,"filename":"image_14042025_19_08_07_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3eb815f21d5e9f5e5a43686f860c62d9.jpg","text":"TemporaryFile(/tmp/multipartBody5941437297195357548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751383382,"filename":"image_14042025_19_08_27_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350062147","file1":"1350062116","file0":"1350062087","file4":"1350062217","file5":"1350062248","file3":"1350062190"},"map_files_photo_id_array":[{"photo_id":"1350062248","filename":"file5"},{"photo_id":"1350062147","filename":"file2"},{"photo_id":"1350062217","filename":"file4"},{"photo_id":"1350062116","filename":"file1"},{"photo_id":"1350062087","filename":"file0"},{"photo_id":"1350062190","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350062248":["hashtag1","hashtag2"]},{"1350062190":["hashtag1","hashtag2"]},{"1350062116":["hashtag1","hashtag2"]},{"1350062217":["hashtag1","hashtag2"]},{"1350062087":["hashtag1","hashtag2"]},{"1350062147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350062248, 1350062190, 1350062116, 1350062217, 1350062087, 1350062147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98321270942688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:09:22.221992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_04_2803.jpg', '/home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_07_3543.jpg', '/home/pi/Desktop/images/14042025/19/14/image_14042025_19_14_22_3717.jpg', '/home/pi/Desktop/images/14042025/19/14/image_14042025_19_14_33_2592.jpg', '/home/pi/Desktop/images/14042025/19/15/image_14042025_19_15_09_3689.jpg', '/home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_24_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_04_2803.jpg
/home/pi/Desktop/images/14042025/19/09/image_14042025_19_09_07_3543.jpg
/home/pi/Desktop/images/14042025/19/14/image_14042025_19_14_22_3717.jpg
/home/pi/Desktop/images/14042025/19/14/image_14042025_19_14_33_2592.jpg
/home/pi/Desktop/images/14042025/19/15/image_14042025_19_15_09_3689.jpg
/home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_24_3720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350062529","1350062486","1350062432","1350062369","1350062398","1350062554"],"photo_ids_order":["1350062369","1350062398","1350062432","1350062486","1350062529","1350062554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2668a778bc83cb97645f855b2669cd8b.jpg","text":"TemporaryFile(/tmp/multipartBody2252684149652077223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751425261,"filename":"image_14042025_19_15_09_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87621702689b51ad802de67af60ce9b4.jpg","text":"TemporaryFile(/tmp/multipartBody2687102686195304063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751425261,"filename":"image_14042025_19_14_33_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e8941e670b41061433fd1cd9a92b8520.jpg","text":"TemporaryFile(/tmp/multipartBody6851285484750223834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751425261,"filename":"image_14042025_19_14_22_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/939132ba24029f22a7e6b179b3d55988.jpg","text":"TemporaryFile(/tmp/multipartBody6675938378745234672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751425261,"filename":"image_14042025_19_09_04_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cb08fe96007675d90fa260a1fde5dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2603377340209040844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751425261,"filename":"image_14042025_19_09_07_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1c417bdf832adfce06d523c181b8e21.jpg","text":"TemporaryFile(/tmp/multipartBody7727536832130368211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751425261,"filename":"image_14042025_19_16_24_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350062432","file1":"1350062398","file0":"1350062369","file4":"1350062529","file5":"1350062554","file3":"1350062486"},"map_files_photo_id_array":[{"photo_id":"1350062554","filename":"file5"},{"photo_id":"1350062432","filename":"file2"},{"photo_id":"1350062529","filename":"file4"},{"photo_id":"1350062398","filename":"file1"},{"photo_id":"1350062369","filename":"file0"},{"photo_id":"1350062486","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350062529":["hashtag1","hashtag2"]},{"1350062486":["hashtag1","hashtag2"]},{"1350062432":["hashtag1","hashtag2"]},{"1350062369":["hashtag1","hashtag2"]},{"1350062398":["hashtag1","hashtag2"]},{"1350062554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350062529, 1350062486, 1350062432, 1350062369, 1350062398, 1350062554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56726145744324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:10:22.206439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_39_2755.jpg', '/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_36_2766.jpg', '/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_56_1591.jpg', '/home/pi/Desktop/images/14042025/19/19/image_14042025_19_19_38_2764.jpg', '/home/pi/Desktop/images/14042025/19/19/image_14042025_19_19_56_2702.jpg', '/home/pi/Desktop/images/14042025/19/20/image_14042025_19_20_48_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_39_2755.jpg
/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_36_2766.jpg
/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_56_1591.jpg
/home/pi/Desktop/images/14042025/19/19/image_14042025_19_19_38_2764.jpg
/home/pi/Desktop/images/14042025/19/19/image_14042025_19_19_56_2702.jpg
/home/pi/Desktop/images/14042025/19/20/image_14042025_19_20_48_3714.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 6.170427083969116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:10:42.224807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_39_2755.jpg', '/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_36_2766.jpg', '/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_56_1591.jpg', '/home/pi/Desktop/images/14042025/19/19/image_14042025_19_19_38_2764.jpg', '/home/pi/Desktop/images/14042025/19/19/image_14042025_19_19_56_2702.jpg', '/home/pi/Desktop/images/14042025/19/20/image_14042025_19_20_48_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/16/image_14042025_19_16_39_2755.jpg
/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_36_2766.jpg
/home/pi/Desktop/images/14042025/19/18/image_14042025_19_18_56_1591.jpg
/home/pi/Desktop/images/14042025/19/19/image_14042025_19_19_38_2764.jpg
/home/pi/Desktop/images/14042025/19/19/image_14042025_19_19_56_2702.jpg
/home/pi/Desktop/images/14042025/19/20/image_14042025_19_20_48_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350062800","1350062751","1350062783","1350062765","1350062711","1350062807"],"photo_ids_order":["1350062711","1350062751","1350062765","1350062783","1350062800","1350062807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28206e5183600748324ef546b2d4856a.jpg","text":"TemporaryFile(/tmp/multipartBody1410659509531994883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751503701,"filename":"image_14042025_19_19_56_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebc0ff85a5f60d70881b1e6c339af552.jpg","text":"TemporaryFile(/tmp/multipartBody5155197011796825655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751503701,"filename":"image_14042025_19_18_36_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5be2e83fcd27d7d4de3f23de88b51df1.jpg","text":"TemporaryFile(/tmp/multipartBody7637303470140881574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751503701,"filename":"image_14042025_19_19_38_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b07c3822084319c2f1aa65f267d0795.jpg","text":"TemporaryFile(/tmp/multipartBody7618859785873615642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751503701,"filename":"image_14042025_19_18_56_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/009a1d1b93a22c457831de8443c7d43d.jpg","text":"TemporaryFile(/tmp/multipartBody7028354447783177775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751503701,"filename":"image_14042025_19_16_39_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8574d3db1108cb8c2bbcb3e15d896479.jpg","text":"TemporaryFile(/tmp/multipartBody2553732939264977365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751503701,"filename":"image_14042025_19_20_48_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350062765","file1":"1350062751","file0":"1350062711","file4":"1350062800","file5":"1350062807","file3":"1350062783"},"map_files_photo_id_array":[{"photo_id":"1350062807","filename":"file5"},{"photo_id":"1350062765","filename":"file2"},{"photo_id":"1350062800","filename":"file4"},{"photo_id":"1350062751","filename":"file1"},{"photo_id":"1350062711","filename":"file0"},{"photo_id":"1350062783","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350062800":["hashtag1","hashtag2"]},{"1350062751":["hashtag1","hashtag2"]},{"1350062783":["hashtag1","hashtag2"]},{"1350062765":["hashtag1","hashtag2"]},{"1350062711":["hashtag1","hashtag2"]},{"1350062807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350062800, 1350062751, 1350062783, 1350062765, 1350062711, 1350062807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42834758758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:11:21.815431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/21/image_14042025_19_21_03_2723.jpg', '/home/pi/Desktop/images/14042025/19/21/image_14042025_19_21_12_3688.jpg', '/home/pi/Desktop/images/14042025/19/22/image_14042025_19_22_14_2696.jpg', '/home/pi/Desktop/images/14042025/19/22/image_14042025_19_22_53_2815.jpg', '/home/pi/Desktop/images/14042025/19/23/image_14042025_19_23_27_3756.jpg', '/home/pi/Desktop/images/14042025/19/23/image_14042025_19_23_50_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/21/image_14042025_19_21_03_2723.jpg
/home/pi/Desktop/images/14042025/19/21/image_14042025_19_21_12_3688.jpg
/home/pi/Desktop/images/14042025/19/22/image_14042025_19_22_14_2696.jpg
/home/pi/Desktop/images/14042025/19/22/image_14042025_19_22_53_2815.jpg
/home/pi/Desktop/images/14042025/19/23/image_14042025_19_23_27_3756.jpg
/home/pi/Desktop/images/14042025/19/23/image_14042025_19_23_50_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350062883","1350062859","1350062864","1350062876","1350062869","1350062866"],"photo_ids_order":["1350062859","1350062864","1350062866","1350062869","1350062876","1350062883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1e5e37e05456f1d2a45da0e15a37a05.jpg","text":"TemporaryFile(/tmp/multipartBody2994701455197188827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751544896,"filename":"image_14042025_19_23_50_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a07f0f45380bd31b6c99bdfce71aa98.jpg","text":"TemporaryFile(/tmp/multipartBody5499428041043457613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751544896,"filename":"image_14042025_19_21_03_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0b53a289662a0f44d6b63ced625e94c.jpg","text":"TemporaryFile(/tmp/multipartBody567497835168914378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751544896,"filename":"image_14042025_19_21_12_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bbe3960cc427b66791c8c69b77eecfdd.jpg","text":"TemporaryFile(/tmp/multipartBody931050702833841488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751544896,"filename":"image_14042025_19_23_27_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fdf702518739351a9fd8b35212ccdc7c.jpg","text":"TemporaryFile(/tmp/multipartBody2339855311185343298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751544896,"filename":"image_14042025_19_22_53_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8751e0dbadb975ae3c194ce7637f4265.jpg","text":"TemporaryFile(/tmp/multipartBody8174817613584201527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751544896,"filename":"image_14042025_19_22_14_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350062866","file1":"1350062864","file0":"1350062859","file4":"1350062876","file5":"1350062883","file3":"1350062869"},"map_files_photo_id_array":[{"photo_id":"1350062883","filename":"file5"},{"photo_id":"1350062866","filename":"file2"},{"photo_id":"1350062876","filename":"file4"},{"photo_id":"1350062864","filename":"file1"},{"photo_id":"1350062859","filename":"file0"},{"photo_id":"1350062869","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350062883":["hashtag1","hashtag2"]},{"1350062859":["hashtag1","hashtag2"]},{"1350062864":["hashtag1","hashtag2"]},{"1350062876":["hashtag1","hashtag2"]},{"1350062869":["hashtag1","hashtag2"]},{"1350062866":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350062883, 1350062859, 1350062864, 1350062876, 1350062869, 1350062866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.495060443878174 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:12:21.950070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/24/image_14042025_19_24_02_2642.jpg', '/home/pi/Desktop/images/14042025/19/26/image_14042025_19_26_58_2551.jpg', '/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_02_3647.jpg', '/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_05_2803.jpg', '/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_08_2658.jpg', '/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_23_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/24/image_14042025_19_24_02_2642.jpg
/home/pi/Desktop/images/14042025/19/26/image_14042025_19_26_58_2551.jpg
/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_02_3647.jpg
/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_05_2803.jpg
/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_08_2658.jpg
/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_23_2890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063081","1350063075","1350063063","1350063071","1350063059","1350063067"],"photo_ids_order":["1350063059","1350063063","1350063067","1350063071","1350063075","1350063081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5ad9808506317056e6ae2ea5eb39afb.jpg","text":"TemporaryFile(/tmp/multipartBody6378723094455931060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751605382,"filename":"image_14042025_19_27_23_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ee2a96135863bd57ebcf911624ea77a.jpg","text":"TemporaryFile(/tmp/multipartBody1694815408844876778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751605382,"filename":"image_14042025_19_27_08_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7255e486a50c92c8cf47918b65ff99f.jpg","text":"TemporaryFile(/tmp/multipartBody3112228918904682629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751605382,"filename":"image_14042025_19_26_58_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d08d0f8f2515999c1f026c61204b4b94.jpg","text":"TemporaryFile(/tmp/multipartBody4568889761037052140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751605382,"filename":"image_14042025_19_27_05_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/373242932e2ff9f881568b257268722b.jpg","text":"TemporaryFile(/tmp/multipartBody604633826624166328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751605382,"filename":"image_14042025_19_24_02_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ebce91c47724ca5cb007de4093cc2315.jpg","text":"TemporaryFile(/tmp/multipartBody6008463444221680337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751605382,"filename":"image_14042025_19_27_02_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063067","file1":"1350063063","file0":"1350063059","file4":"1350063075","file5":"1350063081","file3":"1350063071"},"map_files_photo_id_array":[{"photo_id":"1350063081","filename":"file5"},{"photo_id":"1350063067","filename":"file2"},{"photo_id":"1350063075","filename":"file4"},{"photo_id":"1350063063","filename":"file1"},{"photo_id":"1350063059","filename":"file0"},{"photo_id":"1350063071","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350063081":["hashtag1","hashtag2"]},{"1350063075":["hashtag1","hashtag2"]},{"1350063063":["hashtag1","hashtag2"]},{"1350063071":["hashtag1","hashtag2"]},{"1350063059":["hashtag1","hashtag2"]},{"1350063067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350063081, 1350063075, 1350063063, 1350063071, 1350063059, 1350063067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.157902002334595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:13:02.720695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_32_2597.jpg', '/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_53_2583.jpg', '/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_56_3711.jpg', '/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_08_3795.jpg', '/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_11_2649.jpg', '/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_29_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_32_2597.jpg
/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_53_2583.jpg
/home/pi/Desktop/images/14042025/19/27/image_14042025_19_27_56_3711.jpg
/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_08_3795.jpg
/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_11_2649.jpg
/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_29_3590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063109","1350063105","1350063113","1350063101","1350063094","1350063097"],"photo_ids_order":["1350063094","1350063097","1350063101","1350063105","1350063109","1350063113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc01f719b8086ad73b817b040442462f.jpg","text":"TemporaryFile(/tmp/multipartBody6620638139543561264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751645273,"filename":"image_14042025_19_28_11_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31c82d90fc231dd322cea70d80cdb74a.jpg","text":"TemporaryFile(/tmp/multipartBody299691231600597468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751645273,"filename":"image_14042025_19_28_08_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f33a067f899b08545abe8da736e3429.jpg","text":"TemporaryFile(/tmp/multipartBody6350751259234997382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751645273,"filename":"image_14042025_19_28_29_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/602876a6c00bea3320815fcba8f8affd.jpg","text":"TemporaryFile(/tmp/multipartBody8505212815685380184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751645273,"filename":"image_14042025_19_27_56_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d41b322bd113a5918e0414578a884f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3165062883588035059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751645273,"filename":"image_14042025_19_27_32_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2c8ead546cb40fd502544e153da021c.jpg","text":"TemporaryFile(/tmp/multipartBody3313334551468203618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751645273,"filename":"image_14042025_19_27_53_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063101","file1":"1350063097","file0":"1350063094","file4":"1350063109","file5":"1350063113","file3":"1350063105"},"map_files_photo_id_array":[{"photo_id":"1350063113","filename":"file5"},{"photo_id":"1350063101","filename":"file2"},{"photo_id":"1350063109","filename":"file4"},{"photo_id":"1350063097","filename":"file1"},{"photo_id":"1350063094","filename":"file0"},{"photo_id":"1350063105","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350063109":["hashtag1","hashtag2"]},{"1350063105":["hashtag1","hashtag2"]},{"1350063113":["hashtag1","hashtag2"]},{"1350063101":["hashtag1","hashtag2"]},{"1350063094":["hashtag1","hashtag2"]},{"1350063097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350063109, 1350063105, 1350063113, 1350063101, 1350063094, 1350063097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9830105304718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:13:41.904627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_34_2690.jpg', '/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_41_2807.jpg', '/home/pi/Desktop/images/14042025/19/29/image_14042025_19_29_23_2760.jpg', '/home/pi/Desktop/images/14042025/19/31/image_14042025_19_31_16_2649.jpg', '/home/pi/Desktop/images/14042025/19/32/image_14042025_19_32_19_2798.jpg', '/home/pi/Desktop/images/14042025/19/32/image_14042025_19_32_31_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_34_2690.jpg
/home/pi/Desktop/images/14042025/19/28/image_14042025_19_28_41_2807.jpg
/home/pi/Desktop/images/14042025/19/29/image_14042025_19_29_23_2760.jpg
/home/pi/Desktop/images/14042025/19/31/image_14042025_19_31_16_2649.jpg
/home/pi/Desktop/images/14042025/19/32/image_14042025_19_32_19_2798.jpg
/home/pi/Desktop/images/14042025/19/32/image_14042025_19_32_31_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063182","1350063212","1350063206","1350063148","1350063229","1350063163"],"photo_ids_order":["1350063148","1350063163","1350063182","1350063206","1350063212","1350063229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8d74ff55014b98b66b8fc1e42842e78.jpg","text":"TemporaryFile(/tmp/multipartBody3306187718307513285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751683375,"filename":"image_14042025_19_29_23_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6edb3ccb23c4ac7d3ba9dd384461b708.jpg","text":"TemporaryFile(/tmp/multipartBody1145928971941793428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751683375,"filename":"image_14042025_19_32_19_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f44b22365afa43dc85e8d9a1eb5b580.jpg","text":"TemporaryFile(/tmp/multipartBody8718966703857008520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751683375,"filename":"image_14042025_19_31_16_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b201af740925eecf299421fa72aa79e.jpg","text":"TemporaryFile(/tmp/multipartBody5966300899425400716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751683375,"filename":"image_14042025_19_28_34_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d8d05e7ad936726b44863ce263f1b10.jpg","text":"TemporaryFile(/tmp/multipartBody8216121696189167954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751683375,"filename":"image_14042025_19_32_31_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aeb83ab714b3bbc895eead11f598fda0.jpg","text":"TemporaryFile(/tmp/multipartBody4181040881323276445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751683375,"filename":"image_14042025_19_28_41_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063182","file1":"1350063163","file0":"1350063148","file4":"1350063212","file5":"1350063229","file3":"1350063206"},"map_files_photo_id_array":[{"photo_id":"1350063229","filename":"file5"},{"photo_id":"1350063182","filename":"file2"},{"photo_id":"1350063212","filename":"file4"},{"photo_id":"1350063163","filename":"file1"},{"photo_id":"1350063148","filename":"file0"},{"photo_id":"1350063206","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350063182":["hashtag1","hashtag2"]},{"1350063212":["hashtag1","hashtag2"]},{"1350063206":["hashtag1","hashtag2"]},{"1350063148":["hashtag1","hashtag2"]},{"1350063229":["hashtag1","hashtag2"]},{"1350063163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350063182, 1350063212, 1350063206, 1350063148, 1350063229, 1350063163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.464847803115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:14:22.722856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/33/image_14042025_19_33_52_2784.jpg', '/home/pi/Desktop/images/14042025/19/33/image_14042025_19_33_55_2736.jpg', '/home/pi/Desktop/images/14042025/19/33/image_14042025_19_33_57_2598.jpg', '/home/pi/Desktop/images/14042025/19/33/image_14042025_19_34_01_3655.jpg', '/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_04_2700.jpg', '/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_07_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/33/image_14042025_19_33_52_2784.jpg
/home/pi/Desktop/images/14042025/19/33/image_14042025_19_33_55_2736.jpg
/home/pi/Desktop/images/14042025/19/33/image_14042025_19_33_57_2598.jpg
/home/pi/Desktop/images/14042025/19/33/image_14042025_19_34_01_3655.jpg
/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_04_2700.jpg
/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_07_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063336","1350063296","1350063281","1350063284","1350063302","1350063289"],"photo_ids_order":["1350063281","1350063284","1350063289","1350063296","1350063302","1350063336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b5557ae49fa0748819bfaf31f4cb232.jpg","text":"TemporaryFile(/tmp/multipartBody1089804297638826096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751725829,"filename":"image_14042025_19_34_07_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29b52163c415dad5e42b74d94f52c26a.jpg","text":"TemporaryFile(/tmp/multipartBody2077627658431147239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751725829,"filename":"image_14042025_19_34_01_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3d106800c95b1e6071742090a2fe178.jpg","text":"TemporaryFile(/tmp/multipartBody3712620501529411134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751725829,"filename":"image_14042025_19_33_52_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ee998e03800756f913b546a720b045d.jpg","text":"TemporaryFile(/tmp/multipartBody3425794454965310892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751725829,"filename":"image_14042025_19_33_55_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/857297784aeee8d874f066bf3cac3fcf.jpg","text":"TemporaryFile(/tmp/multipartBody780339036999122412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751725829,"filename":"image_14042025_19_34_04_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da6a4247bf3af2e310f9b1af15967867.jpg","text":"TemporaryFile(/tmp/multipartBody3264204692151046825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751725829,"filename":"image_14042025_19_33_57_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063289","file1":"1350063284","file0":"1350063281","file4":"1350063302","file5":"1350063336","file3":"1350063296"},"map_files_photo_id_array":[{"photo_id":"1350063336","filename":"file5"},{"photo_id":"1350063289","filename":"file2"},{"photo_id":"1350063302","filename":"file4"},{"photo_id":"1350063284","filename":"file1"},{"photo_id":"1350063281","filename":"file0"},{"photo_id":"1350063296","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350063336":["hashtag1","hashtag2"]},{"1350063296":["hashtag1","hashtag2"]},{"1350063281":["hashtag1","hashtag2"]},{"1350063284":["hashtag1","hashtag2"]},{"1350063302":["hashtag1","hashtag2"]},{"1350063289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350063336, 1350063296, 1350063281, 1350063284, 1350063302, 1350063289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96247148513794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:15:02.666864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_13_2907.jpg', '/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_30_2740.jpg', '/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_55_2719.jpg', '/home/pi/Desktop/images/14042025/19/35/image_14042025_19_35_04_2732.jpg', '/home/pi/Desktop/images/14042025/19/35/image_14042025_19_35_45_2659.jpg', '/home/pi/Desktop/images/14042025/19/36/image_14042025_19_36_13_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_13_2907.jpg
/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_30_2740.jpg
/home/pi/Desktop/images/14042025/19/34/image_14042025_19_34_55_2719.jpg
/home/pi/Desktop/images/14042025/19/35/image_14042025_19_35_04_2732.jpg
/home/pi/Desktop/images/14042025/19/35/image_14042025_19_35_45_2659.jpg
/home/pi/Desktop/images/14042025/19/36/image_14042025_19_36_13_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063390","1350063353","1350063416","1350063410","1350063358","1350063418"],"photo_ids_order":["1350063353","1350063358","1350063390","1350063410","1350063416","1350063418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a830ea181a7e306f7df31cb04736294.jpg","text":"TemporaryFile(/tmp/multipartBody5920157197938959869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751765248,"filename":"image_14042025_19_34_55_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe0048c761d0bb4afaccad15f1e36345.jpg","text":"TemporaryFile(/tmp/multipartBody6229459392007566091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751765248,"filename":"image_14042025_19_34_13_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04b4f5c8edf35e1dc5e5407cc2f2bb24.jpg","text":"TemporaryFile(/tmp/multipartBody8210939364985089557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751765248,"filename":"image_14042025_19_35_45_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/098a682aa4b7d4e6f902c4d3f9873600.jpg","text":"TemporaryFile(/tmp/multipartBody3859728657192736980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751765248,"filename":"image_14042025_19_35_04_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48b82a5cb923af07c0decc4c93d0e8ca.jpg","text":"TemporaryFile(/tmp/multipartBody8376997977303888849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751765248,"filename":"image_14042025_19_34_30_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15dc8d3c744bbbc789e60e5b9cdc076c.jpg","text":"TemporaryFile(/tmp/multipartBody6098659581965020735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751765248,"filename":"image_14042025_19_36_13_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063390","file1":"1350063358","file0":"1350063353","file4":"1350063416","file5":"1350063418","file3":"1350063410"},"map_files_photo_id_array":[{"photo_id":"1350063418","filename":"file5"},{"photo_id":"1350063390","filename":"file2"},{"photo_id":"1350063416","filename":"file4"},{"photo_id":"1350063358","filename":"file1"},{"photo_id":"1350063353","filename":"file0"},{"photo_id":"1350063410","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350063390":["hashtag1","hashtag2"]},{"1350063353":["hashtag1","hashtag2"]},{"1350063416":["hashtag1","hashtag2"]},{"1350063410":["hashtag1","hashtag2"]},{"1350063358":["hashtag1","hashtag2"]},{"1350063418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350063390, 1350063353, 1350063416, 1350063410, 1350063358, 1350063418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54602837562561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:15:41.970018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/36/image_14042025_19_36_51_2655.jpg', '/home/pi/Desktop/images/14042025/19/37/image_14042025_19_37_33_2677.jpg', '/home/pi/Desktop/images/14042025/19/37/image_14042025_19_37_36_2690.jpg', '/home/pi/Desktop/images/14042025/19/41/image_14042025_19_41_09_3598.jpg', '/home/pi/Desktop/images/14042025/19/41/image_14042025_19_41_42_3644.jpg', '/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_06_3524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/36/image_14042025_19_36_51_2655.jpg
/home/pi/Desktop/images/14042025/19/37/image_14042025_19_37_33_2677.jpg
/home/pi/Desktop/images/14042025/19/37/image_14042025_19_37_36_2690.jpg
/home/pi/Desktop/images/14042025/19/41/image_14042025_19_41_09_3598.jpg
/home/pi/Desktop/images/14042025/19/41/image_14042025_19_41_42_3644.jpg
/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_06_3524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063477","1350063456","1350063450","1350063479","1350063482","1350063461"],"photo_ids_order":["1350063450","1350063456","1350063461","1350063477","1350063479","1350063482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/942cd383a199aa9cd736ce6d7e6483a3.jpg","text":"TemporaryFile(/tmp/multipartBody1432110063605716269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751803430,"filename":"image_14042025_19_41_09_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76b0cfbc3a97785eee51f0c191196629.jpg","text":"TemporaryFile(/tmp/multipartBody876901404991788425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751803430,"filename":"image_14042025_19_37_33_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fb170b8f02c9c77b5aa17ee134d124f.jpg","text":"TemporaryFile(/tmp/multipartBody3206683088527191197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751803430,"filename":"image_14042025_19_36_51_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f6bdc3bdc3d8d6c86cd8dd8c9191430.jpg","text":"TemporaryFile(/tmp/multipartBody2922735196943947658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751803430,"filename":"image_14042025_19_41_42_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a48726551f59c240b2854a40b0fb02fc.jpg","text":"TemporaryFile(/tmp/multipartBody7463531778226307750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751803430,"filename":"image_14042025_19_43_06_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2b11025ecc7ee064cbd8d4bc9b30f18.jpg","text":"TemporaryFile(/tmp/multipartBody8243757364601314738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751803430,"filename":"image_14042025_19_37_36_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063461","file1":"1350063456","file0":"1350063450","file4":"1350063479","file5":"1350063482","file3":"1350063477"},"map_files_photo_id_array":[{"photo_id":"1350063482","filename":"file5"},{"photo_id":"1350063461","filename":"file2"},{"photo_id":"1350063479","filename":"file4"},{"photo_id":"1350063456","filename":"file1"},{"photo_id":"1350063450","filename":"file0"},{"photo_id":"1350063477","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350063477":["hashtag1","hashtag2"]},{"1350063456":["hashtag1","hashtag2"]},{"1350063450":["hashtag1","hashtag2"]},{"1350063479":["hashtag1","hashtag2"]},{"1350063482":["hashtag1","hashtag2"]},{"1350063461":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350063477, 1350063456, 1350063450, 1350063479, 1350063482, 1350063461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78651976585388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:16:22.389539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_54_2844.jpg', '/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_09_3650.jpg', '/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_12_2728.jpg', '/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_14_2601.jpg', '/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_18_3655.jpg', '/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_21_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/43/image_14042025_19_43_54_2844.jpg
/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_09_3650.jpg
/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_12_2728.jpg
/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_14_2601.jpg
/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_18_3655.jpg
/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_21_2817.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063505","1350063510","1350063539","1350063530","1350063493","1350063523"],"photo_ids_order":["1350063493","1350063505","1350063510","1350063523","1350063530","1350063539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ec01769a35a8d2b12c61590eaa5af87.jpg","text":"TemporaryFile(/tmp/multipartBody8713934882384412142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751845611,"filename":"image_14042025_19_44_09_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d09183d75a85ed3879e1fb3712ab869.jpg","text":"TemporaryFile(/tmp/multipartBody3056388658932552385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751845611,"filename":"image_14042025_19_44_12_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/faba062a77ca1a30114b55792b307e4a.jpg","text":"TemporaryFile(/tmp/multipartBody1674118027866818091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751845611,"filename":"image_14042025_19_44_21_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52880d77aafb96228113dab3a25c05d2.jpg","text":"TemporaryFile(/tmp/multipartBody1099218456694054617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751845611,"filename":"image_14042025_19_44_18_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2efcea56987b9fdbf8db4c7b69efe0d5.jpg","text":"TemporaryFile(/tmp/multipartBody6448975556986101310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751845611,"filename":"image_14042025_19_43_54_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4486f5a6ad1014d7bd4c8fff5105ae2c.jpg","text":"TemporaryFile(/tmp/multipartBody6275803744849686555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751845611,"filename":"image_14042025_19_44_14_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063510","file1":"1350063505","file0":"1350063493","file4":"1350063530","file5":"1350063539","file3":"1350063523"},"map_files_photo_id_array":[{"photo_id":"1350063539","filename":"file5"},{"photo_id":"1350063510","filename":"file2"},{"photo_id":"1350063530","filename":"file4"},{"photo_id":"1350063505","filename":"file1"},{"photo_id":"1350063493","filename":"file0"},{"photo_id":"1350063523","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350063505":["hashtag1","hashtag2"]},{"1350063510":["hashtag1","hashtag2"]},{"1350063539":["hashtag1","hashtag2"]},{"1350063530":["hashtag1","hashtag2"]},{"1350063493":["hashtag1","hashtag2"]},{"1350063523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350063505, 1350063510, 1350063539, 1350063530, 1350063493, 1350063523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44324517250061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:17:03.110096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_24_2743.jpg', '/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_39_3760.jpg', '/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_48_3663.jpg', '/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_53_2557.jpg', '/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_02_2642.jpg', '/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_09_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_24_2743.jpg
/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_39_3760.jpg
/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_48_3663.jpg
/home/pi/Desktop/images/14042025/19/44/image_14042025_19_44_53_2557.jpg
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_02_2642.jpg
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_09_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063578","1350063692","1350063647","1350063568","1350063607","1350063721"],"photo_ids_order":["1350063568","1350063578","1350063607","1350063647","1350063692","1350063721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1fc47f5ceb065b3dd839e3f485369c8.jpg","text":"TemporaryFile(/tmp/multipartBody6560083298617376901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751885692,"filename":"image_14042025_19_44_39_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ecabec8cf37fec576513d79ea8d6d42d.jpg","text":"TemporaryFile(/tmp/multipartBody8574237086599543350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751885692,"filename":"image_14042025_19_45_02_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/844bccb41b49cd7473d737fa8ef7d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody454700738638362974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751885692,"filename":"image_14042025_19_44_53_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82ebce9da50d45e54144494969ecb8a0.jpg","text":"TemporaryFile(/tmp/multipartBody2485114904191513936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751885692,"filename":"image_14042025_19_44_24_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d955302c1da249299c3c1cb49fa84529.jpg","text":"TemporaryFile(/tmp/multipartBody2035004459669993676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751885692,"filename":"image_14042025_19_44_48_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71ae1dba47c9da4de496b3ae1f54173c.jpg","text":"TemporaryFile(/tmp/multipartBody5978913076424025995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751885692,"filename":"image_14042025_19_45_09_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063607","file1":"1350063578","file0":"1350063568","file4":"1350063692","file5":"1350063721","file3":"1350063647"},"map_files_photo_id_array":[{"photo_id":"1350063721","filename":"file5"},{"photo_id":"1350063607","filename":"file2"},{"photo_id":"1350063692","filename":"file4"},{"photo_id":"1350063578","filename":"file1"},{"photo_id":"1350063568","filename":"file0"},{"photo_id":"1350063647","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350063578":["hashtag1","hashtag2"]},{"1350063692":["hashtag1","hashtag2"]},{"1350063647":["hashtag1","hashtag2"]},{"1350063568":["hashtag1","hashtag2"]},{"1350063607":["hashtag1","hashtag2"]},{"1350063721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350063578, 1350063692, 1350063647, 1350063568, 1350063607, 1350063721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91415190696716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:17:42.348739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_24_3829.jpg', '/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_27_2640.jpg', '/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_29_2691.jpg', '/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_33_3712.jpg', '/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_38_2608.jpg', '/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_48_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_24_3829.jpg
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_27_2640.jpg
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_29_2691.jpg
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_33_3712.jpg
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_38_2608.jpg
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_48_2814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350063867","1350063834","1350063893","1350063947","1350063806","1350063920"],"photo_ids_order":["1350063806","1350063834","1350063867","1350063893","1350063920","1350063947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f8ebb19e0bd19a988fd4a6265b0ecc1.jpg","text":"TemporaryFile(/tmp/multipartBody6113264799158931292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751923758,"filename":"image_14042025_19_45_29_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/417381fedc710b73200cd568dde28c87.jpg","text":"TemporaryFile(/tmp/multipartBody5949786500779798249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751923758,"filename":"image_14042025_19_45_27_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cc4bc93c5e6dbe25773ed0044094a51.jpg","text":"TemporaryFile(/tmp/multipartBody6433270320942257813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751923758,"filename":"image_14042025_19_45_33_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84e4405b788a8b413c169561ffe7d634.jpg","text":"TemporaryFile(/tmp/multipartBody6281409972138210139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751923758,"filename":"image_14042025_19_45_48_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e05bd35230549457a63faef9c307ac69.jpg","text":"TemporaryFile(/tmp/multipartBody2978248540801373908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751923758,"filename":"image_14042025_19_45_24_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1bbd3de13e976c0890a5b376334ab170.jpg","text":"TemporaryFile(/tmp/multipartBody3705360809693686786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751923758,"filename":"image_14042025_19_45_38_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350063867","file1":"1350063834","file0":"1350063806","file4":"1350063920","file5":"1350063947","file3":"1350063893"},"map_files_photo_id_array":[{"photo_id":"1350063947","filename":"file5"},{"photo_id":"1350063867","filename":"file2"},{"photo_id":"1350063920","filename":"file4"},{"photo_id":"1350063834","filename":"file1"},{"photo_id":"1350063806","filename":"file0"},{"photo_id":"1350063893","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350063867":["hashtag1","hashtag2"]},{"1350063834":["hashtag1","hashtag2"]},{"1350063893":["hashtag1","hashtag2"]},{"1350063947":["hashtag1","hashtag2"]},{"1350063806":["hashtag1","hashtag2"]},{"1350063920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350063867, 1350063834, 1350063893, 1350063947, 1350063806, 1350063920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3210084438324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:18:22.053149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_54_3709.jpg', '/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_57_2938.jpg', '/home/pi/Desktop/images/14042025/19/46/image_14042025_19_46_02_2658.jpg', '/home/pi/Desktop/images/14042025/19/46/image_14042025_19_46_20_2611.jpg', '/home/pi/Desktop/images/14042025/19/46/image_14042025_19_46_23_2803.jpg', '/home/pi/Desktop/images/14042025/19/46/image_14042025_19_46_30_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_54_3709.jpg
/home/pi/Desktop/images/14042025/19/45/image_14042025_19_45_57_2938.jpg
/home/pi/Desktop/images/14042025/19/46/image_14042025_19_46_02_2658.jpg
/home/pi/Desktop/images/14042025/19/46/image_14042025_19_46_20_2611.jpg
/home/pi/Desktop/images/14042025/19/46/image_14042025_19_46_23_2803.jpg
/home/pi/Desktop/images/14042025/19/46/image_14042025_19_46_30_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064035","1350064055","1350064066","1350064045","1350064071","1350064050"],"photo_ids_order":["1350064035","1350064045","1350064050","1350064055","1350064066","1350064071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c55b496958af19a98ca555c627b9e8a.jpg","text":"TemporaryFile(/tmp/multipartBody2475405766762589339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751965229,"filename":"image_14042025_19_45_54_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c0045e8f34d5f07d4efa92aba5a622d.jpg","text":"TemporaryFile(/tmp/multipartBody3722296543118674242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751965229,"filename":"image_14042025_19_46_20_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/297c8098afa7a8b8ea75317c27dc47c6.jpg","text":"TemporaryFile(/tmp/multipartBody6321216509086996907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751965229,"filename":"image_14042025_19_46_23_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf1f5682d940ca703ffe3512c6e2eba8.jpg","text":"TemporaryFile(/tmp/multipartBody6393058267779181606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751965229,"filename":"image_14042025_19_45_57_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6cb8c1f6be1db2d15b18fd2abaf8c4cd.jpg","text":"TemporaryFile(/tmp/multipartBody5258534808180024300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751965229,"filename":"image_14042025_19_46_30_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a45ae90149b3788b5d25e5ea26c0b88.jpg","text":"TemporaryFile(/tmp/multipartBody229721414227649831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744751965229,"filename":"image_14042025_19_46_02_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064050","file1":"1350064045","file0":"1350064035","file4":"1350064066","file5":"1350064071","file3":"1350064055"},"map_files_photo_id_array":[{"photo_id":"1350064071","filename":"file5"},{"photo_id":"1350064050","filename":"file2"},{"photo_id":"1350064066","filename":"file4"},{"photo_id":"1350064045","filename":"file1"},{"photo_id":"1350064035","filename":"file0"},{"photo_id":"1350064055","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064035":["hashtag1","hashtag2"]},{"1350064055":["hashtag1","hashtag2"]},{"1350064066":["hashtag1","hashtag2"]},{"1350064045":["hashtag1","hashtag2"]},{"1350064071":["hashtag1","hashtag2"]},{"1350064050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064035, 1350064055, 1350064066, 1350064045, 1350064071, 1350064050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.193345069885254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:19:22.776520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_09_3871.jpg', '/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_14_2659.jpg', '/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_30_3782.jpg', '/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_33_2645.jpg', '/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_48_3690.jpg', '/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_51_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_09_3871.jpg
/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_14_2659.jpg
/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_30_3782.jpg
/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_33_2645.jpg
/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_48_3690.jpg
/home/pi/Desktop/images/14042025/19/47/image_14042025_19_47_51_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064101","1350064099","1350064123","1350064117","1350064105","1350064095"],"photo_ids_order":["1350064095","1350064099","1350064101","1350064105","1350064117","1350064123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf2d1904fbb902cec341b5d0db37ea94.jpg","text":"TemporaryFile(/tmp/multipartBody1104066543030540316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752025852,"filename":"image_14042025_19_47_30_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5db1f912fa3fbdfe6692e0d49d0ab562.jpg","text":"TemporaryFile(/tmp/multipartBody3565058538806163993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752025852,"filename":"image_14042025_19_47_14_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ed1f1dea80950083efa233db6a017fd.jpg","text":"TemporaryFile(/tmp/multipartBody6370013667624132244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752025852,"filename":"image_14042025_19_47_51_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fcdd5952b1c16b8dda76d0069af832e3.jpg","text":"TemporaryFile(/tmp/multipartBody8699408385728398929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752025852,"filename":"image_14042025_19_47_48_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9eda908d7a7d40536902c9171a4dad5d.jpg","text":"TemporaryFile(/tmp/multipartBody3900948596630198948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752025852,"filename":"image_14042025_19_47_33_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d0f31e3053a204143b80f180c9b21d9.jpg","text":"TemporaryFile(/tmp/multipartBody6654014735705203310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752025852,"filename":"image_14042025_19_47_09_3871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064101","file1":"1350064099","file0":"1350064095","file4":"1350064117","file5":"1350064123","file3":"1350064105"},"map_files_photo_id_array":[{"photo_id":"1350064123","filename":"file5"},{"photo_id":"1350064101","filename":"file2"},{"photo_id":"1350064117","filename":"file4"},{"photo_id":"1350064099","filename":"file1"},{"photo_id":"1350064095","filename":"file0"},{"photo_id":"1350064105","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064101":["hashtag1","hashtag2"]},{"1350064099":["hashtag1","hashtag2"]},{"1350064123":["hashtag1","hashtag2"]},{"1350064117":["hashtag1","hashtag2"]},{"1350064105":["hashtag1","hashtag2"]},{"1350064095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064101, 1350064099, 1350064123, 1350064117, 1350064105, 1350064095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78736972808838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:20:02.529698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/48/image_14042025_19_48_23_2609.jpg', '/home/pi/Desktop/images/14042025/19/48/image_14042025_19_48_41_2789.jpg', '/home/pi/Desktop/images/14042025/19/49/image_14042025_19_49_09_3705.jpg', '/home/pi/Desktop/images/14042025/19/49/image_14042025_19_50_00_3750.jpg', '/home/pi/Desktop/images/14042025/19/50/image_14042025_19_50_41_2705.jpg', '/home/pi/Desktop/images/14042025/19/51/image_14042025_19_51_26_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/48/image_14042025_19_48_23_2609.jpg
/home/pi/Desktop/images/14042025/19/48/image_14042025_19_48_41_2789.jpg
/home/pi/Desktop/images/14042025/19/49/image_14042025_19_49_09_3705.jpg
/home/pi/Desktop/images/14042025/19/49/image_14042025_19_50_00_3750.jpg
/home/pi/Desktop/images/14042025/19/50/image_14042025_19_50_41_2705.jpg
/home/pi/Desktop/images/14042025/19/51/image_14042025_19_51_26_2850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064160","1350064151","1350064168","1350064153","1350064144","1350064155"],"photo_ids_order":["1350064144","1350064151","1350064153","1350064155","1350064160","1350064168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f714a489d95f607ebb76374688e75e0.jpg","text":"TemporaryFile(/tmp/multipartBody1296055677800736327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752065054,"filename":"image_14042025_19_50_41_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/477b20f03e531f597e0ae9d97edd8d9b.jpg","text":"TemporaryFile(/tmp/multipartBody3346781705870865629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752065054,"filename":"image_14042025_19_48_41_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd0e2488bad6e9d0e809ce9dee87ef13.jpg","text":"TemporaryFile(/tmp/multipartBody1590665069283298068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752065054,"filename":"image_14042025_19_51_26_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ded947f9912e23f7d20fd45bf8fcf4c.jpg","text":"TemporaryFile(/tmp/multipartBody4177186776648337219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752065054,"filename":"image_14042025_19_49_09_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35310a7c812f0f30ea06e9c59f12c9f4.jpg","text":"TemporaryFile(/tmp/multipartBody5419183413496971775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752065054,"filename":"image_14042025_19_48_23_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00faf1f9edc7b696dd828f49e5f9ac25.jpg","text":"TemporaryFile(/tmp/multipartBody5287124568431914180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752065054,"filename":"image_14042025_19_50_00_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064153","file1":"1350064151","file0":"1350064144","file4":"1350064160","file5":"1350064168","file3":"1350064155"},"map_files_photo_id_array":[{"photo_id":"1350064168","filename":"file5"},{"photo_id":"1350064153","filename":"file2"},{"photo_id":"1350064160","filename":"file4"},{"photo_id":"1350064151","filename":"file1"},{"photo_id":"1350064144","filename":"file0"},{"photo_id":"1350064155","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064160":["hashtag1","hashtag2"]},{"1350064151":["hashtag1","hashtag2"]},{"1350064168":["hashtag1","hashtag2"]},{"1350064153":["hashtag1","hashtag2"]},{"1350064144":["hashtag1","hashtag2"]},{"1350064155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064160, 1350064151, 1350064168, 1350064153, 1350064144, 1350064155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.776684045791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:20:41.917691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/19/52/image_14042025_19_52_15_3591.jpg', '/home/pi/Desktop/images/14042025/19/55/image_14042025_19_55_29_3768.jpg', '/home/pi/Desktop/images/14042025/19/59/image_14042025_19_59_58_2667.jpg', '/home/pi/Desktop/images/14042025/20/05/image_14042025_20_05_10_2710.jpg', '/home/pi/Desktop/images/14042025/20/05/image_14042025_20_05_34_2635.jpg', '/home/pi/Desktop/images/14042025/20/06/image_14042025_20_06_03_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/19/52/image_14042025_19_52_15_3591.jpg
/home/pi/Desktop/images/14042025/19/55/image_14042025_19_55_29_3768.jpg
/home/pi/Desktop/images/14042025/19/59/image_14042025_19_59_58_2667.jpg
/home/pi/Desktop/images/14042025/20/05/image_14042025_20_05_10_2710.jpg
/home/pi/Desktop/images/14042025/20/05/image_14042025_20_05_34_2635.jpg
/home/pi/Desktop/images/14042025/20/06/image_14042025_20_06_03_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064200","1350064203","1350064181","1350064195","1350064189","1350064198"],"photo_ids_order":["1350064181","1350064189","1350064195","1350064198","1350064200","1350064203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0a1b01da8b1f71b03da3e8d4aa40d86.jpg","text":"TemporaryFile(/tmp/multipartBody96690357688136813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752103313,"filename":"image_14042025_20_05_34_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85826bad25ae2c9e4bb1cd70ed5f712d.jpg","text":"TemporaryFile(/tmp/multipartBody4843843888561928124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752103313,"filename":"image_14042025_20_06_03_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ab0e479b1556e3511d7ad36c12da82f.jpg","text":"TemporaryFile(/tmp/multipartBody3600774084752253505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752103313,"filename":"image_14042025_19_52_15_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/593034d68ccb344f2238cd46f659f3c6.jpg","text":"TemporaryFile(/tmp/multipartBody4579666819752514986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752103313,"filename":"image_14042025_19_59_58_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f811c9171761983beb54efd87eada81.jpg","text":"TemporaryFile(/tmp/multipartBody8128950420503419006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752103313,"filename":"image_14042025_19_55_29_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce045bd21a486a5df2454d3a5f0a2ace.jpg","text":"TemporaryFile(/tmp/multipartBody8555950290797449953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752103313,"filename":"image_14042025_20_05_10_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064195","file1":"1350064189","file0":"1350064181","file4":"1350064200","file5":"1350064203","file3":"1350064198"},"map_files_photo_id_array":[{"photo_id":"1350064203","filename":"file5"},{"photo_id":"1350064195","filename":"file2"},{"photo_id":"1350064200","filename":"file4"},{"photo_id":"1350064189","filename":"file1"},{"photo_id":"1350064181","filename":"file0"},{"photo_id":"1350064198","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064200":["hashtag1","hashtag2"]},{"1350064203":["hashtag1","hashtag2"]},{"1350064181":["hashtag1","hashtag2"]},{"1350064195":["hashtag1","hashtag2"]},{"1350064189":["hashtag1","hashtag2"]},{"1350064198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064200, 1350064203, 1350064181, 1350064195, 1350064189, 1350064198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08370494842529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:21:22.227004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/06/image_14042025_20_07_00_2578.jpg', '/home/pi/Desktop/images/14042025/20/08/image_14042025_20_08_15_2657.jpg', '/home/pi/Desktop/images/14042025/20/09/image_14042025_20_09_45_2586.jpg', '/home/pi/Desktop/images/14042025/20/10/image_14042025_20_10_33_3687.jpg', '/home/pi/Desktop/images/14042025/20/10/image_14042025_20_10_36_2831.jpg', '/home/pi/Desktop/images/14042025/20/11/image_14042025_20_11_39_3520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/20/06/image_14042025_20_07_00_2578.jpg
/home/pi/Desktop/images/14042025/20/08/image_14042025_20_08_15_2657.jpg
/home/pi/Desktop/images/14042025/20/09/image_14042025_20_09_45_2586.jpg
/home/pi/Desktop/images/14042025/20/10/image_14042025_20_10_33_3687.jpg
/home/pi/Desktop/images/14042025/20/10/image_14042025_20_10_36_2831.jpg
/home/pi/Desktop/images/14042025/20/11/image_14042025_20_11_39_3520.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064227","1350064247","1350064235","1350064217","1350064213","1350064222"],"photo_ids_order":["1350064213","1350064217","1350064222","1350064227","1350064235","1350064247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6af33e7c0620c6f42a957751cb3d2a30.jpg","text":"TemporaryFile(/tmp/multipartBody7627857688525008850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752145323,"filename":"image_14042025_20_10_33_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8264057795605baa1529441da4e44a2.jpg","text":"TemporaryFile(/tmp/multipartBody3748736303281431226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752145323,"filename":"image_14042025_20_11_39_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3842aaa477bba8d60711f607927f5a30.jpg","text":"TemporaryFile(/tmp/multipartBody2938756316635327279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752145323,"filename":"image_14042025_20_10_36_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67221f6e0000863ab10fc9c64b133449.jpg","text":"TemporaryFile(/tmp/multipartBody659428601503344125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752145323,"filename":"image_14042025_20_08_15_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7447207abf43a690ec8f5707fe57bf9.jpg","text":"TemporaryFile(/tmp/multipartBody5406226939752163827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752145323,"filename":"image_14042025_20_07_00_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2927dbe6fc63604678fe34c0bf904375.jpg","text":"TemporaryFile(/tmp/multipartBody8948424064659837421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752145323,"filename":"image_14042025_20_09_45_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064222","file1":"1350064217","file0":"1350064213","file4":"1350064235","file5":"1350064247","file3":"1350064227"},"map_files_photo_id_array":[{"photo_id":"1350064247","filename":"file5"},{"photo_id":"1350064222","filename":"file2"},{"photo_id":"1350064235","filename":"file4"},{"photo_id":"1350064217","filename":"file1"},{"photo_id":"1350064213","filename":"file0"},{"photo_id":"1350064227","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064227":["hashtag1","hashtag2"]},{"1350064247":["hashtag1","hashtag2"]},{"1350064235":["hashtag1","hashtag2"]},{"1350064217":["hashtag1","hashtag2"]},{"1350064213":["hashtag1","hashtag2"]},{"1350064222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064227, 1350064247, 1350064235, 1350064217, 1350064213, 1350064222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64055800437927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:22:02.948584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/13/image_14042025_20_13_03_2585.jpg', '/home/pi/Desktop/images/14042025/20/16/image_14042025_20_16_11_2711.jpg', '/home/pi/Desktop/images/14042025/20/19/image_14042025_20_19_49_1593.jpg', '/home/pi/Desktop/images/14042025/20/20/image_14042025_20_20_27_3628.jpg', '/home/pi/Desktop/images/14042025/20/24/image_14042025_20_24_38_3613.jpg', '/home/pi/Desktop/images/14042025/20/38/image_14042025_20_38_52_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/20/13/image_14042025_20_13_03_2585.jpg
/home/pi/Desktop/images/14042025/20/16/image_14042025_20_16_11_2711.jpg
/home/pi/Desktop/images/14042025/20/19/image_14042025_20_19_49_1593.jpg
/home/pi/Desktop/images/14042025/20/20/image_14042025_20_20_27_3628.jpg
/home/pi/Desktop/images/14042025/20/24/image_14042025_20_24_38_3613.jpg
/home/pi/Desktop/images/14042025/20/38/image_14042025_20_38_52_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064311","1350064298","1350064316","1350064325","1350064330","1350064293"],"photo_ids_order":["1350064293","1350064298","1350064311","1350064316","1350064325","1350064330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/683fa63975f1153b89376c321b164b95.jpg","text":"TemporaryFile(/tmp/multipartBody6630474212125074010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752185378,"filename":"image_14042025_20_19_49_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fb2419d8886a5f1e535ce22a245d991.jpg","text":"TemporaryFile(/tmp/multipartBody295411269379210758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752185378,"filename":"image_14042025_20_16_11_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57945ee10fac86a693e8c1a3814ee527.jpg","text":"TemporaryFile(/tmp/multipartBody5645004396529468391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752185378,"filename":"image_14042025_20_20_27_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcba09643bfb436286f72a6a230cdf81.jpg","text":"TemporaryFile(/tmp/multipartBody2942074439058745060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752185378,"filename":"image_14042025_20_24_38_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cabcc2ad020d95a6e347e686dcc57da6.jpg","text":"TemporaryFile(/tmp/multipartBody6096827195242557227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752185378,"filename":"image_14042025_20_38_52_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3d81cc731792fad500831ceea652d2e.jpg","text":"TemporaryFile(/tmp/multipartBody3358203600918635761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752185378,"filename":"image_14042025_20_13_03_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064311","file1":"1350064298","file0":"1350064293","file4":"1350064325","file5":"1350064330","file3":"1350064316"},"map_files_photo_id_array":[{"photo_id":"1350064330","filename":"file5"},{"photo_id":"1350064311","filename":"file2"},{"photo_id":"1350064325","filename":"file4"},{"photo_id":"1350064298","filename":"file1"},{"photo_id":"1350064293","filename":"file0"},{"photo_id":"1350064316","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064311":["hashtag1","hashtag2"]},{"1350064298":["hashtag1","hashtag2"]},{"1350064316":["hashtag1","hashtag2"]},{"1350064325":["hashtag1","hashtag2"]},{"1350064330":["hashtag1","hashtag2"]},{"1350064293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064311, 1350064298, 1350064316, 1350064325, 1350064330, 1350064293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56492519378662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:22:42.407105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/39/image_14042025_20_39_04_3659.jpg', '/home/pi/Desktop/images/14042025/20/40/image_14042025_20_40_57_3647.jpg', '/home/pi/Desktop/images/14042025/20/41/image_14042025_20_41_03_2691.jpg', '/home/pi/Desktop/images/14042025/20/41/image_14042025_20_41_36_2510.jpg', '/home/pi/Desktop/images/14042025/20/41/image_14042025_20_41_51_3680.jpg', '/home/pi/Desktop/images/14042025/20/45/image_14042025_20_45_09_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/20/39/image_14042025_20_39_04_3659.jpg
/home/pi/Desktop/images/14042025/20/40/image_14042025_20_40_57_3647.jpg
/home/pi/Desktop/images/14042025/20/41/image_14042025_20_41_03_2691.jpg
/home/pi/Desktop/images/14042025/20/41/image_14042025_20_41_36_2510.jpg
/home/pi/Desktop/images/14042025/20/41/image_14042025_20_41_51_3680.jpg
/home/pi/Desktop/images/14042025/20/45/image_14042025_20_45_09_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064381","1350064375","1350064360","1350064366","1350064354","1350064371"],"photo_ids_order":["1350064354","1350064360","1350064366","1350064371","1350064375","1350064381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19abf6dfc9f0f312df295379bc282234.jpg","text":"TemporaryFile(/tmp/multipartBody9104182895079302865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752223783,"filename":"image_14042025_20_45_09_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/704d5199dcbeb2f4a258e62b6102dd51.jpg","text":"TemporaryFile(/tmp/multipartBody49163202567412833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752223783,"filename":"image_14042025_20_41_51_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65a83d7002f6d0d30ae2e31bda42891f.jpg","text":"TemporaryFile(/tmp/multipartBody8966797600648915331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752223783,"filename":"image_14042025_20_40_57_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0eaafe54f872f8178404cd3dc2e0b13.jpg","text":"TemporaryFile(/tmp/multipartBody6647875167274055035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752223783,"filename":"image_14042025_20_41_03_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aeaffb39597cee96316962212722d868.jpg","text":"TemporaryFile(/tmp/multipartBody4618534769039942925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752223783,"filename":"image_14042025_20_39_04_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b89971b4af5caa730ee31d2af9bf9d65.jpg","text":"TemporaryFile(/tmp/multipartBody4516029921628619411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752223783,"filename":"image_14042025_20_41_36_2510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064366","file1":"1350064360","file0":"1350064354","file4":"1350064375","file5":"1350064381","file3":"1350064371"},"map_files_photo_id_array":[{"photo_id":"1350064381","filename":"file5"},{"photo_id":"1350064366","filename":"file2"},{"photo_id":"1350064375","filename":"file4"},{"photo_id":"1350064360","filename":"file1"},{"photo_id":"1350064354","filename":"file0"},{"photo_id":"1350064371","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064381":["hashtag1","hashtag2"]},{"1350064375":["hashtag1","hashtag2"]},{"1350064360":["hashtag1","hashtag2"]},{"1350064366":["hashtag1","hashtag2"]},{"1350064354":["hashtag1","hashtag2"]},{"1350064371":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064381, 1350064375, 1350064360, 1350064366, 1350064354, 1350064371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76670789718628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:23:22.673517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/46/image_14042025_20_46_06_3550.jpg', '/home/pi/Desktop/images/14042025/20/46/image_14042025_20_46_36_3548.jpg', '/home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_26_2659.jpg', '/home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_44_2578.jpg', '/home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_48_3678.jpg', '/home/pi/Desktop/images/14042025/20/50/image_14042025_20_50_21_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/20/46/image_14042025_20_46_06_3550.jpg
/home/pi/Desktop/images/14042025/20/46/image_14042025_20_46_36_3548.jpg
/home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_26_2659.jpg
/home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_44_2578.jpg
/home/pi/Desktop/images/14042025/20/47/image_14042025_20_47_48_3678.jpg
/home/pi/Desktop/images/14042025/20/50/image_14042025_20_50_21_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064397","1350064400","1350064393","1350064390","1350064411","1350064405"],"photo_ids_order":["1350064390","1350064393","1350064397","1350064400","1350064405","1350064411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f470430fb070027c63564607439c9c3.jpg","text":"TemporaryFile(/tmp/multipartBody3875884825111040310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752265702,"filename":"image_14042025_20_47_26_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/068ac99404ab16f3a4a897bb2835ed6e.jpg","text":"TemporaryFile(/tmp/multipartBody3688682619273991623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752265702,"filename":"image_14042025_20_47_44_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/827ab9267201ea53510123dfedd70bf3.jpg","text":"TemporaryFile(/tmp/multipartBody2469813197732708706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752265702,"filename":"image_14042025_20_46_36_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5751a411aea4b167cab836b89dbffb99.jpg","text":"TemporaryFile(/tmp/multipartBody3601066543238227212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752265702,"filename":"image_14042025_20_46_06_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07b5f07a57d51b4f166e787684a6d8cd.jpg","text":"TemporaryFile(/tmp/multipartBody8384175513500639591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752265702,"filename":"image_14042025_20_50_21_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30010cf3c599dff9ae4d8ffad7cb6ada.jpg","text":"TemporaryFile(/tmp/multipartBody3071204446938469204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752265702,"filename":"image_14042025_20_47_48_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064397","file1":"1350064393","file0":"1350064390","file4":"1350064405","file5":"1350064411","file3":"1350064400"},"map_files_photo_id_array":[{"photo_id":"1350064411","filename":"file5"},{"photo_id":"1350064397","filename":"file2"},{"photo_id":"1350064405","filename":"file4"},{"photo_id":"1350064393","filename":"file1"},{"photo_id":"1350064390","filename":"file0"},{"photo_id":"1350064400","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064397":["hashtag1","hashtag2"]},{"1350064400":["hashtag1","hashtag2"]},{"1350064393":["hashtag1","hashtag2"]},{"1350064390":["hashtag1","hashtag2"]},{"1350064411":["hashtag1","hashtag2"]},{"1350064405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064397, 1350064400, 1350064393, 1350064390, 1350064411, 1350064405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43698525428772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:24:03.370167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/20/56/image_14042025_20_56_17_2652.jpg', '/home/pi/Desktop/images/14042025/20/59/image_14042025_20_59_59_3553.jpg', '/home/pi/Desktop/images/14042025/21/02/image_14042025_21_02_41_3610.jpg', '/home/pi/Desktop/images/14042025/21/04/image_14042025_21_04_49_2688.jpg', '/home/pi/Desktop/images/14042025/21/05/image_14042025_21_05_16_2742.jpg', '/home/pi/Desktop/images/14042025/21/08/image_14042025_21_08_37_1583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/20/56/image_14042025_20_56_17_2652.jpg
/home/pi/Desktop/images/14042025/20/59/image_14042025_20_59_59_3553.jpg
/home/pi/Desktop/images/14042025/21/02/image_14042025_21_02_41_3610.jpg
/home/pi/Desktop/images/14042025/21/04/image_14042025_21_04_49_2688.jpg
/home/pi/Desktop/images/14042025/21/05/image_14042025_21_05_16_2742.jpg
/home/pi/Desktop/images/14042025/21/08/image_14042025_21_08_37_1583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064443","1350064425","1350064438","1350064432","1350064435","1350064440"],"photo_ids_order":["1350064425","1350064432","1350064435","1350064438","1350064440","1350064443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35911c357514f5b5607b90fda9f71a94.jpg","text":"TemporaryFile(/tmp/multipartBody4206460705180163787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752305909,"filename":"image_14042025_21_08_37_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6aeca9bf626a983cea5c9f8e070d0ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8537353074174667141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752305909,"filename":"image_14042025_20_56_17_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cee8ef06e686153ebd1bf1b51827e75c.jpg","text":"TemporaryFile(/tmp/multipartBody5653824900398900528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752305909,"filename":"image_14042025_21_04_49_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/026ca82b961968728cd99b6117c6eacf.jpg","text":"TemporaryFile(/tmp/multipartBody5601145172875898090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752305909,"filename":"image_14042025_20_59_59_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/beccb2c200c24365f3d29555809ad708.jpg","text":"TemporaryFile(/tmp/multipartBody2004007617584871972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752305909,"filename":"image_14042025_21_02_41_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d95d0a5b73b6e4494dd4b4bfabf3996.jpg","text":"TemporaryFile(/tmp/multipartBody669191267881851671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752305909,"filename":"image_14042025_21_05_16_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064435","file1":"1350064432","file0":"1350064425","file4":"1350064440","file5":"1350064443","file3":"1350064438"},"map_files_photo_id_array":[{"photo_id":"1350064443","filename":"file5"},{"photo_id":"1350064435","filename":"file2"},{"photo_id":"1350064440","filename":"file4"},{"photo_id":"1350064432","filename":"file1"},{"photo_id":"1350064425","filename":"file0"},{"photo_id":"1350064438","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064443":["hashtag1","hashtag2"]},{"1350064425":["hashtag1","hashtag2"]},{"1350064438":["hashtag1","hashtag2"]},{"1350064432":["hashtag1","hashtag2"]},{"1350064435":["hashtag1","hashtag2"]},{"1350064440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064443, 1350064425, 1350064438, 1350064432, 1350064435, 1350064440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28461956977844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:24:42.685076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/21/11/image_14042025_21_11_01_2715.jpg', '/home/pi/Desktop/images/14042025/21/14/image_14042025_21_14_27_2692.jpg', '/home/pi/Desktop/images/14042025/21/19/image_14042025_21_19_57_3681.jpg', '/home/pi/Desktop/images/14042025/21/42/image_14042025_21_42_25_3633.jpg', '/home/pi/Desktop/images/14042025/22/27/image_14042025_22_27_23_2559.jpg', '/home/pi/Desktop/images/14042025/22/41/image_14042025_22_41_40_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/21/11/image_14042025_21_11_01_2715.jpg
/home/pi/Desktop/images/14042025/21/14/image_14042025_21_14_27_2692.jpg
/home/pi/Desktop/images/14042025/21/19/image_14042025_21_19_57_3681.jpg
/home/pi/Desktop/images/14042025/21/42/image_14042025_21_42_25_3633.jpg
/home/pi/Desktop/images/14042025/22/27/image_14042025_22_27_23_2559.jpg
/home/pi/Desktop/images/14042025/22/41/image_14042025_22_41_40_2796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064464","1350064472","1350064469","1350064454","1350064459","1350064476"],"photo_ids_order":["1350064454","1350064459","1350064464","1350064469","1350064472","1350064476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea78d63faf3fa7b071e5c507ba26a899.jpg","text":"TemporaryFile(/tmp/multipartBody5722482600520652755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752344145,"filename":"image_14042025_21_19_57_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0854897549b605135de27c17cbf3385a.jpg","text":"TemporaryFile(/tmp/multipartBody7398184701070003461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752344145,"filename":"image_14042025_22_27_23_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ae8155eb1b7be5308ce5dd462f79285.jpg","text":"TemporaryFile(/tmp/multipartBody4595844403789773906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752344145,"filename":"image_14042025_21_42_25_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e3635965ae47c94bd27f39b062bf94f.jpg","text":"TemporaryFile(/tmp/multipartBody5556648809002199279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752344145,"filename":"image_14042025_21_11_01_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6feeedf7794ac4974406292523a5cce8.jpg","text":"TemporaryFile(/tmp/multipartBody6440855771881409160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752344145,"filename":"image_14042025_21_14_27_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/878250f9fb47aa9372d2fe94b7accb5d.jpg","text":"TemporaryFile(/tmp/multipartBody7760706710261786566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752344145,"filename":"image_14042025_22_41_40_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064464","file1":"1350064459","file0":"1350064454","file4":"1350064472","file5":"1350064476","file3":"1350064469"},"map_files_photo_id_array":[{"photo_id":"1350064476","filename":"file5"},{"photo_id":"1350064464","filename":"file2"},{"photo_id":"1350064472","filename":"file4"},{"photo_id":"1350064459","filename":"file1"},{"photo_id":"1350064454","filename":"file0"},{"photo_id":"1350064469","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064464":["hashtag1","hashtag2"]},{"1350064472":["hashtag1","hashtag2"]},{"1350064469":["hashtag1","hashtag2"]},{"1350064454":["hashtag1","hashtag2"]},{"1350064459":["hashtag1","hashtag2"]},{"1350064476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064464, 1350064472, 1350064469, 1350064454, 1350064459, 1350064476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.480799198150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:25:22.348623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22346583
  datou_current_id : 2750560
in upload_from_sqlite, uploading in 22346583
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_52_3666.jpg', '/home/pi/Desktop/images/14042025/23/20/image_14042025_23_20_14_2858.jpg', '/home/pi/Desktop/images/14042025/23/25/image_14042025_23_25_52_1508.jpg', '/home/pi/Desktop/images/14042025/23/42/image_14042025_23_42_24_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2750560&datou=0
/home/pi/Desktop/images/14042025/22/48/image_14042025_22_48_52_3666.jpg
/home/pi/Desktop/images/14042025/23/20/image_14042025_23_20_14_2858.jpg
/home/pi/Desktop/images/14042025/23/25/image_14042025_23_25_52_1508.jpg
/home/pi/Desktop/images/14042025/23/42/image_14042025_23_42_24_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350064521","1350064538","1350064532","1350064502"],"photo_ids_order":["1350064502","1350064521","1350064532","1350064538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2214c9f2535d07ff2dae480c03259fd0.jpg","text":"TemporaryFile(/tmp/multipartBody5791505413726823807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752385388,"filename":"image_14042025_23_20_14_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/640639ea1eb5c25e46c72479d102e3ab.jpg","text":"TemporaryFile(/tmp/multipartBody3524232247729239718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752385388,"filename":"image_14042025_23_42_24_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4081aa9e0715527dc7de49d3249ea23.jpg","text":"TemporaryFile(/tmp/multipartBody8556506847974581506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752385388,"filename":"image_14042025_23_25_52_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a77f57aa00c5d4920ff5d5979d4de230.jpg","text":"TemporaryFile(/tmp/multipartBody1376230178010808612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744752385388,"filename":"image_14042025_22_48_52_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350064532","file1":"1350064521","file0":"1350064502","file3":"1350064538"},"map_files_photo_id_array":[{"photo_id":"1350064532","filename":"file2"},{"photo_id":"1350064521","filename":"file1"},{"photo_id":"1350064502","filename":"file0"},{"photo_id":"1350064538","filename":"file3"}],"portfolio_id":22346583,"hashtag_by_photo_ids":[{"1350064521":["hashtag1","hashtag2"]},{"1350064538":["hashtag1","hashtag2"]},{"1350064532":["hashtag1","hashtag2"]},{"1350064502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346583 used, photo_id : ArrayBuffer(1350064521, 1350064538, 1350064532, 1350064502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.921351432800293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:26:03.102530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:26:22.525705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:26:42.553098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:27:02.937973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:27:22.182310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:27:42.213966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:28:02.562383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:28:21.991310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:28:41.921461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:29:03.231946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:29:21.965807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:29:42.033954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:30:02.672972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:30:22.081980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:30:42.132086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:31:03.096786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:31:22.310930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:31:42.350962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:32:03.278208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:32:22.614289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:32:42.669386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:33:03.182735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:33:22.577073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:33:42.619702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:34:03.111145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:34:22.336908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:34:42.352102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:35:03.498525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:35:22.677633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:35:42.725423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:36:03.004697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:36:22.319731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:36:42.351366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:37:03.398004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:37:22.643251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:37:42.797640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:38:02.692539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:38:22.200833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:38:42.218283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:39:03.557664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:39:22.740312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:39:42.648066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:40:03.176328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:40:22.594873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:40:42.518344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:41:03.542221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:41:22.731443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:41:42.667451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:42:02.883680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:42:22.396372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:42:42.420025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:43:03.286968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:43:22.545985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:43:43.145206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:44:03.568946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:44:22.592233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:44:42.776610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:45:03.403871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:45:22.590772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:45:51.819534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:46:03.239576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:46:22.734943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:46:42.803903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:47:03.662675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:47:22.851640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:47:42.717986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:48:02.418811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:48:21.833359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
  port_id : 22024892
  datou_current_id : 2720885
in upload_from_sqlite, uploading in 22024892
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15042025/23/02/image_15042025_23_02_40_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2720885&datou=0
/home/pi/Desktop/images/15042025/23/02/image_15042025_23_02_40_2551.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350068138"],"photo_id":"1350068138","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc9268e251aa4803a3e88232115851d1.jpg","text":"TemporaryFile(/tmp/multipartBody1858278895457716100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744753762371,"filename":"image_15042025_23_02_40_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350068138"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350068138"}],"hashtags":[],"portfolio_id":"22024892","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.745165824890137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:48:41.898097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:49:03.364535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:49:22.380542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:49:42.486664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:50:03.175870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:50:22.454201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:50:42.682410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:51:03.463990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:51:22.660983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:51:42.784802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:52:02.820854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:52:22.379517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:52:42.351601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:53:03.384858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:53:22.359380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:53:42.425492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:54:02.882312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:54:21.982698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:54:44.886571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:55:02.707113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:55:21.754510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:55:41.864453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:56:02.947718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:56:22.408770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:56:42.410905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-15 23:57:03.474586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-15 23:57:22.664213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-15 23:57:42.713270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250415 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
